diff --git a/.github/workflows/pull_request_review.yml b/.github/workflows/pull_request_review.yml index 9cea8d4a..7ecc6906 100644 --- a/.github/workflows/pull_request_review.yml +++ b/.github/workflows/pull_request_review.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - node: [16.x] + node: [16.x, 18.x] os: ['ubuntu-latest', 'windows-2019', 'macos-latest'] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2263ec50..c9615bbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' - run: npm i - name: Check Git Commit name run: git log -1 --pretty=format:"%s" | npx commitlint diff --git a/.nvmrc b/.nvmrc index 8122c281..34901363 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.19 +v18.13 diff --git a/Dockerfile b/Dockerfile index a7777d2e..8dca4125 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:18 WORKDIR /usr/src/app diff --git a/README.md b/README.md index 3f479009..e42149a1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The BigCommerce server emulator for local theme development. ## Install Note: Stencil requires the Node.js runtime environment, -version 16.x is supported. +versions 16.x, 18.x are supported. Run `npm install -g @bigcommerce/stencil-cli`. diff --git a/package-lock.json b/package-lock.json index 9f815b07..5e26598e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "BSD-4-Clause", "dependencies": { "@bigcommerce/stencil-paper": "4.2.1", - "@bigcommerce/stencil-styles": "5.0.0", + "@bigcommerce/stencil-styles": "5.1.0", "@hapi/boom": "^10.0.0", "@hapi/glue": "^8.0.0", "@hapi/h2o2": "^9.1.0", @@ -84,7 +84,7 @@ "semantic-release-github-pullrequest": "^1.3.0" }, "engines": { - "node": ">=16.0.0 <17.0.0", + "node": ">=17.0.0 <19.0.0", "npm": ">=8.0.0 <10.0.0" } }, @@ -762,9 +762,9 @@ } }, "node_modules/@bigcommerce/stencil-styles": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.0.0.tgz", - "integrity": "sha512-Bg2OmFhsCnb5/hioR/3YwLhkspHZr/nq1JfA3AZtwBSvlNDDI4/HlRqv5kYgrof45mFiJDNT9h7TB8216GK5tA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.1.0.tgz", + "integrity": "sha512-MRFv99eoKbzcYgU9KySRLQai36Z97gyPdpYStBTIs2IhjCK6khwLUjn6uPey07yvNxpaxxsJBsOL1KF6kxGt6w==", "dependencies": { "autoprefixer": "^10.4.13", "lodash": "^4.17.21", @@ -773,7 +773,7 @@ "sass": "^1.57.1" }, "engines": { - "node": ">=16.0.0 <17.0.0" + "node": ">=16.0.0 <19.0.0" } }, "node_modules/@colors/colors": { @@ -21385,9 +21385,9 @@ } }, "@bigcommerce/stencil-styles": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.0.0.tgz", - "integrity": "sha512-Bg2OmFhsCnb5/hioR/3YwLhkspHZr/nq1JfA3AZtwBSvlNDDI4/HlRqv5kYgrof45mFiJDNT9h7TB8216GK5tA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.1.0.tgz", + "integrity": "sha512-MRFv99eoKbzcYgU9KySRLQai36Z97gyPdpYStBTIs2IhjCK6khwLUjn6uPey07yvNxpaxxsJBsOL1KF6kxGt6w==", "requires": { "autoprefixer": "^10.4.13", "lodash": "^4.17.21", diff --git a/package.json b/package.json index 273e5e89..15f63236 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "CLI tool to run BigCommerce Stores locally for theme development.", "main": "index.js", "engines": { - "node": ">=16.0.0 <17.0.0", + "node": ">=16.0.0 <19.0.0", "npm": ">=8.0.0 <10.0.0" }, "scripts": { @@ -48,7 +48,7 @@ ], "dependencies": { "@bigcommerce/stencil-paper": "4.2.1", - "@bigcommerce/stencil-styles": "5.0.0", + "@bigcommerce/stencil-styles": "5.1.0", "@hapi/boom": "^10.0.0", "@hapi/glue": "^8.0.0", "@hapi/h2o2": "^9.1.0",