Skip to content

Commit 60a413f

Browse files
authored
chore(dependencies): update package-lock.json to switch resolved URLs to npm registry (#1181)
1 parent 57dcf59 commit 60a413f

7 files changed

Lines changed: 1759 additions & 1584 deletions

File tree

.github/workflows/dotnet-pre-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242

4343
- name: Setup Semantic Release
4444
run: |
45-
# semantic-release is pulled from a Git fork; npm pins it as git+ssh in the
46-
# lockfile, so rewrite to anonymous HTTPS (the CI runner has no SSH key).
47-
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
48-
npm ci
45+
# --ignore-scripts blocks all dependencies' lifecycle scripts; the one
46+
# patch we need is then applied explicitly via patch-package.
47+
npm ci --ignore-scripts
48+
npx patch-package
4949
working-directory: ./.release
5050

5151
- name: Semantic Release

.github/workflows/dotnet-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141

4242
- name: Setup Semantic Release
4343
run: |
44-
# semantic-release is pulled from a Git fork; npm pins it as git+ssh in the
45-
# lockfile, so rewrite to anonymous HTTPS (the CI runner has no SSH key).
46-
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
47-
npm ci
44+
# --ignore-scripts blocks all dependencies' lifecycle scripts; the one
45+
# patch we need is then applied explicitly via patch-package.
46+
npm ci --ignore-scripts
47+
npx patch-package
4848
working-directory: ./.release
4949

5050
- name: Semantic Release

.release/.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Pin the release toolchain to the public npm registry.
2+
registry=https://registry.npmjs.org/

0 commit comments

Comments
 (0)