Skip to content

Commit 5288cbd

Browse files
committed
use regular types for 5.0 and add test for ts5
1 parent 538245b commit 5288cbd

File tree

33 files changed

+73
-29
lines changed

33 files changed

+73
-29
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@sentry:registry=http://127.0.0.1:4873
2+
@sentry-internal:registry=http://127.0.0.1:4873
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import * as _SentryReplay from '@sentry-internal/replay';
2+
import * as _SentryBrowser from '@sentry/browser';
3+
import * as _SentryCore from '@sentry/core';
4+
import * as _SentryNode from '@sentry/node';
5+
import * as _SentryWasm from '@sentry/wasm';
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "@sentry-internal/ts5.0-test",
3+
"private": true,
4+
"license": "MIT",
5+
"scripts": {
6+
"build:types": "pnpm run type-check",
7+
"ts-version": "tsc --version",
8+
"type-check": "tsc --project tsconfig.json",
9+
"test:build": "pnpm install && pnpm run build:types",
10+
"test:assert": "pnpm -v"
11+
},
12+
"devDependencies": {
13+
"typescript": "5.0.0",
14+
"@types/node": "^18.19.1"
15+
},
16+
"dependencies": {
17+
"@sentry/browser": "latest || *",
18+
"@sentry/core": "latest || *",
19+
"@sentry/node": "latest || *",
20+
"@sentry-internal/replay": "latest || *",
21+
"@sentry/wasm": "latest || *"
22+
},
23+
"volta": {
24+
"extends": "../../package.json"
25+
}
26+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"include": ["index.ts"],
3+
"compilerOptions": {
4+
"lib": ["es2018", "DOM"],
5+
"skipLibCheck": false,
6+
"noEmit": true,
7+
"types": [],
8+
"target": "es2018",
9+
"moduleResolution": "node"
10+
}
11+
}

packages/aws-serverless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656
},
5757
"typesVersions": {
58-
"<5.8": {
58+
"<5.0": {
5959
"build/npm/types/index.d.ts": [
6060
"build/npm/types-ts3.8/index.d.ts"
6161
]

packages/browser-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"typesVersions": {
32-
"<5.8": {
32+
"<5.0": {
3333
"build/types/index.d.ts": [
3434
"build/types-ts3.8/index.d.ts"
3535
]

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"typesVersions": {
32-
"<5.8": {
32+
"<5.0": {
3333
"build/npm/types/index.d.ts": [
3434
"build/npm/types-ts3.8/index.d.ts"
3535
]

packages/bun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"typesVersions": {
32-
"<5.8": {
32+
"<5.0": {
3333
"build/types/index.d.ts": [
3434
"build/types-ts3.8/index.d.ts"
3535
]

packages/cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040
},
4141
"typesVersions": {
42-
"<5.8": {
42+
"<5.0": {
4343
"build/types/index.d.ts": [
4444
"build/types-ts3.8/index.d.ts"
4545
]

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"typesVersions": {
32-
"<5.8": {
32+
"<5.0": {
3333
"build/types/index.d.ts": [
3434
"build/types-ts3.8/index.d.ts"
3535
]

0 commit comments

Comments
 (0)