@bigcommerce/stencil-cli 5.1.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +9 -5
- package/bin/stencil.js +1 -0
- package/package-lock.json +3773 -3596
- package/package.json +2 -2
- package/server/index.js +2 -0
- package/server/plugins/renderer/renderer.module.js +17 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
### Draft
|
|
2
2
|
|
|
3
|
+
### 5.2.1 (2022-09-30)
|
|
4
|
+
|
|
5
|
+
- fix: STRF-9832 custom template frontmatter is prioritized over default one ([983](https://github.com/bigcommerce/stencil-cli/pull/983))
|
|
6
|
+
|
|
7
|
+
### 5.2.0 (2022-08-30)
|
|
8
|
+
|
|
9
|
+
- feat: STRF-9877 Publish stencil cli docker image ([972](https://github.com/bigcommerce/stencil-cli/pull/972))
|
|
10
|
+
- fix: debug command ([970](https://github.com/bigcommerce/stencil-cli/pull/970))
|
|
11
|
+
|
|
3
12
|
### 5.1.0 (2022-07-14)
|
|
4
13
|
|
|
5
14
|
- fix: STRF-9883 Interm fix to grab 1st variation ([951](https://github.com/bigcommerce/stencil-cli/pull/951))
|
package/README.md
CHANGED
|
@@ -30,6 +30,7 @@ Commands:
|
|
|
30
30
|
push Bundles up the theme into a zip file and uploads it to your store.
|
|
31
31
|
pull Pulls the configuration from the active theme on your live store and updates your local configuration.
|
|
32
32
|
download Downloads the theme files from the active theme on your live store.
|
|
33
|
+
debug Prints environment and theme settings for debug purposes.
|
|
33
34
|
help [cmd] display help for [cmd]
|
|
34
35
|
|
|
35
36
|
Options:
|
|
@@ -64,6 +65,8 @@ Run `stencil pull` to sync changes to your theme configuration from your live st
|
|
|
64
65
|
been used to change certain theme settings, this will update those settings in config.json in your theme files so you
|
|
65
66
|
don't overwrite them on your next upload.
|
|
66
67
|
|
|
68
|
+
Run `stencil debug` to get information about runtime environment and the configuration
|
|
69
|
+
|
|
67
70
|
## Features
|
|
68
71
|
|
|
69
72
|
### BrowserSync
|
|
@@ -99,15 +102,16 @@ the implementation details there.
|
|
|
99
102
|
|
|
100
103
|
There is possibility to run stencil-cli in docker.
|
|
101
104
|
Here are steps to have this functionality.
|
|
102
|
-
First of all, build a docker image, let's name it `bc/stencil-cli`
|
|
103
|
-
Run `docker build . -t bc/stencil-cli` in stencil-cli repo directory.
|
|
104
105
|
|
|
105
|
-
|
|
106
|
+
First, pull the image from Github Packages (docker registry):
|
|
107
|
+
`docker pull ghcr.io/bigcommerce/stencil-cli`
|
|
108
|
+
|
|
109
|
+
Then, you want to run some commands against your theme.
|
|
106
110
|
|
|
107
111
|
For example
|
|
108
|
-
`docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it
|
|
112
|
+
`docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it ghcr.io/bigcommerce/stencil-cli stencil init`, where `3005` is port number definded in `config.stencil.json` and `/bigcommerce/cornerstone` path to where theme is located.
|
|
109
113
|
|
|
110
|
-
`docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it
|
|
114
|
+
`docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it ghcr.io/bigcommerce/stencil-cli stencil start` and so on
|
|
111
115
|
|
|
112
116
|
## License
|
|
113
117
|
|
package/bin/stencil.js
CHANGED
|
@@ -15,4 +15,5 @@ program
|
|
|
15
15
|
.command('push', 'Bundles up the theme into a zip file and uploads it to your store.')
|
|
16
16
|
.command('pull', 'Pulls currently active theme config files and overwrites local copy')
|
|
17
17
|
.command('download', 'Downloads all the theme files')
|
|
18
|
+
.command('debug', 'Prints environment and theme settings for debug purposes')
|
|
18
19
|
.parse(process.argv);
|