[yarn] Update .yarnrc.yml in focus-production

This commit is contained in:
Laura Hausmann 2023-11-17 01:44:07 +01:00
parent 64cffd2d68
commit 2231b9ca19
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
5 changed files with 35 additions and 3 deletions

13
.pnp.cjs generated
View File

@ -67,7 +67,8 @@ const RAW_RUNTIME_STATE =
["js-yaml", "npm:4.1.0"],\
["seedrandom", "npm:3.0.5"],\
["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"\
}]\
@ -14016,7 +14017,8 @@ const RAW_RUNTIME_STATE =
["js-yaml", "npm:4.1.0"],\
["seedrandom", "npm:3.0.5"],\
["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"\
}]\
@ -25749,6 +25751,13 @@ const RAW_RUNTIME_STATE =
["yaml", "npm:2.3.1"]\
],\
"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", [\

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f0af637adaf80f15d8f9c13e1e4f69455ca2911da921750c392bf5967a5ec2c
size 238590

View File

@ -68,7 +68,8 @@
"gulp-terser": "2.1.0",
"install-peers": "^1.0.4",
"start-server-and-test": "1.15.2",
"typescript": "5.1.6"
"typescript": "5.1.6",
"yaml": "^2.3.4"
},
"packageManager": "yarn@4.0.2",
"dependenciesMeta": {

View File

@ -2,6 +2,7 @@ const { globSync } = require('glob');
const { join } = require("node:path");
const fs = require("node:fs");
const exec = require("execa");
const YAML = require('yaml')
const files = globSync('**/package.json');
@ -11,6 +12,16 @@ for (const file of files) {
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"], {
stdout: process.stdout,
stderr: process.stderr,

View File

@ -11316,6 +11316,7 @@ __metadata:
seedrandom: "npm:^3.0.5"
start-server-and-test: "npm:1.15.2"
typescript: "npm:5.1.6"
yaml: "npm:^2.3.4"
dependenciesMeta:
"@discordapp/twemoji@14.1.2":
unplugged: true
@ -21690,6 +21691,13 @@ __metadata:
languageName: node
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":
version: 20.2.4
resolution: "yargs-parser@npm:20.2.4"