From efaaf9d51374909f6efc3d6af3845fc2f9b3afa5 Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Tue, 31 Mar 2026 13:38:36 -0700 Subject: [PATCH 1/3] Replace npx with pnpm exec --- .../db-migration-backwards-compatibility.yaml | 12 +++++----- .../e2e-api-tests-local-emulator.yaml | 8 +++---- .github/workflows/e2e-api-tests.yaml | 8 +++---- .../e2e-custom-base-port-api-tests.yaml | 8 +++---- package.json | 10 ++++----- packages/init-stack/package.json | 16 +++++++------- pnpm-workspace.yaml | 22 +------------------ 7 files changed, 32 insertions(+), 52 deletions(-) diff --git a/.github/workflows/db-migration-backwards-compatibility.yaml b/.github/workflows/db-migration-backwards-compatibility.yaml index b6f15cbe1e..19b6241d16 100644 --- a/.github/workflows/db-migration-backwards-compatibility.yaml +++ b/.github/workflows/db-migration-backwards-compatibility.yaml @@ -145,13 +145,13 @@ jobs: run: pnpm run wait-until-postgres-is-ready:pg_isready - name: Wait on Inbucket - run: pnpx wait-on tcp:localhost:8129 + run: pnpm exec wait-on tcp:localhost:8129 - name: Wait on Svix - run: pnpx wait-on tcp:localhost:8113 + run: pnpm exec wait-on tcp:localhost:8113 - name: Wait on ClickHouse - run: pnpx wait-on http://localhost:8136/ping + run: pnpm exec wait-on http://localhost:8136/ping - name: Initialize database run: pnpm run db:init @@ -339,13 +339,13 @@ jobs: run: pnpm run wait-until-postgres-is-ready:pg_isready - name: Wait on Inbucket - run: pnpx wait-on tcp:localhost:8129 + run: pnpm exec wait-on tcp:localhost:8129 - name: Wait on Svix - run: pnpx wait-on tcp:localhost:8113 + run: pnpm exec wait-on tcp:localhost:8113 - name: Wait on ClickHouse - run: pnpx wait-on http://localhost:8136/ping + run: pnpm exec wait-on http://localhost:8136/ping - name: Initialize database run: pnpm run db:init diff --git a/.github/workflows/e2e-api-tests-local-emulator.yaml b/.github/workflows/e2e-api-tests-local-emulator.yaml index 279fde5450..0b1ab5e433 100644 --- a/.github/workflows/e2e-api-tests-local-emulator.yaml +++ b/.github/workflows/e2e-api-tests-local-emulator.yaml @@ -93,16 +93,16 @@ jobs: run: pnpm run wait-until-postgres-is-ready:pg_isready - name: Wait on Inbucket - run: pnpx wait-on tcp:localhost:8129 + run: pnpm exec wait-on tcp:localhost:8129 - name: Wait on Svix - run: pnpx wait-on tcp:localhost:8113 + run: pnpm exec wait-on tcp:localhost:8113 - name: Wait on QStash - run: pnpx wait-on tcp:localhost:8125 + run: pnpm exec wait-on tcp:localhost:8125 - name: Wait on ClickHouse - run: pnpx wait-on http://localhost:8136/ping + run: pnpm exec wait-on http://localhost:8136/ping - name: Initialize database run: pnpm run db:init diff --git a/.github/workflows/e2e-api-tests.yaml b/.github/workflows/e2e-api-tests.yaml index 1ebdf5d0ea..d949d129ac 100644 --- a/.github/workflows/e2e-api-tests.yaml +++ b/.github/workflows/e2e-api-tests.yaml @@ -99,16 +99,16 @@ jobs: run: pnpm run wait-until-postgres-is-ready:pg_isready - name: Wait on Inbucket - run: pnpx wait-on tcp:localhost:8129 + run: pnpm exec wait-on tcp:localhost:8129 - name: Wait on Svix - run: pnpx wait-on tcp:localhost:8113 + run: pnpm exec wait-on tcp:localhost:8113 - name: Wait on QStash - run: pnpx wait-on tcp:localhost:8125 + run: pnpm exec wait-on tcp:localhost:8125 - name: Wait on ClickHouse - run: pnpx wait-on http://localhost:8136/ping + run: pnpm exec wait-on http://localhost:8136/ping - name: Initialize database run: pnpm run db:init diff --git a/.github/workflows/e2e-custom-base-port-api-tests.yaml b/.github/workflows/e2e-custom-base-port-api-tests.yaml index 4e3a0acaa6..66517efc4b 100644 --- a/.github/workflows/e2e-custom-base-port-api-tests.yaml +++ b/.github/workflows/e2e-custom-base-port-api-tests.yaml @@ -92,16 +92,16 @@ jobs: run: pnpm run wait-until-postgres-is-ready:pg_isready - name: Wait on Inbucket - run: pnpx wait-on tcp:localhost:6729 + run: pnpm exec wait-on tcp:localhost:6729 - name: Wait on Svix - run: pnpx wait-on tcp:localhost:6713 + run: pnpm exec wait-on tcp:localhost:6713 - name: Wait on QStash - run: pnpx wait-on tcp:localhost:6725 + run: pnpm exec wait-on tcp:localhost:6725 - name: Wait on ClickHouse - run: pnpx wait-on http://localhost:6736/ping + run: pnpm exec wait-on http://localhost:6736/ping - name: Initialize database run: pnpm run db:init diff --git a/package.json b/package.json index 9f93e85fe9..eb9a1a5f48 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "private": true, "repository": "https://github.com/stack-auth/stack-auth", "scripts": { - "pre-no-codegen": "pnpx only-allow pnpm", - "pre-preinstall": "pnpx only-allow pnpm && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') require('child_process').execSync('pnpx --package=tsx tsx ./scripts/generate-sdks.ts', {stdio: 'inherit'})\"", + "pre-no-codegen": "pnpm exec only-allow pnpm", + "pre-preinstall": "pnpm exec only-allow pnpm && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') require('child_process').execSync('pnpm exec tsx ./scripts/generate-sdks.ts', {stdio: 'inherit'})\"", "pre": "pnpm pre-preinstall", "preinstall": "pnpm pre-preinstall", "typecheck": "pnpm pre && turbo typecheck --", @@ -16,7 +16,7 @@ "build:demo": "pnpm pre && turbo run build --filter=demo-app...", "build:docs": "pnpm run build:packages && pnpm run codegen && pnpm run build:backend && pnpm run --filter=@stackframe/stack-docs generate-openapi-docs && turbo run build --filter=@stackframe/stack-docs", "build:packages": "pnpm pre && turbo run build --filter=./packages/*", - "restart-dev-in-background": "pnpm pre && pnpm run kill-dev:named && (pnpm run dev:named > dev-server.log.untracked.txt 2>&1 &) && echo 'Starting dev server in background... (Logs are in dev-server.log.untracked.txt)' && pnpx wait-on http://localhost:${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}02 -t 120000 && echo 'Dev server running.'", + "restart-dev-in-background": "pnpm pre && pnpm run kill-dev:named && (pnpm run dev:named > dev-server.log.untracked.txt 2>&1 &) && echo 'Starting dev server in background... (Logs are in dev-server.log.untracked.txt)' && pnpm exec wait-on http://localhost:${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}02 -t 120000 && echo 'Dev server running.'", "restart-dev-environment": "pnpm pre && pnpm run build:packages && pnpm run codegen && pnpm run restart-deps && pnpm run restart-dev-in-background", "stop-dev-environment": "pnpm pre && pnpm run kill-dev:named && pnpm run stop-deps", "clean": "pnpm pre-no-codegen && turbo run clean && rimraf --glob **/.next && rimraf --glob **/.turbo && rimraf .turbo && rimraf --glob **/node_modules && rimraf node_modules", @@ -27,7 +27,7 @@ "stop-deps": "POSTGRES_DELAY_MS=0 pnpm run deps-compose kill && POSTGRES_DELAY_MS=0 pnpm run deps-compose down -v", "wait-until-postgres-is-ready:pg_isready": "until pg_isready -h localhost -p ${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}28 && pg_isready -h localhost -p ${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}34; do sleep 1; done", "wait-until-postgres-is-ready": "command -v pg_isready >/dev/null 2>&1 && pnpm run wait-until-postgres-is-ready:pg_isready || sleep 10 # not everyone has pg_isready installed, so we fallback to sleeping", - "wait-until-clickhouse-is-ready": "pnpx wait-on http://localhost:${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}36/ping", + "wait-until-clickhouse-is-ready": "pnpm exec wait-on http://localhost:${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}36/ping", "start-deps:no-delay": "pnpm pre && pnpm run deps-compose up --detach --build && pnpm run wait-until-postgres-is-ready && pnpm run wait-until-clickhouse-is-ready && pnpm run db:init && echo \"\\nDependencies started in the background as Docker containers. 'pnpm run stop-deps' to stop them\"n", "start-deps": "POSTGRES_DELAY_MS=${POSTGRES_DELAY_MS:-0} pnpm run start-deps:no-delay", "restart-deps": "pnpm pre && pnpm run stop-deps && pnpm run start-deps", @@ -66,7 +66,7 @@ "test:unit": "pnpm pre && vitest src", "verify-data-integrity": "pnpm pre && pnpm -C apps/backend run verify-data-integrity", "generate-keys": "pnpm pre && turbo run generate-keys", - "generate-sdks": "pnpx --package=tsx tsx ./scripts/generate-sdks.ts", + "generate-sdks": "pnpm exec tsx ./scripts/generate-sdks.ts", "generate-sdks:watch": "chokidar --silent -c 'pnpm run generate-sdks' './packages/template' --ignore './packages/template/package.json' --ignore '**/node_modules/**' --ignore '**/dist/**' --ignore '**/.turbo/**' --throttle 2000", "generate-openapi-docs:watch": "chokidar --silent -c 'pnpm run --filter=@stackframe/stack-docs generate-openapi-docs' './docs/public/openapi/{admin,client,server,webhooks}.json' --throttle 2000" }, diff --git a/packages/init-stack/package.json b/packages/init-stack/package.json index d5abd1af2d..3cd95b9350 100644 --- a/packages/init-stack/package.json +++ b/packages/init-stack/package.json @@ -22,14 +22,14 @@ "test-run-no-browser": "rimraf test-run-output && mkdir test-run-output && cd test-run-output && npm init --init-author-name example-author --init-license UNLICENSED --init-author-url http://example.com --init-module test-run-output --init-version 1.0.0 -y && cd .. && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --server --npm --no-browser", "test-run-node:manual": "rimraf test-run-output && mkdir test-run-output && cd test-run-output && npm init && cd .. && pnpm run init-stack:local test-run-output", "test-run-node": "rimraf test-run-output && mkdir test-run-output && cd test-run-output && npm init --init-author-name example-author --init-license UNLICENSED --init-author-url http://example.com --init-module test-run-output --init-version 1.0.0 -y && cd .. && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --server --npm --no-browser", - "test-run-js:manual": "rimraf test-run-output && pnpx sv create test-run-output --no-install && pnpm run init-stack:local test-run-output", - "test-run-js": "rimraf test-run-output && pnpx sv create test-run-output --template minimal --types ts --no-add-ons --no-install && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --client --npm --no-browser", - "test-run-next:manual": "rimraf test-run-output && pnpx create-next-app@latest test-run-output && pnpm run init-stack:local test-run-output", - "test-run-next": "rimraf test-run-output && pnpx create-next-app@latest test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --no-browser", - "test-run-keys-next": "rimraf test-run-output && pnpx create-next-app@latest test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --project-id my-project-id --publishable-client-key my-publishable-client-key", - "test-run-keys-js": "rimraf test-run-output && pnpx sv create test-run-output --template minimal --types ts --no-add-ons --no-install && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --client --npm --project-id my-project-id --publishable-client-key my-publishable-client-key", - "test-run-react": "rimraf test-run-output && pnpx create-vite@latest test-run-output --template react-ts && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --no-browser --npm", - "test-run-react:manual": "rimraf test-run-output && pnpx create-vite@latest test-run-output --template react-ts && pnpm run init-stack:local test-run-output --react" + "test-run-js:manual": "rimraf test-run-output && pnpm exec sv create test-run-output --no-install && pnpm run init-stack:local test-run-output", + "test-run-js": "rimraf test-run-output && pnpm exec sv create test-run-output --template minimal --types ts --no-add-ons --no-install && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --client --npm --no-browser", + "test-run-next:manual": "rimraf test-run-output && pnpm exec create-next-app test-run-output && pnpm run init-stack:local test-run-output", + "test-run-next": "rimraf test-run-output && pnpm exec create-next-app test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --no-browser", + "test-run-keys-next": "rimraf test-run-output && pnpm exec create-next-app test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --project-id my-project-id --publishable-client-key my-publishable-client-key", + "test-run-keys-js": "rimraf test-run-output && pnpm exec sv create test-run-output --template minimal --types ts --no-add-ons --no-install && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --client --npm --project-id my-project-id --publishable-client-key my-publishable-client-key", + "test-run-react": "rimraf test-run-output && pnpm exec create-vite test-run-output --template react-ts && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --no-browser --npm", + "test-run-react:manual": "rimraf test-run-output && pnpm exec create-vite test-run-output --template react-ts && pnpm run init-stack:local test-run-output --react" }, "files": [ "README.md", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 5d7084ca97..44b32e71a8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,24 +6,4 @@ packages: - sdks/* - sdks/implementations/* -minimumReleaseAge: 2880 -minimumReleaseAgeExclude: -- '@anthropic-ai/claude-agent-sdk' -- ai -- '@ai-sdk/anthropic' -- '@ai-sdk/openai' -- '@ai-sdk/react' -- '@ai-sdk/provider' -- '@ai-sdk/provider-utils' -- '@ai-sdk/gateway' -- next -- '@next/env' -- '@next/swc-darwin-arm64' -- '@next/swc-darwin-x64' -- '@next/swc-linux-arm64-gnu' -- '@next/swc-linux-arm64-musl' -- '@next/swc-linux-x64-gnu' -- '@next/swc-linux-x64-musl' -- '@next/swc-win32-arm64-msvc' -- '@next/swc-win32-ia32-msvc' -- '@next/swc-win32-x64-msvc' +minimumReleaseAge: 10080 From b36fd3a03483e8e0fead10cbf850ca5a60704f62 Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Tue, 31 Mar 2026 14:00:56 -0700 Subject: [PATCH 2/3] Fixes --- packages/init-stack/package.json | 4 +++ pnpm-lock.yaml | 52 +++++++++++++++++++++++++++----- 2 files changed, 49 insertions(+), 7 deletions(-) diff --git a/packages/init-stack/package.json b/packages/init-stack/package.json index 3cd95b9350..20e55f6383 100644 --- a/packages/init-stack/package.json +++ b/packages/init-stack/package.json @@ -51,7 +51,11 @@ "devDependencies": { "@types/inquirer": "^9.0.7", "@types/node": "20.17.6", + "create-next-app": "^16.2.1", + "create-vite": "^9.0.3", + "only-allow": "^1.2.1", "rimraf": "^6.1.2", + "sv": "^0.12.8", "tsdown": "^0.20.3", "typescript": "5.9.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 327333ea85..8619955f36 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -737,7 +737,7 @@ importers: version: 1.166.6(crossws@0.4.4(srvx@0.8.16)) nitro: specifier: ^3.0.0 - version: 3.0.0(@electric-sql/pglite@0.3.2)(chokidar@4.0.3)(lru-cache@11.2.2)(mysql2@3.15.3)(rolldown@1.0.0-rc.3)(vite@7.3.1(@types/node@22.19.0)(jiti@2.6.1)(lightningcss@1.30.1)(terser@5.44.0)(tsx@4.21.0)(yaml@2.8.0)) + version: 3.0.0(@electric-sql/pglite@0.3.2)(chokidar@4.0.3)(lru-cache@11.2.2)(mysql2@3.15.3)(vite@7.3.1(@types/node@22.19.0)(jiti@2.6.1)(lightningcss@1.30.1)(terser@5.44.0)(tsx@4.21.0)(yaml@2.8.0)) react: specifier: 19.2.1 version: 19.2.1 @@ -1589,9 +1589,21 @@ importers: '@types/node': specifier: 20.17.6 version: 20.17.6 + create-next-app: + specifier: ^16.2.1 + version: 16.2.1 + create-vite: + specifier: ^9.0.3 + version: 9.0.3 + only-allow: + specifier: ^1.2.1 + version: 1.2.1 rimraf: specifier: ^6.1.2 version: 6.1.2 + sv: + specifier: ^0.12.8 + version: 0.12.8 tsdown: specifier: ^0.20.3 version: 0.20.3(typescript@5.9.3) @@ -8980,6 +8992,9 @@ packages: resolution: {integrity: sha512-r0tlcukejJXJ1m/2eG/Ya5eYs4W8AC7oZfShpG3+SIo/eIU9uIt76ZeYI1SoUwUmcmzlAbgch+HDZDR/toVQPQ==} engines: {node: '>=20.0.0'} + '@sveltejs/sv-utils@0.0.3': + resolution: {integrity: sha512-rILMrx0zQMR0OlFXR/peTu+9z6x/5iOsEiWJelkI670WPWdAunikKLQrIE7zN8U/8DjN5WBvIWu0OAyEuZ4ohA==} + '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} @@ -10909,6 +10924,16 @@ packages: buffer: optional: true + create-next-app@16.2.1: + resolution: {integrity: sha512-vWG49HVors/VJ4kMqn1cdP1SQ3DhqFLsy4TQaz3RA47CLRlNc+0Ogyb0Y5QfsGo94FWIhqzCCagp02yGNjOTZA==} + engines: {node: '>=20.9.0'} + hasBin: true + + create-vite@9.0.3: + resolution: {integrity: sha512-eYcVOj/fzVEDFjjEURP93TTC11CmOHtnbeTz1/aEEnL+O1dEyEYzfPWE/JfxbksQ9ztlkxMZ5XG3KjVGDks0xw==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} @@ -15979,6 +16004,10 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} + sv@0.12.8: + resolution: {integrity: sha512-sTe/Lbc5HsT8rCoUhvwi8zFi+d819/pdI5z9JDObISuhhG0j4tFNNcyaJ0AoZwKVCfo3JYroz8ECCtoMz+2Ncw==} + hasBin: true + svix-fetch@3.0.0: resolution: {integrity: sha512-rcADxEFhSqHbraZIsjyZNh4TF6V+koloX1OzZ+AQuObX9mZ2LIMhm1buZeuc5BIZPftZpJCMBsSiBaeszo9tRw==} @@ -25787,6 +25816,8 @@ snapshots: - bufferutil - utf-8-validate + '@sveltejs/sv-utils@0.0.3': {} + '@swc/counter@0.1.3': {} '@swc/helpers@0.5.15': @@ -28123,6 +28154,10 @@ snapshots: optionalDependencies: buffer: 6.0.3 + create-next-app@16.2.1: {} + + create-vite@9.0.3: {} + cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5 @@ -29131,7 +29166,7 @@ snapshots: eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@8.57.1) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-react: 7.37.2(eslint@8.57.1) eslint-plugin-react-hooks: 5.1.0(eslint@8.57.1) @@ -29155,7 +29190,7 @@ snapshots: debug: 4.4.3 enhanced-resolve: 5.17.0 eslint: 8.57.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.1) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.1) fast-glob: 3.3.2 get-tsconfig: 4.8.1 @@ -29205,7 +29240,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: @@ -29265,7 +29300,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -32512,7 +32547,7 @@ snapshots: nice-try@1.0.5: {} - nitro@3.0.0(@electric-sql/pglite@0.3.2)(chokidar@4.0.3)(lru-cache@11.2.2)(mysql2@3.15.3)(rolldown@1.0.0-rc.3)(vite@7.3.1(@types/node@22.19.0)(jiti@2.6.1)(lightningcss@1.30.1)(terser@5.44.0)(tsx@4.21.0)(yaml@2.8.0)): + nitro@3.0.0(@electric-sql/pglite@0.3.2)(chokidar@4.0.3)(lru-cache@11.2.2)(mysql2@3.15.3)(vite@7.3.1(@types/node@22.19.0)(jiti@2.6.1)(lightningcss@1.30.1)(terser@5.44.0)(tsx@4.21.0)(yaml@2.8.0)): dependencies: consola: 3.4.2 cookie-es: 2.0.0 @@ -32532,7 +32567,6 @@ snapshots: unenv: 2.0.0-rc.21 unstorage: 2.0.0-alpha.3(chokidar@4.0.3)(db0@0.3.4(@electric-sql/pglite@0.3.2)(mysql2@3.15.3))(lru-cache@11.2.2)(ofetch@1.5.1) optionalDependencies: - rolldown: 1.0.0-rc.3 vite: 7.3.1(@types/node@22.19.0)(jiti@2.6.1)(lightningcss@1.30.1)(terser@5.44.0)(tsx@4.21.0)(yaml@2.8.0) transitivePeerDependencies: - '@azure/app-configuration' @@ -34925,6 +34959,10 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} + sv@0.12.8: + dependencies: + '@sveltejs/sv-utils': 0.0.3 + svix-fetch@3.0.0(encoding@0.1.13): dependencies: node-fetch: 2.7.0(encoding@0.1.13) From edfff3b27ac4a8479a16781886ef5cbb452c746a Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Wed, 8 Apr 2026 17:08:27 -0700 Subject: [PATCH 3/3] Fix only-allow version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d7a2128703..a5463dc733 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "repository": "https://github.com/stack-auth/stack-auth", "scripts": { "pre-no-codegen": "pnpm exec only-allow pnpm", - "pre-preinstall": "pnpx only-allow pnpm && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') require('child_process').execSync('pnpm exec tsx ./scripts/generate-sdks.ts', {stdio: 'inherit'})\"", + "pre-preinstall": "pnpx only-allow@1.2.2 pnpm && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') require('child_process').execSync('pnpm exec tsx ./scripts/generate-sdks.ts', {stdio: 'inherit'})\"", "pre": "pnpm pre-preinstall", "preinstall": "pnpm pre-preinstall", "typecheck": "pnpm pre && turbo typecheck --",