[yarn] Update .yarnrc.yml in focus-production
This commit is contained in:
parent
64cffd2d68
commit
2231b9ca19
5 changed files with 35 additions and 3 deletions
13
.pnp.cjs
generated
13
.pnp.cjs
generated
|
@ -67,7 +67,8 @@ const RAW_RUNTIME_STATE =
|
||||||
["js-yaml", "npm:4.1.0"],\
|
["js-yaml", "npm:4.1.0"],\
|
||||||
["seedrandom", "npm:3.0.5"],\
|
["seedrandom", "npm:3.0.5"],\
|
||||||
["start-server-and-test", "npm:1.15.2"],\
|
["start-server-and-test", "npm:1.15.2"],\
|
||||||
["typescript", "patch:typescript@npm%3A5.1.6#optional!builtin<compat/typescript>::version=5.1.6&hash=5da071"]\
|
["typescript", "patch:typescript@npm%3A5.1.6#optional!builtin<compat/typescript>::version=5.1.6&hash=5da071"],\
|
||||||
|
["yaml", "npm:2.3.4"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "SOFT"\
|
"linkType": "SOFT"\
|
||||||
}]\
|
}]\
|
||||||
|
@ -14016,7 +14017,8 @@ const RAW_RUNTIME_STATE =
|
||||||
["js-yaml", "npm:4.1.0"],\
|
["js-yaml", "npm:4.1.0"],\
|
||||||
["seedrandom", "npm:3.0.5"],\
|
["seedrandom", "npm:3.0.5"],\
|
||||||
["start-server-and-test", "npm:1.15.2"],\
|
["start-server-and-test", "npm:1.15.2"],\
|
||||||
["typescript", "patch:typescript@npm%3A5.1.6#optional!builtin<compat/typescript>::version=5.1.6&hash=5da071"]\
|
["typescript", "patch:typescript@npm%3A5.1.6#optional!builtin<compat/typescript>::version=5.1.6&hash=5da071"],\
|
||||||
|
["yaml", "npm:2.3.4"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "SOFT"\
|
"linkType": "SOFT"\
|
||||||
}]\
|
}]\
|
||||||
|
@ -25749,6 +25751,13 @@ const RAW_RUNTIME_STATE =
|
||||||
["yaml", "npm:2.3.1"]\
|
["yaml", "npm:2.3.1"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "HARD"\
|
"linkType": "HARD"\
|
||||||
|
}],\
|
||||||
|
["npm:2.3.4", {\
|
||||||
|
"packageLocation": "./.yarn/cache/yaml-npm-2.3.4-8bb6dc2c0d-f8207ce430.zip/node_modules/yaml/",\
|
||||||
|
"packageDependencies": [\
|
||||||
|
["yaml", "npm:2.3.4"]\
|
||||||
|
],\
|
||||||
|
"linkType": "HARD"\
|
||||||
}]\
|
}]\
|
||||||
]],\
|
]],\
|
||||||
["yaml-ast-parser", [\
|
["yaml-ast-parser", [\
|
||||||
|
|
BIN
.yarn/cache/yaml-npm-2.3.4-8bb6dc2c0d-f8207ce430.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/yaml-npm-2.3.4-8bb6dc2c0d-f8207ce430.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
|
@ -68,7 +68,8 @@
|
||||||
"gulp-terser": "2.1.0",
|
"gulp-terser": "2.1.0",
|
||||||
"install-peers": "^1.0.4",
|
"install-peers": "^1.0.4",
|
||||||
"start-server-and-test": "1.15.2",
|
"start-server-and-test": "1.15.2",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.1.6",
|
||||||
|
"yaml": "^2.3.4"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.2",
|
"packageManager": "yarn@4.0.2",
|
||||||
"dependenciesMeta": {
|
"dependenciesMeta": {
|
||||||
|
|
|
@ -2,6 +2,7 @@ const { globSync } = require('glob');
|
||||||
const { join } = require("node:path");
|
const { join } = require("node:path");
|
||||||
const fs = require("node:fs");
|
const fs = require("node:fs");
|
||||||
const exec = require("execa");
|
const exec = require("execa");
|
||||||
|
const YAML = require('yaml')
|
||||||
|
|
||||||
const files = globSync('**/package.json');
|
const files = globSync('**/package.json');
|
||||||
|
|
||||||
|
@ -11,6 +12,16 @@ for (const file of files) {
|
||||||
fs.writeFileSync(file, JSON.stringify(json, null, '\t'));
|
fs.writeFileSync(file, JSON.stringify(json, null, '\t'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const file = join('./', '.yarnrc.yml');
|
||||||
|
const yarnrc = YAML.parse(fs.readFileSync(file, 'utf8'));
|
||||||
|
yarnrc['supportedArchitectures'] = {
|
||||||
|
cpu: ['current'],
|
||||||
|
libc: ['current'],
|
||||||
|
os: ['current'],
|
||||||
|
};
|
||||||
|
fs.writeFileSync(file, YAML.stringify(yarnrc));
|
||||||
|
|
||||||
|
|
||||||
exec("yarn", ["install"], {
|
exec("yarn", ["install"], {
|
||||||
stdout: process.stdout,
|
stdout: process.stdout,
|
||||||
stderr: process.stderr,
|
stderr: process.stderr,
|
||||||
|
|
|
@ -11316,6 +11316,7 @@ __metadata:
|
||||||
seedrandom: "npm:^3.0.5"
|
seedrandom: "npm:^3.0.5"
|
||||||
start-server-and-test: "npm:1.15.2"
|
start-server-and-test: "npm:1.15.2"
|
||||||
typescript: "npm:5.1.6"
|
typescript: "npm:5.1.6"
|
||||||
|
yaml: "npm:^2.3.4"
|
||||||
dependenciesMeta:
|
dependenciesMeta:
|
||||||
"@discordapp/twemoji@14.1.2":
|
"@discordapp/twemoji@14.1.2":
|
||||||
unplugged: true
|
unplugged: true
|
||||||
|
@ -21690,6 +21691,13 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"yaml@npm:^2.3.4":
|
||||||
|
version: 2.3.4
|
||||||
|
resolution: "yaml@npm:2.3.4"
|
||||||
|
checksum: f8207ce43065a22268a2806ea6a0fa3974c6fde92b4b2fa0082357e487bc333e85dc518910007e7ac001b532c7c84bd3eccb6c7757e94182b564028b0008f44b
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"yargs-parser@npm:20.2.4":
|
"yargs-parser@npm:20.2.4":
|
||||||
version: 20.2.4
|
version: 20.2.4
|
||||||
resolution: "yargs-parser@npm:20.2.4"
|
resolution: "yargs-parser@npm:20.2.4"
|
||||||
|
|
Loading…
Reference in a new issue