Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 7.9 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 7.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"private": true,
"scripts": {
"build": "node ./scripts/verify-packages-versions.js && nx run-many -t build:transpile build:types build:bundle",
"build:ci": "node ./scripts/verify-packages-versions.js && nx run-many -t build:transpile build:types",
"build:bundle": "nx run-many -t build:bundle",
"build:layer": "nx run-many -t build:layer",
"build:dev": "nx run-many -t build:types build:transpile",
"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:watch": "nx run-many -t build:watch",
"build:dev:watch": "nx run-many -t build:dev:watch",
"build:tarball": "run-s clean:tarballs 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",
"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:watchman": "watchman watch-del \".\"",
"clean:all": "run-s clean:build clean:tarballs clean:caches clean:deps clean:watchman",
"format": "oxfmt . --write",
"format:check": "oxfmt . --check",
"verify": "run-s format:check lint",
"fix": "run-s format lint:fix",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"lint:es-compatibility": "nx run-many -t lint:es-compatibility",
"lint:types": "nx run-many -t lint:types",
"dedupe-deps:check": "pnpm dedupe --check",
"dedupe-deps:fix": "pnpm dedupe",
"postpublish": "nx run-many -t postpublish --parallel=1",
"test": "nx run-many -t test --exclude=@sentry-internal/browser-integration-tests --exclude=@sentry-internal/bun-integration-tests --exclude=@sentry-internal/deno-integration-tests --exclude=@sentry-internal/e2e-tests --exclude=@sentry-internal/integration-shims --exclude=@sentry-internal/node-integration-tests --exclude=@sentry-internal/cloudflare-integration-tests --exclude=@sentry-internal/bundler-plugin-integration-tests",
"test:scripts": "vitest run scripts/*.test.ts",
"test:unit": "nx run-many -t test:unit --exclude=@sentry-internal/browser-integration-tests --exclude=@sentry-internal/bun-integration-tests --exclude=@sentry-internal/deno-integration-tests --exclude=@sentry-internal/e2e-tests --exclude=@sentry-internal/integration-shims --exclude=@sentry-internal/node-integration-tests --exclude=@sentry-internal/cloudflare-integration-tests --exclude=@sentry-internal/bundler-plugin-integration-tests",
"test:update-snapshots": "nx run-many -t test:update-snapshots",
"test:pr": "nx affected -t test --exclude=@sentry-internal/browser-integration-tests --exclude=@sentry-internal/bun-integration-tests --exclude=@sentry-internal/deno-integration-tests --exclude=@sentry-internal/e2e-tests --exclude=@sentry-internal/integration-shims --exclude=@sentry-internal/node-integration-tests --exclude=@sentry-internal/cloudflare-integration-tests --exclude=@sentry-internal/bundler-plugin-integration-tests",
"test:pr:browser": "UNIT_TEST_ENV=browser tsx ./scripts/ci-unit-tests.ts --affected",
"test:pr:node": "UNIT_TEST_ENV=node tsx ./scripts/ci-unit-tests.ts --affected",
"test:ci:browser": "UNIT_TEST_ENV=browser tsx ./scripts/ci-unit-tests.ts",
"test:ci:node": "UNIT_TEST_ENV=node tsx ./scripts/ci-unit-tests.ts",
"test:ci:bun": "nx run-many -t test -p @sentry/bun",
"test:size-limit": "pnpm exec size-limit --json",
"yalc:publish": "nx run-many -t yalc:publish"
},
"packageManager": "pnpm@12.11.2",
"//_volta_comment": [
"Volta cannot start pnpm 11 or newer (volta-cli/volta#2114). It starts this pnpm 10 version, which switches to the `packageManager` version.",
"Volta reads the pnpm version only when `VOLTA_FEATURE_PNPM=1` is set, see CONTRIBUTING.md."
],
"volta": {
"node": "24.22.1",
"pnpm": "10.34.6"
},
"//_workspaces_comment": [
"pnpm reads the workspace packages from pnpm-workspace.yaml. Deno and the repo scripts read this list.",
"scripts/verify-packages-versions.js checks that both lists are the same."
],
"workspaces": [
"packages/angular",
"packages/astro",
"packages/aws-serverless",
"packages/browser",
"packages/browser-utils",
"packages/bundler-plugins",
"packages/bun",
"packages/core",
"packages/cloudflare",
"packages/deno",
"packages/effect",
"packages/ember",
"packages/elysia",
"packages/esbuild-plugin",
"packages/eslint-config-sdk",
"packages/eslint-plugin-sdk",
"packages/feedback",
"packages/gatsby",
"packages/google-cloud-serverless",
"packages/hono",
"packages/integration-shims",
"packages/nestjs",
"packages/nextjs",
"packages/nitro",
"packages/node",
"packages/node-native",
"packages/nuxt",
"packages/opentelemetry",
"packages/profiling-node",
"packages/react",
"packages/react-router",
"packages/remix",
"packages/replay-internal",
"packages/replay-canvas",
"packages/replay-worker",
"packages/rollup-plugin",
"packages/server-runtime-injection",
"packages/server-utils",
"packages/solid",
"packages/solidstart",
"packages/svelte",
"packages/sveltekit",
"packages/tanstackstart-react",
"packages/typescript",
"packages/vercel-edge",
"packages/vite-plugin",
"packages/vue",
"packages/wasm",
"packages/webpack-plugin",
"dev-packages/browser-integration-tests",
"dev-packages/bundler-plugin-integration-tests",
"dev-packages/e2e-tests",
"dev-packages/node-integration-tests",
"dev-packages/bun-integration-tests",
"dev-packages/deno-integration-tests",
"dev-packages/cloudflare-integration-tests",
"dev-packages/test-utils",
"dev-packages/size-limit-gh-action",
"dev-packages/clear-cache-gh-action",
"dev-packages/external-contributor-gh-action",
"dev-packages/optional-e2e-gh-action",
"dev-packages/rollup-utils",
"dev-packages/bundler-tests"
],
"//_devDependencies_comment": [
"`@sentry-internal/node-integration-tests`: its suites import it by name, also from tmp folders with their own package.json.",
"`@sentry/eslint-plugin-sdk`: the root oxlint config loads it as a JS plugin.",
"`@sentry/sveltekit`: size-limit bundles its build output, which imports `@sentry/sveltekit/browser-tracing-variant`."
],
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@sentry-internal/node-integration-tests": "workspace:*",
"@sentry/eslint-plugin-sdk": "workspace:*",
"@sentry/sveltekit": "workspace:*",
"@size-limit/esbuild": "~12.1.0",
"@size-limit/file": "~12.1.0",
"@size-limit/webpack": "~12.1.0",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.19.0",
"@vitest/coverage-v8": "^4.1.11",
"deepmerge": "^4.2.2",
"es-check": "^7.2.1",
"esbuild": "^0.28.1",
"jsdom": "^21.1.2",
"madge": "8.0.0",
"nodemon": "^3.1.10",
"npm-run-all2": "^6.2.0",
"nx": "22.7.10",
"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",
"size-limit": "~12.1.0",
"tslib": "^2.4.1",
"tsx": "^4.23.0",
"typescript": "~7.0.2",
"vitest": "^4.1.11",
"webpack": "^5.104.1",
"yalc": "^1.0.0-pre.53"
},
"version": "0.0.0",
"name": "sentry-javascript"
}