diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..befdb1e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,28 @@ +Jira: [JIRA_TOKEN](https://bigcommercecloud.atlassian.net/browse/JIRA_TOKEN) + +## What/Why? + + +## Rollout/Rollback + + +## Testing + + diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8755e05..4aeb6e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,14 +13,14 @@ jobs: strategy: matrix: - node: [14.x] + node: [20.x] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -28,7 +28,6 @@ jobs: run: echo "@bigcommerce-labs:registry=https://npm.pkg.github.com/" >> ~/.npmrc - name: Set npm secrets run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.DEPENDABOT_GITHUB_TOKEN }}" >> ~/.npmrc - - name: Install Dependencies run: npm i - name: Lint the code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2633288..e33bf7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,14 +6,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '14.x' + node-version: '20.x' - name: Set npm registry run: echo "@bigcommerce-labs:registry=https://npm.pkg.github.com/" >> ~/.npmrc - name: Set npm secrets - run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.CUSTOM_GA_TOKEN }}" >> ~/.npmrc + run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.DEPENDABOT_GITHUB_TOKEN }}" >> ~/.npmrc - run: npm i - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - run: npm publish \ No newline at end of file diff --git a/.nvmrc b/.nvmrc index 8bb247c..1bdd901 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.20 +20.16 diff --git a/package-lock.json b/package-lock.json index 00073ce..d4e5be8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bigcommerce/stencil-utils", - "version": "6.15.0", + "version": "6.15.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bigcommerce/stencil-utils", - "version": "6.15.0", + "version": "6.15.1", "license": "BSD-4-Clause", "dependencies": { "eventemitter3": "^4.0.4", @@ -17,6 +17,7 @@ "@babel/core": "^7.11.4", "@babel/plugin-transform-runtime": "^7.12.10", "@babel/preset-env": "^7.11.0", + "@bigcommerce-labs/bodl-events": "1.9.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^9.1.2", @@ -1672,6 +1673,20 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@bigcommerce-labs/bodl-events": { + "version": "1.9.0", + "resolved": "https://npm.pkg.github.com/download/@bigcommerce-labs/bodl-events/1.9.0/5ee3edd05f944e9d4a68c09752bb809dc23aa0e9", + "integrity": "sha512-WRoTrximkR1tvbf8XQa0osciuhk6x8hssJ0oSwEsztqFrJFDxaJMcOg+NV1wXdzirXGCpuNFh/mbM8bdrIO2Sg==", + "dev": true, + "license": "ISC", + "dependencies": { + "@types/events": "^3.0.0", + "events": "^3.3.0" + }, + "engines": { + "node": ">=17.0.0 <19.0.0" + } + }, "node_modules/@cnakazawa/watch": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", @@ -2546,6 +2561,12 @@ "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", "dev": true }, + "node_modules/@types/events": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.3.tgz", + "integrity": "sha512-trOc4AAUThEz9hapPtSd7wf5tiQKvTtu5b371UxXdTuqzIh0ArcRspRP0i0Viu+LXstIQ1z96t1nsPxT9ol01g==", + "dev": true + }, "node_modules/@types/graceful-fs": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", @@ -12598,6 +12619,16 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "@bigcommerce-labs/bodl-events": { + "version": "1.9.0", + "resolved": "https://npm.pkg.github.com/download/@bigcommerce-labs/bodl-events/1.9.0/5ee3edd05f944e9d4a68c09752bb809dc23aa0e9", + "integrity": "sha512-WRoTrximkR1tvbf8XQa0osciuhk6x8hssJ0oSwEsztqFrJFDxaJMcOg+NV1wXdzirXGCpuNFh/mbM8bdrIO2Sg==", + "dev": true, + "requires": { + "@types/events": "^3.0.0", + "events": "^3.3.0" + } + }, "@cnakazawa/watch": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", @@ -13295,6 +13326,12 @@ "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", "dev": true }, + "@types/events": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.3.tgz", + "integrity": "sha512-trOc4AAUThEz9hapPtSd7wf5tiQKvTtu5b371UxXdTuqzIh0ArcRspRP0i0Viu+LXstIQ1z96t1nsPxT9ol01g==", + "dev": true + }, "@types/graceful-fs": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", diff --git a/package.json b/package.json index 67f1a6c..83dea5f 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,6 @@ "webpack-cli": "^5.0.1" }, "engines": { - "node": ">=14.0.0 <19.0.0" + "node": ">=18" } }