Skip to content

Commit c231e17

Browse files
committed
chore: prevent accidental npm install in test fixtures
1 parent 7689b6c commit c231e17

File tree

14 files changed

+51
-0
lines changed

14 files changed

+51
-0
lines changed

.changeset/fuzzy-olives-occur.md

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ coverage/
4343
local.properties
4444
msbuild.binlog
4545
node_modules/
46+
package-lock.json
4647
rnx-kit-workspaces.json
4748
!**/__fixtures__/**/node_modules/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict = true
2+
ignore-scripts = true

incubator/polyfills/test/__fixtures__/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,11 @@
1212
"invalid-polyfill-boolean": "*",
1313
"invalid-polyfill-boundary": "*",
1414
"invalid-polyfill-missing": "*"
15+
},
16+
"engines": {
17+
"bun": "For testing purposes only",
18+
"npm": "For testing purposes only",
19+
"pnpm": "For testing purposes only",
20+
"yarn": "For testing purposes only"
1521
}
1622
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict = true
2+
ignore-scripts = true

packages/align-deps/test/__fixtures__/awesome-repo-extended/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"react": "18.1.0",
88
"react-native": "0.70.3"
99
},
10+
"engines": {
11+
"bun": "For testing purposes only",
12+
"npm": "For testing purposes only",
13+
"pnpm": "For testing purposes only",
14+
"yarn": "For testing purposes only"
15+
},
1016
"rnx-kit": {
1117
"reactNativeVersion": "0.70",
1218
"kitType": "app",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict = true
2+
ignore-scripts = true

packages/align-deps/test/__fixtures__/awesome-repo/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"react": "18.1.0",
88
"react-native": "0.70.3"
99
},
10+
"engines": {
11+
"bun": "For testing purposes only",
12+
"npm": "For testing purposes only",
13+
"pnpm": "For testing purposes only",
14+
"yarn": "For testing purposes only"
15+
},
1016
"rnx-kit": {
1117
"reactNativeVersion": "^0.70",
1218
"kitType": "app",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict = true
2+
ignore-scripts = true

packages/align-deps/test/__fixtures__/no-profile-satisfying-deps/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"react-native": "^0.64.2",
88
"t-800": "1.0.0"
99
},
10+
"engines": {
11+
"bun": "For testing purposes only",
12+
"npm": "For testing purposes only",
13+
"pnpm": "For testing purposes only",
14+
"yarn": "For testing purposes only"
15+
},
1016
"rnx-kit": {
1117
"reactNativeVersion": "^0.64",
1218
"kitType": "app",

0 commit comments

Comments
 (0)