chore: upgrade yarn to 4.12.0 (#1530)

* use yarn 4.12.0

* upgrade tsx

* update 4.6.0 references to 4.12.0

* update lock file

* update lock file

* update lock
This commit is contained in:
Justin Hernandez
2025-12-25 12:12:38 -08:00
committed by GitHub
parent bc158ee730
commit 6172497abf
13 changed files with 1419 additions and 1468 deletions

View File

@@ -59,7 +59,7 @@ runs:
# Configure Yarn # Configure Yarn
corepack enable corepack enable
yarn set version 4.6.0 yarn set version 4.12.0
echo "📦 Installing JavaScript dependencies with strict lock file..." echo "📦 Installing JavaScript dependencies with strict lock file..."
if ! yarn install --immutable --inline-builds; then if ! yarn install --immutable --inline-builds; then

View File

@@ -15,7 +15,7 @@ runs:
shell: bash shell: bash
run: | run: |
corepack enable corepack enable
corepack prepare yarn@4.6.0 --activate corepack prepare yarn@4.12.0 --activate
# Ensure we're using the correct version # Ensure we're using the correct version
yarn --version yarn --version

View File

@@ -42,7 +42,7 @@ jobs:
- name: Setup Corepack - name: Setup Corepack
run: | run: |
corepack enable corepack enable
corepack prepare yarn@4.6.0 --activate corepack prepare yarn@4.12.0 --activate
- name: Restore build artifacts - name: Restore build artifacts
id: build-cache id: build-cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
@@ -71,7 +71,7 @@ jobs:
- name: Setup Corepack - name: Setup Corepack
run: | run: |
corepack enable corepack enable
corepack prepare yarn@4.6.0 --activate corepack prepare yarn@4.12.0 --activate
- name: Restore build artifacts - name: Restore build artifacts
id: build-cache id: build-cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
@@ -100,7 +100,7 @@ jobs:
- name: Setup Corepack - name: Setup Corepack
run: | run: |
corepack enable corepack enable
corepack prepare yarn@4.6.0 --activate corepack prepare yarn@4.12.0 --activate
- name: Restore build artifacts - name: Restore build artifacts
id: build-cache id: build-cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4

View File

@@ -58,8 +58,8 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Enable Corepack - name: Enable Corepack
run: corepack enable run: corepack enable
- name: Activate Yarn 4.6.0 - name: Activate Yarn 4.12.0
run: corepack prepare yarn@4.6.0 --activate run: corepack prepare yarn@4.12.0 --activate
- name: Cache Yarn - name: Cache Yarn
uses: ./.github/actions/cache-yarn uses: ./.github/actions/cache-yarn
with: with:
@@ -116,8 +116,8 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Enable Corepack - name: Enable Corepack
run: corepack enable run: corepack enable
- name: Activate Yarn 4.6.0 - name: Activate Yarn 4.12.0
run: corepack prepare yarn@4.6.0 --activate run: corepack prepare yarn@4.12.0 --activate
- name: Cache Yarn - name: Cache Yarn
uses: ./.github/actions/cache-yarn uses: ./.github/actions/cache-yarn
with: with:
@@ -234,8 +234,8 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Enable Corepack - name: Enable Corepack
run: corepack enable run: corepack enable
- name: Activate Yarn 4.6.0 - name: Activate Yarn 4.12.0
run: corepack prepare yarn@4.6.0 --activate run: corepack prepare yarn@4.12.0 --activate
- name: Set up Xcode - name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1 uses: maxim-lobanov/setup-xcode@v1
with: with:
@@ -448,8 +448,8 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Enable Corepack - name: Enable Corepack
run: corepack enable run: corepack enable
- name: Activate Yarn 4.6.0 - name: Activate Yarn 4.12.0
run: corepack prepare yarn@4.6.0 --activate run: corepack prepare yarn@4.12.0 --activate
- name: Cache Yarn - name: Cache Yarn
uses: ./.github/actions/cache-yarn uses: ./.github/actions/cache-yarn
with: with:

View File

@@ -65,7 +65,7 @@ jobs:
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- run: corepack enable - run: corepack enable
- run: corepack prepare yarn@4.6.0 --activate - run: corepack prepare yarn@4.12.0 --activate
- name: Compute .yarnrc.yml hash - name: Compute .yarnrc.yml hash
id: yarnrc-hash id: yarnrc-hash
uses: ./.github/actions/yarnrc-hash uses: ./.github/actions/yarnrc-hash
@@ -146,9 +146,9 @@ jobs:
- name: Build dependencies (outside emulator) - name: Build dependencies (outside emulator)
run: | run: |
echo "Building dependencies..." echo "Building dependencies..."
# Ensure Yarn 4.6.0 is active # Ensure Yarn 4.12.0 is active
corepack enable corepack enable
corepack prepare yarn@4.6.0 --activate corepack prepare yarn@4.12.0 --activate
yarn workspace @selfxyz/mobile-app run build:deps || { echo "❌ Dependency build failed"; exit 1; } yarn workspace @selfxyz/mobile-app run build:deps || { echo "❌ Dependency build failed"; exit 1; }
echo "✅ Dependencies built successfully" echo "✅ Dependencies built successfully"
- name: Setup Android private modules - name: Setup Android private modules
@@ -269,7 +269,7 @@ jobs:
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- run: corepack enable - run: corepack enable
- run: corepack prepare yarn@4.6.0 --activate - run: corepack prepare yarn@4.12.0 --activate
- name: Compute .yarnrc.yml hash - name: Compute .yarnrc.yml hash
id: yarnrc-hash id: yarnrc-hash
uses: ./.github/actions/yarnrc-hash uses: ./.github/actions/yarnrc-hash

View File

@@ -68,7 +68,7 @@ jobs:
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- run: corepack enable - run: corepack enable
- run: corepack prepare yarn@4.6.0 --activate - run: corepack prepare yarn@4.12.0 --activate
- name: Compute .yarnrc.yml hash - name: Compute .yarnrc.yml hash
id: yarnrc-hash id: yarnrc-hash
uses: ./.github/actions/yarnrc-hash uses: ./.github/actions/yarnrc-hash
@@ -243,7 +243,7 @@ jobs:
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- run: corepack enable - run: corepack enable
- run: corepack prepare yarn@4.6.0 --activate - run: corepack prepare yarn@4.12.0 --activate
- name: Compute .yarnrc.yml hash - name: Compute .yarnrc.yml hash
id: yarnrc-hash id: yarnrc-hash
uses: ./.github/actions/yarnrc-hash uses: ./.github/actions/yarnrc-hash

View File

@@ -237,7 +237,7 @@
"vite": "^7.0.0", "vite": "^7.0.0",
"vite-plugin-svgr": "^4.5.0" "vite-plugin-svgr": "^4.5.0"
}, },
"packageManager": "yarn@4.6.0", "packageManager": "yarn@4.12.0",
"engines": { "engines": {
"node": ">=22 <23" "node": ">=22 <23"
} }

