Skip to content

Commit 113f33b

Browse files
authored
Add configs for Yarn 1 and NPM (#324)
1 parent fad0522 commit 113f33b

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.npmrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Make using NPM impossible.
2+
offline=true
3+
4+
## Ignore scripts just in case.
5+
ignore-scripts=true

.yarnrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Ignore scripts in case Yarn 1 is accidentally used.
2+
ignore-scripts true

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ npmPreapprovedPackages:
3030

3131
plugins:
3232
- path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs
33-
spec: "https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js"
33+
spec: 'https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js'

0 commit comments

Comments
 (0)