Skip to content
Merged
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
2 changes: 1 addition & 1 deletion dev-packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"private": true,
"scripts": {
"clean": "rimraf -g suites/**/dist loader-suites/**/dist tmp",
"clean": "node scripts/clean.mjs",
"install-browsers": "[[ -z \"$SKIP_PLAYWRIGHT_BROWSER_INSTALL\" ]] && npx playwright install --with-deps || echo 'Skipping browser installation'",
"lint": "oxlint . --type-aware",
"lint:fix": "oxlint . --fix --type-aware",
Expand Down
5 changes: 5 additions & 0 deletions dev-packages/browser-integration-tests/scripts/clean.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { globSync, rmSync } from 'node:fs';

for (const path of globSync(['suites/**/dist', 'loader-suites/**/dist', 'tmp'])) {
rmSync(path, { recursive: true, force: true });
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Clean scripts fail on Node 20

Medium Severity

The new clean scripts import globSync from node:fs, but that API ships only in Node 22+. This repo still supports Node 20.19 (engines and CI), so pnpm clean and the browser-integration-tests pretest crash there with a missing-export / not-a-function error instead of removing build artifacts.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ee036d8. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  • browser-integration-tests are not run against 20.x in CI, they run against 24.22.1 (per whats in package.json)
  • no other CI job currently runs clean

5 changes: 2 additions & 3 deletions dev-packages/bundler-plugin-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
"check:types": "tsc --project ./tsconfig.json --noEmit",
"clean": "run-s clean:build",
"clean:all": "run-p clean clean:deps",
"clean:build": "premove ./fixtures/*/out",
"clean:deps": "premove node_modules"
"clean:build": "node ../../scripts/rm.mjs ./fixtures/*/out",
"clean:deps": "node ../../scripts/rm.mjs node_modules"
},
"devDependencies": {
"@sentry/bundler-plugins": "11.11.0",
"premove": "^4.0.0",
"sentry": "^0.49.0",
"typescript": "~6.0.3",
"vitest": "^4.1.11"
Expand Down
7 changes: 2 additions & 5 deletions dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@
"test:run": "node run.mjs",
"test:prepare": "node prepare.mjs",
"test:validate": "node validate-packed-tarball-setup.mjs",
"clean": "rimraf tmp node_modules packed && pnpm run clean:test-applications && pnpm run clean:pnpm",
"clean": "node ../../scripts/rm.mjs tmp node_modules packed && pnpm run clean:test-applications && pnpm run clean:pnpm",
"ci:build-matrix": "node ./lib/getTestMatrix.mjs",
"ci:build-matrix-optional": "node ./lib/getTestMatrix.mjs --variant=optional",
"ci:build-matrix-canary": "node ./lib/getTestMatrix.mjs --variant=canary",
"ci:copy-to-temp": "node ./ciCopyToTemp.mjs",
"ci:pnpm-overrides": "node ./ciPnpmOverrides.mjs",
"clean:test-applications": "rimraf --glob test-applications/**/{node_modules,dist,build,.next,.nuxt,.sveltekit,.react-router,.astro,.output,pnpm-lock.yaml,.last-run.json,test-results,.angular}",
"clean:test-applications": "node scripts/clean-test-applications.mjs",
"clean:pnpm": "pnpm store prune"
},
"devDependencies": {
"rimraf": "^6.1.3"
}
}
8 changes: 8 additions & 0 deletions dev-packages/e2e-tests/scripts/clean-test-applications.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { globSync, rmSync } from 'node:fs';

const pattern =
'test-applications/**/{node_modules,dist,build,.next,.nuxt,.sveltekit,.react-router,.astro,.output,pnpm-lock.yaml,.last-run.json,test-results,.angular}';

for (const path of globSync(pattern)) {
rmSync(path, { recursive: true, force: true });
}
3 changes: 1 addition & 2 deletions dev-packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"build:dev": "pnpm run build",
"build:transpile": "rollup -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"clean": "rimraf -g suites/**/node_modules suites/**/tmp_* && pnpm run clean:script",
"clean:script": "node scripts/clean.js",
"clean": "node scripts/clean.js",
"lint": "oxlint . --type-aware",
"lint:fix": "oxlint . --fix --type-aware",
"type-check": "pnpm run type-check:src && pnpm run type-check:test",
Expand Down
7 changes: 6 additions & 1 deletion dev-packages/node-integration-tests/scripts/clean.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
const { execSync } = require('child_process');
const { globSync, rmSync } = require('fs');

