mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 06:14:07 -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
|
# 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
|
||||||
|
|||||||
2
.github/actions/yarn-install/action.yml
vendored
2
.github/actions/yarn-install/action.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/core-sdk-ci.yml
vendored
6
.github/workflows/core-sdk-ci.yml
vendored
@@ -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
|
||||||
|
|||||||
16
.github/workflows/mobile-ci.yml
vendored
16
.github/workflows/mobile-ci.yml
vendored
@@ -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:
|
||||||
|
|||||||
8
.github/workflows/mobile-e2e.yml
vendored
8
.github/workflows/mobile-e2e.yml
vendored
@@ -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
|
||||||
|
|||||||
4
.github/workflows/mobile-sdk-demo-e2e.yml
vendored
4
.github/workflows/mobile-sdk-demo-e2e.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user