phecda-module 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
1
 
2
- > phecda-module@2.0.2-alpha.2 build D:\myproject\phecda\packages\module
2
+ > phecda-module@2.0.4 build /home/runner/work/phecda/phecda/packages/module
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts, src/vite.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.3.6
8
- CLI Using tsup config: D:\myproject\phecda\packages\module\tsup.config.ts
7
+ CLI tsup v8.5.0
8
+ CLI Using tsup config: /home/runner/work/phecda/phecda/packages/module/tsup.config.ts
9
9
  CLI Target: esnext
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist\index.js 3.15 KB
13
- CJS dist\vite.js 1.34 KB
14
- CJS ⚡️ Build success in 361ms
15
- ESM dist\index.mjs 1.86 KB
16
- ESM dist\vite.mjs 519.00 B
17
- ESM ⚡️ Build success in 364ms
12
+ CJS dist/index.js 3.15 KB
13
+ CJS dist/vite.js 1.34 KB
14
+ CJS ⚡️ Build success in 146ms
15
+ ESM dist/index.mjs 1.86 KB
16
+ ESM dist/vite.mjs 519.00 B
17
+ ESM ⚡️ Build success in 147ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 6518ms
20
- DTS dist\index.d.ts 191.00 B
21
- DTS dist\vite.d.ts 210.00 B
22
- DTS dist\index.d.mts 191.00 B
23
- DTS dist\vite.d.mts 210.00 B
19
+ DTS ⚡️ Build success in 5331ms
20
+ DTS dist/index.d.ts 191.00 B
21
+ DTS dist/vite.d.ts 210.00 B
22
+ DTS dist/index.d.mts 191.00 B
23
+ DTS dist/vite.d.mts 210.00 B
package/CHANGELOG.md CHANGED
@@ -1,304 +1,319 @@
1
- # phecda-module
2
-
3
- ## 2.0.2
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [4d5cc84]
8
- - Updated dependencies [dd27622]
9
- - Updated dependencies [d8fdd4e]
10
- - Updated dependencies [c1b7d65]
11
- - phecda-core@4.1.0
12
-
13
- ## 2.0.2-alpha.2
14
-
15
- ### Patch Changes
16
-
17
- - Updated dependencies [4d5cc84]
18
- - phecda-core@4.1.0-alpha.2
19
-
20
- ## 2.0.2-alpha.1
21
-
22
- ### Patch Changes
23
-
24
- - Updated dependencies [dd27622]
25
- - phecda-core@4.1.0-alpha.1
26
-
27
- ## 2.0.2-alpha.0
28
-
29
- ### Patch Changes
30
-
31
- - Updated dependencies [c1b7d65]
32
- - phecda-core@4.1.0-alpha.0
33
-
34
- ## 2.0.1
35
-
36
- ### Patch Changes
37
-
38
- - Updated dependencies [bffb0a0]
39
- - phecda-core@4.0.1
40
-
41
- ## 2.0.0
42
-
43
- ### Major Changes
44
-
45
- - 831c910: release core v4
46
-
47
- 1. refactor how meta is set and get
48
- 2. refactor Phecda target structure
49
- 3. remove some useless decorators
50
-
51
- ### Patch Changes
52
-
53
- - Updated dependencies [831c910]
54
- - phecda-core@4.0.0
55
-
56
- ## 1.0.8
57
-
58
- ### Patch Changes
59
-
60
- - Updated dependencies [c126577]
61
- - Updated dependencies [c126577]
62
- - phecda-core@3.1.1
63
-
64
- ## 1.0.7
65
-
66
- ### Patch Changes
67
-
68
- - Updated dependencies [f477841]
69
- - phecda-core@3.1.0
70
-
71
- ## 1.0.6
72
-
73
- ### Patch Changes
74
-
75
- - Updated dependencies [a55a92f]
76
- - phecda-core@3.0.2
77
-
78
- ## 1.0.5
79
-
80
- ### Patch Changes
81
-
82
- - Updated dependencies [c18997a]
83
- - phecda-core@3.0.1
84
-
85
- ## 1.0.4
86
-
87
- ### Patch Changes
88
-
89
- - Updated dependencies [f25189c]
90
- - Updated dependencies [37bdc86]
91
- - Updated dependencies [b041748]
92
- - Updated dependencies [c40fece]
93
- - Updated dependencies [e8582aa]
94
- - Updated dependencies [e254263]
95
- - Updated dependencies [d1f7041]
96
- - Updated dependencies [c9445c6]
97
- - Updated dependencies [79484c3]
98
- - Updated dependencies [b041748]
99
- - Updated dependencies [c6427b1]
100
- - Updated dependencies [7b0d6fa]
101
- - Updated dependencies [c2c6a5f]
102
- - Updated dependencies [671fbc9]
103
- - Updated dependencies [4621244]
104
- - Updated dependencies [f83af88]
105
- - Updated dependencies [5a477d0]
106
- - Updated dependencies [ad47e7b]
107
- - Updated dependencies [671fbc9]
108
- - Updated dependencies [dbb599a]
109
- - Updated dependencies [074a815]
110
- - Updated dependencies [3fd911a]
111
- - Updated dependencies [aefd80c]
112
- - Updated dependencies [7242bb6]
113
- - Updated dependencies [8f35d74]
114
- - Updated dependencies [fc8db58]
115
- - phecda-core@3.0.0
116
-
117
- ## 1.0.4-beta.17
118
-
119
- ### Patch Changes
120
-
121
- - Updated dependencies [c2c6a5f]
122
- - phecda-core@3.0.0-beta.17
123
-
124
- ## 1.0.4-beta.16
125
-
126
- ### Patch Changes
127
-
128
- - Updated dependencies [b041748]
129
- - Updated dependencies [b041748]
130
- - phecda-core@3.0.0-beta.16
131
-
132
- ## 1.0.4-beta.15
133
-
134
- ### Patch Changes
135
-
136
- - Updated dependencies [79484c3]
137
- - phecda-core@3.0.0-beta.15
138
-
139
- ## 1.0.4-beta.14
140
-
141
- ### Patch Changes
142
-
143
- - Updated dependencies [074a815]
144
- - phecda-core@3.0.0-beta.14
145
-
146
- ## 1.0.4-beta.13
147
-
148
- ### Patch Changes
149
-
150
- - Updated dependencies [d1f7041]
151
- - Updated dependencies [5a477d0]
152
- - Updated dependencies [aefd80c]
153
- - phecda-core@3.0.0-beta.13
154
-
155
- ## 1.0.4-alpha.12
156
-
157
- ### Patch Changes
158
-
159
- - Updated dependencies [671fbc9]
160
- - Updated dependencies [671fbc9]
161
- - phecda-core@3.0.0-alpha.12
162
-
163
- ## 1.0.4-alpha.11
164
-
165
- ### Patch Changes
166
-
167
- - Updated dependencies [c6427b1]
168
- - Updated dependencies [7b0d6fa]
169
- - Updated dependencies [4621244]
170
- - Updated dependencies [dbb599a]
171
- - phecda-core@3.0.0-alpha.11
172
-
173
- ## 1.0.4-alpha.10
174
-
175
- ### Patch Changes
176
-
177
- - Updated dependencies [e254263]
178
- - phecda-core@3.0.0-alpha.10
179
-
180
- ## 1.0.4-alpha.9
181
-
182
- ### Patch Changes
183
-
184
- - Updated dependencies [3fd911a]
185
- - phecda-core@3.0.0-alpha.9
186
-
187
- ## 1.0.4-alpha.8
188
-
189
- ### Patch Changes
190
-
191
- - Updated dependencies [37bdc86]
192
- - phecda-core@3.0.0-alpha.8
193
-
194
- ## 1.0.4-alpha.7
195
-
196
- ### Patch Changes
197
-
198
- - Updated dependencies [c9445c6]
199
- - Updated dependencies [ad47e7b]
200
- - phecda-core@3.0.0-alpha.7
201
-
202
- ## 1.0.4-alpha.6
203
-
204
- ### Patch Changes
205
-
206
- - Updated dependencies [7242bb6]
207
- - phecda-core@3.0.0-alpha.6
208
-
209
- ## 1.0.4-alpha.5
210
-
211
- ### Patch Changes
212
-
213
- - Updated dependencies [e8582aa]
214
- - phecda-core@3.0.0-alpha.5
215
-
216
- ## 1.0.4-alpha.4
217
-
218
- ### Patch Changes
219
-
220
- - Updated dependencies [f83af88]
221
- - phecda-core@3.0.0-alpha.4
222
-
223
- ## 1.0.4-alpha.3
224
-
225
- ### Patch Changes
226
-
227
- - Updated dependencies [f25189c]
228
- - phecda-core@3.0.0-alpha.3
229
-
230
- ## 1.0.4-alpha.2
231
-
232
- ### Patch Changes
233
-
234
- - Updated dependencies [c40fece]
235
- - phecda-core@3.0.0-alpha.2
236
-
237
- ## 1.0.4-alpha.1
238
-
239
- ### Patch Changes
240
-
241
- - Updated dependencies [fc8db58]
242
- - phecda-core@3.0.0-alpha.1
243
-
244
- ## 1.0.4-alpha.0
245
-
246
- ### Patch Changes
247
-
248
- - Updated dependencies [8f35d74]
249
- - phecda-core@2.1.2-alpha.0
250
-
251
- ## 1.0.3
252
-
253
- ### Patch Changes
254
-
255
- - Updated dependencies [99b458d]
256
- - phecda-core@2.1.1
257
-
258
- ## 1.0.2
259
-
260
- ### Patch Changes
261
-
262
- - Updated dependencies [4c4c45a]
263
- - Updated dependencies [ec66a44]
264
- - Updated dependencies [de7cf57]
265
- - Updated dependencies [de7cf57]
266
- - Updated dependencies [1dd0831]
267
- - phecda-core@2.1.0
268
-
269
- ## 1.0.2-alpha.2
270
-
271
- ### Patch Changes
272
-
273
- - Updated dependencies [ec66a44]
274
- - phecda-core@2.1.0-alpha.2
275
-
276
- ## 1.0.2-alpha.1
277
-
278
- ### Patch Changes
279
-
280
- - Updated dependencies [4c4c45a]
281
- - Updated dependencies [de7cf57]
282
- - Updated dependencies [de7cf57]
283
- - phecda-core@2.1.0-alpha.1
284
-
285
- ## 1.0.2-alpha.0
286
-
287
- ### Patch Changes
288
-
289
- - Updated dependencies [1dd0831]
290
- - phecda-core@2.0.1-alpha.0
291
-
292
- ## 1.0.1
293
-
294
- ### Patch Changes
295
-
296
- - Updated dependencies [d6d2146]
297
- - Updated dependencies [049c138]
298
- - Updated dependencies [78cb57a]
299
- - Updated dependencies [a701f34]
300
- - Updated dependencies [25cf638]
301
- - Updated dependencies [eec80a6]
302
- - Updated dependencies [64c2f70]
303
- - Updated dependencies [8fe5ced]
304
- - phecda-core@2.0.0
1
+ # phecda-module
2
+
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bee529f]
8
+ - phecda-core@4.3.0
9
+
10
+ ## 2.0.3
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [f6025c7]
15
+ - Updated dependencies [2ffe1d4]
16
+ - phecda-core@4.2.0
17
+
18
+ ## 2.0.2
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [4d5cc84]
23
+ - Updated dependencies [dd27622]
24
+ - Updated dependencies [d8fdd4e]
25
+ - Updated dependencies [c1b7d65]
26
+ - phecda-core@4.1.0
27
+
28
+ ## 2.0.2-alpha.2
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [4d5cc84]
33
+ - phecda-core@4.1.0-alpha.2
34
+
35
+ ## 2.0.2-alpha.1
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [dd27622]
40
+ - phecda-core@4.1.0-alpha.1
41
+
42
+ ## 2.0.2-alpha.0
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [c1b7d65]
47
+ - phecda-core@4.1.0-alpha.0
48
+
49
+ ## 2.0.1
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [bffb0a0]
54
+ - phecda-core@4.0.1
55
+
56
+ ## 2.0.0
57
+
58
+ ### Major Changes
59
+
60
+ - 831c910: release core v4
61
+
62
+ 1. refactor how meta is set and get
63
+ 2. refactor Phecda target structure
64
+ 3. remove some useless decorators
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [831c910]
69
+ - phecda-core@4.0.0
70
+
71
+ ## 1.0.8
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies [c126577]
76
+ - Updated dependencies [c126577]
77
+ - phecda-core@3.1.1
78
+
79
+ ## 1.0.7
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies [f477841]
84
+ - phecda-core@3.1.0
85
+
86
+ ## 1.0.6
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [a55a92f]
91
+ - phecda-core@3.0.2
92
+
93
+ ## 1.0.5
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [c18997a]
98
+ - phecda-core@3.0.1
99
+
100
+ ## 1.0.4
101
+
102
+ ### Patch Changes
103
+
104
+ - Updated dependencies [f25189c]
105
+ - Updated dependencies [37bdc86]
106
+ - Updated dependencies [b041748]
107
+ - Updated dependencies [c40fece]
108
+ - Updated dependencies [e8582aa]
109
+ - Updated dependencies [e254263]
110
+ - Updated dependencies [d1f7041]
111
+ - Updated dependencies [c9445c6]
112
+ - Updated dependencies [79484c3]
113
+ - Updated dependencies [b041748]
114
+ - Updated dependencies [c6427b1]
115
+ - Updated dependencies [7b0d6fa]
116
+ - Updated dependencies [c2c6a5f]
117
+ - Updated dependencies [671fbc9]
118
+ - Updated dependencies [4621244]
119
+ - Updated dependencies [f83af88]
120
+ - Updated dependencies [5a477d0]
121
+ - Updated dependencies [ad47e7b]
122
+ - Updated dependencies [671fbc9]
123
+ - Updated dependencies [dbb599a]
124
+ - Updated dependencies [074a815]
125
+ - Updated dependencies [3fd911a]
126
+ - Updated dependencies [aefd80c]
127
+ - Updated dependencies [7242bb6]
128
+ - Updated dependencies [8f35d74]
129
+ - Updated dependencies [fc8db58]
130
+ - phecda-core@3.0.0
131
+
132
+ ## 1.0.4-beta.17
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies [c2c6a5f]
137
+ - phecda-core@3.0.0-beta.17
138
+
139
+ ## 1.0.4-beta.16
140
+
141
+ ### Patch Changes
142
+
143
+ - Updated dependencies [b041748]
144
+ - Updated dependencies [b041748]
145
+ - phecda-core@3.0.0-beta.16
146
+
147
+ ## 1.0.4-beta.15
148
+
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies [79484c3]
152
+ - phecda-core@3.0.0-beta.15
153
+
154
+ ## 1.0.4-beta.14
155
+
156
+ ### Patch Changes
157
+
158
+ - Updated dependencies [074a815]
159
+ - phecda-core@3.0.0-beta.14
160
+
161
+ ## 1.0.4-beta.13
162
+
163
+ ### Patch Changes
164
+
165
+ - Updated dependencies [d1f7041]
166
+ - Updated dependencies [5a477d0]
167
+ - Updated dependencies [aefd80c]
168
+ - phecda-core@3.0.0-beta.13
169
+
170
+ ## 1.0.4-alpha.12
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies [671fbc9]
175
+ - Updated dependencies [671fbc9]
176
+ - phecda-core@3.0.0-alpha.12
177
+
178
+ ## 1.0.4-alpha.11
179
+
180
+ ### Patch Changes
181
+
182
+ - Updated dependencies [c6427b1]
183
+ - Updated dependencies [7b0d6fa]
184
+ - Updated dependencies [4621244]
185
+ - Updated dependencies [dbb599a]
186
+ - phecda-core@3.0.0-alpha.11
187
+
188
+ ## 1.0.4-alpha.10
189
+
190
+ ### Patch Changes
191
+
192
+ - Updated dependencies [e254263]
193
+ - phecda-core@3.0.0-alpha.10
194
+
195
+ ## 1.0.4-alpha.9
196
+
197
+ ### Patch Changes
198
+
199
+ - Updated dependencies [3fd911a]
200
+ - phecda-core@3.0.0-alpha.9
201
+
202
+ ## 1.0.4-alpha.8
203
+
204
+ ### Patch Changes
205
+
206
+ - Updated dependencies [37bdc86]
207
+ - phecda-core@3.0.0-alpha.8
208
+
209
+ ## 1.0.4-alpha.7
210
+
211
+ ### Patch Changes
212
+
213
+ - Updated dependencies [c9445c6]
214
+ - Updated dependencies [ad47e7b]
215
+ - phecda-core@3.0.0-alpha.7
216
+
217
+ ## 1.0.4-alpha.6
218
+
219
+ ### Patch Changes
220
+
221
+ - Updated dependencies [7242bb6]
222
+ - phecda-core@3.0.0-alpha.6
223
+
224
+ ## 1.0.4-alpha.5
225
+
226
+ ### Patch Changes
227
+
228
+ - Updated dependencies [e8582aa]
229
+ - phecda-core@3.0.0-alpha.5
230
+
231
+ ## 1.0.4-alpha.4
232
+
233
+ ### Patch Changes
234
+
235
+ - Updated dependencies [f83af88]
236
+ - phecda-core@3.0.0-alpha.4
237
+
238
+ ## 1.0.4-alpha.3
239
+
240
+ ### Patch Changes
241
+
242
+ - Updated dependencies [f25189c]
243
+ - phecda-core@3.0.0-alpha.3
244
+
245
+ ## 1.0.4-alpha.2
246
+
247
+ ### Patch Changes
248
+
249
+ - Updated dependencies [c40fece]
250
+ - phecda-core@3.0.0-alpha.2
251
+
252
+ ## 1.0.4-alpha.1
253
+
254
+ ### Patch Changes
255
+
256
+ - Updated dependencies [fc8db58]
257
+ - phecda-core@3.0.0-alpha.1
258
+
259
+ ## 1.0.4-alpha.0
260
+
261
+ ### Patch Changes
262
+
263
+ - Updated dependencies [8f35d74]
264
+ - phecda-core@2.1.2-alpha.0
265
+
266
+ ## 1.0.3
267
+
268
+ ### Patch Changes
269
+
270
+ - Updated dependencies [99b458d]
271
+ - phecda-core@2.1.1
272
+
273
+ ## 1.0.2
274
+
275
+ ### Patch Changes
276
+
277
+ - Updated dependencies [4c4c45a]
278
+ - Updated dependencies [ec66a44]
279
+ - Updated dependencies [de7cf57]
280
+ - Updated dependencies [de7cf57]
281
+ - Updated dependencies [1dd0831]
282
+ - phecda-core@2.1.0
283
+
284
+ ## 1.0.2-alpha.2
285
+
286
+ ### Patch Changes
287
+
288
+ - Updated dependencies [ec66a44]
289
+ - phecda-core@2.1.0-alpha.2
290
+
291
+ ## 1.0.2-alpha.1
292
+
293
+ ### Patch Changes
294
+
295
+ - Updated dependencies [4c4c45a]
296
+ - Updated dependencies [de7cf57]
297
+ - Updated dependencies [de7cf57]
298
+ - phecda-core@2.1.0-alpha.1
299
+
300
+ ## 1.0.2-alpha.0
301
+
302
+ ### Patch Changes
303
+
304
+ - Updated dependencies [1dd0831]
305
+ - phecda-core@2.0.1-alpha.0
306
+
307
+ ## 1.0.1
308
+
309
+ ### Patch Changes
310
+
311
+ - Updated dependencies [d6d2146]
312
+ - Updated dependencies [049c138]
313
+ - Updated dependencies [78cb57a]
314
+ - Updated dependencies [a701f34]
315
+ - Updated dependencies [25cf638]
316
+ - Updated dependencies [eec80a6]
317
+ - Updated dependencies [64c2f70]
318
+ - Updated dependencies [8fe5ced]
319
+ - phecda-core@2.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-module",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "provide DI and HMR for modules by reflect-metadata and vite",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,7 +33,7 @@
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
35
  "reflect-metadata": "^0.1.13",
