Skip to content

Commit 56604df

Browse files
committed
fix: types paths
1 parent 3e19115 commit 56604df

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

packages/aws-serverless/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
],
1717
"main": "build/npm/cjs/index.js",
1818
"module": "build/npm/esm/index.js",
19-
"types": "build/npm/esm/index.d.ts",
19+
"types": "build/npm/types/index.d.ts",
2020
"exports": {
2121
"./package.json": "./package.json",
2222
".": {
2323
"import": {
24-
"types": "./build/npm/esm/index.d.ts",
24+
"types": "./build/npm/types/index.d.ts",
2525
"default": "./build/npm/esm/index.js"
2626
},
2727
"require": {
28-
"types": "./build/npm/esm/index.d.ts",
28+
"types": "./build/npm/types/index.d.ts",
2929
"default": "./build/npm/cjs/index.js"
3030
}
3131
},

packages/browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
],
1515
"main": "build/npm/cjs/prod/index.js",
1616
"module": "build/npm/esm/prod/index.js",
17-
"types": "build/npm/esm/prod/index.d.ts",
17+
"types": "build/npm/types/index.d.ts",
1818
"exports": {
1919
"./package.json": "./package.json",
2020
".": {
21-
"types": "./build/npm/esm/prod/index.d.ts",
21+
"types": "./build/npm/types/index.d.ts",
2222
"development": {
2323
"import": "./build/npm/esm/dev/index.js",
2424
"require": "./build/npm/cjs/dev/index.js"

packages/feedback/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
],
1515
"main": "build/npm/cjs/index.js",
1616
"module": "build/npm/esm/index.js",
17-
"types": "build/npm/esm/index.d.ts",
17+
"types": "build/npm/types/index.d.ts",
1818
"exports": {
1919
"./package.json": "./package.json",
2020
".": {
2121
"import": {
22-
"types": "./build/npm/esm/index.d.ts",
22+
"types": "./build/npm/types/index.d.ts",
2323
"default": "./build/npm/esm/index.js"
2424
},
2525
"require": {
26-
"types": "./build/npm/esm/index.d.ts",
26+
"types": "./build/npm/types/index.d.ts",
2727
"default": "./build/npm/cjs/index.js"
2828
}
2929
}

packages/feedback/scripts/shim-preact-export.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// TypeScript versions. To fix this, we shim the types from preact to be any and remove the dependency on preact
33
// for types directly. This script is meant to be run after the build/npm/esm directory is created (where rolldown dts generates types).
44

5-
// Path: build/npm/esm/global.d.ts
5+
// Path: build/npm/types/global.d.ts
66

77
const fs = require('fs');
88
const path = require('path');

packages/replay-canvas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Replay canvas integration",
55
"main": "build/npm/cjs/index.js",
66
"module": "build/npm/esm/index.js",
7-
"types": "build/npm/esm/index.d.ts",
7+
"types": "build/npm/types/index.d.ts",
88
"exports": {
99
"./package.json": "./package.json",
1010
".": {

packages/replay-internal/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@
44
"description": "User replays for Sentry",
55
"main": "build/npm/cjs/index.js",
66
"module": "build/npm/esm/index.js",
7-
"types": "build/npm/esm/index.d.ts",
7+
"types": "build/npm/types/index.d.ts",
88
"exports": {
99
"./package.json": "./package.json",
1010
"./worker-bundler": {
1111
"import": {
12-
"types": "./build/npm/esm/worker-bundler.d.ts",
12+
"types": "./build/npm/types/worker-bundler.d.ts",
1313
"default": "./build/npm/esm/worker-bundler.js"
1414
},
1515
"require": {
16-
"types": "./build/npm/esm/worker-bundler.d.ts",
16+
"types": "./build/npm/types/worker-bundler.d.ts",
1717
"default": "./build/npm/cjs/worker-bundler.js"
1818
}
1919
},
2020
".": {
2121
"import": {
22-
"types": "./build/npm/esm/index.d.ts",
22+
"types": "./build/npm/types/index.d.ts",
2323
"default": "./build/npm/esm/index.js"
2424
},
2525
"require": {
26-
"types": "./build/npm/esm/index.d.ts",
26+
"types": "./build/npm/types/index.d.ts",
2727
"default": "./build/npm/cjs/index.js"
2828
}
2929
}

packages/wasm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
],
1515
"main": "build/npm/cjs/index.js",
1616
"module": "build/npm/esm/index.js",
17-
"types": "build/npm/esm/index.d.ts",
17+
"types": "build/npm/types/index.d.ts",
1818
"exports": {
1919
"./package.json": "./package.json",
2020
".": {
2121
"import": {
22-
"types": "./build/npm/esm/index.d.ts",
22+
"types": "./build/npm/types/index.d.ts",
2323
"default": "./build/npm/esm/index.js"
2424
},
2525
"require": {
26-
"types": "./build/npm/esm/index.d.ts",
26+
"types": "./build/npm/types/index.d.ts",
2727
"default": "./build/npm/cjs/index.js"
2828
}
2929
}

0 commit comments

Comments
 (0)