|
29 | 29 | ],
|
30 | 30 | "exports": {
|
31 | 31 | ".": {
|
32 |
| - "types": "./dist/src/index.d.ts", |
33 |
| - "import": "./dist/src/index.mjs" |
| 32 | + "types": "./dist/index.d.ts", |
| 33 | + "import": "./dist/index.mjs" |
34 | 34 | },
|
35 | 35 | "./build/component-libs": {
|
36 |
| - "types": "./dist/src/build/component-libs.d.ts", |
37 |
| - "import": "./dist/src/build/component-libs.mjs" |
| 36 | + "types": "./dist/build/component-libs.d.ts", |
| 37 | + "import": "./dist/build/component-libs.mjs" |
38 | 38 | },
|
39 | 39 | "./build/core": {
|
40 |
| - "types": "./dist/src/build/core.d.ts", |
41 |
| - "import": "./dist/src/build/core.mjs" |
| 40 | + "types": "./dist/build/core.d.ts", |
| 41 | + "import": "./dist/build/core.mjs" |
42 | 42 | },
|
43 | 43 | "./build/stacks": {
|
44 |
| - "types": "./dist/src/build/stacks.d.ts", |
45 |
| - "import": "./dist/src/build/stacks.mjs" |
| 44 | + "types": "./dist/build/stacks.d.ts", |
| 45 | + "import": "./dist/build/stacks.mjs" |
46 | 46 | },
|
47 | 47 | "./dev": {
|
48 |
| - "types": "./dist/src/dev/index.d.ts", |
49 |
| - "import": "./dist/src/dev/index.mjs" |
| 48 | + "types": "./dist/dev/index.d.ts", |
| 49 | + "import": "./dist/dev/index.mjs" |
50 | 50 | },
|
51 | 51 | "./dev/components": {
|
52 |
| - "types": "./dist/src/dev/components.d.ts", |
53 |
| - "import": "./dist/src/dev/components.mjs" |
| 52 | + "types": "./dist/dev/components.d.ts", |
| 53 | + "import": "./dist/dev/components.mjs" |
54 | 54 | },
|
55 | 55 | "./dev/docs": {
|
56 |
| - "types": "./dist/src/dev/docs.d.ts", |
57 |
| - "import": "./dist/src/dev/docs.mjs" |
| 56 | + "types": "./dist/dev/docs.d.ts", |
| 57 | + "import": "./dist/dev/docs.mjs" |
58 | 58 | },
|
59 | 59 | "./generate": {
|
60 |
| - "types": "./dist/src/generate/index.d.ts", |
61 |
| - "import": "./dist/src/generate/index.mjs" |
| 60 | + "types": "./dist/generate/index.d.ts", |
| 61 | + "import": "./dist/generate/index.mjs" |
62 | 62 | },
|
63 | 63 | "./generate/component-meta": {
|
64 |
| - "types": "./dist/src/generate/component-meta.d.ts", |
65 |
| - "import": "./dist/src/generate/component-meta.mjs" |
| 64 | + "types": "./dist/generate/component-meta.d.ts", |
| 65 | + "import": "./dist/generate/component-meta.mjs" |
66 | 66 | },
|
67 | 67 | "./generate/ide-helpers": {
|
68 |
| - "types": "./dist/src/generate/ide-helpers.d.ts", |
69 |
| - "import": "./dist/src/generate/ide-helpers.mjs" |
| 68 | + "types": "./dist/generate/ide-helpers.d.ts", |
| 69 | + "import": "./dist/generate/ide-helpers.mjs" |
70 | 70 | },
|
71 | 71 | "./generate/lib-entries": {
|
72 |
| - "types": "./dist/src/generate/lib-entries.d.ts", |
73 |
| - "import": "./dist/src/generate/lib-entries.mjs" |
| 72 | + "types": "./dist/generate/lib-entries.d.ts", |
| 73 | + "import": "./dist/generate/lib-entries.mjs" |
74 | 74 | },
|
75 | 75 | "./generate/vscode-custom-data": {
|
76 |
| - "types": "./dist/src/generate/vscode-custom-data.d.ts", |
77 |
| - "import": "./dist/src/generate/vscode-custom-data.mjs" |
| 76 | + "types": "./dist/generate/vscode-custom-data.d.ts", |
| 77 | + "import": "./dist/generate/vscode-custom-data.mjs" |
78 | 78 | },
|
79 | 79 | "./generate/vue-compat": {
|
80 |
| - "types": "./dist/src/generate/vue-compat.d.ts", |
81 |
| - "import": "./dist/src/generate/vue-compat.mjs" |
| 80 | + "types": "./dist/generate/vue-compat.d.ts", |
| 81 | + "import": "./dist/generate/vue-compat.mjs" |
82 | 82 | },
|
83 | 83 | "./helpers": {
|
84 |
| - "types": "./dist/src/helpers/index.d.ts", |
85 |
| - "import": "./dist/src/helpers/index.mjs" |
| 84 | + "types": "./dist/helpers/index.d.ts", |
| 85 | + "import": "./dist/helpers/index.mjs" |
86 | 86 | },
|
87 | 87 | "./lint": {
|
88 |
| - "types": "./dist/src/lint/index.d.ts", |
89 |
| - "import": "./dist/src/lint/index.mjs" |
| 88 | + "types": "./dist/lint/index.d.ts", |
| 89 | + "import": "./dist/lint/index.mjs" |
90 | 90 | },
|
91 | 91 | "./lint/fix": {
|
92 |
| - "types": "./dist/src/lint/fix.d.ts", |
93 |
| - "import": "./dist/src/lint/fix.mjs" |
| 92 | + "types": "./dist/lint/fix.d.ts", |
| 93 | + "import": "./dist/lint/fix.mjs" |
94 | 94 | },
|
95 | 95 | "./test/coverage": {
|
96 |
| - "types": "./dist/src/test/coverage.d.ts", |
97 |
| - "import": "./dist/src/test/coverage.mjs" |
| 96 | + "types": "./dist/test/coverage.d.ts", |
| 97 | + "import": "./dist/test/coverage.mjs" |
98 | 98 | },
|
99 | 99 | "./test/feature": {
|
100 |
| - "types": "./dist/src/test/feature.d.ts", |
101 |
| - "import": "./dist/src/test/feature.mjs" |
| 100 | + "types": "./dist/test/feature.d.ts", |
| 101 | + "import": "./dist/test/feature.mjs" |
102 | 102 | },
|
103 | 103 | "./test/ui": {
|
104 |
| - "types": "./dist/src/test/ui.d.ts", |
105 |
| - "import": "./dist/src/test/ui.mjs" |
| 104 | + "types": "./dist/test/ui.d.ts", |
| 105 | + "import": "./dist/test/ui.mjs" |
106 | 106 | },
|
107 | 107 | "./test/unit": {
|
108 |
| - "types": "./dist/src/test/unit.d.ts", |
109 |
| - "import": "./dist/src/test/unit.mjs" |
| 108 | + "types": "./dist/test/unit.d.ts", |
| 109 | + "import": "./dist/test/unit.mjs" |
110 | 110 | },
|
111 | 111 | "./upgrade": {
|
112 |
| - "types": "./dist/src/upgrade/index.d.ts", |
113 |
| - "import": "./dist/src/upgrade/index.mjs" |
| 112 | + "types": "./dist/upgrade/index.d.ts", |
| 113 | + "import": "./dist/upgrade/index.mjs" |
114 | 114 | },
|
115 | 115 | "./upgrade/dependencies": {
|
116 |
| - "types": "./dist/src/upgrade/dependencies.d.ts", |
117 |
| - "import": "./dist/src/upgrade/dependencies.mjs" |
| 116 | + "types": "./dist/upgrade/dependencies.d.ts", |
| 117 | + "import": "./dist/upgrade/dependencies.mjs" |
118 | 118 | },
|
119 | 119 | "./upgrade/framework": {
|
120 |
| - "types": "./dist/src/upgrade/framework.d.ts", |
121 |
| - "import": "./dist/src/upgrade/framework.mjs" |
| 120 | + "types": "./dist/upgrade/framework.d.ts", |
| 121 | + "import": "./dist/upgrade/framework.mjs" |
122 | 122 | },
|
123 | 123 | "./upgrade/bun": {
|
124 |
| - "types": "./dist/src/upgrade/bun.d.ts", |
125 |
| - "import": "./dist/src/upgrade/bun.mjs" |
| 124 | + "types": "./dist/upgrade/bun.d.ts", |
| 125 | + "import": "./dist/upgrade/bun.mjs" |
126 | 126 | },
|
127 | 127 | "./add": {
|
128 |
| - "types": "./dist/src/add.d.ts", |
129 |
| - "import": "./dist/src/add.mjs" |
| 128 | + "types": "./dist/add.d.ts", |
| 129 | + "import": "./dist/add.mjs" |
130 | 130 | },
|
131 | 131 | "./build": {
|
132 |
| - "types": "./dist/src/build.d.ts", |
133 |
| - "import": "./dist/src/build.mjs" |
| 132 | + "types": "./dist/build.d.ts", |
| 133 | + "import": "./dist/build.mjs" |
134 | 134 | },
|
135 | 135 | "./bump": {
|
136 |
| - "types": "./dist/src/bump.d.ts", |
137 |
| - "import": "./dist/src/bump.mjs" |
| 136 | + "types": "./dist/bump.d.ts", |
| 137 | + "import": "./dist/bump.mjs" |
138 | 138 | },
|
139 | 139 | "./changelog": {
|
140 |
| - "types": "./dist/src/changelog.d.ts", |
141 |
| - "import": "./dist/src/changelog.mjs" |
| 140 | + "types": "./dist/changelog.d.ts", |
| 141 | + "import": "./dist/changelog.mjs" |
142 | 142 | },
|
143 | 143 | "./clean": {
|
144 |
| - "types": "./dist/src/clean.d.ts", |
145 |
| - "import": "./dist/src/clean.mjs" |
| 144 | + "types": "./dist/clean.d.ts", |
| 145 | + "import": "./dist/clean.mjs" |
146 | 146 | },
|
147 | 147 | "./commit": {
|
148 |
| - "types": "./dist/src/commit.d.ts", |
149 |
| - "import": "./dist/src/commit.mjs" |
| 148 | + "types": "./dist/commit.d.ts", |
| 149 | + "import": "./dist/commit.mjs" |
150 | 150 | },
|
151 | 151 | "./copy-types": {
|
152 |
| - "types": "./dist/src/copy-types.d.ts", |
153 |
| - "import": "./dist/src/copy-types.mjs" |
| 152 | + "types": "./dist/copy-types.d.ts", |
| 153 | + "import": "./dist/copy-types.mjs" |
154 | 154 | },
|
155 | 155 | "./deploy": {
|
156 |
| - "types": "./dist/src/deploy/index.d.ts", |
157 |
| - "import": "./dist/src/deploy/index.mjs" |
| 156 | + "types": "./dist/deploy/index.d.ts", |
| 157 | + "import": "./dist/deploy/index.mjs" |
158 | 158 | },
|
159 | 159 | "./examples": {
|
160 |
| - "types": "./dist/src/examples.d.ts", |
161 |
| - "import": "./dist/src/examples.mjs" |
| 160 | + "types": "./dist/examples.d.ts", |
| 161 | + "import": "./dist/examples.mjs" |
162 | 162 | },
|
163 | 163 | "./fresh": {
|
164 |
| - "types": "./dist/src/fresh.d.ts", |
165 |
| - "import": "./dist/src/fresh.mjs" |
| 164 | + "types": "./dist/fresh.d.ts", |
| 165 | + "import": "./dist/fresh.mjs" |
166 | 166 | },
|
167 | 167 | "./key-generate": {
|
168 |
| - "types": "./dist/src/key-generate.d.ts", |
169 |
| - "import": "./dist/src/key-generate.mjs" |
| 168 | + "types": "./dist/key-generate.d.ts", |
| 169 | + "import": "./dist/key-generate.mjs" |
170 | 170 | },
|
171 | 171 | "./make": {
|
172 |
| - "types": "./dist/src/make.d.ts", |
173 |
| - "import": "./dist/src/make.mjs" |
| 172 | + "types": "./dist/make.d.ts", |
| 173 | + "import": "./dist/make.mjs" |
174 | 174 | },
|
175 | 175 | "./migrate": {
|
176 |
| - "types": "./dist/src/migrate.d.ts", |
177 |
| - "import": "./dist/src/migrate.mjs" |
| 176 | + "types": "./dist/migrate.d.ts", |
| 177 | + "import": "./dist/migrate.mjs" |
178 | 178 | },
|
179 | 179 | "./preinstall": {
|
180 |
| - "types": "./dist/src/preinstall.d.ts", |
181 |
| - "import": "./dist/src/preinstall.mjs" |
| 180 | + "types": "./dist/preinstall.d.ts", |
| 181 | + "import": "./dist/preinstall.mjs" |
182 | 182 | },
|
183 | 183 | "./prepublish": {
|
184 |
| - "types": "./dist/src/prepublish.d.ts", |
185 |
| - "import": "./dist/src/prepublish.mjs" |
| 184 | + "types": "./dist/prepublish.d.ts", |
| 185 | + "import": "./dist/prepublish.mjs" |
186 | 186 | },
|
187 | 187 | "./release": {
|
188 |
| - "types": "./dist/src/release.d.ts", |
189 |
| - "import": "./dist/src/release.mjs" |
| 188 | + "types": "./dist/release.d.ts", |
| 189 | + "import": "./dist/release.mjs" |
190 | 190 | },
|
191 | 191 | "./seed": {
|
192 |
| - "types": "./dist/src/seed.d.ts", |
193 |
| - "import": "./dist/src/seed.mjs" |
| 192 | + "types": "./dist/seed.d.ts", |
| 193 | + "import": "./dist/seed.mjs" |
194 | 194 | },
|
195 | 195 | "./test": {
|
196 |
| - "types": "./dist/src/test.d.ts", |
197 |
| - "import": "./dist/src/test.mjs" |
| 196 | + "types": "./dist/test.d.ts", |
| 197 | + "import": "./dist/test.mjs" |
198 | 198 | },
|
199 | 199 | "./tinker": {
|
200 |
| - "types": "./dist/src/tinker.d.ts", |
201 |
| - "import": "./dist/src/tinker.mjs" |
| 200 | + "types": "./dist/tinker.d.ts", |
| 201 | + "import": "./dist/tinker.mjs" |
202 | 202 | },
|
203 | 203 | "./typecheck": {
|
204 |
| - "types": "./dist/src/typecheck.d.ts", |
205 |
| - "import": "./dist/src/typecheck.mjs" |
| 204 | + "types": "./dist/typecheck.d.ts", |
| 205 | + "import": "./dist/typecheck.mjs" |
206 | 206 | },
|
207 | 207 | "./types": {
|
208 |
| - "types": "./dist/src/types.d.ts", |
209 |
| - "import": "./dist/src/types.mjs" |
| 208 | + "types": "./dist/types.d.ts", |
| 209 | + "import": "./dist/types.mjs" |
210 | 210 | },
|
211 | 211 | "./*": "./*"
|
212 | 212 | },
|
|
220 | 220 | "README.md"
|
221 | 221 | ],
|
222 | 222 | "scripts": {
|
223 |
| - "build": "bun build.ts", |
| 223 | + "build": "bunx mkdist -d", |
224 | 224 | "typecheck": "bun --bun tsc --noEmit",
|
225 | 225 | "prepublishOnly": "bun run build"
|
226 | 226 | },
|
|
0 commit comments