From 8a20c5232724bf3f38bd14e79cab2f01e7f894d8 Mon Sep 17 00:00:00 2001 From: Ishaq <156688098+farrukhishaq@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:10:07 +0100 Subject: [PATCH 1/4] using .npmrc --- .npmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index 553774d..42792e8 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ @ukhomeoffice:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken=${GH_AUTH_TOKEN} +//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} From f8f4a84ff68e1c92b39a06107d61b2a37c945101 Mon Sep 17 00:00:00 2001 From: Ishaq <156688098+farrukhishaq@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:10:07 +0100 Subject: [PATCH 2/4] using .npmrc --- .npmrc | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index 553774d..42792e8 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ @ukhomeoffice:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken=${GH_AUTH_TOKEN} +//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} diff --git a/package.json b/package.json index f7b1c34..ea74bd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ukhomeoffice/asl-eslint-common", - "version": "2.0.0", + "version": "3.0.0", "description": "eslint configuration, extended out to asl code base.", "main": "index.js", "scripts": { From 9847d453cab5e35aa53fae52fa37beb8d692a5d1 Mon Sep 17 00:00:00 2001 From: Ishaq <156688098+farrukhishaq@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:25:03 +0100 Subject: [PATCH 3/4] updated .npmrc --- .npmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index 42792e8..434ad29 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ +//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN} @ukhomeoffice:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} From a18fc1ea1ff0b42ea16062a98b127e2d17794211 Mon Sep 17 00:00:00 2001 From: Jeffrey Horton Date: Fri, 28 Jun 2024 12:17:39 +0100 Subject: [PATCH 4/4] NODE_AUTH_TOKEN is set in action config to be the GITHUB_TOKEN. Copied from https://github.com/UKHomeOffice/asl-slate-edit-list/blob/main/.npmrc --- .npmrc | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.npmrc b/.npmrc index 434ad29..42792e8 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN} @ukhomeoffice:registry=https://npm.pkg.github.com +//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} diff --git a/package-lock.json b/package-lock.json index 8b188be..99d525c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ukhomeoffice/asl-eslint-common", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ukhomeoffice/asl-eslint-common", - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "eslint-config-semistandard": "^11.0.0", diff --git a/package.json b/package.json index ccf97cb..4474d8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ukhomeoffice/asl-eslint-common", - "version": "2.1.0", + "version": "2.2.0", "description": "eslint configuration, extended out to asl code base.", "main": "index.js", "scripts": {