View File

@@ -86,10 +86,10 @@
"prettier": "^3.5.3", "prettier": "^3.5.3",
"ts-mocha": "^10.0.0", "ts-mocha": "^10.0.0",
"tsconfig-paths": "^4.2.0", "tsconfig-paths": "^4.2.0",
"tsx": "^4.20.3", "tsx": "^4.21.0",
"typescript": "^5.9.2" "typescript": "^5.9.2"
}, },
"packageManager": "yarn@4.6.0", "packageManager": "yarn@4.12.0",
"engines": { "engines": {
"node": ">=22 <23" "node": ">=22 <23"
} }

View File

@@ -708,7 +708,7 @@
"typescript": "^5.9.2", "typescript": "^5.9.2",
"vitest": "^2.1.8" "vitest": "^2.1.8"
}, },
"packageManager": "yarn@4.6.0", "packageManager": "yarn@4.12.0",
"engines": { "engines": {
"node": ">=22 <23" "node": ">=22 <23"
} }

View File

@@ -133,7 +133,7 @@
"typechain": "^8.3.2", "typechain": "^8.3.2",
"typescript": "^5.9.2" "typescript": "^5.9.2"
}, },
"packageManager": "yarn@4.6.0", "packageManager": "yarn@4.12.0",
"engines": { "engines": {
"node": ">=22 <23" "node": ">=22 <23"
} }

View File

@@ -68,7 +68,7 @@
"knip": "^5.63.1", "knip": "^5.63.1",
"patch-package": "^8.0.0", "patch-package": "^8.0.0",
"prettier": "^3.6.2", "prettier": "^3.6.2",
"tsx": "^4.20.3", "tsx": "^4.21.0",
"typescript": "^5.9.2" "typescript": "^5.9.2"
}, },
"packageManager": "yarn@4.12.0", "packageManager": "yarn@4.12.0",

View File

@@ -198,7 +198,7 @@
"react-native-svg": "*", "react-native-svg": "*",
"react-native-webview": "^13.16.0" "react-native-webview": "^13.16.0"
}, },
"packageManager": "yarn@4.6.0", "packageManager": "yarn@4.12.0",
"publishConfig": { "publishConfig": {
"access": "restricted" "access": "restricted"
} }

2835
yarn.lock

File diff suppressed because it is too large Load Diff