|
12 | 12 | "exports": { |
13 | 13 | ".": { |
14 | 14 | "import": { |
15 | | - "types": "./dist/index.d.mts", |
16 | | - "default": "./dist/index.mjs" |
| 15 | + "types": "./dist/runtime/index.d.mts", |
| 16 | + "default": "./dist/runtime/index.mjs" |
17 | 17 | }, |
18 | 18 | "require": { |
19 | | - "types": "./dist/index.d.ts", |
20 | | - "default": "./dist/index.js" |
| 19 | + "types": "./dist/runtime/index.d.ts", |
| 20 | + "default": "./dist/runtime/index.js" |
21 | 21 | } |
22 | 22 | }, |
23 | 23 | "./*": { |
24 | 24 | "import": { |
25 | | - "types": "./dist/*.d.mts", |
26 | | - "default": "./dist/*.mjs" |
| 25 | + "types": "./dist/runtime/*.d.mts", |
| 26 | + "default": "./dist/runtime/*.mjs" |
27 | 27 | }, |
28 | 28 | "require": { |
29 | | - "types": "./dist/*.d.ts", |
30 | | - "default": "./dist/*.js" |
| 29 | + "types": "./dist/runtime/*.d.ts", |
| 30 | + "default": "./dist/runtime/*.js" |
31 | 31 | } |
32 | 32 | }, |
33 | 33 | "./react": { |
34 | 34 | "import": { |
35 | | - "types": "./dist/react/index.d.mts", |
36 | | - "default": "./dist/react/index.mjs" |
| 35 | + "types": "./dist/runtime/react/index.d.mts", |
| 36 | + "default": "./dist/runtime/react/index.mjs" |
37 | 37 | }, |
38 | 38 | "require": { |
39 | | - "types": "./dist/react/index.d.ts", |
40 | | - "default": "./dist/react/index.js" |
| 39 | + "types": "./dist/runtime/react/index.d.ts", |
| 40 | + "default": "./dist/runtime/react/index.js" |
41 | 41 | } |
42 | 42 | }, |
43 | 43 | "./utils": { |
44 | 44 | "import": { |
45 | | - "types": "./dist/utils/index.d.mts", |
46 | | - "default": "./dist/utils/index.mjs" |
| 45 | + "types": "./dist/runtime/utils/index.d.mts", |
| 46 | + "default": "./dist/runtime/utils/index.mjs" |
47 | 47 | }, |
48 | 48 | "require": { |
49 | | - "types": "./dist/utils/index.d.ts", |
50 | | - "default": "./dist/utils/index.js" |
| 49 | + "types": "./dist/runtime/utils/index.d.ts", |
| 50 | + "default": "./dist/runtime/utils/index.js" |
51 | 51 | } |
52 | 52 | }, |
53 | 53 | "./workerTimers": { |
54 | 54 | "import": { |
55 | | - "types": "./dist/workerTimers/index.d.mts", |
56 | | - "default": "./dist/workerTimers/index.mjs" |
| 55 | + "types": "./dist/runtime/workerTimers/index.d.mts", |
| 56 | + "default": "./dist/runtime/workerTimers/index.mjs" |
57 | 57 | }, |
58 | 58 | "require": { |
59 | | - "types": "./dist/workerTimers/index.d.ts", |
60 | | - "default": "./dist/workerTimers/index.js" |
| 59 | + "types": "./dist/runtime/workerTimers/index.d.ts", |
| 60 | + "default": "./dist/runtime/workerTimers/index.js" |
61 | 61 | } |
62 | 62 | }, |
63 | 63 | "./dom": { |
64 | 64 | "import": { |
65 | | - "types": "./dist/dom/index.d.mts", |
66 | | - "default": "./dist/dom/index.mjs" |
| 65 | + "types": "./dist/runtime/dom/index.d.mts", |
| 66 | + "default": "./dist/runtime/dom/index.mjs" |
67 | 67 | }, |
68 | 68 | "require": { |
69 | | - "types": "./dist/dom/index.d.ts", |
70 | | - "default": "./dist/dom/index.js" |
| 69 | + "types": "./dist/runtime/dom/index.d.ts", |
| 70 | + "default": "./dist/runtime/dom/index.js" |
71 | 71 | } |
72 | 72 | }, |
73 | 73 | "./types": { |
74 | 74 | "import": { |
75 | | - "types": "./dist/types/index.d.mts" |
| 75 | + "types": "./dist/types/index.d.mts", |
| 76 | + "default": "./dist/types/index.mjs" |
76 | 77 | }, |
77 | 78 | "require": { |
78 | | - "types": "./dist/types/index.d.ts" |
| 79 | + "types": "./dist/types/index.d.ts", |
| 80 | + "default": "./dist/types/index.js" |
79 | 81 | } |
80 | 82 | }, |
81 | 83 | "./package.json": "./package.json" |
82 | 84 | }, |
83 | | - "main": "./dist/index.js", |
84 | 85 | "files": [ |
85 | 86 | "dist", |
86 | 87 | "scripts", |
|
135 | 136 | "types" |
136 | 137 | ], |
137 | 138 | "scripts": { |
138 | | - "build": "tsup", |
| 139 | + "build": "tsdown", |
139 | 140 | "postbuild": "node ../../scripts/subpath-workaround.mjs shared", |
140 | | - "build:declarations": "tsc -p tsconfig.declarations.json", |
141 | 141 | "clean": "rimraf ./dist", |
142 | | - "dev": "tsup --watch", |
| 142 | + "dev": "tsdown --watch src", |
143 | 143 | "dev:publish": "pnpm dev -- --env.publish", |
144 | 144 | "format": "node ../../scripts/format-package.mjs", |
145 | 145 | "format:check": "node ../../scripts/format-package.mjs --check", |
|
153 | 153 | "test:coverage": "vitest --collectCoverage && open coverage/lcov-report/index.html" |
154 | 154 | }, |
155 | 155 | "dependencies": { |
156 | | - "@clerk/types": "workspace:^", |
| 156 | + "csstype": "3.1.3", |
157 | 157 | "dequal": "2.0.3", |
158 | 158 | "glob-to-regexp": "0.4.1", |
159 | 159 | "js-cookie": "3.0.5", |
|
166 | 166 | "@types/glob-to-regexp": "0.4.4", |
167 | 167 | "@types/js-cookie": "3.0.6", |
168 | 168 | "cross-fetch": "^4.1.0", |
169 | | - "esbuild": "0.25.0" |
| 169 | + "rolldown": "catalog:repo" |
170 | 170 | }, |
171 | 171 | "peerDependencies": { |
172 | 172 | "react": "catalog:peer-react", |
|
0 commit comments