@modern-js/utils 2.32.2-alpha.1 → 2.33.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/compiled.js +0 -4
- package/dist/esm/compiled.js +0 -1
- package/dist/esm-node/compiled.js +0 -1
- package/dist/types/compiled.d.ts +0 -1
- package/package.json +4 -4
- package/CHANGELOG.md +0 -1546
- package/dist/compiled/recursive-readdir/index.d.ts +0 -21
- package/dist/compiled/recursive-readdir/index.js +0 -1
- package/dist/compiled/recursive-readdir/license +0 -21
- package/dist/compiled/recursive-readdir/package.json +0 -1
package/CHANGELOG.md
DELETED
@@ -1,1546 +0,0 @@
|
|
1
|
-
# @modern-js/utils
|
2
|
-
|
3
|
-
## 2.32.2-alpha.0
|
4
|
-
|
5
|
-
### Patch Changes
|
6
|
-
|
7
|
-
- bc1f8daf0ff: feat(builder): support custom logger in dev server
|
8
|
-
|
9
|
-
feat(builder): 支持自定义 logger
|
10
|
-
|
11
|
-
## 2.32.1
|
12
|
-
|
13
|
-
## 2.32.0
|
14
|
-
|
15
|
-
### Minor Changes
|
16
|
-
|
17
|
-
- a030aff: feat: support loader context
|
18
|
-
feat: 支持 loader context
|
19
|
-
|
20
|
-
### Patch Changes
|
21
|
-
|
22
|
-
- e5a3fb4: fix: integration test, and export LoaderContext from utils
|
23
|
-
fix: 集成测试,然后导出 LoaderContext
|
24
|
-
- 6076166: fix: packaging errors found by publint
|
25
|
-
|
26
|
-
fix: 修复 publint 检测到的 packaging 问题
|
27
|
-
|
28
|
-
- 3c91100: chore(builder): using unified version of webpack-chain
|
29
|
-
|
30
|
-
chore(builder): 使用统一的 webpack-chain 版本
|
31
|
-
|
32
|
-
- 5255eba: feat: report time for server loader
|
33
|
-
feat: 上报 server loader 执行的时间
|
34
|
-
|
35
|
-
## 2.31.2
|
36
|
-
|
37
|
-
### Patch Changes
|
38
|
-
|
39
|
-
- 15d30abdc66: fix: @modern-js/utils npm sync error
|
40
|
-
|
41
|
-
fix: 修复 @modern-js/utils 包 npm 同步失败
|
42
|
-
|
43
|
-
## 2.31.1
|
44
|
-
|
45
|
-
## 2.31.0
|
46
|
-
|
47
|
-
### Patch Changes
|
48
|
-
|
49
|
-
- 1882366: chore(deps): bump build dependencies
|
50
|
-
|
51
|
-
chore(deps): 升级构建相关依赖
|
52
|
-
|
53
|
-
## 2.30.0
|
54
|
-
|
55
|
-
## 2.29.0
|
56
|
-
|
57
|
-
### Minor Changes
|
58
|
-
|
59
|
-
- cba7675: feat: add a server reporter that report server cost, logger about error, info etc.
|
60
|
-
feat: 添加一个 server 端 reporter,来报告 server 端耗时,报错等
|
61
|
-
|
62
|
-
### Patch Changes
|
63
|
-
|
64
|
-
- e6b5355: feat(utils): change the color of error stacks to gray
|
65
|
-
|
66
|
-
feat(utils): 将 error stack 的颜色改为灰色
|
67
|
-
|
68
|
-
- 93db783: fix(utils): remove hard code 'main'
|
69
|
-
|
70
|
-
fix(utils): 移除 'main' 硬编码
|
71
|
-
|
72
|
-
- 99052ea: feat(builder): improve error stacks if dev compilation failed
|
73
|
-
|
74
|
-
feat(builder): 优化 dev 编译失败时的错误堆栈格式
|
75
|
-
|
76
|
-
- 1d71d2e: fix(@modern-js/utils): add missing url in devServer console
|
77
|
-
fix(@modern-js/utils): 修复 devServer console 中丢失的 url
|
78
|
-
|
79
|
-
## 2.28.0
|
80
|
-
|
81
|
-
### Patch Changes
|
82
|
-
|
83
|
-
- 00b58a7: feat(builder): add an error tip for source.include
|
84
|
-
|
85
|
-
feat(builder): 增加 source.include 常见问题的提示日志
|
86
|
-
|
87
|
-
## 2.27.0
|
88
|
-
|
89
|
-
### Patch Changes
|
90
|
-
|
91
|
-
- 91d14b8: fix(utils): using universal build config and fix compatibility issue
|
92
|
-
|
93
|
-
fix(utils): 使用 universal 构建配置,修复兼容性问题
|
94
|
-
|
95
|
-
- 6d7104d: fix(builder): should not strip error stacks
|
96
|
-
|
97
|
-
fix(builder): 不应该移除错误堆栈
|
98
|
-
|
99
|
-
## 2.26.0
|
100
|
-
|
101
|
-
## 2.25.2
|
102
|
-
|
103
|
-
### Patch Changes
|
104
|
-
|
105
|
-
- 63d8247: fix(utils): incorrect ora & commander exports path
|
106
|
-
|
107
|
-
fix(utils): 修复错误的 ora & commander 导出路径
|
108
|
-
|
109
|
-
- 6651684: fix(app-tools): failed to print error stack
|
110
|
-
|
111
|
-
fix(app-tools): 修复 build 报错时未打印错误堆栈的问题
|
112
|
-
|
113
|
-
- 272646c: feat(builder): bump webpack v5.88, support top level await
|
114
|
-
|
115
|
-
feat(builder): 升级 webpack v5.88, 支持 top level await
|
116
|
-
|
117
|
-
- 358ed24: fix: support configuration ts-node and avoid to register ts-node unnecessarily
|
118
|
-
fix: 支持配置 ts-node,避免对 ts-node 不必要的注册
|
119
|
-
|
120
|
-
## 2.25.1
|
121
|
-
|
122
|
-
### Patch Changes
|
123
|
-
|
124
|
-
- 9f78d0c: fix: react-router-dom version
|
125
|
-
|
126
|
-
fix: 修复 react-router-dom 版本
|
127
|
-
|
128
|
-
## 2.25.0
|
129
|
-
|
130
|
-
### Patch Changes
|
131
|
-
|
132
|
-
- 5732c6a: feat: support for fallback SSR using request header fields
|
133
|
-
feat: 支持通过请求头字段来降级 SSR
|
134
|
-
|
135
|
-
## 2.24.0
|
136
|
-
|
137
|
-
### Patch Changes
|
138
|
-
|
139
|
-
- c882fbd: feat: support config main entry name
|
140
|
-
|
141
|
-
feat: 支持配置主入口名称
|
142
|
-
|
143
|
-
- 4a82c3b: fix: export `@remix-run/router` cjs instead of `react-router-dom`
|
144
|
-
fix: 暴露 `@remix-run/router` 的 cjs 导出代替 `react-router-dom`
|
145
|
-
|
146
|
-
## 2.23.1
|
147
|
-
|
148
|
-
### Patch Changes
|
149
|
-
|
150
|
-
- f08bbfc: feat(builder): add basic Vue 3 plugin
|
151
|
-
|
152
|
-
feat(builder): 增加基础的 Vue 3 插件
|
153
|
-
|
154
|
-
- a6b313a: fix(builder): can't use new React JSX with parent's package.json
|
155
|
-
|
156
|
-
fix(builder): 修复 package.json 在父级目录时无法使用新版 react jsx 的问题
|
157
|
-
|
158
|
-
- 8f2cab0: feat(builder): support using new URL to handle wasm assets
|
159
|
-
|
160
|
-
feat(builder): 支持通过 new URL 来处理 wasm 资源
|
161
|
-
|
162
|
-
## 2.23.0
|
163
|
-
|
164
|
-
### Patch Changes
|
165
|
-
|
166
|
-
- 7e6fb5f: chore: publishConfig add provenance config
|
167
|
-
|
168
|
-
chore: publishConfig 增加 provenance 配置
|
169
|
-
|
170
|
-
- a7a7ad7: chore: move some public code to the utils package
|
171
|
-
chore: 移动一些公共的代码到 utils 包
|
172
|
-
- 6dec7c2: test(utils): reuse the snapshot serializer of vitest config
|
173
|
-
|
174
|
-
test(utils): 复用 vitest 的 snapshot serializer
|
175
|
-
|
176
|
-
- c3216b5: chore: split the scheme into the plugin
|
177
|
-
|
178
|
-
chore: 拆分 scheme 到插件内部
|
179
|
-
|
180
|
-
## 2.22.1
|
181
|
-
|
182
|
-
### Patch Changes
|
183
|
-
|
184
|
-
- e2848a2: fix: support nonce in streaming SSR
|
185
|
-
fix: 在 streaming SSR 中支持 nonce
|
186
|
-
- d4045ed: fix(builder): print https URLs when devServer.https is true
|
187
|
-
|
188
|
-
fix(builder): 当 devServer.https 为 true 时,输出 https 的 URLs
|
189
|
-
|
190
|
-
## 2.22.0
|
191
|
-
|
192
|
-
### Patch Changes
|
193
|
-
|
194
|
-
- 3d48836: chore(deps): fix all missing peer dependencies
|
195
|
-
|
196
|
-
chore(deps): 修复缺少的 peer dependencies
|
197
|
-
|
198
|
-
- 5050e8e: fix: browser should get last element that server insert to html for baseUrl
|
199
|
-
fix: 浏览器需要获取最后一个 Server 注入 HTML 的 baseUrl 数据
|
200
|
-
|
201
|
-
## 2.21.1
|
202
|
-
|
203
|
-
## 2.21.0
|
204
|
-
|
205
|
-
### Minor Changes
|
206
|
-
|
207
|
-
- 056627f: fix(plugin-sass): pollute the `global.location` object
|
208
|
-
fix(plugin-sass): 污染全局对象 `global.location`
|
209
|
-
|
210
|
-
### Patch Changes
|
211
|
-
|
212
|
-
- e81eeaf: refactor: guard react-router version consistency
|
213
|
-
refactor: 保证 react-router 相关包的版本一致性
|
214
|
-
- 26dcf3a: chore: bump typescript to v5 in devDependencies
|
215
|
-
|
216
|
-
chore: 升级 devDependencies 中的 typescript 版本到 v5
|
217
|
-
|
218
|
-
- 0fc15ca: fix: fix `@modern-js/utils` subpath exports
|
219
|
-
fix: 修复 `@modern-js/utils` 子路径导出
|
220
|
-
- 43b4e83: feat: support security.nonce for add nonce attribute on script tag
|
221
|
-
feat: 支持 security.nonce 配置,为 script 标签添加 nonce 属性
|
222
|
-
- ad78387: chore(deps): bump babel-related dependencies to latest version
|
223
|
-
|
224
|
-
chore(deps): 升级 babel 相关依赖到最新版本
|
225
|
-
|
226
|
-
## 2.20.0
|
227
|
-
|
228
|
-
### Patch Changes
|
229
|
-
|
230
|
-
- 3c4e0a5: chore(utils): move generateMetaTags method to builder-shared
|
231
|
-
|
232
|
-
chore(utils): 移动 generateMetaTags 方法到 builder-shared
|
233
|
-
|
234
|
-
- 6b9d90a: chore: remove @babel/runtime. add @swc/helper and enable `externalHelper` config.
|
235
|
-
chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 `externalHelpers` 配置
|
236
|
-
|
237
|
-
## 2.19.1
|
238
|
-
|
239
|
-
## 2.19.0
|
240
|
-
|
241
|
-
### Patch Changes
|
242
|
-
|
243
|
-
- 1134fe2: chore(deps): bump webpack from 5.76.2 to 5.82.1
|
244
|
-
|
245
|
-
chore(deps): 将 webpack 从 5.76.2 升级至 5.82.1
|
246
|
-
|
247
|
-
## 2.18.1
|
248
|
-
|
249
|
-
## 2.18.0
|
250
|
-
|
251
|
-
## 2.17.1
|
252
|
-
|
253
|
-
## 2.17.0
|
254
|
-
|
255
|
-
## 2.16.0
|
256
|
-
|
257
|
-
### Minor Changes
|
258
|
-
|
259
|
-
- 7596520: feat(builder): builder plugin supports specifying relative order via the `pre` / `post` configuration items
|
260
|
-
|
261
|
-
feat(builder): builder 插件支持通过 `pre` / `post` 配置项指定相对顺序
|
262
|
-
|
263
|
-
### Patch Changes
|
264
|
-
|
265
|
-
- 5954330: fix: route id should not include [ or ]
|
266
|
-
fix: 路由 id 不应该包含 [ 或 ]
|
267
|
-
- 4e876ab: chore: package.json include the monorepo-relative directory
|
268
|
-
|
269
|
-
chore: 在 package.json 中声明 monorepo 的子路径
|
270
|
-
|
271
|
-
## 2.15.0
|
272
|
-
|
273
|
-
## 2.14.0
|
274
|
-
|
275
|
-
### Minor Changes
|
276
|
-
|
277
|
-
- 16399fd: feat: support extendPageData hook and last updated time
|
278
|
-
|
279
|
-
feat: 支持 extendPageData 钩子和最后更新时间功能
|
280
|
-
|
281
|
-
### Patch Changes
|
282
|
-
|
283
|
-
- 4779152: fix(utils): the esm format files should be generate for the client
|
284
|
-
|
285
|
-
fix(utils): 应该为客户端使用,生成 esm 格式的文件
|
286
|
-
|
287
|
-
- 9321bef: feat: adjust server.worker config to deploy.worker.ssr
|
288
|
-
|
289
|
-
feat: 调整 server.worker 为 deploy.worker.ssr
|
290
|
-
|
291
|
-
- 9b45c58: fix(app-tools): should not print all addresses when custom dev.host
|
292
|
-
|
293
|
-
fix(app-tools): 修复自定义 dev.host 时会输出多余的 URL 地址的问题
|
294
|
-
|
295
|
-
- 52d0cb1: feat: support config handle of Route
|
296
|
-
feat: 支持配置 Route 的 handle 属性
|
297
|
-
- 60a81d0: feat: add ssr.inlineScript for use inline json instead inline script when ssr
|
298
|
-
feat: 添加 ssr.inlineScript 用于在 ssr 模式下使用内联 json 而不是内联脚本
|
299
|
-
- dacef96: chore: remove plugin-egg and plugin-nest
|
300
|
-
chore: 移除 plugin-egg 和 plugin-nest
|
301
|
-
|
302
|
-
## 2.13.4
|
303
|
-
|
304
|
-
## 2.13.3
|
305
|
-
|
306
|
-
## 2.13.2
|
307
|
-
|
308
|
-
## 2.13.1
|
309
|
-
|
310
|
-
## 2.13.0
|
311
|
-
|
312
|
-
## 2.12.0
|
313
|
-
|
314
|
-
### Patch Changes
|
315
|
-
|
316
|
-
- c2ca6c8: fix(app-tools): failed to restart CLI
|
317
|
-
|
318
|
-
fix(app-tools): 修复 CLI 重启失败的问题
|
319
|
-
|
320
|
-
- 6d86e34: feat(doc-tools): print dev server URLs with base
|
321
|
-
|
322
|
-
feat(doc-tools): 输出 dev server 的 URLs 时补全 base 信息
|
323
|
-
|
324
|
-
## 2.11.0
|
325
|
-
|
326
|
-
### Patch Changes
|
327
|
-
|
328
|
-
- cfb058f: fix(builder): remove duplicated babel-plugin-import
|
329
|
-
|
330
|
-
fix(builder): 移除重复注册的 babel-plugin-import
|
331
|
-
|
332
|
-
- 0bd018b: feat: support use node api run dev & build & deploy command
|
333
|
-
feat: 支持通过 node api 运行 dev & build & deploy 命令
|
334
|
-
- 5d624fd: feat: assets and data prefetching is supported
|
335
|
-
feat: 支持资源和数据预加载
|
336
|
-
- e2466a1: fix: remove nestedRoutes file from @modern-js/utils
|
337
|
-
fix: 将 nestedRoutes 从 @modern-js/utils 中移除
|
338
|
-
- 02bb383: fix: fix lost props when using nested route in micro-front-end mode
|
339
|
-
修复嵌套路由在微前端场景下主子应用传递 props 丢失问题
|
340
|
-
- 381a3b9: feat(utils): move universal utils to the universal folder
|
341
|
-
|
342
|
-
feat(utils): 将运行时使用的 utils 移动到 universal 目录
|
343
|
-
|
344
|
-
- 7a60f10: chore(utils): bump commander from v8 to v10
|
345
|
-
|
346
|
-
chore(utils): 将 commander 从 v8 升级到 v10
|
347
|
-
|
348
|
-
- 274b2e5: fix: For rspack-provider can use `tools.babel` configuration, inline the `@babel/preset-typescript` to handle ts syntax in rspack-provider.
|
349
|
-
fix: 为了 rspack-provider 能给使用 `tools.babel` 配置项,将 `@babel/preset-typescript` 内置进 rspack-provider 去处理 ts 语法。
|
350
|
-
- b9e1c54: fix(utils): remove useless oneOf chainId,avoid user usage error.
|
351
|
-
|
352
|
-
fix(utils): 移除无用的 oneOf chainId,防止用户使用异常
|
353
|
-
|
354
|
-
## 2.10.0
|
355
|
-
|
356
|
-
### Patch Changes
|
357
|
-
|
358
|
-
- 0da32d0: chore: upgrade jest and puppeteer
|
359
|
-
chore: 升级 jest 和 puppeteer 到 latest
|
360
|
-
- fbefa7e: chore(deps): bump webpack from 5.75.0 to 5.76.2
|
361
|
-
|
362
|
-
chore(deps): 将 webpack 从 5.75.0 升级至 5.76.2
|
363
|
-
|
364
|
-
- 4d54233: chore(builder): update rspack & show rspack format error
|
365
|
-
|
366
|
-
chore(builder): 更新 rspack 版本 & 优化 rspack 错误日志输出
|
367
|
-
|
368
|
-
- 6db4864: feat: add output.splitRouteChunks
|
369
|
-
feat: 添加 output.splitRouteChunks 配置
|
370
|
-
|
371
|
-
## 2.9.0
|
372
|
-
|
373
|
-
## 2.8.0
|
374
|
-
|
375
|
-
### Patch Changes
|
376
|
-
|
377
|
-
- 1104a9f18b: feat: support start web service only
|
378
|
-
feat: 支持只启动 web 服务
|
379
|
-
- 1f6ca2c7fb: fix: nested routes in ssg
|
380
|
-
fix: 修复嵌套路由在 SSG 中的问题
|
381
|
-
|
382
|
-
## 2.7.0
|
383
|
-
|
384
|
-
### Minor Changes
|
385
|
-
|
386
|
-
- dcad887024: feat: support deferred data for streaming ssr
|
387
|
-
feat: 流式渲染支持 deferred data
|
388
|
-
- 84bfb439b8: feat: support custom apiDir, lambdaDir and style of writing for bff
|
389
|
-
feat: 支持定制 api 目录,lambda 目录,bff 的写法
|
390
|
-
|
391
|
-
### Patch Changes
|
392
|
-
|
393
|
-
- 0f15fc597c: fix: remove nestedRoutes export
|
394
|
-
fix: 移除 nestedRoutes 导出
|
395
|
-
- a4672f7c16: fix: lock @modern-js/utils/ssr by webpack alias
|
396
|
-
fix: 通过 webpack 别名将 @modern-js/utils/ssr 锁到同一版本
|
397
|
-
- 7fff9020e1: chore: make file naming consistent
|
398
|
-
|
399
|
-
chore: 统一文件命名为小驼峰格式
|
400
|
-
|
401
|
-
## 2.6.0
|
402
|
-
|
403
|
-
### Patch Changes
|
404
|
-
|
405
|
-
- e1f799e: fix: use 0.0.0.0 instead of localhost as the default dev host
|
406
|
-
fix: 使用 0.0.0.0 代替 localhost 作为默认的 dev host
|
407
|
-
- 7915ab3: fix: should not assign nestedRoutesEntry to entrypoint if use v5 router
|
408
|
-
fix: 使用 v5 路由的时候,不应该在 entrypoint 上挂载 nestedRoutesEntry 属性
|
409
|
-
- 0fe658a: feat(builder): support passing URL to html.favicon
|
410
|
-
|
411
|
-
feat(builder): 支持在 html.favicon 中直接传入 URL
|
412
|
-
|
413
|
-
## 2.5.0
|
414
|
-
|
415
|
-
### Patch Changes
|
416
|
-
|
417
|
-
- 30614fa: chore: modify package.json entry fields and build config
|
418
|
-
chore: 更改 package.json entry 字段以及构建配置
|
419
|
-
- 1b0ce87: chore: bump caniuse-lite to latest version
|
420
|
-
|
421
|
-
chore: 升级 caniuse-lite 到最新版
|
422
|
-
|
423
|
-
- 11c053b: feat: ssr support deploy worker
|
424
|
-
|
425
|
-
feat: ssr 支持边缘部署
|
426
|
-
|
427
|
-
## 2.4.0
|
428
|
-
|
429
|
-
### Patch Changes
|
430
|
-
|
431
|
-
- 98a2733: fix(tailwind): fix webpack cache not work when using twin.macro
|
432
|
-
|
433
|
-
fix(tailwind): 修复使用 twin.macro 时 webpack 缓存不生效的问题
|
434
|
-
|
435
|
-
- 8c2db5f: feat(core): improve support for exporting a function in config file
|
436
|
-
|
437
|
-
feat(core): 完善对配置文件中导出函数的支持
|
438
|
-
|
439
|
-
## 2.3.0
|
440
|
-
|
441
|
-
### Patch Changes
|
442
|
-
|
443
|
-
- fd5a3ed: fix: failed to exit new command
|
444
|
-
|
445
|
-
fix: 修复 new 命令执行完成后未退出进程的问题
|
446
|
-
|
447
|
-
- 6ca1c0b: fix: .ejs is not a valid config file extension
|
448
|
-
|
449
|
-
fix: 修复配置文件使用 .ejs 作为后缀的问题
|
450
|
-
|
451
|
-
- 89b6739: fix(utils): fix pre-bundled ajv types
|
452
|
-
|
453
|
-
fix(utils): 修复预打包后的 ajv 中的类型问题
|
454
|
-
|
455
|
-
## 2.2.0
|
456
|
-
|
457
|
-
### Patch Changes
|
458
|
-
|
459
|
-
- 49eff0c: fix(utils): bump json5 to fix security issue
|
460
|
-
|
461
|
-
fix(utils): 升级 json5 以修复安全问题
|
462
|
-
|
463
|
-
## 2.1.0
|
464
|
-
|
465
|
-
### Minor Changes
|
466
|
-
|
467
|
-
- 8a9482c: feat(builder): add new option `html.tags` & `html.tagsByEntries`
|
468
|
-
|
469
|
-
feat(builder): 添加新的配置项 `html.tags` 和 `html.tagsByEntries`
|
470
|
-
|
471
|
-
### Patch Changes
|
472
|
-
|
473
|
-
- 837620c: fix: Disable detect tsconfig.json
|
474
|
-
fix: 禁用探测 tsconfig.json
|
475
|
-
|
476
|
-
## 2.0.2
|
477
|
-
|
478
|
-
## 2.0.1
|
479
|
-
|
480
|
-
## 2.0.0
|
481
|
-
|
482
|
-
### Major Changes
|
483
|
-
|
484
|
-
- dda38c9c3e: chore: v2
|
485
|
-
|
486
|
-
### Minor Changes
|
487
|
-
|
488
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
489
|
-
feat: modernjs 接入 builder 构建
|
490
|
-
- bbe4c4ab64: feat: add @modern-js/plugin-swc
|
491
|
-
|
492
|
-
feat: 新增 @modern-js/plugin-swc 插件
|
493
|
-
|
494
|
-
### Patch Changes
|
495
|
-
|
496
|
-
- ffb2ed4: feat:
|
497
|
-
|
498
|
-
1. change storybook runtime logic
|
499
|
-
2. export runtime api define from runtime module
|
500
|
-
3. refactor defineConfig in module-tools
|
501
|
-
|
502
|
-
feat:
|
503
|
-
|
504
|
-
1. 更改 Storybook 对于 Runtime API 的处理逻辑
|
505
|
-
2. 从 @modern-js/runtime 导出 Runtime API 的用户配置
|
506
|
-
3. 重构 module-tools 的 defineConfig
|
507
|
-
|
508
|
-
## 2.0.0-beta.7
|
509
|
-
|
510
|
-
### Major Changes
|
511
|
-
|
512
|
-
- dda38c9c3e: chore: v2
|
513
|
-
|
514
|
-
### Minor Changes
|
515
|
-
|
516
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
517
|
-
feat: modernjs 接入 builder 构建
|
518
|
-
- bbe4c4ab64: feat: add @modern-js/plugin-swc
|
519
|
-
|
520
|
-
feat: 新增 @modern-js/plugin-swc 插件
|
521
|
-
|
522
|
-
## 2.0.0-beta.6
|
523
|
-
|
524
|
-
### Major Changes
|
525
|
-
|
526
|
-
- dda38c9c3e: chore: v2
|
527
|
-
|
528
|
-
### Minor Changes
|
529
|
-
|
530
|
-
- 92f0eade39: feat:
|
531
|
-
|
532
|
-
1. core: 增加 test 函数
|
533
|
-
2. module plugins: 增加 `babel`, `mainField`, `target` 插件
|
534
|
-
3. storybook: 修改部分逻辑并且增加 tspath webpack 插件
|
535
|
-
4. 增加 designSystem 配置
|
536
|
-
|
537
|
-
feat:
|
538
|
-
|
539
|
-
1. core: add test method
|
540
|
-
2. module plugins: add `babel`, `mainField`, `target` plugin
|
541
|
-
3. storybook: change some logic and add tspath webpack plugin
|
542
|
-
4. add `designSystem` config
|
543
|
-
|
544
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
545
|
-
feat: modernjs 接入 builder 构建
|
546
|
-
- d5a31df781: refactor: remove unbundle configs and types
|
547
|
-
|
548
|
-
refactor: 移除 unbundle 相关的配置项和类型定义
|
549
|
-
|
550
|
-
- b710adb843: feat: extract the data loader
|
551
|
-
feat: 提取 data loader
|
552
|
-
- bbe4c4ab64: feat: add @modern-js/plugin-swc
|
553
|
-
|
554
|
-
feat: 新增 @modern-js/plugin-swc 插件
|
555
|
-
|
556
|
-
- e4558a0bc4: feat:
|
557
|
-
|
558
|
-
1. add `runBin` function
|
559
|
-
2. config internal plugins constants in the app/module/doc tools
|
560
|
-
3. add app/module/doc tools internal plugins
|
561
|
-
|
562
|
-
feat:
|
563
|
-
|
564
|
-
1. 添加 `runBin` 函数
|
565
|
-
2. 在 app/module/doc tools 里配置内部插件
|
566
|
-
3. 增加 app/module/doc tools 使用的插件常量
|
567
|
-
|
568
|
-
- 543be9558e: feat: compile server loader and support handle loader request
|
569
|
-
feat: 编译 server loader 并支持处理 loader 的请求
|
570
|
-
|
571
|
-
### Patch Changes
|
572
|
-
|
573
|
-
- 7879e8f711: refactor: remove enableModernMode config
|
574
|
-
|
575
|
-
refactor: 不再支持 enableModernMode 配置项
|
576
|
-
|
577
|
-
- 6aca875011: fix: remove phantom webpack dependencies in node-polyfill and webpack-dev-middleware
|
578
|
-
fix: 移除 node-polyfill 插件和 webpack-dev-middleware 中对 webpack 的幻影依赖
|
579
|
-
- 2e6031955e: fix: some optimizations for router and loader
|
580
|
-
fix: 一些 router 和 loader 的优化
|
581
|
-
q
|
582
|
-
- 7b7d12cf8f: refactor: Substract getCorejsVersion to the util package, so that swc plugin can reuse it.
|
583
|
-
refactor: 将 getCorejsVersion 提取到 util 包,让 swc 插件可以复用其逻辑
|
584
|
-
- 7efeed4: feat: add swc_polyfill_checker plugin.
|
585
|
-
feat: 加入了 swc 检查 polyfill 插件.
|
586
|
-
- cc971eabfc: refactor: move server plugin load logic in `@modern-js/core`
|
587
|
-
refactor:移除在 `@modern-js/core` 中的 server 插件加载逻辑
|
588
|
-
- 5b9049f2e9: feat: inject async js chunk when streaming ssr
|
589
|
-
feat: streaming ssr 时, 注入 async 类型的 js chunk
|
590
|
-
- 92004d1906: feat: support load chunks parallelly
|
591
|
-
feat: 支持并行加载 chunks
|
592
|
-
- b8bbe036c7: feat: change type logic
|
593
|
-
feat: 修改类型相关的逻辑
|
594
|
-
- 3bbea92b2a: feat: support Hook、Middleware new API
|
595
|
-
feat: 支持 Hook、Middleware 的新 API
|
596
|
-
- ea7cf06257: chore: bump webpack/babel-loader/postcss-loader/tsconfig-paths
|
597
|
-
|
598
|
-
chore: 升级 webpack/babel-loader/postcss-loader/tsconfig-paths 版本
|
599
|
-
|
600
|
-
- abf3421a75: fix(dev-server): isDepsExists add non pkgPath judege
|
601
|
-
|
602
|
-
修复: isDepsExists 方法添加 package.json 不存在的兜底
|
603
|
-
|
604
|
-
- 14b712da84: fix: use consistent alias type and default value across packages
|
605
|
-
|
606
|
-
fix: 在各个包中使用一致的 alias 类型定义和默认值
|
607
|
-
|
608
|
-
## 2.0.0-beta.4
|
609
|
-
|
610
|
-
### Major Changes
|
611
|
-
|
612
|
-
- dda38c9c3e: chore: v2
|
613
|
-
|
614
|
-
### Minor Changes
|
615
|
-
|
616
|
-
- 92f0eade39: feat:
|
617
|
-
|
618
|
-
1. core: 增加 test 函数
|
619
|
-
2. module plugins: 增加 `babel`, `mainField`, `target` 插件
|
620
|
-
3. storybook: 修改部分逻辑并且增加 tspath webpack 插件
|
621
|
-
4. 增加 designSystem 配置
|
622
|
-
|
623
|
-
feat:
|
624
|
-
|
625
|
-
1. core: add test method
|
626
|
-
2. module plugins: add `babel`, `mainField`, `target` plugin
|
627
|
-
3. storybook: change some logic and add tspath webpack plugin
|
628
|
-
4. add `designSystem` config
|
629
|
-
|
630
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
631
|
-
feat: modernjs 接入 builder 构建
|
632
|
-
- d5a31df781: refactor: remove unbundle configs and types
|
633
|
-
|
634
|
-
refactor: 移除 unbundle 相关的配置项和类型定义
|
635
|
-
|
636
|
-
- b710adb843: feat: extract the data loader
|
637
|
-
feat: 提取 data loader
|
638
|
-
- bbe4c4a: feat: add @modern-js/plugin-swc
|
639
|
-
|
640
|
-
feat: 新增 @modern-js/plugin-swc 插件
|
641
|
-
|
642
|
-
- e4558a0: feat:
|
643
|
-
|
644
|
-
1. add `runBin` function
|
645
|
-
2. config internal plugins constants in the app/module/doc tools
|
646
|
-
3. add app/module/doc tools internal plugins
|
647
|
-
|
648
|
-
feat:
|
649
|
-
|
650
|
-
1. 添加 `runBin` 函数
|
651
|
-
2. 在 app/module/doc tools 里配置内部插件
|
652
|
-
3. 增加 app/module/doc tools 使用的插件常量
|
653
|
-
|
654
|
-
- 543be9558e: feat: compile server loader and support handle loader request
|
655
|
-
feat: 编译 server loader 并支持处理 loader 的请求
|
656
|
-
|
657
|
-
### Patch Changes
|
658
|
-
|
659
|
-
- 7879e8f: refactor: remove enableModernMode config
|
660
|
-
|
661
|
-
refactor: 不再支持 enableModernMode 配置项
|
662
|
-
|
663
|
-
- 6aca875: fix: remove phantom webpack dependencies in node-polyfill and webpack-dev-middleware
|
664
|
-
fix: 移除 node-polyfill 插件和 webpack-dev-middleware 中对 webpack 的幻影依赖
|
665
|
-
- 2e6031955e: fix: some optimizations for router and loader
|
666
|
-
fix: 一些 router 和 loader 的优化
|
667
|
-
q
|
668
|
-
- 7b7d12c: refactor: Substract getCorejsVersion to the util package, so that swc plugin can reuse it.
|
669
|
-
refactor: 将 getCorejsVersion 提取到 util 包,让 swc 插件可以复用其逻辑
|
670
|
-
- cc971eabfc: refactor: move server plugin load logic in `@modern-js/core`
|
671
|
-
refactor:移除在 `@modern-js/core` 中的 server 插件加载逻辑
|
672
|
-
- 5b9049f2e9: feat: inject async js chunk when streaming ssr
|
673
|
-
feat: streaming ssr 时, 注入 async 类型的 js chunk
|
674
|
-
- 92004d1906: feat: support load chunks parallelly
|
675
|
-
feat: 支持并行加载 chunks
|
676
|
-
- b8bbe036c7: feat: change type logic
|
677
|
-
feat: 修改类型相关的逻辑
|
678
|
-
- 3bbea92b2a: feat: support Hook、Middleware new API
|
679
|
-
feat: 支持 Hook、Middleware 的新 API
|
680
|
-
- ea7cf06: chore: bump webpack/babel-loader/postcss-loader/tsconfig-paths
|
681
|
-
|
682
|
-
chore: 升级 webpack/babel-loader/postcss-loader/tsconfig-paths 版本
|
683
|
-
|
684
|
-
- abf3421a75: fix(dev-server): isDepsExists add non pkgPath judege
|
685
|
-
|
686
|
-
修复: isDepsExists 方法添加 package.json 不存在的兜底
|
687
|
-
|
688
|
-
- 14b712da84: fix: use consistent alias type and default value across packages
|
689
|
-
|
690
|
-
fix: 在各个包中使用一致的 alias 类型定义和默认值
|
691
|
-
|
692
|
-
## 2.0.0-beta.3
|
693
|
-
|
694
|
-
### Major Changes
|
695
|
-
|
696
|
-
- dda38c9c3e: chore: v2
|
697
|
-
|
698
|
-
### Minor Changes
|
699
|
-
|
700
|
-
- 92f0eade39: feat:
|
701
|
-
|
702
|
-
1. core: 增加 test 函数
|
703
|
-
2. module plugins: 增加 `babel`, `mainField`, `target` 插件
|
704
|
-
3. storybook: 修改部分逻辑并且增加 tspath webpack 插件
|
705
|
-
4. 增加 designSystem 配置
|
706
|
-
|
707
|
-
feat:
|
708
|
-
|
709
|
-
1. core: add test method
|
710
|
-
2. module plugins: add `babel`, `mainField`, `target` plugin
|
711
|
-
3. storybook: change some logic and add tspath webpack plugin
|
712
|
-
4. add `designSystem` config
|
713
|
-
|
714
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
715
|
-
feat: modernjs 接入 builder 构建
|
716
|
-
- d5a31df781: refactor: remove unbundle configs and types
|
717
|
-
|
718
|
-
refactor: 移除 unbundle 相关的配置项和类型定义
|
719
|
-
|
720
|
-
- b710adb: feat: extract the data loader
|
721
|
-
feat: 提取 data loader
|
722
|
-
- bbe4c4a: feat: add @modern-js/plugin-swc
|
723
|
-
|
724
|
-
feat: 新增 @modern-js/plugin-swc 插件
|
725
|
-
|
726
|
-
- e4558a0: feat:
|
727
|
-
|
728
|
-
1. add `runBin` function
|
729
|
-
2. config internal plugins constants in the app/module/doc tools
|
730
|
-
3. add app/module/doc tools internal plugins
|
731
|
-
|
732
|
-
feat:
|
733
|
-
|
734
|
-
1. 添加 `runBin` 函数
|
735
|
-
2. 在 app/module/doc tools 里配置内部插件
|
736
|
-
3. 增加 app/module/doc tools 使用的插件常量
|
737
|
-
|
738
|
-
- 543be9558e: feat: compile server loader and support handle loader request
|
739
|
-
feat: 编译 server loader 并支持处理 loader 的请求
|
740
|
-
|
741
|
-
### Patch Changes
|
742
|
-
|
743
|
-
- 6aca875: fix: remove phantom webpack dependencies in node-polyfill and webpack-dev-middleware
|
744
|
-
fix: 移除 node-polyfill 插件和 webpack-dev-middleware 中对 webpack 的幻影依赖
|
745
|
-
- 2e60319: fix: some optimizations for router and loader
|
746
|
-
fix: 一些 router 和 loader 的优化
|
747
|
-
q
|
748
|
-
- cc971eabfc: refactor: move server plugin load logic in `@modern-js/core`
|
749
|
-
refactor:移除在 `@modern-js/core` 中的 server 插件加载逻辑
|
750
|
-
- 5b9049f2e9: feat: inject async js chunk when streaming ssr
|
751
|
-
feat: streaming ssr 时, 注入 async 类型的 js chunk
|
752
|
-
- 92004d1906: feat: support load chunks parallelly
|
753
|
-
feat: 支持并行加载 chunks
|
754
|
-
- b8bbe036c7: feat: change type logic
|
755
|
-
feat: 修改类型相关的逻辑
|
756
|
-
- 3bbea92b2a: feat: support Hook、Middleware new API
|
757
|
-
feat: 支持 Hook、Middleware 的新 API
|
758
|
-
- ea7cf06: chore: bump webpack/babel-loader/postcss-loader/tsconfig-paths
|
759
|
-
|
760
|
-
chore: 升级 webpack/babel-loader/postcss-loader/tsconfig-paths 版本
|
761
|
-
|
762
|
-
- abf3421a75: fix(dev-server): isDepsExists add non pkgPath judege
|
763
|
-
|
764
|
-
修复: isDepsExists 方法添加 package.json 不存在的兜底
|
765
|
-
|
766
|
-
- 14b712da84: fix: use consistent alias type and default value across packages
|
767
|
-
|
768
|
-
fix: 在各个包中使用一致的 alias 类型定义和默认值
|
769
|
-
|
770
|
-
## 2.0.0-beta.2
|
771
|
-
|
772
|
-
### Major Changes
|
773
|
-
|
774
|
-
- dda38c9c3e: chore: v2
|
775
|
-
|
776
|
-
### Minor Changes
|
777
|
-
|
778
|
-
- 92f0ead: feat:
|
779
|
-
|
780
|
-
1. core: 增加 test 函数
|
781
|
-
2. module plugins: 增加 `babel`, `mainField`, `target` 插件
|
782
|
-
3. storybook: 修改部分逻辑并且增加 tspath webpack 插件
|
783
|
-
4. 增加 designSystem 配置
|
784
|
-
|
785
|
-
feat:
|
786
|
-
|
787
|
-
1. core: add test method
|
788
|
-
2. module plugins: add `babel`, `mainField`, `target` plugin
|
789
|
-
3. storybook: change some logic and add tspath webpack plugin
|
790
|
-
4. add `designSystem` config
|
791
|
-
|
792
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
793
|
-
feat: modernjs 接入 builder 构建
|
794
|
-
- d5a31df781: refactor: remove unbundle configs and types
|
795
|
-
|
796
|
-
refactor: 移除 unbundle 相关的配置项和类型定义
|
797
|
-
|
798
|
-
- 543be9558e: feat: compile server loader and support handle loader request
|
799
|
-
feat: 编译 server loader 并支持处理 loader 的请求
|
800
|
-
|
801
|
-
### Patch Changes
|
802
|
-
|
803
|
-
- cc971eabfc: refactor: move server plugin load logic in `@modern-js/core`
|
804
|
-
refactor:移除在 `@modern-js/core` 中的 server 插件加载逻辑
|
805
|
-
- 5b9049f2e9: feat: inject async js chunk when streaming ssr
|
806
|
-
feat: streaming ssr 时, 注入 async 类型的 js chunk
|
807
|
-
- 92004d1: feat: support load chunks parallelly
|
808
|
-
feat: 支持并行加载 chunks
|
809
|
-
- b8bbe036c7: feat: change type logic
|
810
|
-
feat: 修改类型相关的逻辑
|
811
|
-
- 3bbea92b2a: feat: support Hook、Middleware new API
|
812
|
-
feat: 支持 Hook、Middleware 的新 API
|
813
|
-
- abf3421a75: fix(dev-server): isDepsExists add non pkgPath judege
|
814
|
-
|
815
|
-
修复: isDepsExists 方法添加 package.json 不存在的兜底
|
816
|
-
|
817
|
-
- 14b712da84: fix: use consistent alias type and default value across packages
|
818
|
-
|
819
|
-
fix: 在各个包中使用一致的 alias 类型定义和默认值
|
820
|
-
|
821
|
-
## 2.0.0-beta.1
|
822
|
-
|
823
|
-
### Major Changes
|
824
|
-
|
825
|
-
- dda38c9: chore: v2
|
826
|
-
|
827
|
-
### Minor Changes
|
828
|
-
|
829
|
-
- 92f0ead: feat:
|
830
|
-
|
831
|
-
1. core: 增加 test 函数
|
832
|
-
2. module plugins: 增加 `babel`, `mainField`, `target` 插件
|
833
|
-
3. storybook: 修改部分逻辑并且增加 tspath webpack 插件
|
834
|
-
4. 增加 designSystem 配置
|
835
|
-
|
836
|
-
feat:
|
837
|
-
|
838
|
-
1. core: add test method
|
839
|
-
2. module plugins: add `babel`, `mainField`, `target` plugin
|
840
|
-
3. storybook: change some logic and add tspath webpack plugin
|
841
|
-
4. add `designSystem` config
|
842
|
-
|
843
|
-
- edd1cfb1af: feat: modernjs Access builder compiler
|
844
|
-
feat: modernjs 接入 builder 构建
|
845
|
-
- d5a31df781: refactor: remove unbundle configs and types
|
846
|
-
|
847
|
-
refactor: 移除 unbundle 相关的配置项和类型定义
|
848
|
-
|
849
|
-
- 543be9558e: feat: compile server loader and support handle loader request
|
850
|
-
feat: 编译 server loader 并支持处理 loader 的请求
|
851
|
-
|
852
|
-
### Patch Changes
|
853
|
-
|
854
|
-
- cc971eabfc: refactor: move server plugin load logic in `@modern-js/core`
|
855
|
-
refactor:移除在 `@modern-js/core` 中的 server 插件加载逻辑
|
856
|
-
- 5b9049f: feat: inject async js chunk when streaming ssr
|
857
|
-
feat: streaming ssr 时, 注入 async 类型的 js chunk
|
858
|
-
- 92004d1: feat: support load chunks parallelly
|
859
|
-
feat: 支持并行加载 chunks
|
860
|
-
- b8bbe036c7: feat: change type logic
|
861
|
-
feat: 修改类型相关的逻辑
|
862
|
-
- 3bbea92b2a: feat: support Hook、Middleware new API
|
863
|
-
feat: 支持 Hook、Middleware 的新 API
|
864
|
-
- abf3421: fix(dev-server): isDepsExists add non pkgPath judege
|
865
|
-
|
866
|
-
修复: isDepsExists 方法添加 package.json 不存在的兜底
|
867
|
-
|
868
|
-
- 14b712d: fix: use consistent alias type and default value across packages
|
869
|
-
|
870
|
-
fix: 在各个包中使用一致的 alias 类型定义和默认值
|
871
|
-
|
872
|
-
## 2.0.0-beta.0
|
873
|
-
|
874
|
-
### Major Changes
|
875
|
-
|
876
|
-
- dda38c9: chore: v2
|
877
|
-
|
878
|
-
### Minor Changes
|
879
|
-
|
880
|
-
- edd1cfb1a: feat: modernjs Access builder compiler
|
881
|
-
feat: modernjs 接入 builder 构建
|
882
|
-
- d5a31df78: refactor: remove unbundle configs and types
|
883
|
-
|
884
|
-
refactor: 移除 unbundle 相关的配置项和类型定义
|
885
|
-
|
886
|
-
- 543be95: feat: compile server loader and support handle loader request
|
887
|
-
feat: 编译 server loader 并支持处理 loader 的请求
|
888
|
-
|
889
|
-
### Patch Changes
|
890
|
-
|
891
|
-
- cc971eabf: refactor: move server plugin load logic in `@modern-js/core`
|
892
|
-
refactor:移除在 `@modern-js/core` 中的 server 插件加载逻辑
|
893
|
-
- 5b9049f: feat: inject async js chunk when streaming ssr
|
894
|
-
feat: streaming ssr 时, 注入 async 类型的 js chunk
|
895
|
-
- b8bbe036c: feat: change type logic
|
896
|
-
feat: 修改类型相关的逻辑
|
897
|
-
- 3bbea92b2: feat: support Hook、Middleware new API
|
898
|
-
feat: 支持 Hook、Middleware 的新 API
|
899
|
-
- abf3421: fix(dev-server): isDepsExists add non pkgPath judege
|
900
|
-
|
901
|
-
修复: isDepsExists 方法添加 package.json 不存在的兜底
|
902
|
-
|
903
|
-
- 14b712d: fix: use consistent alias type and default value across packages
|
904
|
-
|
905
|
-
fix: 在各个包中使用一致的 alias 类型定义和默认值
|
906
|
-
|
907
|
-
## 1.21.2
|
908
|
-
|
909
|
-
## 1.21.1
|
910
|
-
|
911
|
-
## 1.21.0
|
912
|
-
|
913
|
-
## 1.20.1
|
914
|
-
|
915
|
-
### Patch Changes
|
916
|
-
|
917
|
-
- 49515c5: fix(utils): failed to call logger.success method
|
918
|
-
|
919
|
-
fix(utils): 修复调用 logger.success 出现异常的问题
|
920
|
-
|
921
|
-
## 1.20.0
|
922
|
-
|
923
|
-
### Patch Changes
|
924
|
-
|
925
|
-
- d5d570b: feat: optimize the logger of @modern-js/utils, remove builder logger
|
926
|
-
|
927
|
-
feat: 优化 @modern-js/utils 的 logger 格式, 移除 builder 内置的 logger
|
928
|
-
|
929
|
-
- 4ddc185: chore(builder): bump webpack to 5.74.0
|
930
|
-
|
931
|
-
chore(builder): 升级 webpack 到 5.74.0 版本
|
932
|
-
|
933
|
-
- df8ee7e: fix(utils): failed to resolve execa
|
934
|
-
|
935
|
-
fix(utils): 修复找不到 execa 模块的问题
|
936
|
-
|
937
|
-
- 8c05089: fix: support monorepo deploy in pnpm 7
|
938
|
-
fix: 修复 monorepo deploy 命令在 pnpm 7 下的问题
|
939
|
-
|
940
|
-
## 1.19.0
|
941
|
-
|
942
|
-
## 1.18.1
|
943
|
-
|
944
|
-
### Patch Changes
|
945
|
-
|
946
|
-
- 9fcfbd4: chore: add assets retry plugin
|
947
|
-
|
948
|
-
chore: 增加资源重试插件
|
949
|
-
|
950
|
-
- 6c2c745: chore(utils): add RULE.JS_DATA_URI to CHAIN_ID
|
951
|
-
|
952
|
-
chore(utils): CHAIN_ID 增加 RULE.JS_DATA_URI 值
|
953
|
-
|
954
|
-
## 1.18.0
|
955
|
-
|
956
|
-
### Minor Changes
|
957
|
-
|
958
|
-
- 5227370: feat: add builder plugin subresource-integrity
|
959
|
-
feat: 新增 builder 插件 subresource-integrity
|
960
|
-
|
961
|
-
### Patch Changes
|
962
|
-
|
963
|
-
- 8280920: feat: change hmr sock path to /webpack-hmr
|
964
|
-
|
965
|
-
feat: 热更新 socket 请求的 path 修改为 /webpack-hmr
|
966
|
-
|
967
|
-
- 7928bae: chore: add inspector plugin
|
968
|
-
|
969
|
-
chore: 增加 Inspector 插件
|
970
|
-
|
971
|
-
## 1.17.0
|
972
|
-
|
973
|
-
### Minor Changes
|
974
|
-
|
975
|
-
- 1b9176f: feat(utils): add TOML to CHAIN_ID.RULE
|
976
|
-
|
977
|
-
feat(utils): 向 CHAIN_ID.RULE 中增加新常量 TOML
|
978
|
-
|
979
|
-
### Patch Changes
|
980
|
-
|
981
|
-
- 77d3a38: feat: runtime export utils not write d.ts file
|
982
|
-
|
983
|
-
feat: runtime 生成 export 函数不再支持生成 d.ts 文件
|
984
|
-
|
985
|
-
- 151329d: chore(dev-server): no longer depend on @modern-js/webpack
|
986
|
-
|
987
|
-
chore(dev-server): 不再依赖 @modern-js/webpack
|
988
|
-
|
989
|
-
- 5af9472: feat(utils): add PUG to CHAIN_ID
|
990
|
-
|
991
|
-
feat(utils): CHAIN_ID 常量新增 PUG 值
|
992
|
-
|
993
|
-
- 6b6a534: chore: export getAddressUrls method
|
994
|
-
|
995
|
-
chore: 导出 getAddressUrls 方法
|
996
|
-
|
997
|
-
- 6b43a2b: feat(utils): add SVG_ASSET to CHAIN_ID
|
998
|
-
|
999
|
-
feat(utils): CHAIN_ID 常量新增 SVG_ASSET 值
|
1000
|
-
|
1001
|
-
- a7be124: feat(utils): add MODULE_DEPENDENCY_ERROR to CHAIN_ID
|
1002
|
-
|
1003
|
-
feat(utils): CHAIN_ID 常量新增 MODULE_DEPENDENCY_ERROR 值
|
1004
|
-
|
1005
|
-
- 31547b4: feat(utils): add YAML to CHAIN_ID.RULE
|
1006
|
-
|
1007
|
-
feat(utils): 向 CHAIN_ID.RULE 中增加新常量 YAML
|
1008
|
-
|
1009
|
-
## 1.16.0
|
1010
|
-
|
1011
|
-
### Minor Changes
|
1012
|
-
|
1013
|
-
- 1100dd58c: chore: support react 18
|
1014
|
-
|
1015
|
-
chore: 支持 React 18
|
1016
|
-
|
1017
|
-
### Patch Changes
|
1018
|
-
|
1019
|
-
- 641592f52: feat(utils): add html-cross-origin to CHAIN_ID
|
1020
|
-
|
1021
|
-
feat(utils): CHAIN_ID 常量新增 html-cross-origin 值
|
1022
|
-
|
1023
|
-
- 3904b30a5: fix: check apiOnly while has source.entriesDir
|
1024
|
-
|
1025
|
-
fix: 当配置 source.entriesDir 存在时,apiOnly 检查错误
|
1026
|
-
|
1027
|
-
- e04e6e76a: feat: add media rule name to CHAIN_ID constant
|
1028
|
-
|
1029
|
-
feat: 在 CHAIN_ID 常量中新增 media rule
|
1030
|
-
|
1031
|
-
- 81c66e4a4: fix: compatibility issues of dev server in iOS 10
|
1032
|
-
|
1033
|
-
fix: 修复 dev server 代码在 iOS 10 下的兼容性问题
|
1034
|
-
|
1035
|
-
- 2c305b6f5: chore: remove all deploy logic and package
|
1036
|
-
chore: 删除所有部署相关的逻辑和包
|
1037
|
-
|
1038
|
-
## 1.15.0
|
1039
|
-
|
1040
|
-
### Patch Changes
|
1041
|
-
|
1042
|
-
- 8658a78: chore: remove `@modern-js/plugin-docsite`
|
1043
|
-
|
1044
|
-
chore: 移除 `@modern-js/plugin-docsite`
|
1045
|
-
|
1046
|
-
- 05d4a4f: chore(utils): add fs-extra to exports fields
|
1047
|
-
|
1048
|
-
chore(utils): 通过 exports 导出 fs-extra 子路径
|
1049
|
-
|
1050
|
-
- ad05af9: fix: bff.proxy and devServer.proxy types
|
1051
|
-
|
1052
|
-
fix: 修复 bff.proxy 和 devServer.proxy 类型定义不完整的问题
|
1053
|
-
|
1054
|
-
- 5d53d1c: fix(webpack): failed to format error message in some cases
|
1055
|
-
|
1056
|
-
fix(webpack): 修复格式化 webpack 错误信息时报错的问题
|
1057
|
-
|
1058
|
-
- 37cd159: feat(webpack): log more detailed error messages
|
1059
|
-
|
1060
|
-
## 1.9.0
|
1061
|
-
|
1062
|
-
### Minor Changes
|
1063
|
-
|
1064
|
-
- 7b9067f: add babel plugin for builder
|
1065
|
-
|
1066
|
-
### Patch Changes
|
1067
|
-
|
1068
|
-
- 79e83ef: chore: merge `@modern-js/plugin-design-token` to `@modern-js/plugin-tailwindcss`
|
1069
|
-
|
1070
|
-
chore: 合并 `@modern-js/plugin-design-token` 到 `@modern-js/plugin-tailwindcss`
|
1071
|
-
|
1072
|
-
- 22f4dca: chore: move pre-bundled ajv to @modern-js/utils
|
1073
|
-
|
1074
|
-
chore: 预打包的 ajv 产物移动至 @modern-js/utils 内
|
1075
|
-
|
1076
|
-
## 1.8.1
|
1077
|
-
|
1078
|
-
### Patch Changes
|
1079
|
-
|
1080
|
-
- 4f1889d: fix(utils): revert schema of unbundle plugin
|
1081
|
-
|
1082
|
-
fix(utils): 恢复 unbundle 插件相关的 schema 配置
|
1083
|
-
|
1084
|
-
## 1.8.0
|
1085
|
-
|
1086
|
-
### Minor Changes
|
1087
|
-
|
1088
|
-
- 4fc801f: chore(utils): remove unused code
|
1089
|
-
|
1090
|
-
chore(utils): 移除无用代码
|
1091
|
-
|
1092
|
-
### Patch Changes
|
1093
|
-
|
1094
|
-
- c8614b8: fix: using typeof window to determine the browser environment is not accurate
|
1095
|
-
fix: 使用 typeof windows 判断浏览器环境不够准确
|
1096
|
-
|
1097
|
-
## 1.7.12
|
1098
|
-
|
1099
|
-
### Patch Changes
|
1100
|
-
|
1101
|
-
- dc4676b: chore(webpack): refactor webpack config, split modules
|
1102
|
-
|
1103
|
-
## 1.7.11
|
1104
|
-
|
1105
|
-
### Patch Changes
|
1106
|
-
|
1107
|
-
- nothing happen, only bump
|
1108
|
-
|
1109
|
-
## 1.7.10
|
1110
|
-
|
1111
|
-
### Patch Changes
|
1112
|
-
|
1113
|
-
- b82869d: export ExecaError type
|
1114
|
-
|
1115
|
-
## 1.7.9
|
1116
|
-
|
1117
|
-
### Patch Changes
|
1118
|
-
|
1119
|
-
- a90bc96: perf(babel): skip babel-plugin-import if package not installed
|
1120
|
-
|
1121
|
-
## 1.7.8
|
1122
|
-
|
1123
|
-
### Patch Changes
|
1124
|
-
|
1125
|
-
- 63c354ad5: fix normalizeToPosixPath utils function args would be null
|
1126
|
-
- 073e9ad78: feat(webpack): improve utils of tools.webpack
|
1127
|
-
- f4a7d49e1: fix: applyOptionsChain argument type
|
1128
|
-
|
1129
|
-
## 1.7.7
|
1130
|
-
|
1131
|
-
### Patch Changes
|
1132
|
-
|
1133
|
-
- 9377d2d9d: feat: support addPlugins util in tools.postcss
|
1134
|
-
- 8c9ad1749: feat(babel-preset-base): prebundle babel plugins
|
1135
|
-
|
1136
|
-
## 1.7.6
|
1137
|
-
|
1138
|
-
### Patch Changes
|
1139
|
-
|
1140
|
-
- 6451a098: fix: cyclic dependencies of @modern-js/core and @moden-js/webpack
|
1141
|
-
- d5a2cfd8: fix(utils): isModernjsMonorepo should return false if there is no package.json
|
1142
|
-
- 437367c6: fix(server): hmr not working when using proxy
|
1143
|
-
|
1144
|
-
## 1.7.5
|
1145
|
-
|
1146
|
-
### Patch Changes
|
1147
|
-
|
1148
|
-
- 33de0f7ec: fix type export
|
1149
|
-
|
1150
|
-
## 1.7.4
|
1151
|
-
|
1152
|
-
### Patch Changes
|
1153
|
-
|
1154
|
-
- b8cfc42cd: feat: prebundle tsconfig-paths and nanoid
|
1155
|
-
- 804a5bb8a: fix(utils): isPnpmWorkspaces not work
|
1156
|
-
|
1157
|
-
## 1.7.3
|
1158
|
-
|
1159
|
-
### Patch Changes
|
1160
|
-
|
1161
|
-
- d32f35134: chore: add modern/jest/eslint/ts config files to .npmignore
|
1162
|
-
- 6ae4a34ae: feat: prebundle all postcss plugins
|
1163
|
-
- b80229c79: use json5 instead typescript
|
1164
|
-
- 948cc4436: fix(utils): fix missing browserslist exports
|
1165
|
-
|
1166
|
-
## 1.7.2
|
1167
|
-
|
1168
|
-
### Patch Changes
|
1169
|
-
|
1170
|
-
- cd7346b0d: fix some peer dependencies problem & change shell log
|
1171
|
-
- 69a728375: fix: remove exports.jsnext:source after publish
|
1172
|
-
|
1173
|
-
## 1.7.0
|
1174
|
-
|
1175
|
-
### Minor Changes
|
1176
|
-
|
1177
|
-
- 0ee4bb4e: feat: prebundle webpack loaders and plugins
|
1178
|
-
|
1179
|
-
### Patch Changes
|
1180
|
-
|
1181
|
-
- 6fa74d5f: add internal metrics and logger
|
1182
|
-
|
1183
|
-
## 1.6.0
|
1184
|
-
|
1185
|
-
### Minor Changes
|
1186
|
-
|
1187
|
-
- 0b26b93b: feat: prebundle all dependencies of @modern-js/core
|
1188
|
-
|
1189
|
-
### Patch Changes
|
1190
|
-
|
1191
|
-
- 2d155c4c: feat(utils): prebundle minimist
|
1192
|
-
- 123e432d: use treeshaking product for ssr bundle
|
1193
|
-
- e5a9b26d: fix: prebundled globbdy type
|
1194
|
-
- 123e432d: uglify ssr bundle for treeshaking
|
1195
|
-
- f9f66ef9: add 'slash' module
|
1196
|
-
- 592edabc: feat: prebundle url-join,mime-types,json5,fast-glob,globby,ora,inquirer
|
1197
|
-
- 895fa0ff: chore: using "workspace:\*" in devDependencies
|
1198
|
-
- 3578913e: fix: export ssrHelpers from subpath
|
1199
|
-
- 1c3beab3: fix: skip prebundle caniuse-lite
|
1200
|
-
|
1201
|
-
## 1.5.0
|
1202
|
-
|
1203
|
-
### Minor Changes
|
1204
|
-
|
1205
|
-
- 3bf4f8b0: feat: support start api server only
|
1206
|
-
|
1207
|
-
### Patch Changes
|
1208
|
-
|
1209
|
-
- b8599d09: fix: failed to generate webpack cache
|
1210
|
-
- 60f7d8bf: feat: add tests dir to npmignore
|
1211
|
-
|
1212
|
-
## 1.4.1
|
1213
|
-
|
1214
|
-
### Patch Changes
|
1215
|
-
|
1216
|
-
- 6800be3b: feat: move storage from plugin-ssr to utils
|
1217
|
-
|
1218
|
-
## 1.4.0
|
1219
|
-
|
1220
|
-
### Minor Changes
|
1221
|
-
|
1222
|
-
- 77ff9754: feat: prebundle some deps (chalk, filesize, import-lazy, strip-ansi)
|
1223
|
-
- d2d1d6b2: feat: support server config
|
1224
|
-
|
1225
|
-
### Patch Changes
|
1226
|
-
|
1227
|
-
- 07a4887e: feat: prebundle commander and signale to @modern-js/utils
|
1228
|
-
- ea2ae711: feat: prebundle dependencies, reduce install size
|
1229
|
-
- 17d0cc46: feat: prebundle lodash to @modern-js/utils/lodash
|
1230
|
-
- d2d1d6b2: feat: add prepare hook
|
1231
|
-
|
1232
|
-
## 1.3.7
|
1233
|
-
|
1234
|
-
### Patch Changes
|
1235
|
-
|
1236
|
-
- 132f7b53: feat: move config declarations to @modern-js/core
|
1237
|
-
|
1238
|
-
## 1.3.6
|
1239
|
-
|
1240
|
-
### Patch Changes
|
1241
|
-
|
1242
|
-
- c2046f37: fix: plugin unbundle schema define
|
1243
|
-
|
1244
|
-
## 1.3.5
|
1245
|
-
|
1246
|
-
### Patch Changes
|
1247
|
-
|
1248
|
-
- 5bf5868d: fix: isObject should return false when input is null
|
1249
|
-
|
1250
|
-
## 1.3.4
|
1251
|
-
|
1252
|
-
### Patch Changes
|
1253
|
-
|
1254
|
-
- db43dce6: expose plugin-unbundle configs
|
1255
|
-
|
1256
|
-
## 1.3.3
|
1257
|
-
|
1258
|
-
### Patch Changes
|
1259
|
-
|
1260
|
-
- 4c792f68: feat(plugin-garfish): Sub-applications automatically increment basename
|
1261
|
-
feat(plugin-garfish): export common generate code function
|
1262
|
-
fix(plugin-garfish): modify plugin-garfish schema config
|
1263
|
-
- a7f42f48: new user config for plugin-unbundle
|
1264
|
-
|
1265
|
-
## 1.3.2
|
1266
|
-
|
1267
|
-
### Patch Changes
|
1268
|
-
|
1269
|
-
- deeaa602: support svg/proxy/multi-version in unbundled
|
1270
|
-
|
1271
|
-
## 1.3.1
|
1272
|
-
|
1273
|
-
### Patch Changes
|
1274
|
-
|
1275
|
-
- 78279953: compiler entry bug fix and dev build console
|
1276
|
-
- 4d72edea: support dev compiler by entry
|
1277
|
-
|
1278
|
-
## 1.3.0
|
1279
|
-
|
1280
|
-
### Minor Changes
|
1281
|
-
|
1282
|
-
- ec4dbffb: feat: support as a pure api service
|
1283
|
-
- bada2879: refactor plugin-garfish:
|
1284
|
-
- change @modern-js/plugin-micro-frontend => @modern-js/plugin-garfish
|
1285
|
-
- remove disableCustomerRouter logic
|
1286
|
-
- adding unit test
|
1287
|
-
- fix plugin-garfish type error
|
1288
|
-
|
1289
|
-
### Patch Changes
|
1290
|
-
|
1291
|
-
- d099e5c5: fix error when modify modern.config.js
|
1292
|
-
- 24f616ca: feat: support custom meta info
|
1293
|
-
- bd819a8d: feat: add wait function
|
1294
|
-
|
1295
|
-
## 1.2.2
|
1296
|
-
|
1297
|
-
### Patch Changes
|
1298
|
-
|
1299
|
-
- 83166714: change .npmignore
|
1300
|
-
|
1301
|
-
## 1.2.1
|
1302
|
-
|
1303
|
-
### Patch Changes
|
1304
|
-
|
1305
|
-
- 823809c6: fix: remove plugin-polyfill from app-tools
|
1306
|
-
|
1307
|
-
## 1.2.0
|
1308
|
-
|
1309
|
-
### Minor Changes
|
1310
|
-
|
1311
|
-
- cfe11628: Make Modern.js self bootstraping
|
1312
|
-
|
1313
|
-
### Patch Changes
|
1314
|
-
|
1315
|
-
- 2da09c69: Add "typescript" to the dependency list
|
1316
|
-
- c3d46ee4: fix: test config invalid
|
1317
|
-
|
1318
|
-
## 1.1.6
|
1319
|
-
|
1320
|
-
### Patch Changes
|
1321
|
-
|
1322
|
-
- b7fb82ec: fix: get package manager function
|
1323
|
-
|
1324
|
-
## 1.1.5
|
1325
|
-
|
1326
|
-
### Patch Changes
|
1327
|
-
|
1328
|
-
- ca7dcb32: change watch logic
|
1329
|
-
|
1330
|
-
## 1.1.4
|
1331
|
-
|
1332
|
-
### Patch Changes
|
1333
|
-
|
1334
|
-
- d927bc83: update plugins list
|
1335
|
-
- d73ff455: support multi process product
|
1336
|
-
- 9c1ab865: fix: filter invalid ts paths
|
1337
|
-
- d73ff455: support multi process product
|
1338
|
-
- d73ff455: support multi process product
|
1339
|
-
- d73ff455: support multi process product
|
1340
|
-
- d73ff455: support multi process product
|
1341
|
-
|
1342
|
-
## 1.1.3
|
1343
|
-
|
1344
|
-
### Patch Changes
|
1345
|
-
|
1346
|
-
- 085a6a58: refactor server plugin
|
1347
|
-
- 085a6a58: refactor server plugin
|
1348
|
-
- 085a6a58: refactor server conifg
|
1349
|
-
- d280ea33: chore: runtime exports can choose to generate d.ts file
|
1350
|
-
- 085a6a58: support server runtime
|
1351
|
-
- 085a6a58: feat: refactor server plugin
|
1352
|
-
|
1353
|
-
## 1.1.2
|
1354
|
-
|
1355
|
-
### Patch Changes
|
1356
|
-
|
1357
|
-
- 0fa83663: support more .env files
|
1358
|
-
- f594fbc8: fix apple icon and favicon support
|
1359
|
-
|
1360
|
-
## 1.1.1
|
1361
|
-
|
1362
|
-
### Patch Changes
|
1363
|
-
|
1364
|
-
- c0fc0700: feat: support deploy plugin
|
1365
|
-
|
1366
|
-
## 1.1.0
|
1367
|
-
|
1368
|
-
### Minor Changes
|
1369
|
-
|
1370
|
-
- 96119db2: Relese v1.1.0
|
1371
|
-
|
1372
|
-
## 1.0.0
|
1373
|
-
|
1374
|
-
### Patch Changes
|
1375
|
-
|
1376
|
-
- 224f7fe: fix server route match
|
1377
|
-
- 30ac27c: feat: add generator package description
|
1378
|
-
- 0fd196e: feat: fix bugs
|
1379
|
-
- 204c626: feat: initial
|
1380
|
-
- 63be0a5: fix: #118 #104
|
1381
|
-
|
1382
|
-
## 1.0.0-rc.23
|
1383
|
-
|
1384
|
-
### Patch Changes
|
1385
|
-
|
1386
|
-
- 224f7fe: fix server route match
|
1387
|
-
- 30ac27c: feat: add generator package description
|
1388
|
-
- 0fd196e: feat: fix bugs
|
1389
|
-
- 204c626: feat: initial
|
1390
|
-
- 63be0a5: fix: #118 #104
|
1391
|
-
|
1392
|
-
## 1.0.0-rc.22
|
1393
|
-
|
1394
|
-
### Patch Changes
|
1395
|
-
|
1396
|
-
- 224f7fe: fix server route match
|
1397
|
-
- 30ac27c: feat: add generator package description
|
1398
|
-
- 0fd196e: feat: fix bugs
|
1399
|
-
- 204c626: feat: initial
|
1400
|
-
- 63be0a5: fix: #118 #104
|
1401
|
-
|
1402
|
-
## 1.0.0-rc.21
|
1403
|
-
|
1404
|
-
### Patch Changes
|
1405
|
-
|
1406
|
-
- 224f7fe: fix server route match
|
1407
|
-
- 30ac27c: feat: add generator package description
|
1408
|
-
- 0fd196e: feat: fix bugs
|
1409
|
-
- 204c626: feat: initial
|
1410
|
-
- 63be0a5: fix: #118 #104
|
1411
|
-
|
1412
|
-
## 1.0.0-rc.20
|
1413
|
-
|
1414
|
-
### Patch Changes
|
1415
|
-
|
1416
|
-
- 224f7fe: fix server route match
|
1417
|
-
- 30ac27c: feat: add generator package description
|
1418
|
-
- feat: fix bugs
|
1419
|
-
- 204c626: feat: initial
|
1420
|
-
- 63be0a5: fix: #118 #104
|
1421
|
-
|
1422
|
-
## 1.0.0-rc.19
|
1423
|
-
|
1424
|
-
### Patch Changes
|
1425
|
-
|
1426
|
-
- 224f7fe: fix server route match
|
1427
|
-
- 30ac27c: feat: add generator package description
|
1428
|
-
- 204c626: feat: initial
|
1429
|
-
- 63be0a5: fix: #118 #104
|
1430
|
-
|
1431
|
-
## 1.0.0-rc.18
|
1432
|
-
|
1433
|
-
### Patch Changes
|
1434
|
-
|
1435
|
-
- 224f7fe: fix server route match
|
1436
|
-
- 30ac27c: feat: add generator package description
|
1437
|
-
- 204c626: feat: initial
|
1438
|
-
- 63be0a5: fix: #118 #104
|
1439
|
-
|
1440
|
-
## 1.0.0-rc.17
|
1441
|
-
|
1442
|
-
### Patch Changes
|
1443
|
-
|
1444
|
-
- 224f7fe: fix server route match
|
1445
|
-
- 30ac27c: feat: add generator package description
|
1446
|
-
- 204c626: feat: initial
|
1447
|
-
- fix: #118 #104
|
1448
|
-
|
1449
|
-
## 1.0.0-rc.16
|
1450
|
-
|
1451
|
-
### Patch Changes
|
1452
|
-
|
1453
|
-
- 224f7fe: fix server route match
|
1454
|
-
- 30ac27c: feat: add generator package description
|
1455
|
-
- 204c626: feat: initial
|
1456
|
-
|
1457
|
-
## 1.0.0-rc.15
|
1458
|
-
|
1459
|
-
### Patch Changes
|
1460
|
-
|
1461
|
-
- 224f7fe: fix server route match
|
1462
|
-
- 30ac27c: feat: add generator package description
|
1463
|
-
- 204c626: feat: initial
|
1464
|
-
|
1465
|
-
## 1.0.0-rc.14
|
1466
|
-
|
1467
|
-
### Patch Changes
|
1468
|
-
|
1469
|
-
- 224f7fe: fix server route match
|
1470
|
-
- 204c626: feat: initial
|
1471
|
-
|
1472
|
-
## 1.0.0-rc.13
|
1473
|
-
|
1474
|
-
### Patch Changes
|
1475
|
-
|
1476
|
-
- 224f7fe: fix server route match
|
1477
|
-
- 204c626: feat: initial
|
1478
|
-
|
1479
|
-
## 1.0.0-rc.12
|
1480
|
-
|
1481
|
-
### Patch Changes
|
1482
|
-
|
1483
|
-
- 224f7fe: fix server route match
|
1484
|
-
- 204c626: feat: initial
|
1485
|
-
|
1486
|
-
## 1.0.0-rc.11
|
1487
|
-
|
1488
|
-
### Patch Changes
|
1489
|
-
|
1490
|
-
- 224f7fe: fix server route match
|
1491
|
-
- 204c626: feat: initial
|
1492
|
-
|
1493
|
-
## 1.0.0-rc.10
|
1494
|
-
|
1495
|
-
### Patch Changes
|
1496
|
-
|
1497
|
-
- 224f7fe: fix server route match
|
1498
|
-
- 204c626: feat: initial
|
1499
|
-
|
1500
|
-
## 1.0.0-rc.9
|
1501
|
-
|
1502
|
-
### Patch Changes
|
1503
|
-
|
1504
|
-
- 224f7fe: fix server route match
|
1505
|
-
- 204c626: feat: initial
|
1506
|
-
|
1507
|
-
## 1.0.0-rc.8
|
1508
|
-
|
1509
|
-
### Patch Changes
|
1510
|
-
|
1511
|
-
- 224f7fe: fix server route match
|
1512
|
-
- 204c626: feat: initial
|
1513
|
-
|
1514
|
-
## 1.0.0-rc.7
|
1515
|
-
|
1516
|
-
### Patch Changes
|
1517
|
-
|
1518
|
-
- 224f7fe: fix server route match
|
1519
|
-
- 204c626: feat: initial
|
1520
|
-
|
1521
|
-
## 1.0.0-rc.6
|
1522
|
-
|
1523
|
-
### Patch Changes
|
1524
|
-
|
1525
|
-
- 224f7fe: fix server route match
|
1526
|
-
- 204c626: feat: initial
|
1527
|
-
|
1528
|
-
## 1.0.0-rc.5
|
1529
|
-
|
1530
|
-
### Patch Changes
|
1531
|
-
|
1532
|
-
- 224f7fe: fix server route match
|
1533
|
-
- 204c626: feat: initial
|
1534
|
-
|
1535
|
-
## 1.0.0-rc.4
|
1536
|
-
|
1537
|
-
### Patch Changes
|
1538
|
-
|
1539
|
-
- fix server route match
|
1540
|
-
- 204c626: feat: initial
|
1541
|
-
|
1542
|
-
## 1.0.0-rc.3
|
1543
|
-
|
1544
|
-
### Patch Changes
|
1545
|
-
|
1546
|
-
- feat: initial
|