From 3acc534824d9393fe547b71ebae6af72f5cf07c2 Mon Sep 17 00:00:00 2001 From: Andrew Yang Date: Sat, 27 Jul 2024 15:58:58 +1000 Subject: [PATCH] nohoist --- .github/actions/pr-setup/action.yaml | 3 ++- .github/workflows/check-examples.yaml | 8 ++++---- .yarnrc.yml | 2 -- package.json | 7 ++++--- sdk/package.json | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/actions/pr-setup/action.yaml b/.github/actions/pr-setup/action.yaml index 146faee4e6..42fea09501 100644 --- a/.github/actions/pr-setup/action.yaml +++ b/.github/actions/pr-setup/action.yaml @@ -21,6 +21,7 @@ runs: path: node_modules key: ${{ runner.os }}-build-cache-deps-${{ hashFiles('yarn.lock') }} - - name: install depdenencies + - name: install dependencies + if: steps.restore-cache-node_modules.outputs.cache-hit != 'true' shell: bash run: yarn install --immutable diff --git a/.github/workflows/check-examples.yaml b/.github/workflows/check-examples.yaml index 33f5e0ec0f..fc36c8ce17 100644 --- a/.github/workflows/check-examples.yaml +++ b/.github/workflows/check-examples.yaml @@ -20,7 +20,7 @@ jobs: registry-url: https://registry.npmjs.org/ cache: "yarn" - - name: install depdenencies + - name: install dependencies run: yarn install --immutable - name: Build @@ -40,7 +40,7 @@ jobs: registry-url: https://registry.npmjs.org/ cache: "yarn" - - name: install depdenencies + - name: install dependencies run: yarn install --immutable - name: Lint @@ -60,7 +60,7 @@ jobs: registry-url: https://registry.npmjs.org/ cache: "yarn" - - name: install depdenencies + - name: install dependencies run: yarn install --immutable - name: Test @@ -79,7 +79,7 @@ jobs: registry-url: https://registry.npmjs.org/ cache: "yarn" - - name: install depdenencies + - name: install dependencies run: yarn install --immutable - name: Cache Playwright browsers diff --git a/.yarnrc.yml b/.yarnrc.yml index fdba690f32..4ea9859784 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -4,6 +4,4 @@ enableGlobalCache: false nodeLinker: node-modules -nmHoistingLimits: workspaces - yarnPath: .yarn/releases/yarn-4.3.1.cjs diff --git a/package.json b/package.json index 4ebeec5e0b..57cfaf0ab8 100644 --- a/package.json +++ b/package.json @@ -100,8 +100,9 @@ "examples/passport/wallets-signing-with-nextjs", "examples/passport/wallets-transactions-with-nextjs" ], - "installConfig": { - "hoistingLimits": "workspaces" - } + "installConfig": [ + "samples/**", + "examples/**" + ] } } diff --git a/sdk/package.json b/sdk/package.json index 7126e7a17d..974f256492 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -162,7 +162,7 @@ "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "packageList": "./scripts/generate-package-list.sh", "regenModules": "yarn generateIndex && yarn updateExports", - "typecheck": "tsc --noEmit --jsx preserve", + "typecheck": "tsc --noEmit --jsx preserve --skipLibCheck", "updateDependencies": "yarn packageList && node ./scripts/updateDependencies.js && yarn syncpack:format", "updateExports": "node scripts/updateExports.js" },