From 5b2f86820b6d369ed1b2a209b2e002dcd6a3acf0 Mon Sep 17 00:00:00 2001 From: bc-max Date: Mon, 22 Jul 2024 17:05:57 +0300 Subject: [PATCH 1/7] feat: STRF-12284 Add dependabot --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f41b19a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 + +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" # Schedule updates to run daily From 8706e3d2b467b002b81d5fd08ef68021536a2e07 Mon Sep 17 00:00:00 2001 From: bc-max Date: Tue, 23 Jul 2024 11:17:17 +0300 Subject: [PATCH 2/7] =?UTF-8?q?feat:=20STRF-12284=20Add=20dependabot=D0=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - bodl-events fix --- .github/dependabot.yml | 8 ++++++++ .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 8 ++------ package.json | 2 +- spec/setup.js | 2 +- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f41b19a..6e0a72d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,15 @@ version: 2 +registries: + npmjs: + type: "npm-registry" + url: "https://registry.npmjs.org" + username: x-access-token + password: ${{secrets.SBT_DEPENDENCY_GRAPH_TOKEN}} updates: - package-ecosystem: "npm" directory: "/" + registries: + - npmjs schedule: interval: "daily" # Schedule updates to run daily diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b0b9df..2b41ad2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,10 +25,10 @@ jobs: node-version: ${{ matrix.node }} - name: Set npm registry - run: echo "@bigcommerce-labs:registry=https://npm.pkg.github.com/" >> ~/.npmrc + run: echo "@bigcommerce:registry=https://npm.pkg.github.com/" >> ~/.npmrc - name: Set npm secrets run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.CUSTOM_GA_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..4cbb5a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,16 +4,12 @@ on: types: [created] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '14.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: npm i - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - - run: npm publish \ No newline at end of file + - run: npm publish diff --git a/package.json b/package.json index 67f1a6c..f9f8e41 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,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", + "@bigcommerce/bodl-events": "1.9.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^9.1.2", diff --git a/spec/setup.js b/spec/setup.js index 238897b..d4ec1a4 100644 --- a/spec/setup.js +++ b/spec/setup.js @@ -1,3 +1,3 @@ -import * as BodlEvents from '@bigcommerce-labs/bodl-events/dist/index.cjs'; +import * as BodlEvents from '@bigcommerce/bodl-events/dist/index.cjs'; global.bodlEvents = BodlEvents; From d0b07e9d7adc2b0d2d6083b6f6b3cabd4d0f1742 Mon Sep 17 00:00:00 2001 From: bc-max Date: Wed, 24 Jul 2024 10:36:05 +0300 Subject: [PATCH 3/7] =?UTF-8?q?Revert=20"feat:=20STRF-12284=20Add=20depend?= =?UTF-8?q?abot=D0=96"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 8706e3d2b467b002b81d5fd08ef68021536a2e07. --- .github/dependabot.yml | 8 -------- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 8 ++++++-- package.json | 2 +- spec/setup.js | 2 +- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6e0a72d..f41b19a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,7 @@ version: 2 -registries: - npmjs: - type: "npm-registry" - url: "https://registry.npmjs.org" - username: x-access-token - password: ${{secrets.SBT_DEPENDENCY_GRAPH_TOKEN}} updates: - package-ecosystem: "npm" directory: "/" - registries: - - npmjs schedule: interval: "daily" # Schedule updates to run daily diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b41ad2..4b0b9df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,10 +25,10 @@ jobs: node-version: ${{ matrix.node }} - name: Set npm registry - run: echo "@bigcommerce:registry=https://npm.pkg.github.com/" >> ~/.npmrc + 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 - + - name: Install Dependencies run: npm i - name: Lint the code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cbb5a7..2633288 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,16 @@ on: types: [created] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '14.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: npm i - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - - run: npm publish + - run: npm publish \ No newline at end of file diff --git a/package.json b/package.json index f9f8e41..67f1a6c 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@babel/core": "^7.11.4", "@babel/plugin-transform-runtime": "^7.12.10", "@babel/preset-env": "^7.11.0", - "@bigcommerce/bodl-events": "1.9.0", + "@bigcommerce-labs/bodl-events": "1.9.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^9.1.2", diff --git a/spec/setup.js b/spec/setup.js index d4ec1a4..238897b 100644 --- a/spec/setup.js +++ b/spec/setup.js @@ -1,3 +1,3 @@ -import * as BodlEvents from '@bigcommerce/bodl-events/dist/index.cjs'; +import * as BodlEvents from '@bigcommerce-labs/bodl-events/dist/index.cjs'; global.bodlEvents = BodlEvents; From b53a481071fcadff13dd46552e4ec502a2482b57 Mon Sep 17 00:00:00 2001 From: bc-max Date: Wed, 24 Jul 2024 10:39:54 +0300 Subject: [PATCH 4/7] feat: STRF-12284 Add dependabot: - updated dependabot config --- .github/dependabot.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f41b19a..2c59411 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,16 @@ version: 2 +registries: + npmjs: + type: "npm-registry" + url: "https://registry.npmjs.org" + username: x-access-token + password: ${{secrets.NPM_TOKEN}} + updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "daily" # Schedule updates to run daily + - package-ecosystem: "npm" + directory: "/" + registries: + - npmjs + schedule: + interval: "daily" # Schedule updates to run daily From a0578af615561b70eecd1a4408ef4de500513f27 Mon Sep 17 00:00:00 2001 From: bc-max Date: Wed, 24 Jul 2024 10:49:17 +0300 Subject: [PATCH 5/7] feat: STRF-12284 Add dependabot: - GH token instead of secrets.CUSTOM_GA_TOKEN; --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b0b9df..d1b5a1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,8 @@ jobs: - 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.GITHUB_TOKEN }}" >> ~/.npmrc + - name: Install Dependencies run: npm i - name: Lint the code From 808ed39581578d11df2ef8b40f16df3debea3dec Mon Sep 17 00:00:00 2001 From: bc-max Date: Thu, 25 Jul 2024 17:26:45 +0300 Subject: [PATCH 6/7] feat: STRF-12284 Add dependabot: - get back CUSTOM_GA_TOKEN; --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1b5a1c..29506fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - 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.GITHUB_TOKEN }}" >> ~/.npmrc + run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.CUSTOM_GA_TOKEN }}" >> ~/.npmrc - name: Install Dependencies run: npm i From 690ca7ed82fb382beb5f8d7449bdc890a0c7f15d Mon Sep 17 00:00:00 2001 From: Jairo Panduro Date: Tue, 24 Sep 2024 17:48:16 +0200 Subject: [PATCH 7/7] fix token --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29506fa..8755e05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - 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 - name: Install Dependencies run: npm i