@bigcommerce/stencil-cli 3.8.5 → 3.9.0

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 CHANGED
@@ -1,3 +1,8 @@
1
+ ### 3.9.0 (2022-01-21)
2
+
3
+ - fix: return channel id as an iterable when a store only has a single storefront ([849](https://github.com/bigcommerce/stencil-cli/pull/849))
4
+ - feat: warn npm users if npm is above 7 version ([846](https://github.com/bigcommerce/stencil-cli/pull/846))
5
+
1
6
  ### 3.8.5 (2022-01-18)
2
7
 
3
8
  - fix(storefront): strf-9594 loosed frontmatter refex ([841](https://github.com/bigcommerce/stencil-cli/pull/841))
@@ -356,7 +356,7 @@ utils.promptUserForChannel = async (options) => {
356
356
 
357
357
  utils.promptUserToSelectChannel = async (channels) => {
358
358
  if (channels.length < 2) {
359
- return channels[0].channel_id;
359
+ return [channels[0].channel_id];
360
360
  }
361
361
 
362
362
  const questions = [
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/stencil-cli",
3
- "version": "3.8.5",
3
+ "version": "3.9.0",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@bigcommerce/stencil-cli",
3
- "version": "3.8.5",
3
+ "version": "3.9.0",
4
4
  "description": "CLI tool to run BigCommerce Stores locally for theme development.",
5
5
  "main": "index.js",
6
6
  "engines": {
7
- "node": "^10.17 || ^12"
7
+ "node": "^10.17 || ^12",
8
+ "npm": ">=v6.11.3 <7.0.0"
8
9
  },
9
10
  "scripts": {
10
11
  "lint": "eslint . && prettier --check . --ignore-unknown",