Skip to content

Commit b0688e8

Browse files
committed
build: yarnrc --ignore-engines true
Specifies the --ignore-engines true parameter to be the default for every yarn command contributors run within the project. This makes it sligthly more convenient to work with yarn since now you can just say "yarn install" instead of having to go with the much longer "yarn install --ignore-engines". Of course in an ideal world we would not need the --ignore-engines parameter but the Fabric Node SDK (and some other dependencies probably) do not declare NodeJS v16 as a supported engine (despite our tests succeeding on these) so we just do not have a choice with this if we want to support NodeJS 16 (which we very much do)\n\nAlso removes --ignore-engines parameter from the yarn install command that the configure script runs so that the CI also verifies this to be working fine. Signed-off-by: Peter Somogyvari <[email protected]>
1 parent e6aea32 commit b0688e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.yarnrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2-
# yarn lockfile v1
31

42

3+
--ignore-engines true
4+
55
lastUpdateCheck 1626930910805
66
yarn-path ".yarn/releases/yarn-1.19.0.js"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"scripts": {
1111
"run-ci": "./tools/ci.sh",
12-
"configure": "yarn install --frozen-lockfile --non-interactive --ignore-engines && yarn run build:dev:backend",
12+
"configure": "yarn install --frozen-lockfile --non-interactive && yarn run build:dev:backend",
1313
"install-yarn": "npm install --global [email protected]",
1414
"custom-checks": "ts-node ./tools/custom-checks/run-custom-checks.ts",
1515
"generate-api-server-config": "node ./tools/generate-api-server-config.js",

0 commit comments

Comments
 (0)