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

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