Skip to content

Commit 7f8fe8a

Browse files
authored
Merge pull request #13 from db-ui/mfranzke-patch-1
chore: πŸ€– Add strict `.npmrc` file
2 parents 30513aa + c59e67d commit 7f8fe8a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

β€Ž.npmrcβ€Ž

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# If set to false, then ignore package-lock.json files when installing. This will also prevent writing package-lock.json if save is true. source: https://docs.npmjs.com/cli/v11/using-npm/config
2+
package-lock=true
3+
# If true, npm does not run scripts specified in package.json files. source: https://docs.npmjs.com/cli/v11/using-npm/config#ignore-scripts
4+
ignore-scripts=true
5+
# Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. source: https://docs.npmjs.com/cli/v11/using-npm/config#save-exact
6+
save-exact=true
7+
# If set to true, then npm will stubbornly refuse to install (or even consider installing) any package that claims to not be compatible with the current Node.js version. source: https://docs.npmjs.com/cli/v11/using-npm/config#engine-strict
8+
engine-strict=true

β€Ž.nvmrcβ€Ž

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

β€Žpackage.jsonβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
"devDependencies": {
1414
"@db-ui/base": "0.29.0",
1515
"cpr": "^3.0.1"
16+
},
17+
"engines": {
18+
"node": ">= 24"
1619
}
1720
}

0 commit comments

Comments
Β (0)