Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-packages/e2e-tests/test-applications/nuxt-5/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-peer-deps = false
4 changes: 2 additions & 2 deletions dev-packages/e2e-tests/test-applications/nuxt-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"test": "playwright test",
"test:prod": "TEST_ENV=production playwright test",
"test:dev": "bash ./nuxt-start-dev-server.bash && TEST_ENV=development playwright test environment",
"test:build": "pnpm install && pnpm build",
"test:build-canary": "pnpm add nuxt@npm:nuxt-nightly@latest && pnpm add nitro@npm:nitro-nightly@latest && pnpm install --force && pnpm build",
"test:build": "npm install && pnpm build",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm rejects link devDependency

High Severity

test:build now runs npm install, but @sentry-internal/test-utils is declared with the pnpm-only link: protocol in devDependencies. npm does not support link: and typically fails with EUNSUPPORTEDPROTOCOL, so the build step can fail before pnpm build runs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit eeaf782. Configure here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm ignores pnpm overrides

Medium Severity

E2E setup injects pinned Sentry packages via pnpm.overrides before test:build, but npm install does not read pnpm.overrides. Transitive @sentry/* packages can resolve from the registry instead of the packed monorepo tarballs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit eeaf782. Configure here.

"test:build-canary": "pnpm add nuxt@npm:nuxt-nightly@latest && pnpm add nitro@npm:nitro-nightly@latest && npm install --force && pnpm build",
"test:assert": "pnpm test:prod && pnpm test:dev"
},
"//": [
Expand Down
Loading