@lynx-js/rspeedy-canary 0.10.9-canary-20250826-1952fc15 → 0.11.0-canary-20250826-48c8fc40
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
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.11.0-canary-20250826161249-48c8fc40f5f33bfeaeb319951d523e08d55cf6ef
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Bump Rsbuild v1.5.0 with Rspack v1.5.0. ([#1591](https://github.com/lynx-family/lynx-stack/pull/1591))
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
7
11
|
- Support `rspeedy build --watch` ([#1579](https://github.com/lynx-family/lynx-stack/pull/1579))
|
|
8
12
|
|
|
9
13
|
- Updated dependencies [[`1952fc1`](https://github.com/lynx-family/lynx-stack/commit/1952fc1557e5abbdbdf4a2073fd3b6f64dd32c3c)]:
|
|
10
|
-
- @lynx-js/chunk-loading-webpack-plugin@0.3.2-canary-
|
|
14
|
+
- @lynx-js/chunk-loading-webpack-plugin@0.3.2-canary-20250826161249-48c8fc40f5f33bfeaeb319951d523e08d55cf6ef
|
|
11
15
|
- @lynx-js/cache-events-webpack-plugin@0.0.1
|
|
12
16
|
|
|
13
17
|
## 0.10.8
|
|
@@ -5735,7 +5735,7 @@ export const __webpack_modules__ = {
|
|
|
5735
5735
|
if (void 0 === value) return true;
|
|
5736
5736
|
return false;
|
|
5737
5737
|
}));
|
|
5738
|
-
const _io359 = (input, _exceptionable = true)=>(void 0 === input.target || "node" === input.target || "web" === input.target || "web-worker" === input.target) && null !== input.externals && (void 0 === input.externals || "function" == typeof input.externals || "string" == typeof input.externals || input.externals instanceof RegExp || Array.isArray(input.externals) && input.externals.every((elem, _index289)=>null != elem && ("function" == typeof elem || "string" == typeof elem || elem instanceof RegExp || "object" == typeof elem && null !== elem && false === Array.isArray(elem) && _io105(elem, _exceptionable))) || "object" == typeof input.externals && null !== input.externals && false === Array.isArray(input.externals) && _io105(input.externals, _exceptionable)) && (void 0 === input.distPath || "object" == typeof input.distPath && null !== input.distPath && false === Array.isArray(input.distPath) && _io360(input.distPath, _exceptionable)) && (void 0 === input.filename || "object" == typeof input.filename && null !== input.filename && false === Array.isArray(input.filename) && _io361(input.filename, _exceptionable)) && (void 0 === input.charset || "utf8" === input.charset || "ascii" === input.charset) && (void 0 === input.polyfill || "usage" === input.polyfill || "entry" === input.polyfill || "off" === input.polyfill) && (void 0 === input.assetPrefix || "string" == typeof input.assetPrefix) && null !== input.dataUriLimit && (void 0 === input.dataUriLimit || "number" == typeof input.dataUriLimit || "object" == typeof input.dataUriLimit && null !== input.dataUriLimit && false === Array.isArray(input.dataUriLimit) && _io362(input.dataUriLimit, _exceptionable)) && (void 0 === input.legalComments || "none" === input.legalComments || "inline" === input.legalComments || "linked" === input.legalComments) && null !== input.cleanDistPath && (void 0 === input.cleanDistPath || "auto" === input.cleanDistPath || "boolean" == typeof input.cleanDistPath || "object" == typeof input.cleanDistPath && null !== input.cleanDistPath && false === Array.isArray(input.cleanDistPath) && _io363(input.cleanDistPath, _exceptionable)) && (void 0 === input.cssModules || "object" == typeof input.cssModules && null !== input.cssModules && false === Array.isArray(input.cssModules) && _io364(input.cssModules, _exceptionable)) && null !== input.minify && (void 0 === input.minify || "boolean" == typeof input.minify || "object" == typeof input.minify && null !== input.minify && false === Array.isArray(input.minify) && _io365(input.minify, _exceptionable)) && null !== input.manifest && (void 0 === input.manifest || "string" == typeof input.manifest || "boolean" == typeof input.manifest || "object" == typeof input.manifest && null !== input.manifest && false === Array.isArray(input.manifest) && _io375(input.manifest, _exceptionable)) && null !== input.sourceMap && (void 0 === input.sourceMap || "boolean" == typeof input.sourceMap || "object" == typeof input.sourceMap && null !== input.sourceMap && false === Array.isArray(input.sourceMap) && _io376(input.sourceMap, _exceptionable)) && (void 0 === input.filenameHash || "string" == typeof input.filenameHash || "boolean" == typeof input.filenameHash) && null !== input.inlineScripts && (void 0 === input.inlineScripts || "function" == typeof input.inlineScripts || "boolean" == typeof input.inlineScripts || input.inlineScripts instanceof RegExp || "object" == typeof input.inlineScripts && null !== input.inlineScripts && _io377(input.inlineScripts, _exceptionable)) && null !== input.inlineStyles && (void 0 === input.inlineStyles || "function" == typeof input.inlineStyles || "boolean" == typeof input.inlineStyles || input.inlineStyles instanceof RegExp || "object" == typeof input.inlineStyles && null !== input.inlineStyles && _io377(input.inlineStyles, _exceptionable)) && (void 0 === input.injectStyles || "boolean" == typeof input.injectStyles) && (void 0 === input.overrideBrowserslist || Array.isArray(input.overrideBrowserslist) && input.overrideBrowserslist.every((elem, _index290)=>"string" == typeof elem)) && null !== input.copy && (void 0 === input.copy || Array.isArray(input.copy) && input.copy.every((elem, _index291)=>null != elem && ("string" == typeof elem || "object" == typeof elem && null !== elem && _io379(elem, _exceptionable))) || "object" == typeof input.copy && null !== input.copy && _io378(input.copy, _exceptionable)) && (void 0 === input.emitAssets || "boolean" == typeof input.emitAssets) && (void 0 === input.emitCss || "boolean" == typeof input.emitCss) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
5738
|
+
const _io359 = (input, _exceptionable = true)=>(void 0 === input.target || "node" === input.target || "web" === input.target || "web-worker" === input.target) && null !== input.externals && (void 0 === input.externals || "function" == typeof input.externals || "string" == typeof input.externals || input.externals instanceof RegExp || Array.isArray(input.externals) && input.externals.every((elem, _index289)=>null != elem && ("function" == typeof elem || "string" == typeof elem || elem instanceof RegExp || "object" == typeof elem && null !== elem && false === Array.isArray(elem) && _io105(elem, _exceptionable))) || "object" == typeof input.externals && null !== input.externals && false === Array.isArray(input.externals) && _io105(input.externals, _exceptionable)) && (void 0 === input.distPath || "object" == typeof input.distPath && null !== input.distPath && false === Array.isArray(input.distPath) && _io360(input.distPath, _exceptionable)) && (void 0 === input.filename || "object" == typeof input.filename && null !== input.filename && false === Array.isArray(input.filename) && _io361(input.filename, _exceptionable)) && (void 0 === input.charset || "utf8" === input.charset || "ascii" === input.charset) && (void 0 === input.polyfill || "usage" === input.polyfill || "entry" === input.polyfill || "off" === input.polyfill) && (void 0 === input.assetPrefix || "string" == typeof input.assetPrefix) && null !== input.dataUriLimit && (void 0 === input.dataUriLimit || "number" == typeof input.dataUriLimit || "object" == typeof input.dataUriLimit && null !== input.dataUriLimit && false === Array.isArray(input.dataUriLimit) && _io362(input.dataUriLimit, _exceptionable)) && (void 0 === input.legalComments || "none" === input.legalComments || "inline" === input.legalComments || "linked" === input.legalComments) && null !== input.cleanDistPath && (void 0 === input.cleanDistPath || "auto" === input.cleanDistPath || "boolean" == typeof input.cleanDistPath || "object" == typeof input.cleanDistPath && null !== input.cleanDistPath && false === Array.isArray(input.cleanDistPath) && _io363(input.cleanDistPath, _exceptionable)) && (void 0 === input.cssModules || "object" == typeof input.cssModules && null !== input.cssModules && false === Array.isArray(input.cssModules) && _io364(input.cssModules, _exceptionable)) && null !== input.minify && (void 0 === input.minify || "boolean" == typeof input.minify || "object" == typeof input.minify && null !== input.minify && false === Array.isArray(input.minify) && _io365(input.minify, _exceptionable)) && null !== input.manifest && (void 0 === input.manifest || "string" == typeof input.manifest || "boolean" == typeof input.manifest || "object" == typeof input.manifest && null !== input.manifest && false === Array.isArray(input.manifest) && _io375(input.manifest, _exceptionable)) && (void 0 === input["module"] || "boolean" == typeof input["module"]) && null !== input.sourceMap && (void 0 === input.sourceMap || "boolean" == typeof input.sourceMap || "object" == typeof input.sourceMap && null !== input.sourceMap && false === Array.isArray(input.sourceMap) && _io376(input.sourceMap, _exceptionable)) && (void 0 === input.filenameHash || "string" == typeof input.filenameHash || "boolean" == typeof input.filenameHash) && null !== input.inlineScripts && (void 0 === input.inlineScripts || "function" == typeof input.inlineScripts || "boolean" == typeof input.inlineScripts || input.inlineScripts instanceof RegExp || "object" == typeof input.inlineScripts && null !== input.inlineScripts && _io377(input.inlineScripts, _exceptionable)) && null !== input.inlineStyles && (void 0 === input.inlineStyles || "function" == typeof input.inlineStyles || "boolean" == typeof input.inlineStyles || input.inlineStyles instanceof RegExp || "object" == typeof input.inlineStyles && null !== input.inlineStyles && _io377(input.inlineStyles, _exceptionable)) && (void 0 === input.injectStyles || "boolean" == typeof input.injectStyles) && (void 0 === input.overrideBrowserslist || Array.isArray(input.overrideBrowserslist) && input.overrideBrowserslist.every((elem, _index290)=>"string" == typeof elem)) && null !== input.copy && (void 0 === input.copy || Array.isArray(input.copy) && input.copy.every((elem, _index291)=>null != elem && ("string" == typeof elem || "object" == typeof elem && null !== elem && _io379(elem, _exceptionable))) || "object" == typeof input.copy && null !== input.copy && _io378(input.copy, _exceptionable)) && (void 0 === input.emitAssets || "boolean" == typeof input.emitAssets) && (void 0 === input.emitCss || "boolean" == typeof input.emitCss) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
5739
5739
|
if ([
|
|
5740
5740
|
"target",
|
|
5741
5741
|
"externals",
|
|
@@ -5750,6 +5750,7 @@ export const __webpack_modules__ = {
|
|
|
5750
5750
|
"cssModules",
|
|
5751
5751
|
"minify",
|
|
5752
5752
|
"manifest",
|
|
5753
|
+
"module",
|
|
5753
5754
|
"sourceMap",
|
|
5754
5755
|
"filenameHash",
|
|
5755
5756
|
"inlineScripts",
|
|
@@ -6171,7 +6172,7 @@ export const __webpack_modules__ = {
|
|
|
6171
6172
|
if (void 0 === value) return true;
|
|
6172
6173
|
return false;
|
|
6173
6174
|
}));
|
|
6174
|
-
const _io388 = (input, _exceptionable = true)=>(void 0 === input.total || "boolean" == typeof input.total) && (void 0 === input.detail || "boolean" == typeof input.detail) && (void 0 === input.compressed || "boolean" == typeof input.compressed) && (void 0 === input.include || true) && (void 0 === input.exclude || true) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6175
|
+
const _io388 = (input, _exceptionable = true)=>null !== input.total && (void 0 === input.total || "function" == typeof input.total || "boolean" == typeof input.total) && (void 0 === input.detail || "boolean" == typeof input.detail) && (void 0 === input.compressed || "boolean" == typeof input.compressed) && (void 0 === input.include || true) && (void 0 === input.exclude || true) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6175
6176
|
if ([
|
|
6176
6177
|
"total",
|
|
6177
6178
|
"detail",
|
|
@@ -6347,14 +6348,14 @@ export const __webpack_modules__ = {
|
|
|
6347
6348
|
if (void 0 === value) return true;
|
|
6348
6349
|
return false;
|
|
6349
6350
|
}));
|
|
6350
|
-
const _io405 = (input, _exceptionable = true)=>(void 0 === input.pre || Array.isArray(input.pre) && input.pre.every((elem, _index330)=>"string" == typeof elem)) && (void 0 === input.post || Array.isArray(input.post) && input.post.every((elem, _index331)=>"string" == typeof elem)) && "string" == typeof input.name &&
|
|
6351
|
+
const _io405 = (input, _exceptionable = true)=>(void 0 === input.pre || Array.isArray(input.pre) && input.pre.every((elem, _index330)=>"string" == typeof elem)) && (void 0 === input.post || Array.isArray(input.post) && input.post.every((elem, _index331)=>"string" == typeof elem)) && "string" == typeof input.name && (void 0 === input.enforce || "pre" === input.enforce || "post" === input.enforce) && (void 0 === input.remove || Array.isArray(input.remove) && input.remove.every((elem, _index332)=>"string" == typeof elem)) && true && true && (2 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6351
6352
|
if ([
|
|
6352
6353
|
"pre",
|
|
6353
6354
|
"post",
|
|
6354
6355
|
"name",
|
|
6355
|
-
"apply",
|
|
6356
6356
|
"enforce",
|
|
6357
6357
|
"remove",
|
|
6358
|
+
"apply",
|
|
6358
6359
|
"setup"
|
|
6359
6360
|
].some((prop)=>key === prop)) return true;
|
|
6360
6361
|
const value = input[key];
|
|
@@ -33238,6 +33239,11 @@ export const __webpack_modules__ = {
|
|
|
33238
33239
|
expected: "(ManifestObjectConfig | boolean | string | undefined)",
|
|
33239
33240
|
value: input.manifest
|
|
33240
33241
|
})),
|
|
33242
|
+
void 0 === input["module"] || "boolean" == typeof input["module"] || _report(_exceptionable, {
|
|
33243
|
+
path: _path + "[\"module\"]",
|
|
33244
|
+
expected: "(boolean | undefined)",
|
|
33245
|
+
value: input["module"]
|
|
33246
|
+
}),
|
|
33241
33247
|
(null !== input.sourceMap || _report(_exceptionable, {
|
|
33242
33248
|
path: _path + ".sourceMap",
|
|
33243
33249
|
expected: "(SourceMap | boolean | undefined)",
|
|
@@ -33354,6 +33360,7 @@ export const __webpack_modules__ = {
|
|
|
33354
33360
|
"cssModules",
|
|
33355
33361
|
"minify",
|
|
33356
33362
|
"manifest",
|
|
33363
|
+
"module",
|
|
33357
33364
|
"sourceMap",
|
|
33358
33365
|
"filenameHash",
|
|
33359
33366
|
"inlineScripts",
|
|
@@ -35579,11 +35586,15 @@ export const __webpack_modules__ = {
|
|
|
35579
35586
|
}).every((flag)=>flag)
|
|
35580
35587
|
].every((flag)=>flag);
|
|
35581
35588
|
const _vo388 = (input, _path, _exceptionable = true)=>[
|
|
35582
|
-
|
|
35589
|
+
(null !== input.total || _report(_exceptionable, {
|
|
35583
35590
|
path: _path + ".total",
|
|
35584
35591
|
expected: "(boolean | undefined)",
|
|
35585
35592
|
value: input.total
|
|
35586
|
-
}),
|
|
35593
|
+
})) && (void 0 === input.total || "function" == typeof input.total || "boolean" == typeof input.total || _report(_exceptionable, {
|
|
35594
|
+
path: _path + ".total",
|
|
35595
|
+
expected: "(boolean | undefined)",
|
|
35596
|
+
value: input.total
|
|
35597
|
+
})),
|
|
35587
35598
|
void 0 === input.detail || "boolean" == typeof input.detail || _report(_exceptionable, {
|
|
35588
35599
|
path: _path + ".detail",
|
|
35589
35600
|
expected: "(boolean | undefined)",
|
|
@@ -36602,15 +36613,6 @@ export const __webpack_modules__ = {
|
|
|
36602
36613
|
expected: "string",
|
|
36603
36614
|
value: input.name
|
|
36604
36615
|
}),
|
|
36605
|
-
(null !== input.apply || _report(_exceptionable, {
|
|
36606
|
-
path: _path + ".apply",
|
|
36607
|
-
expected: "(\"build\" | \"serve\" | undefined)",
|
|
36608
|
-
value: input.apply
|
|
36609
|
-
})) && (void 0 === input.apply || "function" == typeof input.apply || "serve" === input.apply || "build" === input.apply || _report(_exceptionable, {
|
|
36610
|
-
path: _path + ".apply",
|
|
36611
|
-
expected: "(\"build\" | \"serve\" | undefined)",
|
|
36612
|
-
value: input.apply
|
|
36613
|
-
})),
|
|
36614
36616
|
void 0 === input.enforce || "pre" === input.enforce || "post" === input.enforce || _report(_exceptionable, {
|
|
36615
36617
|
path: _path + ".enforce",
|
|
36616
36618
|
expected: "(\"post\" | \"pre\" | undefined)",
|
|
@@ -36630,14 +36632,15 @@ export const __webpack_modules__ = {
|
|
|
36630
36632
|
value: input.remove
|
|
36631
36633
|
}),
|
|
36632
36634
|
true,
|
|
36635
|
+
true,
|
|
36633
36636
|
2 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
36634
36637
|
if ([
|
|
36635
36638
|
"pre",
|
|
36636
36639
|
"post",
|
|
36637
36640
|
"name",
|
|
36638
|
-
"apply",
|
|
36639
36641
|
"enforce",
|
|
36640
36642
|
"remove",
|
|
36643
|
+
"apply",
|
|
36641
36644
|
"setup"
|
|
36642
36645
|
].some((prop)=>key === prop)) return true;
|
|
36643
36646
|
const value = input[key];
|
|
@@ -20,11 +20,11 @@ export const __webpack_modules__ = {
|
|
|
20
20
|
config,
|
|
21
21
|
debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.Yz,
|
|
22
22
|
async exit (code) {
|
|
23
|
-
const { exit } = await
|
|
23
|
+
const { exit } = await __webpack_require__.e("src_cli_exit_ts").then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
|
|
24
24
|
return exit(code);
|
|
25
25
|
},
|
|
26
26
|
logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
|
|
27
|
-
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.
|
|
27
|
+
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.rE
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
};
|
|
@@ -8,8 +8,10 @@ export const __webpack_modules__ = {
|
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
pluginRsdoctor: ()=>pluginRsdoctor
|
|
10
10
|
});
|
|
11
|
-
var
|
|
12
|
-
|
|
11
|
+
var core_ = __webpack_require__("@rsbuild/core");
|
|
12
|
+
function isCI() {
|
|
13
|
+
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
14
|
+
}
|
|
13
15
|
function pluginRsdoctor(options) {
|
|
14
16
|
return {
|
|
15
17
|
name: 'lynx:rsbuild:rsdoctor',
|
|
@@ -26,7 +28,7 @@ export const __webpack_modules__ = {
|
|
|
26
28
|
if (registered) continue;
|
|
27
29
|
config.plugins ??= [];
|
|
28
30
|
const defaultOptions = {
|
|
29
|
-
disableClientServer: (
|
|
31
|
+
disableClientServer: isCI(),
|
|
30
32
|
supports: {
|
|
31
33
|
banner: true
|
|
32
34
|
},
|
|
@@ -41,20 +43,12 @@ export const __webpack_modules__ = {
|
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
};
|
|
44
|
-
config.plugins.push(new RsdoctorRspackPlugin((0,
|
|
46
|
+
config.plugins.push(new RsdoctorRspackPlugin((0, core_.mergeRsbuildConfig)(defaultOptions, options)));
|
|
45
47
|
}
|
|
46
|
-
|
|
48
|
+
core_.logger.info("Rsdoctor is enabled.");
|
|
47
49
|
});
|
|
48
50
|
}
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
|
-
},
|
|
52
|
-
"./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
J: ()=>isCI
|
|
55
|
-
});
|
|
56
|
-
function isCI() {
|
|
57
|
-
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
58
|
-
}
|
|
59
53
|
}
|
|
60
54
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy-canary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-canary-20250826-48c8fc40",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.1",
|
|
50
|
-
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.2-canary-20250826-
|
|
50
|
+
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.2-canary-20250826-48c8fc40",
|
|
51
51
|
"@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
|
|
52
52
|
"@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
|
|
53
|
-
"@rsbuild/core": "1.
|
|
53
|
+
"@rsbuild/core": "1.5.0",
|
|
54
54
|
"@rsbuild/plugin-css-minimizer": "1.0.3",
|
|
55
55
|
"@rsdoctor/rspack-plugin": "1.2.3"
|
|
56
56
|
},
|