for (const path of globSync(['suites/**/node_modules', 'suites/**/tmp_*'])) {
rmSync(path, { recursive: true, force: true });

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Clean scripts crash on Node 20

Medium Severity

These clean scripts import globSync from node:fs, which was added in Node 22 and is not present on Node 20. node-integration-tests and browser-integration-tests still declare >=20.19.0 in engines, and CI runs the Node integration suite on 20.19. On that version the import fails, so cleanup never runs — including the docker teardown that follows in clean.js.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9b03122. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  • browser-integration-tests are not run against 20.x in CI, they run against 24.22.1 (per whats in package.json)
  • no other CI job currently runs clean

}

// The runner (utils/runner/createRunner.ts) starts each suite's docker compose
// stack under a project name prefixed with `sentry-it-`, derived by hashing the
// working directory. Some suites (e.g. the Prisma tests) run from a temporary
// directory whose path — and therefore whose derived project name — isn't known
// ahead of time and no longer exists on disk by the time this script runs (the
// `clean` npm script removes `tmp_*` dirs first). Reconstructing project names
// `tmp_*` dirs are removed above). Reconstructing project names
// from compose file paths therefore misses those stacks and leaks containers.
//
// Instead, ask Docker for every `sentry-it-*` project it still knows about and
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"build:dev": "pnpm run build",
"build:transpile": "rollup -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"clean": "rimraf -g ./node_modules ./build"
"clean": "node ../../scripts/rm.mjs ./node_modules ./build"
},
"peerDependencies": {
"@playwright/test": "1.64.1"
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"circularDepCheck": "nx run-many -t circularDepCheck",
"clean": "run-s clean:build clean:caches",
"clean:build": "nx run-many -t clean",
"clean:caches": "pnpm exec rimraf eslintcache .nxcache .nx",
"clean:deps": "rimraf packages/*/node_modules dev-packages/*/node_modules && rm -rf node_modules && pnpm install",
"clean:tarballs": "rimraf {packages,dev-packages}/*/*.tgz",
"clean:caches": "node scripts/rm.mjs eslintcache .nxcache .nx",
"clean:deps": "node scripts/rm.mjs packages/*/node_modules dev-packages/*/node_modules node_modules && pnpm install",
"clean:tarballs": "node scripts/rm.mjs packages/*/*.tgz dev-packages/*/*.tgz",
"clean:watchman": "watchman watch-del \".\"",
"clean:all": "run-s clean:build clean:tarballs clean:caches clean:deps clean:watchman",
"format": "oxfmt . --write",
Expand Down Expand Up @@ -160,7 +160,6 @@
"oxfmt": "^0.74.0",
"oxlint": "^1.89.0",
"oxlint-tsgolint": "^7.0.2004",
"rimraf": "^6.1.3",
"rollup": "^4.60.3",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-license": "^3.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build:transpile:watch": "ng build --configuration production --watch",
"build:tarball": "pnpm --dir build pack --pack-destination ..",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-angular-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-angular-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.client.ts src/index.server.ts src/index.types.ts",
"clean": "rimraf build coverage sentry-astro-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-astro-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"scripts": {
"build": "run-p build:transpile build:types",
"build:extension": "rollup -c rollup.lambda-extension.config.mjs && pnpm exec tsx scripts/buildLambdaExtension.ts",
"build:layer": "rimraf build/aws && pnpm exec tsx scripts/buildLambdaLayer.ts",
"build:layer": "node ../../scripts/rm.mjs build/aws && pnpm exec tsx scripts/buildLambdaLayer.ts",
"build:dev": "run-p build:transpile build:types",
"build:transpile": "run-s build:transpile:npm build:extension",
"build:transpile:npm": "rollup -c rollup.npm.config.mjs",
Expand All @@ -91,7 +91,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build dist-awslambda-layer coverage sentry-serverless-*.tgz",
"clean": "node ../../scripts/rm.mjs build dist-awslambda-layer coverage sentry-serverless-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"build:dev:watch": "run-p build:transpile:watch",
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"clean": "rimraf build coverage sentry-browser-utils-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-browser-utils-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage .rpt2_cache sentry-browser-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage .rpt2_cache sentry-browser-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-bun-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-bun-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
5 changes: 2 additions & 3 deletions packages/bundler-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@
"check:types": "run-p check:types:src check:types:test",
"check:types:src": "tsc --project ./tsconfig.json --noEmit",
"check:types:test": "tsc --project ./test/tsconfig.json --noEmit",
"clean": "rimraf build dist coverage sentry-bundler-plugins-*.tgz",
"clean": "node ../../scripts/rm.mjs build dist coverage sentry-bundler-plugins-*.tgz",
"clean:all": "run-p clean clean:deps",
"clean:deps": "rimraf node_modules",
"clean:deps": "node ../../scripts/rm.mjs node_modules",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
"lint:fix": "oxlint . --fix --type-aware",
Expand Down Expand Up @@ -143,7 +143,6 @@
"@sentry-internal/test-utils": "11.11.0",
"@types/babel__core": "^7.20.5",
"@types/node": "^20.19.0",
"premove": "^4.0.0",
"rolldown": "^1.0.0",
"vite": "^8.3.1",
"vitest": "^4.1.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-cloudflare-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-cloudflare-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-core-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-core-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"build:types": "tsc -p tsconfig.types.json",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build build-types build-test coverage node_modules/.deno sentry-deno-*.tgz",
"clean": "node ../../scripts/rm.mjs build build-types build-test coverage node_modules/.deno sentry-deno-*.tgz",
"prefix": "pnpm run deno-types",
"prelint": "pnpm run deno-types",
"lint": "oxlint . --type-aware",
Expand Down
2 changes: 1 addition & 1 deletion packages/effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.client.ts src/index.server.ts src/index.types.ts",
"clean": "rimraf build coverage sentry-effect-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-effect-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/elysia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-elysia-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-elysia-*.tgz",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
"lint:fix": "oxlint . --fix --type-aware",
Expand Down
2 changes: 1 addition & 1 deletion packages/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:tarball": "pnpm pack",
"build:watch": "rollup --config --watch",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist declarations *.tgz .turbo",
"clean": "node ../../scripts/rm.mjs dist declarations *.tgz .turbo",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"build:dev:watch": "pnpm run build:watch",
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"clean": "rimraf build coverage sentry-esbuild-plugin-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-esbuild-plugin-*.tgz",
"lint": "oxlint . --type-aware",
"lint:fix": "oxlint . --fix --type-aware",
"test": "vitest run",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"eslint": "8.57.0"
},
"scripts": {
"clean": "pnpm exec rimraf sentry-eslint-config-sdk-*.tgz",
"clean": "node ../../scripts/rm.mjs sentry-eslint-config-sdk-*.tgz",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.js"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint": "^8.57.0"
},
"scripts": {
"clean": "pnpm exec rimraf sentry-eslint-plugin-sdk-*.tgz",
"clean": "node ../../scripts/rm.mjs sentry-eslint-plugin-sdk-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/feedback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build:bundle:watch": "pnpm run build:bundle --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build sentry-feedback-*.tgz",
"clean": "node ../../scripts/rm.mjs build sentry-feedback-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage *.d.ts sentry-gatsby-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage *.d.ts sentry-gatsby-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-google-cloud-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-google-cloud-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-hono-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-hono-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-shims/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:watch": "run-p build:transpile:watch",
"build:dev:watch": "run-p build:watch",
"build:transpile:watch": "pnpm run build:transpile --watch",
"clean": "rimraf build",
"clean": "node ../../scripts/rm.mjs build",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts src/setup.ts",
"clean": "rimraf build coverage sentry-nestjs-*.tgz ./*.d.ts ./*.d.ts.map",
"clean": "node ../../scripts/rm.mjs build coverage sentry-nestjs-*.tgz ./*.d.ts ./*.d.ts.map",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"build:transpile:watch": "nodemon --ext ts --watch src scripts/buildRollup.ts",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.client.ts src/edge/index.ts src/index.server.ts src/index.types.ts",
"clean": "rimraf build coverage sentry-nextjs-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-nextjs-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/nitro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:types:watch": "tsc -p tsconfig.types.json --watch",
"build:tarball": "pnpm pack",
"clean": "rimraf build coverage sentry-nitro-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-nitro-*.tgz",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
"lint:fix": "oxlint . --fix --type-aware",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-node-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-node-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.client.ts src/index.server.ts src/index.types.ts",
"clean": "rimraf build coverage sentry-nuxt-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-nuxt-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build coverage sentry-opentelemetry-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-opentelemetry-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.client.ts src/index.server.ts src/index.types.ts",
"clean": "rimraf build coverage sentry-react-router-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-react-router-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "pnpm pack",
"circularDepCheck": "madge --circular src/index.ts src/react-router.ts",
"clean": "rimraf build coverage sentry-react-*.tgz",
"clean": "node ../../scripts/rm.mjs build coverage sentry-react-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
Loading
Loading