Skip to content

Commit 4fc1d69

Browse files
authored
migrate to pnpm (#1468)
With more strict/secure settings: - set `minimumReleaseAge` to one week to mitigate issues with installing compromised deps - prevent installation/dependency scripts - update node version to `24.11.0` - replace `ts-node` with `tsx`
1 parent 7fbf4d2 commit 4fc1d69

File tree

31 files changed

+7367
-9977
lines changed

31 files changed

+7367
-9977
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
# Lock Files
99
**/Cargo.lock linguist-generated=true
10-
**/package-lock.json linguist-generated=true
1110
**/Pipfile.lock linguist-generated=true
11+
**/pnpm-lock.yaml linguist-generated=true
1212

1313
# VSCode Settings
1414
.vscode/*.json linguist-language=jsonc

.github/actions/cache/restore/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
uses: "actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57"
88
with:
99
# __SLANG_CI_CACHE_PATHS__ (keep in sync)
10-
key: "cache-${{ github.ref_name }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('package-lock.json') }}"
10+
key: "cache-${{ github.ref_name }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}"
1111
path: |
1212
~/.cache/hermit/
1313
~/.local/share/virtualenvs/

.github/actions/cache/save/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
uses: "actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57"
88
with:
99
# __SLANG_CI_CACHE_PATHS__ (keep in sync)
10-
key: "cache-${{ github.ref_name }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('package-lock.json') }}"
10+
key: "cache-${{ github.ref_name }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}"
1111
path: |
1212
~/.cache/hermit/
1313
~/.local/share/virtualenvs/

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN:-undefined}

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ documentation/overrides/**/*.html
2020
# Generated Artifacts
2121
**/target/
2222
**/Pipfile.lock
23+
**/pnpm-lock.yaml

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"**/target/": true,
3636
// Lock Files
3737
"**/Cargo.lock": true,
38-
"**/package-lock.json": true,
39-
"**/Pipfile.lock": true
38+
"**/Pipfile.lock": true,
39+
"**/pnpm-lock.yaml": true
4040
},
4141
"triggerTaskOnSave.restart": true,
4242
"triggerTaskOnSave.tasks": {

bin/.pnpm-10.20.0.pkg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hermit

bin/corepack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.node@22.9.pkg
1+
.node-24.11.0.pkg

bin/node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.node@22.9.pkg
1+
.node-24.11.0.pkg

0 commit comments

Comments
 (0)