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
4 changes: 2 additions & 2 deletions dev-packages/bundler-plugin-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"test": "node setup.mjs && vitest run --pool threads --test-timeout=10000",
"check:types": "tsc --project ./tsconfig.json --noEmit",
"clean": "run-s clean:build",
"clean:all": "run-p clean clean:deps",
"clean": "pnpm run clean:build",
"clean:all": "pnpm run \"/^(clean|clean:deps)$/\"",
"clean:build": "node ../../scripts/rm.mjs ./fixtures/*/out",
"clean:deps": "node ../../scripts/rm.mjs node_modules"
},
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"test:e2e": "run-s test:prepare test:validate test:run",
"test:e2e": "pnpm run test:prepare && pnpm run test:validate && pnpm run test:run",
"test:run": "node run.mjs",
"test:prepare": "node prepare.mjs",
"test:validate": "node validate-packed-tarball-setup.mjs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"scripts": {
"build": "react-scripts build",
"start": "run-p start:client start:server",
"start": "pnpm run --workspace-concurrency=Infinity \"/^start:(client|server)$/\"",
"start:client": "node server/app.js",
"start:server": "serve -s build",
"test": "playwright test",
Expand Down Expand Up @@ -45,7 +45,6 @@
"devDependencies": {
"@playwright/test": "1.64.1",
"@sentry-internal/test-utils": "file:../../packed/sentry-internal-test-utils-packed.tgz",
"serve": "14.0.1",
"npm-run-all2": "^6.2.0"
"serve": "14.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"scripts": {
"build": "react-scripts build",
"start": "run-p start:client start:server",
"start": "pnpm run --workspace-concurrency=Infinity \"/^start:(client|server)$/\"",
"start:client": "node server/app.js",
"start:server": "serve -s build",
"test": "playwright test",
Expand Down Expand Up @@ -45,8 +45,7 @@
"devDependencies": {
"@playwright/test": "1.64.1",
"@sentry-internal/test-utils": "file:../../packed/sentry-internal-test-utils-packed.tgz",
"serve": "14.0.1",
"npm-run-all2": "^6.2.0"
"serve": "14.0.1"
},
"sentryTest": {
"canaryVariants": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"clean": "npx rimraf node_modules pnpm-lock.yaml dist",
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "pnpm run \"/^(type-check|build-only)$/\"",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
Expand Down Expand Up @@ -34,7 +34,6 @@
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/tsconfig": "^0.5.1",
"npm-run-all2": "^6.2.0",
"typescript": "~5.3.0",
"vite": "^5.4.11",
"vue-tsc": "^1.8.27"
Expand Down
3 changes: 1 addition & 2 deletions dev-packages/e2e-tests/test-applications/vue-3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"clean": "npx rimraf node_modules pnpm-lock.yaml dist",
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "pnpm run \"/^(type-check|build-only)$/\"",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
Expand Down Expand Up @@ -37,7 +37,6 @@
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/tsconfig": "^0.5.1",
"npm-run-all2": "^6.2.0",
"typescript": "~5.3.0",
"vite": "^5.4.11",
"vue-tsc": "^1.8.27"
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 @@ -50,7 +50,7 @@
"scripts": {
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"build": "run-s build:transpile build:types",
"build": "pnpm run build:transpile && pnpm run build:types",
"build:tarball": "pnpm pack",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
"build:dev:filter": "nx run-many -t build:dev -p",
"build:transpile": "nx run-many -t build:transpile",
"build:types": "nx run-many -t build:types",
"build:tarball": "run-s clean:tarballs build:tarballs",
"build:tarball": "pnpm run clean:tarballs && pnpm run build:tarballs",
"build:tarballs": "nx run-many -t build:tarball",
"ci:print-build-artifact-paths": "node ./scripts/ci-print-build-artifact-paths.mjs",
"changelog": "tsx ./scripts/get-commit-list.ts",
"generate-changelog": "tsx ./scripts/generate-changelog.ts",
"clean": "run-s clean:build clean:caches",
"clean": "pnpm run clean:build && pnpm run clean:caches",
"clean:build": "nx run-many -t clean",
"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",
"clean:all": "pnpm run clean:build && pnpm run clean:tarballs && pnpm run clean:caches && pnpm run clean:deps && pnpm run clean:watchman",
"format": "oxfmt . --write",
"format:check": "oxfmt . --check",
"verify": "run-s format:check lint",
"fix": "run-s format lint:fix",
"verify": "pnpm run format:check && pnpm run lint",
"fix": "pnpm run format && pnpm run lint:fix",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"lint:es-compatibility": "nx run-many -t lint:es-compatibility",
Expand Down Expand Up @@ -145,7 +145,6 @@
"es-check": "^9.8.1",
"esbuild": "^0.28.1",
"jsdom": "^21.1.2",
"npm-run-all2": "^6.2.0",
"nx": "24.0.3",
"oxfmt": "^0.74.0",
"oxlint": "^1.89.0",
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 @@
"vite": "^8.3.6"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this maybe support single-quotes?

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.

It does on macOS/Linux, since scripts run through sh there. I kept double quotes for Windows, though: pnpm runs scripts through cmd.exe there, which doesn't treat single quotes as quotes. With '/^build:(transpile|types)$/' the | would become a pipe and the regex selector would break. Escaped double quotes work in both shells, and the repo already goes out of its way to stay cross-platform (e.g. scripts/rm.mjs instead of rm -rf), so I'd keep them.

"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
6 changes: 3 additions & 3 deletions packages/aws-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
"@vercel/nft": "^1.11.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:extension": "rolldown -c rollup.lambda-extension.config.mjs && pnpm exec tsx scripts/buildLambdaExtension.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:dev": "pnpm run \"/^build:(transpile|types)$/\"",
"build:transpile": "pnpm run build:transpile:npm && pnpm run build:extension",
"build:transpile:npm": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"build:tarball": "pnpm pack",
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 @@ -41,7 +41,7 @@
"@sentry-internal/rollup-utils": "11.12.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
4 changes: 2 additions & 2 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"fake-indexeddb": "^6.2.7"
},
"scripts": {
"build": "run-p build:transpile build:bundle build:types",
"build:dev": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|bundle|types)$/\"",
"build:dev": "pnpm run \"/^build:(transpile|types)$/\"",
"build:bundle": "rolldown -c rollup.bundle.config.mjs",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
4 changes: 2 additions & 2 deletions packages/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"bun-types": "^1.2.9"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand All @@ -65,7 +65,7 @@
"lint:types": "oxlint src --type-aware --type-check",
"lint:es-compatibility": "es-check es2022 ./build/cjs/*.js && es-check es2022 ./build/esm/*.js --module",
"install:bun": "node ./scripts/install-bun.js",
"test": "run-s install:bun test:bun",
"test": "pnpm run install:bun && pnpm run test:bun",
"test:bun": "bun test",
"test:watch": "bun test --watch",
"yalc:publish": "pnpm dlx yalc publish --push --sig"
Expand Down
6 changes: 3 additions & 3 deletions packages/bundler-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:version": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/core/version.ts",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
Expand All @@ -83,11 +83,11 @@
"prelint:types": "pnpm run build:version",
"pretest": "pnpm run build:version",
"pretest:unit": "pnpm run build:version",
"check:types": "run-p check:types:src check:types:test",
"check:types": "pnpm run \"/^check:types:(src|test)$/\"",
"check:types:src": "tsc --project ./tsconfig.json --noEmit",
"check:types:test": "tsc --project ./test/tsconfig.json --noEmit",
"clean": "node ../../scripts/rm.mjs build dist coverage sentry-bundler-plugins-*.tgz",
"clean:all": "run-p clean clean:deps",
"clean:all": "pnpm run \"/^(clean|clean:deps)$/\"",
"clean:deps": "node ../../scripts/rm.mjs node_modules",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"wrangler": "4.156.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"access": "public"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
4 changes: 2 additions & 2 deletions packages/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"scripts": {
"deno-types": "node ./scripts/download-deno-types.mjs",
"build": "run-s build:transpile build:types",
"build": "pnpm run build:transpile && pnpm run build:types",
"build:dev": "pnpm run build",
"build:transpile": "pnpm run deno-types && rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand All @@ -52,7 +52,7 @@
"lint:fix": "oxlint . --fix --type-aware",
"lint:es-compatibility": "es-check es2022 ./build/esm/*.js --module",
"install:deno": "node ./scripts/install-deno.mjs",
"test": "run-s install:deno deno-types test:types test:unit",
"test": "pnpm run install:deno && pnpm run deno-types && pnpm run test:types && pnpm run test:unit",
"test:types": "deno check --unstable-sloppy-imports test",
"test:unit": "deno test --allow-net --allow-read --allow-run --allow-env --no-check",
"test:unit:update": "deno test --allow-net --allow-read --allow-run --allow-env --no-check --allow-write -- --update",
Expand Down
2 changes: 1 addition & 1 deletion packages/effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"effect": "^4.0.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/elysia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
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 @@ -33,7 +33,7 @@
}
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
4 changes: 2 additions & 2 deletions packages/feedback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"preact": "^10.29.8"
},
"scripts": {
"build": "run-p build:transpile build:types build:bundle",
"build": "pnpm run \"/^build:(transpile|types|bundle)$/\"",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:bundle": "rolldown -c rollup.bundle.config.mjs",
"build:dev": "run-p build:transpile build:types",
"build:dev": "pnpm run \"/^build:(transpile|types)$/\"",
"build:types": "tsc -p tsconfig.types.json",
"build:tarball": "pnpm pack",
"clean": "node ../../scripts/rm.mjs build sentry-feedback-*.tgz",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
"webpack": "^5.112.2"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:plugin": "tsc -p tsconfig.plugin.json",
"build:transpile": "run-p build:rollup build:plugin",
"build:transpile": "pnpm run \"/^build:(rollup|plugin)$/\"",
"build:rollup": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"build:tarball": "pnpm pack",
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 @@ -59,7 +59,7 @@
}
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"hono-5": "npm:hono@5.0.0-rc.1"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
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 @@ -24,7 +24,7 @@
"sideEffects": false,
"private": true,
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"build:dev": "pnpm run build",
Expand Down
4 changes: 2 additions & 2 deletions packages/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
"@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "run-s build:types:core build:types:setup",
"build:types": "pnpm run build:types:core && pnpm run build:types:setup",
"build:types:core": "tsc -p tsconfig.types.json",
"build:types:setup": "tsc -p tsconfig.setup-types.json",
"build:tarball": "pnpm pack",
Expand Down
4 changes: 2 additions & 2 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
}
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "tsx --tsconfig tsconfig.tsnode.json scripts/buildRollup.ts",
"build:types": "tsc -p tsconfig.types.json",
Expand All @@ -140,7 +140,7 @@
"lint:types": "oxlint src --type-aware --type-check",
"lint:es-compatibility": "es-check es2020 ./build/cjs/*.js && es-check es2020 ./build/esm/*.js --module",
"test": "pnpm run test:unit",
"test:all": "run-s test:unit",
"test:all": "pnpm run test:unit",
"test:unit": "vitest run",
"test:watch": "vitest --watch",
"vercel:branch": "source vercel/set-up-branch-for-test-app-use.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/nitro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"srvx": "^0.11.22"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "run-s build:types:core",
"build:types": "pnpm run build:types:core",
"build:types:core": "tsc -p tsconfig.types.json",
"build:tarball": "pnpm pack",
"clean": "node ../../scripts/rm.mjs build coverage sentry-nitro-*.tgz",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@types/node": "^20.19.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"vue": "^3.5.41"
},
"scripts": {
"build": "run-s build:types build:transpile",
"build": "pnpm run build:types && pnpm run build:transpile",
"build:dev": "pnpm run build",
"build:nuxt-module": "rolldown -c rollup.module.config.mjs && tsc -p tsconfig.module.json && node scripts/build-module-meta.mjs",
"build:transpile": "rolldown -c rollup.npm.config.mjs && pnpm run build:nuxt-module",
Expand Down
Loading
Loading