@modern-js/plugin-worker 0.0.0-nightly-20240410170704 → 0.0.0-nightly-20240411170705

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,791 @@
1
+ # @modern-js/plugin-worker
2
+
3
+ ## 0.0.0-nightly-20240411170705
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e8c8c5dbb]
8
+ - @modern-js/prod-server@0.0.0-nightly-20240411170705
9
+ - @modern-js/utils@0.0.0-nightly-20240411170705
10
+ - @modern-js/server-utils@0.0.0-nightly-20240411170705
11
+
12
+ ## 2.48.5
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [4ca9f4c]
17
+ - @modern-js/utils@2.48.5
18
+ - @modern-js/prod-server@2.48.5
19
+ - @modern-js/server-utils@2.48.5
20
+
21
+ ## 2.48.4
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [7d2d433]
26
+ - @modern-js/utils@2.48.4
27
+ - @modern-js/prod-server@2.48.4
28
+ - @modern-js/server-utils@2.48.4
29
+
30
+ ## 2.48.3
31
+
32
+ ### Patch Changes
33
+
34
+ - @modern-js/prod-server@2.48.3
35
+ - @modern-js/server-utils@2.48.3
36
+ - @modern-js/utils@2.48.3
37
+
38
+ ## 2.48.2
39
+
40
+ ### Patch Changes
41
+
42
+ - @modern-js/prod-server@2.48.2
43
+ - @modern-js/server-utils@2.48.2
44
+ - @modern-js/utils@2.48.2
45
+
46
+ ## 2.48.1
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [8942b90]
51
+ - Updated dependencies [24b2ec1]
52
+ - Updated dependencies [ce426f7]
53
+ - Updated dependencies [74749ae]
54
+ - @modern-js/utils@2.48.1
55
+ - @modern-js/prod-server@2.48.1
56
+ - @modern-js/server-utils@2.48.1
57
+
58
+ ## 2.48.0
59
+
60
+ ### Patch Changes
61
+
62
+ - Updated dependencies [0b44ddb]
63
+ - Updated dependencies [c323a23]
64
+ - @modern-js/prod-server@2.48.0
65
+ - @modern-js/utils@2.48.0
66
+ - @modern-js/server-utils@2.48.0
67
+
68
+ ## 2.47.1
69
+
70
+ ### Patch Changes
71
+
72
+ - @modern-js/prod-server@2.47.1
73
+ - @modern-js/server-utils@2.47.1
74
+ - @modern-js/utils@2.47.1
75
+
76
+ ## 2.47.0
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [b68c12a]
81
+ - Updated dependencies [a5386ab]
82
+ - Updated dependencies [a9a3626]
83
+ - Updated dependencies [01b75e6]
84
+ - @modern-js/prod-server@2.47.0
85
+ - @modern-js/utils@2.47.0
86
+ - @modern-js/server-utils@2.47.0
87
+
88
+ ## 2.46.1
89
+
90
+ ### Patch Changes
91
+
92
+ - @modern-js/prod-server@2.46.1
93
+ - @modern-js/server-utils@2.46.1
94
+ - @modern-js/utils@2.46.1
95
+
96
+ ## 2.46.0
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [091c7c2]
101
+ - Updated dependencies [d833015]
102
+ - Updated dependencies [46e6d56]
103
+ - Updated dependencies [494b290]
104
+ - Updated dependencies [4699e22]
105
+ - @modern-js/prod-server@2.46.0
106
+ - @modern-js/server-utils@2.46.0
107
+ - @modern-js/utils@2.46.0
108
+
109
+ ## 2.45.0
110
+
111
+ ### Patch Changes
112
+
113
+ - Updated dependencies [f50ad3e]
114
+ - @modern-js/prod-server@2.45.0
115
+ - @modern-js/server-utils@2.45.0
116
+ - @modern-js/utils@2.45.0
117
+
118
+ ## 2.44.0
119
+
120
+ ### Patch Changes
121
+
122
+ - Updated dependencies [0ed968c]
123
+ - Updated dependencies [56d7f9a]
124
+ - @modern-js/prod-server@2.44.0
125
+ - @modern-js/utils@2.44.0
126
+ - @modern-js/server-utils@2.44.0
127
+
128
+ ## 2.43.0
129
+
130
+ ### Patch Changes
131
+
132
+ - Updated dependencies [d959200]
133
+ - @modern-js/prod-server@2.43.0
134
+ - @modern-js/utils@2.43.0
135
+ - @modern-js/server-utils@2.43.0
136
+
137
+ ## 2.42.2
138
+
139
+ ### Patch Changes
140
+
141
+ - Updated dependencies [07c56c0]
142
+ - @modern-js/server-utils@2.42.2
143
+ - @modern-js/prod-server@2.42.2
144
+ - @modern-js/utils@2.42.2
145
+
146
+ ## 2.42.1
147
+
148
+ ### Patch Changes
149
+
150
+ - @modern-js/prod-server@2.42.1
151
+ - @modern-js/server-utils@2.42.1
152
+ - @modern-js/utils@2.42.1
153
+
154
+ ## 2.42.0
155
+
156
+ ### Patch Changes
157
+
158
+ - Updated dependencies [8c2efe1]
159
+ - Updated dependencies [8793e64]
160
+ - @modern-js/prod-server@2.42.0
161
+ - @modern-js/server-utils@2.42.0
162
+ - @modern-js/utils@2.42.0
163
+
164
+ ## 2.41.0
165
+
166
+ ### Patch Changes
167
+
168
+ - c4d396a: chore(swc): bump swc and helpers
169
+ chore(swc): 升级 swc 以及 helpers
170
+ - Updated dependencies [2555586]
171
+ - Updated dependencies [c4d396a]
172
+ - @modern-js/prod-server@2.41.0
173
+ - @modern-js/utils@2.41.0
174
+ - @modern-js/server-utils@2.41.0
175
+
176
+ ## 2.40.0
177
+
178
+ ### Minor Changes
179
+
180
+ - 95f15d2: chore: remove ajv schema verification of configuration
181
+ chore: 移除 ajv 对项目配置的校验
182
+
183
+ ### Patch Changes
184
+
185
+ - Updated dependencies [95f15d2]
186
+ - Updated dependencies [c960bcb]
187
+ - Updated dependencies [a68a2e9]
188
+ - @modern-js/utils@2.40.0
189
+ - @modern-js/prod-server@2.40.0
190
+ - @modern-js/server-utils@2.40.0
191
+
192
+ ## 2.39.2
193
+
194
+ ### Patch Changes
195
+
196
+ - @modern-js/prod-server@2.39.2
197
+ - @modern-js/server-utils@2.39.2
198
+ - @modern-js/utils@2.39.2
199
+
200
+ ## 2.39.1
201
+
202
+ ### Patch Changes
203
+
204
+ - @modern-js/prod-server@2.39.1
205
+ - @modern-js/server-utils@2.39.1
206
+ - @modern-js/utils@2.39.1
207
+
208
+ ## 2.39.0
209
+
210
+ ### Patch Changes
211
+
212
+ - @modern-js/prod-server@2.39.0
213
+ - @modern-js/server-utils@2.39.0
214
+ - @modern-js/utils@2.39.0
215
+
216
+ ## 2.38.0
217
+
218
+ ### Patch Changes
219
+
220
+ - Updated dependencies [3304d33]
221
+ - Updated dependencies [6d8ef7d]
222
+ - @modern-js/server-utils@2.38.0
223
+ - @modern-js/prod-server@2.38.0
224
+ - @modern-js/utils@2.38.0
225
+
226
+ ## 2.37.2
227
+
228
+ ### Patch Changes
229
+
230
+ - @modern-js/prod-server@2.37.2
231
+ - @modern-js/server-utils@2.37.2
232
+ - @modern-js/utils@2.37.2
233
+
234
+ ## 2.37.1
235
+
236
+ ### Patch Changes
237
+
238
+ - @modern-js/prod-server@2.37.1
239
+ - @modern-js/server-utils@2.37.1
240
+ - @modern-js/utils@2.37.1
241
+
242
+ ## 2.37.0
243
+
244
+ ### Patch Changes
245
+
246
+ - Updated dependencies [383b636]
247
+ - Updated dependencies [ce0a14e]
248
+ - Updated dependencies [708f248]
249
+ - @modern-js/utils@2.37.0
250
+ - @modern-js/server-utils@2.37.0
251
+ - @modern-js/prod-server@2.37.0
252
+
253
+ ## 2.36.0
254
+
255
+ ### Patch Changes
256
+
257
+ - Updated dependencies [3473bee]
258
+ - Updated dependencies [b98f8aa]
259
+ - Updated dependencies [eb602d2]
260
+ - @modern-js/utils@2.36.0
261
+ - @modern-js/prod-server@2.36.0
262
+ - @modern-js/server-utils@2.36.0
263
+
264
+ ## 2.35.1
265
+
266
+ ### Patch Changes
267
+
268
+ - Updated dependencies [ea3fe18]
269
+ - Updated dependencies [bb97082]
270
+ - Updated dependencies [9dd3151]
271
+ - Updated dependencies [0db5680]
272
+ - Updated dependencies [411cea2]
273
+ - Updated dependencies [4980480]
274
+ - Updated dependencies [6a1d46e]
275
+ - @modern-js/utils@2.35.1
276
+ - @modern-js/prod-server@2.35.1
277
+ - @modern-js/server-utils@2.35.1
278
+
279
+ ## 2.35.0
280
+
281
+ ### Patch Changes
282
+
283
+ - Updated dependencies [15b834f]
284
+ - @modern-js/utils@2.35.0
285
+ - @modern-js/prod-server@2.35.0
286
+ - @modern-js/server-utils@2.35.0
287
+
288
+ ## 2.34.0
289
+
290
+ ### Patch Changes
291
+
292
+ - Updated dependencies [f851fa9]
293
+ - Updated dependencies [7d70738]
294
+ - Updated dependencies [5240e5d]
295
+ - Updated dependencies [a77b82a]
296
+ - Updated dependencies [c8b448b]
297
+ - @modern-js/prod-server@2.34.0
298
+ - @modern-js/utils@2.34.0
299
+ - @modern-js/server-utils@2.34.0
300
+
301
+ ## 2.33.1
302
+
303
+ ### Patch Changes
304
+
305
+ - @modern-js/prod-server@2.33.1
306
+ - @modern-js/server-utils@2.33.1
307
+ - @modern-js/utils@2.33.1
308
+
309
+ ## 2.33.0
310
+
311
+ ### Patch Changes
312
+
313
+ - Updated dependencies [fd82137]
314
+ - Updated dependencies [1042583]
315
+ - Updated dependencies [bc1f8da]
316
+ - Updated dependencies [3ba1682]
317
+ - @modern-js/utils@2.33.0
318
+ - @modern-js/prod-server@2.33.0
319
+ - @modern-js/server-utils@2.33.0
320
+
321
+ ## 2.32.1
322
+
323
+ ### Patch Changes
324
+
325
+ - @modern-js/prod-server@2.32.1
326
+ - @modern-js/utils@2.32.1
327
+ - @modern-js/server-utils@2.32.1
328
+
329
+ ## 2.32.0
330
+
331
+ ### Patch Changes
332
+
333
+ - 6076166: fix: packaging errors found by publint
334
+
335
+ fix: 修复 publint 检测到的 packaging 问题
336
+
337
+ - Updated dependencies [e6c7d33]
338
+ - Updated dependencies [e5a3fb4]
339
+ - Updated dependencies [6076166]
340
+ - Updated dependencies [5f7c714]
341
+ - Updated dependencies [a030aff]
342
+ - Updated dependencies [6d73519]
343
+ - Updated dependencies [79658a0]
344
+ - Updated dependencies [3c91100]
345
+ - Updated dependencies [2447d64]
346
+ - Updated dependencies [5255eba]
347
+ - @modern-js/prod-server@2.32.0
348
+ - @modern-js/utils@2.32.0
349
+ - @modern-js/server-utils@2.32.0
350
+
351
+ ## 2.31.2
352
+
353
+ ### Patch Changes
354
+
355
+ - Updated dependencies [15d30abdc66]
356
+ - @modern-js/utils@2.31.2
357
+ - @modern-js/prod-server@2.31.2
358
+ - @modern-js/server-utils@2.31.2
359
+
360
+ ## 2.31.1
361
+
362
+ ### Patch Changes
363
+
364
+ - @modern-js/prod-server@2.31.1
365
+ - @modern-js/server-utils@2.31.1
366
+ - @modern-js/utils@2.31.1
367
+
368
+ ## 2.31.0
369
+
370
+ ### Patch Changes
371
+
372
+ - Updated dependencies [56eaa0b]
373
+ - Updated dependencies [d9cc4d8]
374
+ - Updated dependencies [1882366]
375
+ - @modern-js/prod-server@2.31.0
376
+ - @modern-js/utils@2.31.0
377
+ - @modern-js/server-utils@2.31.0
378
+
379
+ ## 2.30.0
380
+
381
+ ### Patch Changes
382
+
383
+ - Updated dependencies [9f21f28]
384
+ - Updated dependencies [a5ee81a]
385
+ - Updated dependencies [883692c]
386
+ - Updated dependencies [cc5f49e]
387
+ - Updated dependencies [b6ab299]
388
+ - @modern-js/prod-server@2.30.0
389
+ - @modern-js/server-utils@2.30.0
390
+ - @modern-js/utils@2.30.0
391
+
392
+ ## 2.29.0
393
+
394
+ ### Patch Changes
395
+
396
+ - Updated dependencies [e6b5355]
397
+ - Updated dependencies [16e5195]
398
+ - Updated dependencies [93db783]
399
+ - Updated dependencies [cba7675]
400
+ - Updated dependencies [76ace5d]
401
+ - Updated dependencies [99052ea]
402
+ - Updated dependencies [1d71d2e]
403
+ - @modern-js/utils@2.29.0
404
+ - @modern-js/prod-server@2.29.0
405
+ - @modern-js/server-utils@2.29.0
406
+
407
+ ## 2.28.0
408
+
409
+ ### Patch Changes
410
+
411
+ - Updated dependencies [6eae1e7]
412
+ - Updated dependencies [00b58a7]
413
+ - @modern-js/prod-server@2.28.0
414
+ - @modern-js/utils@2.28.0
415
+ - @modern-js/server-utils@2.28.0
416
+
417
+ ## 2.27.0
418
+
419
+ ### Patch Changes
420
+
421
+ - Updated dependencies [91d14b8]
422
+ - Updated dependencies [6d7104d]
423
+ - @modern-js/utils@2.27.0
424
+ - @modern-js/prod-server@2.27.0
425
+ - @modern-js/server-utils@2.27.0
426
+
427
+ ## 2.26.0
428
+
429
+ ### Patch Changes
430
+
431
+ - Updated dependencies [1fb5804]
432
+ - @modern-js/server-utils@2.26.0
433
+ - @modern-js/prod-server@2.26.0
434
+ - @modern-js/utils@2.26.0
435
+
436
+ ## 2.25.2
437
+
438
+ ### Patch Changes
439
+
440
+ - Updated dependencies [63d8247]
441
+ - Updated dependencies [6651684]
442
+ - Updated dependencies [272646c]
443
+ - Updated dependencies [358ed24]
444
+ - @modern-js/utils@2.25.2
445
+ - @modern-js/prod-server@2.25.2
446
+ - @modern-js/server-utils@2.25.2
447
+
448
+ ## 2.25.1
449
+
450
+ ### Patch Changes
451
+
452
+ - Updated dependencies [9f78d0c]
453
+ - @modern-js/utils@2.25.1
454
+ - @modern-js/prod-server@2.25.1
455
+ - @modern-js/server-utils@2.25.1
456
+
457
+ ## 2.25.0
458
+
459
+ ### Patch Changes
460
+
461
+ - 4c4c0ad: feat: add named exports for all CLI plugins
462
+
463
+ feat: 为各个 CLI 插件添加 named 导出
464
+
465
+ - Updated dependencies [2491875]
466
+ - Updated dependencies [5732c6a]
467
+ - @modern-js/prod-server@2.25.0
468
+ - @modern-js/utils@2.25.0
469
+ - @modern-js/server-utils@2.25.0
470
+
471
+ ## 2.24.0
472
+
473
+ ### Patch Changes
474
+
475
+ - Updated dependencies [c882fbd]
476
+ - Updated dependencies [36f5bdf]
477
+ - Updated dependencies [4a82c3b]
478
+ - @modern-js/utils@2.24.0
479
+ - @modern-js/server-utils@2.24.0
480
+ - @modern-js/prod-server@2.24.0
481
+
482
+ ## 2.23.1
483
+
484
+ ### Patch Changes
485
+
486
+ - Updated dependencies [f08bbfc]
487
+ - Updated dependencies [a6b313a]
488
+ - Updated dependencies [8f2cab0]
489
+ - @modern-js/utils@2.23.1
490
+ - @modern-js/prod-server@2.23.1
491
+ - @modern-js/server-utils@2.23.1
492
+
493
+ ## 2.23.0
494
+
495
+ ### Patch Changes
496
+
497
+ - 7e6fb5f: chore: publishConfig add provenance config
498
+
499
+ chore: publishConfig 增加 provenance 配置
500
+
501
+ - c3216b5: chore: split the scheme into the plugin
502
+
503
+ chore: 拆分 scheme 到插件内部
504
+
505
+ - Updated dependencies [7e6fb5f]
506
+ - Updated dependencies [a7a7ad7]
507
+ - Updated dependencies [6dec7c2]
508
+ - Updated dependencies [c3216b5]
509
+ - @modern-js/prod-server@2.23.0
510
+ - @modern-js/utils@2.23.0
511
+ - @modern-js/server-utils@2.23.0
512
+
513
+ ## 2.22.1
514
+
515
+ ### Patch Changes
516
+
517
+ - Updated dependencies [e2848a2]
518
+ - Updated dependencies [4be1da5]
519
+ - Updated dependencies [d4045ed]
520
+ - Updated dependencies [1f02cd2]
521
+ - @modern-js/utils@2.22.1
522
+ - @modern-js/server-utils@2.22.1
523
+ - @modern-js/prod-server@2.22.1
524
+
525
+ ## 2.22.0
526
+
527
+ ### Minor Changes
528
+
529
+ - cb9e1ec: feat: worker ssr support server hooks
530
+ feat: worker ssr 支持 server hooks
531
+
532
+ ### Patch Changes
533
+
534
+ - Updated dependencies [3d48836]
535
+ - Updated dependencies [5050e8e]
536
+ - Updated dependencies [4991c8a]
537
+ - Updated dependencies [cb9e1ec]
538
+ - Updated dependencies [ea961e7]
539
+ - @modern-js/utils@2.22.0
540
+ - @modern-js/prod-server@2.22.0
541
+ - @modern-js/server-utils@2.22.0
542
+
543
+ ## 2.21.1
544
+
545
+ ### Patch Changes
546
+
547
+ - Updated dependencies [78e3ac8]
548
+ - Updated dependencies [2728724]
549
+ - @modern-js/prod-server@2.21.1
550
+ - @modern-js/server-utils@2.21.1
551
+ - @modern-js/utils@2.21.1
552
+
553
+ ## 2.21.0
554
+
555
+ ### Patch Changes
556
+
557
+ - 26dcf3a: chore: bump typescript to v5 in devDependencies
558
+
559
+ chore: 升级 devDependencies 中的 typescript 版本到 v5
560
+
561
+ - Updated dependencies [cfc5bda]
562
+ - Updated dependencies [e81eeaf]
563
+ - Updated dependencies [26dcf3a]
564
+ - Updated dependencies [056627f]
565
+ - Updated dependencies [0fc15ca]
566
+ - Updated dependencies [43b4e83]
567
+ - Updated dependencies [ad78387]
568
+ - @modern-js/prod-server@2.21.0
569
+ - @modern-js/utils@2.21.0
570
+ - @modern-js/server-utils@2.21.0
571
+
572
+ ## 2.20.0
573
+
574
+ ### Patch Changes
575
+
576
+ - 6b9d90a: chore: remove @babel/runtime. add @swc/helper and enable `externalHelper` config.
577
+ chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 `externalHelpers` 配置
578
+ - 4425fd6: fix: worker ssr context lack some fields & worker ssr must have routerManifest.json
579
+ fix: worker ssr 上下文缺少一些字段,worker ssr 必须有 routerManifest.json 文件
580
+ - Updated dependencies [3c4e0a5]
581
+ - Updated dependencies [6b9d90a]
582
+ - Updated dependencies [4425fd6]
583
+ - @modern-js/utils@2.20.0
584
+ - @modern-js/prod-server@2.20.0
585
+ - @modern-js/server-utils@2.20.0
586
+
587
+ ## 2.19.1
588
+
589
+ ### Patch Changes
590
+
591
+ - @modern-js/prod-server@2.19.1
592
+ - @modern-js/server-utils@2.19.1
593
+ - @modern-js/utils@2.19.1
594
+
595
+ ## 2.19.0
596
+
597
+ ### Patch Changes
598
+
599
+ - Updated dependencies [1134fe2]
600
+ - @modern-js/utils@2.19.0
601
+ - @modern-js/prod-server@2.19.0
602
+ - @modern-js/server-utils@2.19.0
603
+
604
+ ## 2.18.1
605
+
606
+ ### Patch Changes
607
+
608
+ - @modern-js/prod-server@2.18.1
609
+ - @modern-js/server-utils@2.18.1
610
+ - @modern-js/utils@2.18.1
611
+
612
+ ## 2.18.0
613
+
614
+ ### Patch Changes
615
+
616
+ - @modern-js/prod-server@2.18.0
617
+ - @modern-js/server-utils@2.18.0
618
+ - @modern-js/utils@2.18.0
619
+
620
+ ## 2.17.1
621
+
622
+ ### Patch Changes
623
+
624
+ - @modern-js/prod-server@2.17.1
625
+ - @modern-js/server-utils@2.17.1
626
+ - @modern-js/utils@2.17.1
627
+
628
+ ## 2.17.0
629
+
630
+ ### Patch Changes
631
+
632
+ - @modern-js/prod-server@2.17.0
633
+ - @modern-js/server-utils@2.17.0
634
+ - @modern-js/utils@2.17.0
635
+
636
+ ## 2.16.0
637
+
638
+ ### Patch Changes
639
+
640
+ - 4e876ab: chore: package.json include the monorepo-relative directory
641
+
642
+ chore: 在 package.json 中声明 monorepo 的子路径
643
+
644
+ - Updated dependencies [5954330]
645
+ - Updated dependencies [7596520]
646
+ - Updated dependencies [4e876ab]
647
+ - @modern-js/utils@2.16.0
648
+ - @modern-js/prod-server@2.16.0
649
+ - @modern-js/server-utils@2.16.0
650
+
651
+ ## 2.15.0
652
+
653
+ ### Patch Changes
654
+
655
+ - @modern-js/prod-server@2.15.0
656
+ - @modern-js/server-utils@2.15.0
657
+ - @modern-js/utils@2.15.0
658
+
659
+ ## 2.14.0
660
+
661
+ ### Patch Changes
662
+
663
+ - 9321bef: feat: adjust server.worker config to deploy.worker.ssr
664
+
665
+ feat: 调整 server.worker 为 deploy.worker.ssr
666
+
667
+ - Updated dependencies [4779152]
668
+ - Updated dependencies [8a3c693]
669
+ - Updated dependencies [9321bef]
670
+ - Updated dependencies [9b45c58]
671
+ - Updated dependencies [52d0cb1]
672
+ - Updated dependencies [60a81d0]
673
+ - Updated dependencies [dacef96]
674
+ - Updated dependencies [16399fd]
675
+ - @modern-js/utils@2.14.0
676
+ - @modern-js/server-utils@2.14.0
677
+ - @modern-js/prod-server@2.14.0
678
+
679
+ ## 2.13.4
680
+
681
+ ### Patch Changes
682
+
683
+ - @modern-js/prod-server@2.13.4
684
+ - @modern-js/server-utils@2.13.4
685
+ - @modern-js/utils@2.13.4
686
+
687
+ ## 2.13.3
688
+
689
+ ### Patch Changes
690
+
691
+ - @modern-js/prod-server@2.13.3
692
+ - @modern-js/server-utils@2.13.3
693
+ - @modern-js/utils@2.13.3
694
+
695
+ ## 2.13.2
696
+
697
+ ### Patch Changes
698
+
699
+ - @modern-js/prod-server@2.13.2
700
+ - @modern-js/server-utils@2.13.2
701
+ - @modern-js/utils@2.13.2
702
+
703
+ ## 2.13.1
704
+
705
+ ### Patch Changes
706
+
707
+ - @modern-js/prod-server@2.13.1
708
+ - @modern-js/server-utils@2.13.1
709
+ - @modern-js/utils@2.13.1
710
+
711
+ ## 2.13.0
712
+
713
+ ### Patch Changes
714
+
715
+ - @modern-js/prod-server@2.13.0
716
+ - @modern-js/server-utils@2.13.0
717
+ - @modern-js/utils@2.13.0
718
+
719
+ ## 2.12.0
720
+
721
+ ### Patch Changes
722
+
723
+ - Updated dependencies [c2ca6c8]
724
+ - Updated dependencies [7980842]
725
+ - Updated dependencies [6d86e34]
726
+ - Updated dependencies [05493a7]
727
+ - @modern-js/utils@2.12.0
728
+ - @modern-js/prod-server@2.12.0
729
+ - @modern-js/server-utils@2.12.0
730
+
731
+ ## 2.11.0
732
+
733
+ ### Patch Changes
734
+
735
+ - Updated dependencies [cfb058f]
736
+ - Updated dependencies [0bd018b]
737
+ - Updated dependencies [5d624fd]
738
+ - Updated dependencies [e2466a1]
739
+ - Updated dependencies [02bb383]
740
+ - Updated dependencies [381a3b9]
741
+ - Updated dependencies [7a60f10]
742
+ - Updated dependencies [274b2e5]
743
+ - Updated dependencies [b9e1c54]
744
+ - @modern-js/utils@2.11.0
745
+ - @modern-js/prod-server@2.11.0
746
+ - @modern-js/server-utils@2.11.0
747
+
748
+ ## 2.10.0
749
+
750
+ ### Patch Changes
751
+
752
+ - 0da32d0: chore: upgrade jest and puppeteer
753
+ chore: 升级 jest 和 puppeteer 到 latest
754
+ - 0d9962b: fix: add types field in package.json
755
+ fix: 添加 package.json 中的 types 字段
756
+ - Updated dependencies [d8bbf28]
757
+ - Updated dependencies [3e0bd50]
758
+ - Updated dependencies [92d247f]
759
+ - Updated dependencies [0da32d0]
760
+ - Updated dependencies [0d9962b]
761
+ - Updated dependencies [fbefa7e]
762
+ - Updated dependencies [4d54233]
763
+ - Updated dependencies [6db4864]
764
+ - @modern-js/prod-server@2.10.0
765
+ - @modern-js/utils@2.10.0
766
+ - @modern-js/server-utils@2.10.0
767
+
768
+ ## 2.9.0
769
+
770
+ ### Patch Changes
771
+
772
+ - 7035d5c22f: fix: worker router config error when enable bff
773
+
774
+ fix: 修复当开启 BFF 时 worker 路由配置
775
+
776
+ - Updated dependencies [49bb8cd0ef]
777
+ - @modern-js/prod-server@2.9.0
778
+ - @modern-js/server-utils@2.9.0
779
+ - @modern-js/utils@2.9.0
780
+
781
+ ## 2.8.0
782
+
783
+ ### Patch Changes
784
+
785
+ - Updated dependencies [1104a9f18b]
786
+ - Updated dependencies [70d82e1408]
787
+ - Updated dependencies [2c1151271d]
788
+ - Updated dependencies [1f6ca2c7fb]
789
+ - @modern-js/prod-server@2.8.0
790
+ - @modern-js/utils@2.8.0
791
+ - @modern-js/server-utils@2.8.0
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20240410170704",
18
+ "version": "0.0.0-nightly-20240411170705",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "jsnext:source": "./src/index.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -43,20 +43,20 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@swc/helpers": "0.5.3",
46
- "@modern-js/server-utils": "0.0.0-nightly-20240410170704",
47
- "@modern-js/prod-server": "0.0.0-nightly-20240410170704",
48
- "@modern-js/utils": "0.0.0-nightly-20240410170704"
46
+ "@modern-js/server-utils": "0.0.0-nightly-20240411170705",
47
+ "@modern-js/prod-server": "0.0.0-nightly-20240411170705",
48
+ "@modern-js/utils": "0.0.0-nightly-20240411170705"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "^5",
52
52
  "@types/jest": "^29",
