Skip to content

Commit 949c46d

Browse files
authored
Set minimum npm version for consistency (#470)
* Set npm version for consistency * Add Claude local settings file to gitignore --------- Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com> Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
1 parent 9bb3cde commit 949c46d

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"mounts": [
1212
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
1313
],
14-
"postCreateCommand": "sudo chown node:node node_modules",
14+
"postCreateCommand": "sudo chown node:node node_modules && npm install -g npm@11",
1515
"containerEnv": {
1616
"CI": "true"
1717
},

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ yarn-debug.log*
2323
yarn-error.log*
2424
.vercel
2525
.idea
26+
.claude/settings.local.json

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
]
6868
},
6969
"engines": {
70-
"node": "24"
70+
"node": "24",
71+
"npm": "^11.7.0"
7172
}
7273
}

0 commit comments

Comments
 (0)