mirror of
https://github.com/electron/electron.git
synced 2026-01-06 22:24:03 -05:00
build: upgrade yarn to 4.12.0 (#49176)
This commit is contained in:
committed by
GitHub
parent
fe477ce3aa
commit
8cefc8425c
File diff suppressed because one or more lines are too long
@@ -9,4 +9,4 @@ npmMinimalAgeGate: 10080
|
|||||||
npmPreapprovedPackages:
|
npmPreapprovedPackages:
|
||||||
- "@electron/*"
|
- "@electron/*"
|
||||||
|
|
||||||
yarnPath: .yarn/releases/yarn-4.11.0.cjs
|
yarnPath: .yarn/releases/yarn-4.12.0.cjs
|
||||||
|
|||||||
2
DEPS
2
DEPS
@@ -152,7 +152,7 @@ hooks = [
|
|||||||
'action': [
|
'action': [
|
||||||
'python3',
|
'python3',
|
||||||
'-c',
|
'-c',
|
||||||
'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["node", ".yarn/releases/yarn-4.11.0.cjs", "install", "--immutable"]);',
|
'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["node", ".yarn/releases/yarn-4.12.0.cjs", "install", "--immutable"]);',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
"abstract-socket": "github:deepak1556/node-abstractsocket#928cc591decd12aff7dad96449da8afc29832c19",
|
"abstract-socket": "github:deepak1556/node-abstractsocket#928cc591decd12aff7dad96449da8afc29832c19",
|
||||||
"minimist@npm:~0.0.1": "0.2.4"
|
"minimist@npm:~0.0.1": "0.2.4"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.11.0",
|
"packageManager": "yarn@4.12.0",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
".github/workflows",
|
".github/workflows",
|
||||||
"spec",
|
"spec",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
|
|
||||||
exports.YARN_SCRIPT_PATH = path.resolve(__dirname, '..', '.yarn/releases/yarn-4.11.0.cjs');
|
exports.YARN_SCRIPT_PATH = path.resolve(__dirname, '..', '.yarn/releases/yarn-4.12.0.cjs');
|
||||||
|
|
||||||
if (require.main === module) {
|
if (require.main === module) {
|
||||||
require(exports.YARN_SCRIPT_PATH);
|
require(exports.YARN_SCRIPT_PATH);
|
||||||
|
|||||||
Reference in New Issue
Block a user