mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
e96b6860a4
Unlike Yarn Classic, Yarn Berry will not verify that the current version of Node being used matches the `engines` field in `package.json`. However, someone has written a plugin, [`engines`][1], that provides this missing functionality, and this commits adds that plugin. This should ensure that all developers are using the correct version of Node. (In addition to checking the current Node version, the plugin also checks the current Yarn version.) [1]: https://github.com/devoto13/yarn-plugin-engines
20 lines
631 B
YAML
20 lines
631 B
YAML
enableScripts: false
|
|
|
|
enableTelemetry: false
|
|
|
|
logFilters:
|
|
- code: YN0004
|
|
level: discard
|
|
|
|
nodeLinker: node-modules
|
|
|
|
plugins:
|
|
- path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs
|
|
spec: "https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js"
|
|
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
|
|
spec: "@yarnpkg/plugin-version"
|
|
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
|
|
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js"
|
|
|
|
yarnPath: .yarn/releases/yarn-3.2.4.cjs
|