mirror of
https://github.com/selfxyz/self.git
synced 2026-01-06 21:34:13 -05:00
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:
2
.github/actions/mobile-setup/action.yml
vendored
2
.github/actions/mobile-setup/action.yml
vendored
@@ -59,7 +59,7 @@ runs:
|
||||
|
||||
# Configure Yarn
|
||||
corepack enable
|
||||
yarn set version 4.6.0
|
||||
yarn set version 4.12.0
|
||||
|
||||
echo "📦 Installing JavaScript dependencies with strict lock file..."
|
||||
if ! yarn install --immutable --inline-builds; then
|
||||
|
||||
2
.github/actions/yarn-install/action.yml
vendored
2
.github/actions/yarn-install/action.yml
vendored
@@ -15,7 +15,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare yarn@4.6.0 --activate
|
||||
corepack prepare yarn@4.12.0 --activate
|
||||
# Ensure we're using the correct version
|
||||
yarn --version
|
||||
|
||||
|
||||
6
.github/workflows/core-sdk-ci.yml
vendored
6
.github/workflows/core-sdk-ci.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Setup Corepack
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare yarn@4.6.0 --activate
|
||||
corepack prepare yarn@4.12.0 --activate
|
||||
- name: Restore build artifacts
|
||||
id: build-cache
|
||||
uses: actions/cache/restore@v4
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
- name: Setup Corepack
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare yarn@4.6.0 --activate
|
||||
corepack prepare yarn@4.12.0 --activate
|
||||
- name: Restore build artifacts
|
||||
id: build-cache
|
||||
uses: actions/cache/restore@v4
|
||||
@@ -100,7 +100,7 @@ jobs:
|
||||
- name: Setup Corepack
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare yarn@4.6.0 --activate
|
||||
corepack prepare yarn@4.12.0 --activate
|
||||
- name: Restore build artifacts
|
||||
id: build-cache
|
||||
uses: actions/cache/restore@v4
|
||||
|
||||
16
.github/workflows/mobile-ci.yml
vendored
16
.github/workflows/mobile-ci.yml
vendored
@@ -58,8 +58,8 @@ jobs:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Activate Yarn 4.6.0
|
||||
run: corepack prepare yarn@4.6.0 --activate
|
||||
- name: Activate Yarn 4.12.0
|
||||
run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Cache Yarn
|
||||
uses: ./.github/actions/cache-yarn
|
||||
with:
|
||||
@@ -116,8 +116,8 @@ jobs:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Activate Yarn 4.6.0
|
||||
run: corepack prepare yarn@4.6.0 --activate
|
||||
- name: Activate Yarn 4.12.0
|
||||
run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Cache Yarn
|
||||
uses: ./.github/actions/cache-yarn
|
||||
with:
|
||||
@@ -234,8 +234,8 @@ jobs:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Activate Yarn 4.6.0
|
||||
run: corepack prepare yarn@4.6.0 --activate
|
||||
- name: Activate Yarn 4.12.0
|
||||
run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Set up Xcode
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
@@ -448,8 +448,8 @@ jobs:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Activate Yarn 4.6.0
|
||||
run: corepack prepare yarn@4.6.0 --activate
|
||||
- name: Activate Yarn 4.12.0
|
||||
run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Cache Yarn
|
||||
uses: ./.github/actions/cache-yarn
|
||||
with:
|
||||
|
||||
8
.github/workflows/mobile-e2e.yml
vendored
8
.github/workflows/mobile-e2e.yml
vendored
@@ -65,7 +65,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: corepack enable
|
||||
- run: corepack prepare yarn@4.6.0 --activate
|
||||
- run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Compute .yarnrc.yml hash
|
||||
id: yarnrc-hash
|
||||
uses: ./.github/actions/yarnrc-hash
|
||||
@@ -146,9 +146,9 @@ jobs:
|
||||
- name: Build dependencies (outside emulator)
|
||||
run: |
|
||||
echo "Building dependencies..."
|
||||
# Ensure Yarn 4.6.0 is active
|
||||
# Ensure Yarn 4.12.0 is active
|
||||
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; }
|
||||
echo "✅ Dependencies built successfully"
|
||||
- name: Setup Android private modules
|
||||
@@ -269,7 +269,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: corepack enable
|
||||
- run: corepack prepare yarn@4.6.0 --activate
|
||||
- run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Compute .yarnrc.yml hash
|
||||
id: yarnrc-hash
|
||||
uses: ./.github/actions/yarnrc-hash
|
||||
|
||||
4
.github/workflows/mobile-sdk-demo-e2e.yml
vendored
4
.github/workflows/mobile-sdk-demo-e2e.yml
vendored
@@ -68,7 +68,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: corepack enable
|
||||
- run: corepack prepare yarn@4.6.0 --activate
|
||||
- run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Compute .yarnrc.yml hash
|
||||
id: yarnrc-hash
|
||||
uses: ./.github/actions/yarnrc-hash
|
||||
@@ -243,7 +243,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: corepack enable
|
||||
- run: corepack prepare yarn@4.6.0 --activate
|
||||
- run: corepack prepare yarn@4.12.0 --activate
|
||||
- name: Compute .yarnrc.yml hash
|
||||
id: yarnrc-hash
|
||||
uses: ./.github/actions/yarnrc-hash
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
"vite": "^7.0.0",
|
||||
"vite-plugin-svgr": "^4.5.0"
|
||||
},
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
|
||||
@@ -86,10 +86,10 @@
|
||||
"prettier": "^3.5.3",
|
||||
"ts-mocha": "^10.0.0",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"tsx": "^4.20.3",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
|
||||
@@ -708,7 +708,7 @@
|
||||
"typescript": "^5.9.2",
|
||||
"vitest": "^2.1.8"
|
||||
},
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
"typechain": "^8.3.2",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
"knip": "^5.63.1",
|
||||
"patch-package": "^8.0.0",
|
||||
"prettier": "^3.6.2",
|
||||
"tsx": "^4.20.3",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"packageManager": "yarn@4.12.0",
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
"react-native-svg": "*",
|
||||
"react-native-webview": "^13.16.0"
|
||||
},
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"publishConfig": {
|
||||
"access": "restricted"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user