stencil-cli
stencil-cli copied to clipboard
feature request: set theme's name for stencil push
Would be nice if you can add a flag to the stencil push
command, so you could change the name of the theme that's displayed in bigcommerce.
Currently the naming scheme (i think) is based on what is in your config file. It uses the name
setting. Upon stencil push
ing a new theme up. if there's another already (with the same name), it'll add a number after it to make it unique. ie THEME_NAME (1)
it would be really nice to be able to change what this is named when you run stencil push
. So we can add in the date/time etc, to make it more unique.
you can currently rename it via BC's admin ui, but that is not practical for CI purposes.
We use git flow to handle this and when we create a release we version the package.json, config.json like so:
config.json
{
"name": "Our Project Name v0.1.14",
"version": "0.1.14",
...
}
package.json
{
"name": "our-project-name",
"description": "The OurProjectName theme built on BigCommrece Cornerstone v5.1.0",
"version": "0.1.14",
...
}