Update yarn to version 4.

pull/8836/head
Akshay Joshi 2025-06-06 19:08:32 +05:30 committed by GitHub
parent 4cd331f0ca
commit cab1bc3cb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 4963 additions and 4961 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: Upgrade yarn
run: |
yarn set version berry
yarn set version 3
yarn set version 4
- name: Install Node modules
run: |

View File

@ -144,7 +144,7 @@ jobs:
- name: Upgrade yarn
run: |
yarn set version berry
yarn set version 3
yarn set version 4
- name: Build the JS bundle
run: |

View File

@ -154,7 +154,7 @@ jobs:
- name: Upgrade yarn
run: |
yarn set version berry
yarn set version 3
yarn set version 4
- name: Build the JS bundle
run: |

View File

@ -31,7 +31,7 @@ jobs:
- name: Upgrade yarn
run: |
yarn set version berry
yarn set version 3
yarn set version 4
- name: Install Node modules
run: |

View File

@ -50,7 +50,7 @@ RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \
npm install -g corepack && \
corepack enable && \
yarn set version berry && \
yarn set version 3 && \
yarn set version 4 && \
yarn install && \
yarn run bundle && \
rm -rf node_modules \

View File

@ -216,7 +216,7 @@ REM Main build sequence Ends
ECHO Installing javascript dependencies...
CD "%BUILDROOT%\web"
CALL yarn set version berry || EXIT /B 1
CALL yarn set version 3 || EXIT /B 1
CALL yarn set version 4 || EXIT /B 1
CALL yarn install || EXIT /B 1
CALL npm rebuild || EXIT /B 1
@ -271,7 +271,7 @@ REM Main build sequence Ends
CD "%BUILDROOT%\runtime\resources\app\"
CALL yarn set version berry || EXIT /B 1
CALL yarn set version 3 || EXIT /B 1
CALL yarn set version 4 || EXIT /B 1
CALL yarn plugin import workspace-tools || EXIT /B 1
CALL yarn workspaces focus --production || EXIT /B 1

View File

@ -177,7 +177,7 @@ _build_runtime() {
# Install the runtime node_modules
pushd "${BUNDLEDIR}/resources/app" > /dev/null || exit
yarn set version berry
yarn set version 3
yarn set version 4
yarn plugin import workspace-tools
yarn workspaces focus --production
@ -225,7 +225,7 @@ _copy_code() {
pushd "${SOURCEDIR}/web" > /dev/null || exit
yarn set version berry
yarn set version 3
yarn set version 4
yarn install
yarn run bundle
popd > /dev/null || exit

View File

@ -59,7 +59,7 @@ _build_runtime() {
# Install the runtime node_modules, then replace the package.json
pushd "${BUNDLE_DIR}/Contents/Resources/app/" > /dev/null || exit
yarn set version berry
yarn set version 3
yarn set version 4
yarn plugin import workspace-tools
yarn workspaces focus --production
@ -289,7 +289,7 @@ _complete_bundle() {
# Build node modules
pushd "${SOURCE_DIR}/web" > /dev/null || exit
yarn set version berry
yarn set version 3
yarn set version 4
yarn install
yarn run bundle

View File

@ -57,7 +57,7 @@ do
done
yarn set version berry
yarn set version 3
yarn set version 4
yarn install
yarn run bundle

View File

@ -177,9 +177,9 @@ __metadata:
linkType: hard
"@types/estree@npm:^1.0.6":
version: 1.0.7
resolution: "@types/estree@npm:1.0.7"
checksum: d9312b7075bdd08f3c9e1bb477102f5458aaa42a8eec31a169481ce314ca99ac716645cff4fca81ea65a2294b0276a0de63159d1baca0f8e7b5050a92de950ad
version: 1.0.8
resolution: "@types/estree@npm:1.0.8"
checksum: bd93e2e415b6f182ec4da1074e1f36c480f1d26add3e696d54fb30c09bc470897e41361c8fd957bf0985024f8fbf1e6e2aff977d79352ef7eb93a5c6dcff6c11
languageName: node
linkType: hard
@ -207,11 +207,11 @@ __metadata:
linkType: hard
"@types/node@npm:*, @types/node@npm:^22.7.7":
version: 22.15.29
resolution: "@types/node@npm:22.15.29"
version: 22.15.30
resolution: "@types/node@npm:22.15.30"
dependencies:
undici-types: ~6.21.0
checksum: 201aabe3614d68fdf84f3255e2380381180de26ecdfd091f8809bf46fd2a41e73b2df4d94780c2054597f3c203d1c9d378359c21c551fb4eef8b12406698d6c9
checksum: c380ad176575dc847a119e63afe457f3481c0095ef1720605d42b3133cac1c5980179643ce67c9a314c83b9a45f2b17bde5f15b29d8aa1d17e0a43318273829b
languageName: node
linkType: hard
@ -1001,14 +1001,15 @@ __metadata:
linkType: hard
"form-data@npm:^4.0.0":
version: 4.0.2
resolution: "form-data@npm:4.0.2"
version: 4.0.3
resolution: "form-data@npm:4.0.3"
dependencies:
asynckit: ^0.4.0
combined-stream: ^1.0.8
es-set-tostringtag: ^2.1.0
hasown: ^2.0.2
mime-types: ^2.1.12
checksum: e887298b22c13c7c9c5a8ba3716f295a479a13ca78bfd855ef11cbce1bcf22bc0ae2062e94808e21d46e5c667664a1a1a8a7f57d7040193c1fefbfb11af58aab
checksum: b8e2568c0853ce167b2b9c9c4b81fe563f9ade647178baf6b6381cf8a11e3c01dd2b78a63ba367e6f5eab59afab8284a9438bb5ae768133f9d9fce6567fbc26a
languageName: node
linkType: hard

View File

@ -177,7 +177,7 @@
"auditpy": "safety check --full-report -i 51668 -i 52495",
"audit-all": "yarn run auditjs && yarn run auditpy"
},
"packageManager": "yarn@3.8.7",
"packageManager": "yarn@4.9.2",
"browserslist": [
"defaults and fully supports es6-module"
]

File diff suppressed because it is too large Load Diff