53
53
  "@types/node": "^14",
54
54
  "jest": "^29",
55
- "@modern-js/core": "0.0.0-nightly-20240410170704",
56
- "@modern-js/app-tools": "0.0.0-nightly-20240410170704",
57
- "@modern-js/types": "0.0.0-nightly-20240410170704",
58
- "@scripts/jest-config": "0.0.0-nightly-20240410170704",
59
- "@scripts/build": "0.0.0-nightly-20240410170704"
55
+ "@scripts/build": "0.0.0-nightly-20240411170705",
56
+ "@modern-js/core": "0.0.0-nightly-20240411170705",
57
+ "@modern-js/types": "0.0.0-nightly-20240411170705",
58
+ "@scripts/jest-config": "0.0.0-nightly-20240411170705",
59
+ "@modern-js/app-tools": "0.0.0-nightly-20240411170705"
60
60
  },
61
61
  "sideEffects": [
62
62
  "*.css",
package/README.md DELETED
@@ -1,26 +0,0 @@
1
- <p align="center">
2
- <a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
3
- </p>
4
-
5
- <h1 align="center">Modern.js</h1>
6
-
7
- <p align="center">
8
- A Progressive React Framework for modern web development.
9
- </p>
10
-
11
- ## Getting Started
12
-
13
- Please follow [Quick Start](https://modernjs.dev/en/guides/get-started/quick-start) to get started with Modern.js.
14
-
15
- ## Documentation
16
-
17
- - [English Documentation](https://modernjs.dev/en/)
18
- - [中文文档](https://modernjs.dev)
19
-
20
- ## Contributing
21
-
22
- Please read the [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md).
23
-
24
- ## License
25
-
26
- Modern.js is [MIT licensed](https://github.com/web-infra-dev/modern.js/blob/main/LICENSE).
package/dist/cjs/code.js DELETED
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var code_exports = {};
20
- __export(code_exports, {
21
- worker: () => worker
22
- });
23
- module.exports = __toCommonJS(code_exports);
24
- const worker = () => `
25
- // work entry code
26
- import { createHandler } from "@modern-js/prod-server/worker";
27
- import loadableStats from "../loadable-stats.json";
28
- import routeManifest from "../routes-manifest.json";
29
- import { manifest } from "./manifest";
30
-
31
- const handler = createHandler(manifest);
32
-
33
- async function handleRequest(request) {
34
- const options = {
35
- request,
36
- loadableStats,
37
- routeManifest,
38
- }
39
-
40
- const { body, status, headers } = await handler(options);
41
-
42
- return new Response(body, {
43
- status,
44
- headers,
45
- });
46
- }
47
-
48
- addEventListener("fetch", (event) => {
49
- event.respondWith(handleRequest(event.request));
50
- });
51
- `;
52
- // Annotate the CommonJS export names for ESM import in node:
53
- 0 && (module.exports = {
54
- worker
55
- });
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var constants_exports = {};
20
- __export(constants_exports, {
21
- MANIFEST_FILE: () => MANIFEST_FILE,
22
- PKG_FILE: () => PKG_FILE,
23
- SERVER_HOOKS: () => SERVER_HOOKS,
24
- WEB_APP_NAME: () => WEB_APP_NAME,
25
- WORKER_SERVER: () => WORKER_SERVER,
26
- WORKER_SERVER_ENTRY: () => WORKER_SERVER_ENTRY,
27
- WRANGLER_FILE: () => WRANGLER_FILE
28
- });
29
- module.exports = __toCommonJS(constants_exports);
30
- const WORKER_SERVER = "worker-server";
31
- const WORKER_SERVER_ENTRY = "index.js";
32
- const MANIFEST_FILE = "manifest.js";
33
- const PKG_FILE = "package.json";
34
- const WRANGLER_FILE = "wrangler.toml";
35
- const WEB_APP_NAME = "index";
36
- const SERVER_HOOKS = "serverHooks";
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- MANIFEST_FILE,
40
- PKG_FILE,
41
- SERVER_HOOKS,
42
- WEB_APP_NAME,
43
- WORKER_SERVER,
44
- WORKER_SERVER_ENTRY,
45
- WRANGLER_FILE
46
- });
package/dist/cjs/index.js DELETED
@@ -1,132 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var src_exports = {};
30
- __export(src_exports, {
31
- default: () => src_default,
32
- workerPlugin: () => workerPlugin
33
- });
34
- module.exports = __toCommonJS(src_exports);
35
- var import_path = __toESM(require("path"));
36
- var import_utils = require("@modern-js/utils");
37
- var import_constants = require("./constants");
38
- var import_code = require("./code");
39
- const workerPlugin = () => ({
40
- name: "@modern-js/plugin-worker",
41
- setup: (ctx) => {
42
- return {
43
- async config() {
44
- return {
45
- output: {
46
- disableNodePolyfill: false
47
- }
48
- };
49
- },
50
- async afterDev() {
51
- var _configContext_deploy_worker;
52
- const { appDirectory, distDirectory } = ctx.useAppContext();
53
- const configContext = ctx.useResolvedConfigContext();
54
- if (!(0, import_utils.isServiceWorker)(configContext)) {
55
- return;
56
- }
57
- const enableWorkerInWeb = configContext.deploy.enableWorker || ((_configContext_deploy_worker = configContext.deploy.worker) === null || _configContext_deploy_worker === void 0 ? void 0 : _configContext_deploy_worker.web);
58
- writeWorkerServerFile(appDirectory, distDirectory, enableWorkerInWeb);
59
- },
60
- async afterBuild() {
61
- var _configContext_deploy_worker;
62
- const { appDirectory, distDirectory } = ctx.useAppContext();
63
- const configContext = ctx.useResolvedConfigContext();
64
- if (!(0, import_utils.isServiceWorker)(configContext)) {
65
- return;
66
- }
67
- const enableWorkerInWeb = configContext.deploy.enableWorker || ((_configContext_deploy_worker = configContext.deploy.worker) === null || _configContext_deploy_worker === void 0 ? void 0 : _configContext_deploy_worker.web);
68
- writeWorkerServerFile(appDirectory, distDirectory, enableWorkerInWeb);
69
- }
70
- };
71
- }
72
- });
73
- const writeWorkerServerFile = (appDirectory, distDirectory, enableWorkerInWeb) => {
74
- const workServerDir = import_path.default.join(distDirectory, import_constants.WORKER_SERVER);
75
- const serverHookDir = import_path.default.join(appDirectory, import_utils.SERVER_DIR, import_constants.WEB_APP_NAME);
76
- const isExistsServerHook = import_utils.fs.existsSync(`${serverHookDir}.ts`) || import_utils.fs.existsSync(`${serverHookDir}.js`);
77
- const relativePath = import_path.default.relative(workServerDir, serverHookDir);
78
- import_utils.fs.removeSync(workServerDir);
79
- import_utils.fs.mkdirSync(workServerDir);
80
- import_utils.fs.writeFileSync(import_path.default.join(workServerDir, import_constants.WORKER_SERVER_ENTRY), (0, import_code.worker)());
81
- const routeJSON = import_path.default.join(distDirectory, import_utils.ROUTE_SPEC_FILE);
82
- const { routes } = import_utils.fs.readJSONSync(routeJSON);
83
- let importStr = ``;
84
- let pageStr = ``;
85
- const routeArr = [];
86
- if (isExistsServerHook && !enableWorkerInWeb) {
87
- importStr += `import * as ${import_constants.SERVER_HOOKS} from '${relativePath}'
88
- `;
89
- }
90
- routes.forEach((route) => {
91
- if (route.isSSR) {
92
- importStr += `import { serverRender as ${route.entryName}ServerRender } from "../${route.worker}";
93
- `;
94
- }
95
- if (!route.isApi) {
96
- importStr += `import ${route.entryName}template from "../${route.entryPath}";
97
- `;
98
- pageStr += `"${route.urlPath}": {
99
- ${isExistsServerHook && !enableWorkerInWeb ? `${import_constants.SERVER_HOOKS},` : ""}
100
- entryName: "${route.entryName}",
101
- template: ${route.entryName}template,
102
- serverRender: ${route.isSSR ? `${route.entryName}ServerRender` : void 0},
103
- },`;
104
- routeArr.push({
105
- entryName: route.entryName,
106
- isSSR: route.isSSR,
107
- urlPath: route.urlPath
108
- });
109
- }
110
- });
111
- const manifest = `
112
- ${importStr}
113
-
114
- export const manifest = {
115
- pages: {
116
- ${pageStr}
117
- },
118
- routes: ${JSON.stringify(routeArr, null, " ")}
119
- }
120
- `;
121
- import_utils.fs.writeFileSync(import_path.default.join(workServerDir, import_constants.MANIFEST_FILE), manifest);
122
- const pkg = import_utils.fs.readJSONSync(import_path.default.join(appDirectory, import_constants.PKG_FILE));
123
- import_utils.fs.writeFileSync(import_path.default.join(distDirectory, import_constants.WRANGLER_FILE), `name = "${pkg.name}"
124
- main = "${import_path.default.join(import_constants.WORKER_SERVER, import_constants.WORKER_SERVER_ENTRY)}"
125
- compatibility_date = "${(/* @__PURE__ */ new Date()).toISOString().substring(0, 10)}"
126
- `);
127
- };
128
- var src_default = workerPlugin;
129
- // Annotate the CommonJS export names for ESM import in node:
130
- 0 && (module.exports = {
131
- workerPlugin
132
- });
package/dist/esm/code.js DELETED
@@ -1,31 +0,0 @@
1
- const worker = () => `
2
- // work entry code
3
- import { createHandler } from "@modern-js/prod-server/worker";
4
- import loadableStats from "../loadable-stats.json";
5
- import routeManifest from "../routes-manifest.json";
6
- import { manifest } from "./manifest";
7
-
8
- const handler = createHandler(manifest);
9
-
10
- async function handleRequest(request) {
11
- const options = {
12
- request,
13
- loadableStats,
14
- routeManifest,
15
- }
16
-
17
- const { body, status, headers } = await handler(options);
18
-
19
- return new Response(body, {
20
- status,
21
- headers,
22
- });
23
- }
24
-
25
- addEventListener("fetch", (event) => {
26
- event.respondWith(handleRequest(event.request));
27
- });
28
- `;
29
- export {
30
- worker
31
- };
@@ -1,16 +0,0 @@
1
- const WORKER_SERVER = "worker-server";
2
- const WORKER_SERVER_ENTRY = "index.js";
3
- const MANIFEST_FILE = "manifest.js";
4
- const PKG_FILE = "package.json";
5
- const WRANGLER_FILE = "wrangler.toml";
6
- const WEB_APP_NAME = "index";
7
- const SERVER_HOOKS = "serverHooks";
8
- export {
9
- MANIFEST_FILE,
10
- PKG_FILE,
11
- SERVER_HOOKS,
12
- WEB_APP_NAME,
13
- WORKER_SERVER,
14
- WORKER_SERVER_ENTRY,
15
- WRANGLER_FILE
16
- };
package/dist/esm/index.js DELETED
@@ -1,98 +0,0 @@
1
- import path from "path";
2
- import { fs, isServiceWorker, ROUTE_SPEC_FILE, SERVER_DIR } from "@modern-js/utils";
3
- import { MANIFEST_FILE, PKG_FILE, SERVER_HOOKS, WEB_APP_NAME, WORKER_SERVER, WORKER_SERVER_ENTRY, WRANGLER_FILE } from "./constants";
4
- import { worker } from "./code";
5
- const workerPlugin = () => ({
6
- name: "@modern-js/plugin-worker",
7
- setup: (ctx) => {
8
- return {
9
- async config() {
10
- return {
11
- output: {
12
- disableNodePolyfill: false
13
- }
14
- };
15
- },
16
- async afterDev() {
17
- var _configContext_deploy_worker;
18
- const { appDirectory, distDirectory } = ctx.useAppContext();
19
- const configContext = ctx.useResolvedConfigContext();
20
- if (!isServiceWorker(configContext)) {
21
- return;
22
- }
23
- const enableWorkerInWeb = configContext.deploy.enableWorker || ((_configContext_deploy_worker = configContext.deploy.worker) === null || _configContext_deploy_worker === void 0 ? void 0 : _configContext_deploy_worker.web);
24
- writeWorkerServerFile(appDirectory, distDirectory, enableWorkerInWeb);
25
- },
26
- async afterBuild() {
27
- var _configContext_deploy_worker;
28
- const { appDirectory, distDirectory } = ctx.useAppContext();
29
- const configContext = ctx.useResolvedConfigContext();
30
- if (!isServiceWorker(configContext)) {
31
- return;
32
- }
33
- const enableWorkerInWeb = configContext.deploy.enableWorker || ((_configContext_deploy_worker = configContext.deploy.worker) === null || _configContext_deploy_worker === void 0 ? void 0 : _configContext_deploy_worker.web);
34
- writeWorkerServerFile(appDirectory, distDirectory, enableWorkerInWeb);
35
- }
36
- };
37
- }
38
- });
39
- const writeWorkerServerFile = (appDirectory, distDirectory, enableWorkerInWeb) => {
40
- const workServerDir = path.join(distDirectory, WORKER_SERVER);
41
- const serverHookDir = path.join(appDirectory, SERVER_DIR, WEB_APP_NAME);
42
- const isExistsServerHook = fs.existsSync(`${serverHookDir}.ts`) || fs.existsSync(`${serverHookDir}.js`);
43
- const relativePath = path.relative(workServerDir, serverHookDir);
44
- fs.removeSync(workServerDir);
45
- fs.mkdirSync(workServerDir);
46
- fs.writeFileSync(path.join(workServerDir, WORKER_SERVER_ENTRY), worker());
47
- const routeJSON = path.join(distDirectory, ROUTE_SPEC_FILE);
48
- const { routes } = fs.readJSONSync(routeJSON);
49
- let importStr = ``;
50
- let pageStr = ``;
51
- const routeArr = [];
52
- if (isExistsServerHook && !enableWorkerInWeb) {
53
- importStr += `import * as ${SERVER_HOOKS} from '${relativePath}'
54
- `;
55
- }
56
- routes.forEach((route) => {
57
- if (route.isSSR) {
58
- importStr += `import { serverRender as ${route.entryName}ServerRender } from "../${route.worker}";
59
- `;
60
- }
61
- if (!route.isApi) {
62
- importStr += `import ${route.entryName}template from "../${route.entryPath}";
63
- `;
64
- pageStr += `"${route.urlPath}": {
65
- ${isExistsServerHook && !enableWorkerInWeb ? `${SERVER_HOOKS},` : ""}
66
- entryName: "${route.entryName}",
67
- template: ${route.entryName}template,
68
- serverRender: ${route.isSSR ? `${route.entryName}ServerRender` : void 0},
69
- },`;
70
- routeArr.push({
71
- entryName: route.entryName,
72
- isSSR: route.isSSR,
73
- urlPath: route.urlPath
74
- });
75
- }
76
- });
77
- const manifest = `
78
- ${importStr}
79
-
80
- export const manifest = {
81
- pages: {
82
- ${pageStr}
83
- },
84
- routes: ${JSON.stringify(routeArr, null, " ")}
85
- }
86
- `;
87
- fs.writeFileSync(path.join(workServerDir, MANIFEST_FILE), manifest);
88
- const pkg = fs.readJSONSync(path.join(appDirectory, PKG_FILE));
89
- fs.writeFileSync(path.join(distDirectory, WRANGLER_FILE), `name = "${pkg.name}"
90
- main = "${path.join(WORKER_SERVER, WORKER_SERVER_ENTRY)}"
91
- compatibility_date = "${(/* @__PURE__ */ new Date()).toISOString().substring(0, 10)}"
92
- `);
93
- };
94
- var src_default = workerPlugin;
95
- export {
96
- src_default as default,
97
- workerPlugin
98
- };
@@ -1 +0,0 @@
1
- export declare const worker: () => string;
@@ -1,7 +0,0 @@
1
- export declare const WORKER_SERVER = "worker-server";
2
- export declare const WORKER_SERVER_ENTRY = "index.js";
3
- export declare const MANIFEST_FILE = "manifest.js";
4
- export declare const PKG_FILE = "package.json";
5
- export declare const WRANGLER_FILE = "wrangler.toml";
6
- export declare const WEB_APP_NAME = "index";
7
- export declare const SERVER_HOOKS = "serverHooks";
@@ -1,3 +0,0 @@
1
- import type { AppTools, CliPlugin } from '@modern-js/app-tools';
2
- export declare const workerPlugin: () => CliPlugin<AppTools>;
3
- export default workerPlugin;