36
- "phecda-core": "4.1.0"
36
+ "phecda-core": "4.3.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "tsup": "^8.1.0"
package/src/env.d.ts CHANGED
@@ -1,3 +1,3 @@
1
-
2
- declare var __DEV__: boolean
3
- declare var __PS_HMR__:((files:string[])=>void)[]
1
+
2
+ declare var __DEV__: boolean
3
+ declare var __PS_HMR__:((files:string[])=>void)[]
package/src/index.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './core'
2
- export * from 'phecda-core'
1
+ export * from './core'
2
+ export * from 'phecda-core'
package/src/vite.ts CHANGED
@@ -1,13 +1,13 @@
1
- export default function (reg = /\.module\.ts$/) {
2
- return {
3
- name: 'phecda-module-hmr',
4
- enforce: 'pre',
5
- apply: 'serve',
6
- transform(code: string, id: string) {
7
- if (reg.test(id)) {
8
- return code += `\nif (import.meta.hot)
9
- import.meta.hot.accept(__PHECDA_MODULE_UPDATE__)`
10
- }
11
- },
12
- }
13
- }
1
+ export default function (reg = /\.module\.ts$/) {
2
+ return {
3
+ name: 'phecda-module-hmr',
4
+ enforce: 'pre',
5
+ apply: 'serve',
6
+ transform(code: string, id: string) {
7
+ if (reg.test(id)) {
8
+ return code += `\nif (import.meta.hot)
9
+ import.meta.hot.accept(__PHECDA_MODULE_UPDATE__)`
10
+ }
11
+ },
12
+ }
13
+ }
package/tsconfig.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": ".",
4
- "outDir": "dist",
5
- "sourceMap": false,
6
- "target": "esnext",
7
- "useDefineForClassFields": false,
8
- "module": "esnext",
9
- "moduleResolution": "node",
10
- "allowJs": false,
11
- "strict": true,
12
- "noUnusedLocals": true,
13
- "resolveJsonModule": true,
14
- "esModuleInterop": true,
15
- "removeComments": false,
16
- "strictPropertyInitialization": false,
17
- "experimentalDecorators": true,
18
- "emitDecoratorMetadata": true,
19
- "jsx": "preserve",
20
- "lib": [
21
- "esnext",
22
- "dom"
23
- ],
24
- "types": [
25
- "node"
26
- ]
27
- }
28
- }
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "outDir": "dist",
5
+ "sourceMap": false,
6
+ "target": "esnext",
7
+ "useDefineForClassFields": false,
8
+ "module": "esnext",
9
+ "moduleResolution": "node",
10
+ "allowJs": false,
11
+ "strict": true,
12
+ "noUnusedLocals": true,
13
+ "resolveJsonModule": true,
14
+ "esModuleInterop": true,
15
+ "removeComments": false,
16
+ "strictPropertyInitialization": false,
17
+ "experimentalDecorators": true,
18
+ "emitDecoratorMetadata": true,
19
+ "jsx": "preserve",
20
+ "lib": [
21
+ "esnext",
22
+ "dom"
23
+ ],
24
+ "types": [
25
+ "node"
26
+ ]
27
+ }
28
+ }
package/tsup.config.ts CHANGED
@@ -1,9 +1,9 @@
1
- import type { Options } from 'tsup'
2
-
3
- export const tsup: Options = {
4
- entry: ['src/index.ts', 'src/vite.ts'],
5
- format: ['cjs', 'esm'],
6
- dts: true,
7
- splitting: false,
8
- shims: false,
9
- }
1
+ import type { Options } from 'tsup'
2
+
3
+ export const tsup: Options = {
4
+ entry: ['src/index.ts', 'src/vite.ts'],
5
+ format: ['cjs', 'esm'],
6
+ dts: true,
7
+ splitting: false,
8
+ shims: false,
9
+ }