1.0.44 • Published 12 months ago

@savchukoleksii/builder v1.0.44

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Shopify builder


Usage

Node.js version 14.0.0 or higher

Install

Global Install:

  • Install using npm:
npm install -g @savchukoleksii/builder
yarn global add @savchukoleksii/builder

Global install using npm is preferable way to install package globally

Local Install:

  • Install all dependencies with yarn
yarn add --dev @savchukoleksii/builder
  • Add and configure your config.yml file. You can copy the example from the file config.example.yml
development:
  password: XXXXXXXXXXXXXX
  theme_id: XXXXXXXXXXXXXX
  store: XXXXXXXXXXXXXX.myshopify.com
  preview_url: XXXXXXXXXXXXXX.shopifypreview.com <= [NOT REQUIRED]
  ignore_files:
    - config/settings_data.json

Note: You can use multiple environments using different environments names. Example:

development:
  password: XXXXXXXXXXXXXX
  theme_id: XXXXXXXXXXXXXX
  store: XXXXXXXXXXXXXX.myshopify.com
  preview_url: XXXXXXXXXXXXXX.shopifypreview.com <= [NOT REQUIRED]
  ignore_files:
    - config/settings_data.json

production:
  password: XXXXXXXXXXXXXX
  theme_id: XXXXXXXXXXXXXX
  store: XXXXXXXXXXXXXX.myshopify.com
  preview_url: XXXXXXXXXXXXXX.shopifypreview.com <= [NOT REQUIRED]
  ignore_files:
    - config/settings_data.json

Note: Some Shopify Apps can be broken on localhost, so you can pass additional "preview_url" param to your enviroment to fix this issue,but you will not be able to use checkout (Shopify Checkout does not work with Shopify Preview links)

Basic commands

Basic commands for work with your theme:

builder build - Build files

builder deploy - Build and deploy files

builder start - Build, deploy and watch files

builder watch - Watch files

builder server - Run Proxy server for the theme

builder download - Download theme files

builder zip - Archives the project

builder create [archive] - Create new project from scratch. You can also pass additional param archive - link to zip archive to use your own boilerplate.

Example: themeplify create https://github.com/savchukoleksii/shopify-starter-theme/archive/refs/heads/main.zip

Basic options

OptionDescriptionDefault Value
-c, --configPath to config.yml"config.yml"
-d, --dirDirectory that command will take effect
-e, --envEnvironment from config file"development"
-a, --allenvsWill run this command for each environment in your config filefalse
-n, --nodeleteWill run deploy without removing files from shopifyfalse
--cliOption for use Shopify CLIfalse
--previewWill run webserver using priview linkfalse
--nh, --nohooksWill skip git hooksfalse
--helpShow help

Documentation

It is important!

Last changes

All recent changes are available here: changelog. Bugs and feature-request here: issues.

1.0.44

12 months ago

1.0.43

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.40

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago