@lynx-js/rspeedy-canary 0.10.6-canary-20250809-c8ce6aa3 → 0.10.7-canary-20250815-39c7b781
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 +7 -1
- package/dist/index.js +3 -2
- package/dist/src_cli_build_ts.js +2 -1
- package/dist/src_cli_commands_ts.js +1 -1
- package/dist/src_cli_dev_ts.js +2 -1
- package/dist/src_cli_inspect_ts.js +2 -1
- package/dist/src_cli_preview_ts.js +2 -1
- package/dist/src_config_validate_ts.js +39 -32
- package/dist/src_plugins_api_plugin_ts.js +2 -2
- package/dist/src_plugins_rsdoctor_plugin_ts.js +13 -7
- package/dist/src_version_ts.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.10.
|
|
3
|
+
## 0.10.7-canary-20250815124551-39c7b78160c9365e688d07c0e4ed8a6bef643f16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- `output.inlineScripts` defaults to `false` when chunkSplit strategy is not `'all-in-one'` ([#1504](https://github.com/lynx-family/lynx-stack/pull/1504))
|
|
8
|
+
|
|
9
|
+
## 0.10.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ var __webpack_modules__ = {
|
|
|
112
112
|
});
|
|
113
113
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
114
114
|
var package_namespaceObject = {
|
|
115
|
-
i8: "0.10.
|
|
115
|
+
i8: "0.10.6"
|
|
116
116
|
};
|
|
117
117
|
const version = package_namespaceObject.i8;
|
|
118
118
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -255,6 +255,7 @@ var external_node_path_ = __webpack_require__("node:path");
|
|
|
255
255
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
256
256
|
var debug = __webpack_require__("./src/debug.ts");
|
|
257
257
|
function applyDefaultRspeedyConfig(config) {
|
|
258
|
+
const enableChunkSplitting = config.performance?.chunkSplit?.strategy && config.performance?.chunkSplit?.strategy !== 'all-in-one';
|
|
258
259
|
return (0, core_.mergeRsbuildConfig)({
|
|
259
260
|
mode: (()=>{
|
|
260
261
|
if (config.mode) return config.mode;
|
|
@@ -263,7 +264,7 @@ function applyDefaultRspeedyConfig(config) {
|
|
|
263
264
|
})(),
|
|
264
265
|
output: {
|
|
265
266
|
filename: getFilename(config.output?.filename),
|
|
266
|
-
inlineScripts:
|
|
267
|
+
inlineScripts: !enableChunkSplitting
|
|
267
268
|
},
|
|
268
269
|
performance: {
|
|
269
270
|
profile: (0, debug.L1)() ? true : void 0
|
package/dist/src_cli_build_ts.js
CHANGED
|
@@ -152,6 +152,7 @@ export const __webpack_modules__ = {
|
|
|
152
152
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
153
153
|
var debug = __webpack_require__("./src/debug.ts");
|
|
154
154
|
function applyDefaultRspeedyConfig(config) {
|
|
155
|
+
const enableChunkSplitting = config.performance?.chunkSplit?.strategy && config.performance?.chunkSplit?.strategy !== 'all-in-one';
|
|
155
156
|
return (0, core_.mergeRsbuildConfig)({
|
|
156
157
|
mode: (()=>{
|
|
157
158
|
if (config.mode) return config.mode;
|
|
@@ -160,7 +161,7 @@ export const __webpack_modules__ = {
|
|
|
160
161
|
})(),
|
|
161
162
|
output: {
|
|
162
163
|
filename: getFilename(config.output?.filename),
|
|
163
|
-
inlineScripts:
|
|
164
|
+
inlineScripts: !enableChunkSplitting
|
|
164
165
|
},
|
|
165
166
|
performance: {
|
|
166
167
|
profile: (0, debug.L1)() ? true : void 0
|
|
@@ -40,7 +40,7 @@ export const __webpack_modules__ = {
|
|
|
40
40
|
});
|
|
41
41
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
42
42
|
var package_namespaceObject = {
|
|
43
|
-
i8: "0.10.
|
|
43
|
+
i8: "0.10.6"
|
|
44
44
|
};
|
|
45
45
|
const version = package_namespaceObject.i8;
|
|
46
46
|
const rspackVersion = core_.rspack.rspackVersion;
|
package/dist/src_cli_dev_ts.js
CHANGED
|
@@ -194,6 +194,7 @@ export const __webpack_modules__ = {
|
|
|
194
194
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
195
195
|
var debug = __webpack_require__("./src/debug.ts");
|
|
196
196
|
function applyDefaultRspeedyConfig(config) {
|
|
197
|
+
const enableChunkSplitting = config.performance?.chunkSplit?.strategy && config.performance?.chunkSplit?.strategy !== 'all-in-one';
|
|
197
198
|
return (0, core_.mergeRsbuildConfig)({
|
|
198
199
|
mode: (()=>{
|
|
199
200
|
if (config.mode) return config.mode;
|
|
@@ -202,7 +203,7 @@ export const __webpack_modules__ = {
|
|
|
202
203
|
})(),
|
|
203
204
|
output: {
|
|
204
205
|
filename: getFilename(config.output?.filename),
|
|
205
|
-
inlineScripts:
|
|
206
|
+
inlineScripts: !enableChunkSplitting
|
|
206
207
|
},
|
|
207
208
|
performance: {
|
|
208
209
|
profile: (0, debug.L1)() ? true : void 0
|
|
@@ -154,6 +154,7 @@ export const __webpack_modules__ = {
|
|
|
154
154
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
155
155
|
var debug = __webpack_require__("./src/debug.ts");
|
|
156
156
|
function applyDefaultRspeedyConfig(config) {
|
|
157
|
+
const enableChunkSplitting = config.performance?.chunkSplit?.strategy && config.performance?.chunkSplit?.strategy !== 'all-in-one';
|
|
157
158
|
return (0, core_.mergeRsbuildConfig)({
|
|
158
159
|
mode: (()=>{
|
|
159
160
|
if (config.mode) return config.mode;
|
|
@@ -162,7 +163,7 @@ export const __webpack_modules__ = {
|
|
|
162
163
|
})(),
|
|
163
164
|
output: {
|
|
164
165
|
filename: getFilename(config.output?.filename),
|
|
165
|
-
inlineScripts:
|
|
166
|
+
inlineScripts: !enableChunkSplitting
|
|
166
167
|
},
|
|
167
168
|
performance: {
|
|
168
169
|
profile: (0, debug.L1)() ? true : void 0
|
|
@@ -156,6 +156,7 @@ export const __webpack_modules__ = {
|
|
|
156
156
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
157
157
|
var debug = __webpack_require__("./src/debug.ts");
|
|
158
158
|
function applyDefaultRspeedyConfig(config) {
|
|
159
|
+
const enableChunkSplitting = config.performance?.chunkSplit?.strategy && config.performance?.chunkSplit?.strategy !== 'all-in-one';
|
|
159
160
|
return (0, core_.mergeRsbuildConfig)({
|
|
160
161
|
mode: (()=>{
|
|
161
162
|
if (config.mode) return config.mode;
|
|
@@ -164,7 +165,7 @@ export const __webpack_modules__ = {
|
|
|
164
165
|
})(),
|
|
165
166
|
output: {
|
|
166
167
|
filename: getFilename(config.output?.filename),
|
|
167
|
-
inlineScripts:
|
|
168
|
+
inlineScripts: !enableChunkSplitting
|
|
168
169
|
},
|
|
169
170
|
performance: {
|
|
170
171
|
profile: (0, debug.L1)() ? true : void 0
|
|
@@ -2,7 +2,7 @@ export const __webpack_ids__ = [
|
|
|
2
2
|
"src_config_validate_ts"
|
|
3
3
|
];
|
|
4
4
|
export const __webpack_modules__ = {
|
|
5
|
-
"../../../node_modules/.pnpm/typia@9.
|
|
5
|
+
"../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js": function(__unused_webpack_module, exports) {
|
|
6
6
|
exports._accessExpressionAsString = void 0;
|
|
7
7
|
const _accessExpressionAsString = (str)=>variable(str) ? `.${str}` : `[${JSON.stringify(str)}]`;
|
|
8
8
|
exports._accessExpressionAsString = _accessExpressionAsString;
|
|
@@ -47,7 +47,7 @@ export const __webpack_modules__ = {
|
|
|
47
47
|
"with"
|
|
48
48
|
]);
|
|
49
49
|
},
|
|
50
|
-
"../../../node_modules/.pnpm/typia@9.
|
|
50
|
+
"../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_createStandardSchema.js": function(__unused_webpack_module, exports) {
|
|
51
51
|
exports._createStandardSchema = void 0;
|
|
52
52
|
const _createStandardSchema = (fn)=>Object.assign(fn, {
|
|
53
53
|
"~standard": {
|
|
@@ -131,7 +131,7 @@ export const __webpack_modules__ = {
|
|
|
131
131
|
return segments;
|
|
132
132
|
};
|
|
133
133
|
},
|
|
134
|
-
"../../../node_modules/.pnpm/typia@9.
|
|
134
|
+
"../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_validateReport.js": function(__unused_webpack_module, exports) {
|
|
135
135
|
exports._validateReport = void 0;
|
|
136
136
|
const _validateReport = (array)=>{
|
|
137
137
|
const reportable = (path)=>{
|
|
@@ -159,9 +159,9 @@ export const __webpack_modules__ = {
|
|
|
159
159
|
validate: ()=>validate,
|
|
160
160
|
validateConfig: ()=>validateConfig
|
|
161
161
|
});
|
|
162
|
-
var typia_lib_internal_accessExpressionAsString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/.pnpm/typia@9.
|
|
163
|
-
var typia_lib_internal_validateReport_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/.pnpm/typia@9.
|
|
164
|
-
var typia_lib_internal_createStandardSchema_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/.pnpm/typia@9.
|
|
162
|
+
var typia_lib_internal_accessExpressionAsString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
|
|
163
|
+
var typia_lib_internal_validateReport_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_validateReport.js");
|
|
164
|
+
var typia_lib_internal_createStandardSchema_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_createStandardSchema.js");
|
|
165
165
|
var picocolors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
166
166
|
var picocolors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/ __webpack_require__.n(picocolors__WEBPACK_IMPORTED_MODULE_3__);
|
|
167
167
|
const validateConfig = (()=>{
|
|
@@ -1490,9 +1490,9 @@ export const __webpack_modules__ = {
|
|
|
1490
1490
|
if (void 0 === value) return true;
|
|
1491
1491
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1492
1492
|
});
|
|
1493
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1493
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6649"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1494
1494
|
if ([
|
|
1495
|
-
"__@toStringTag@
|
|
1495
|
+
"__@toStringTag@6649"
|
|
1496
1496
|
].some((prop)=>key === prop)) return true;
|
|
1497
1497
|
const value = input[key];
|
|
1498
1498
|
if (void 0 === value) return true;
|
|
@@ -3097,14 +3097,14 @@ export const __webpack_modules__ = {
|
|
|
3097
3097
|
if (void 0 === value) return true;
|
|
3098
3098
|
return false;
|
|
3099
3099
|
})));
|
|
3100
|
-
const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@
|
|
3100
|
+
const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@6649"] && Object.keys(input).every((key)=>{
|
|
3101
3101
|
if ([
|
|
3102
3102
|
"BYTES_PER_ELEMENT",
|
|
3103
3103
|
"buffer",
|
|
3104
3104
|
"byteLength",
|
|
3105
3105
|
"byteOffset",
|
|
3106
3106
|
"length",
|
|
3107
|
-
"__@toStringTag@
|
|
3107
|
+
"__@toStringTag@6649"
|
|
3108
3108
|
].some((prop)=>key === prop)) return true;
|
|
3109
3109
|
const value = input[key];
|
|
3110
3110
|
if (void 0 === value) return true;
|
|
@@ -6356,9 +6356,9 @@ export const __webpack_modules__ = {
|
|
|
6356
6356
|
if (void 0 === value) return true;
|
|
6357
6357
|
return false;
|
|
6358
6358
|
}));
|
|
6359
|
-
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6359
|
+
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6649"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6360
6360
|
if ([
|
|
6361
|
-
"__@toStringTag@
|
|
6361
|
+
"__@toStringTag@6649"
|
|
6362
6362
|
].some((prop)=>key === prop)) return true;
|
|
6363
6363
|
const value = input[key];
|
|
6364
6364
|
if (void 0 === value) return true;
|
|
@@ -6751,11 +6751,12 @@ export const __webpack_modules__ = {
|
|
|
6751
6751
|
if (void 0 === value) return true;
|
|
6752
6752
|
return false;
|
|
6753
6753
|
}));
|
|
6754
|
-
const _io443 = (input, _exceptionable = true)=>"object" == typeof input.server && null !== input.server && _io444(input.server, _exceptionable) && (void 0 === input.extraConfig || "object" == typeof input.extraConfig && null !== input.extraConfig && false === Array.isArray(input.extraConfig) && _io445(input.extraConfig, _exceptionable)) && (0 === input.type || 1 === input.type || 2 === input.type || 3 === input.type || 4 === input.type) && true && true && true && true && true && true && true && true && true && true && true && true && true && "string" == typeof input._name && "string" == typeof input.hash && "string" == typeof input.root && "number" == typeof input.pid && "object" == typeof input.hooks && null !== input.hooks && _io448(input.hooks, _exceptionable) && "object" == typeof input._envinfo && null !== input._envinfo && _io451(input._envinfo, _exceptionable) && true && true && "string" == typeof input.diskManifestPath && (void 0 === input.cloudData || "object" == typeof input.cloudData && null !== input.cloudData && _io452(input.cloudData, _exceptionable)) && (
|
|
6754
|
+
const _io443 = (input, _exceptionable = true)=>"object" == typeof input.server && null !== input.server && _io444(input.server, _exceptionable) && (void 0 === input.extraConfig || "object" == typeof input.extraConfig && null !== input.extraConfig && false === Array.isArray(input.extraConfig) && _io445(input.extraConfig, _exceptionable)) && (0 === input.type || 1 === input.type || 2 === input.type || 3 === input.type || 4 === input.type) && "string" == typeof input._root && true && true && true && true && true && true && true && true && true && true && true && true && true && "string" == typeof input._name && "string" == typeof input.hash && "string" == typeof input.root && "number" == typeof input.pid && "object" == typeof input.hooks && null !== input.hooks && _io448(input.hooks, _exceptionable) && "object" == typeof input._envinfo && null !== input._envinfo && _io451(input._envinfo, _exceptionable) && true && true && "string" == typeof input.diskManifestPath && (void 0 === input.cloudData || "object" == typeof input.cloudData && null !== input.cloudData && _io452(input.cloudData, _exceptionable)) && (25 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6755
6755
|
if ([
|
|
6756
6756
|
"server",
|
|
6757
6757
|
"extraConfig",
|
|
6758
6758
|
"type",
|
|
6759
|
+
"_root",
|
|
6759
6760
|
"_summary",
|
|
6760
6761
|
"_configs",
|
|
6761
6762
|
"_errors",
|
|
@@ -6950,18 +6951,18 @@ export const __webpack_modules__ = {
|
|
|
6950
6951
|
return false;
|
|
6951
6952
|
})();
|
|
6952
6953
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
6953
|
-
if (void 0 !== input["__@toStringTag@
|
|
6954
|
+
if (void 0 !== input["__@toStringTag@6649"]) return _io149(input, _exceptionable);
|
|
6954
6955
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
6955
6956
|
return false;
|
|
6956
6957
|
})();
|
|
6957
6958
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
6958
|
-
if (void 0 !== input["__@toStringTag@
|
|
6959
|
+
if (void 0 !== input["__@toStringTag@6649"]) return _io149(input, _exceptionable);
|
|
6959
6960
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
6960
6961
|
return false;
|
|
6961
6962
|
})();
|
|
6962
6963
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
6963
6964
|
if (void 0 !== input.name) return _io405(input, _exceptionable);
|
|
6964
|
-
if (void 0 !== input["__@toStringTag@
|
|
6965
|
+
if (void 0 !== input["__@toStringTag@6649"]) return _io406(input, _exceptionable);
|
|
6965
6966
|
return false;
|
|
6966
6967
|
})();
|
|
6967
6968
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9546,14 +9547,14 @@ export const __webpack_modules__ = {
|
|
|
9546
9547
|
}).every((flag)=>flag)
|
|
9547
9548
|
].every((flag)=>flag);
|
|
9548
9549
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9549
|
-
"string" == typeof input["__@toStringTag@
|
|
9550
|
-
path: _path + "[\"__@toStringTag@
|
|
9550
|
+
"string" == typeof input["__@toStringTag@6649"] || _report(_exceptionable, {
|
|
9551
|
+
path: _path + "[\"__@toStringTag@6649\"]",
|
|
9551
9552
|
expected: "string",
|
|
9552
|
-
value: input["__@toStringTag@
|
|
9553
|
+
value: input["__@toStringTag@6649"]
|
|
9553
9554
|
}),
|
|
9554
9555
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9555
9556
|
if ([
|
|
9556
|
-
"__@toStringTag@
|
|
9557
|
+
"__@toStringTag@6649"
|
|
9557
9558
|
].some((prop)=>key === prop)) return true;
|
|
9558
9559
|
const value = input[key];
|
|
9559
9560
|
if (void 0 === value) return true;
|
|
@@ -18541,10 +18542,10 @@ export const __webpack_modules__ = {
|
|
|
18541
18542
|
expected: "number",
|
|
18542
18543
|
value: input.length
|
|
18543
18544
|
}),
|
|
18544
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18545
|
-
path: _path + "[\"__@toStringTag@
|
|
18545
|
+
"Uint8Array" === input["__@toStringTag@6649"] || _report(_exceptionable, {
|
|
18546
|
+
path: _path + "[\"__@toStringTag@6649\"]",
|
|
18546
18547
|
expected: "\"Uint8Array\"",
|
|
18547
|
-
value: input["__@toStringTag@
|
|
18548
|
+
value: input["__@toStringTag@6649"]
|
|
18548
18549
|
}),
|
|
18549
18550
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18550
18551
|
if ([
|
|
@@ -18553,7 +18554,7 @@ export const __webpack_modules__ = {
|
|
|
18553
18554
|
"byteLength",
|
|
18554
18555
|
"byteOffset",
|
|
18555
18556
|
"length",
|
|
18556
|
-
"__@toStringTag@
|
|
18557
|
+
"__@toStringTag@6649"
|
|
18557
18558
|
].some((prop)=>key === prop)) return true;
|
|
18558
18559
|
const value = input[key];
|
|
18559
18560
|
if (void 0 === value) return true;
|
|
@@ -36606,14 +36607,14 @@ export const __webpack_modules__ = {
|
|
|
36606
36607
|
}).every((flag)=>flag)
|
|
36607
36608
|
].every((flag)=>flag);
|
|
36608
36609
|
const _vo406 = (input, _path, _exceptionable = true)=>[
|
|
36609
|
-
"string" == typeof input["__@toStringTag@
|
|
36610
|
-
path: _path + "[\"__@toStringTag@
|
|
36610
|
+
"string" == typeof input["__@toStringTag@6649"] || _report(_exceptionable, {
|
|
36611
|
+
path: _path + "[\"__@toStringTag@6649\"]",
|
|
36611
36612
|
expected: "string",
|
|
36612
|
-
value: input["__@toStringTag@
|
|
36613
|
+
value: input["__@toStringTag@6649"]
|
|
36613
36614
|
}),
|
|
36614
36615
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
36615
36616
|
if ([
|
|
36616
|
-
"__@toStringTag@
|
|
36617
|
+
"__@toStringTag@6649"
|
|
36617
36618
|
].some((prop)=>key === prop)) return true;
|
|
36618
36619
|
const value = input[key];
|
|
36619
36620
|
if (void 0 === value) return true;
|
|
@@ -38863,6 +38864,11 @@ export const __webpack_modules__ = {
|
|
|
38863
38864
|
expected: "(0 | 1 | 2 | 3 | 4)",
|
|
38864
38865
|
value: input.type
|
|
38865
38866
|
}),
|
|
38867
|
+
"string" == typeof input._root || _report(_exceptionable, {
|
|
38868
|
+
path: _path + "._root",
|
|
38869
|
+
expected: "string",
|
|
38870
|
+
value: input._root
|
|
38871
|
+
}),
|
|
38866
38872
|
true,
|
|
38867
38873
|
true,
|
|
38868
38874
|
true,
|
|
@@ -38930,11 +38936,12 @@ export const __webpack_modules__ = {
|
|
|
38930
38936
|
expected: "(RsdoctorManifestWithShardingFiles | undefined)",
|
|
38931
38937
|
value: input.cloudData
|
|
38932
38938
|
}),
|
|
38933
|
-
|
|
38939
|
+
25 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
38934
38940
|
if ([
|
|
38935
38941
|
"server",
|
|
38936
38942
|
"extraConfig",
|
|
38937
38943
|
"type",
|
|
38944
|
+
"_root",
|
|
38938
38945
|
"_summary",
|
|
38939
38946
|
"_configs",
|
|
38940
38947
|
"_errors",
|
|
@@ -39631,7 +39638,7 @@ export const __webpack_modules__ = {
|
|
|
39631
39638
|
});
|
|
39632
39639
|
})();
|
|
39633
39640
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39634
|
-
if (void 0 !== input["__@toStringTag@
|
|
39641
|
+
if (void 0 !== input["__@toStringTag@6649"]) return _vo149(input, _path, _exceptionable);
|
|
39635
39642
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
39636
39643
|
return _report(_exceptionable, {
|
|
39637
39644
|
path: _path,
|
|
@@ -39640,7 +39647,7 @@ export const __webpack_modules__ = {
|
|
|
39640
39647
|
});
|
|
39641
39648
|
})();
|
|
39642
39649
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39643
|
-
if (void 0 !== input["__@toStringTag@
|
|
39650
|
+
if (void 0 !== input["__@toStringTag@6649"]) return _vo149(input, _path, _exceptionable);
|
|
39644
39651
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
39645
39652
|
return _report(_exceptionable, {
|
|
39646
39653
|
path: _path,
|
|
@@ -39650,7 +39657,7 @@ export const __webpack_modules__ = {
|
|
|
39650
39657
|
})();
|
|
39651
39658
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39652
39659
|
if (void 0 !== input.name) return _vo405(input, _path, _exceptionable);
|
|
39653
|
-
if (void 0 !== input["__@toStringTag@
|
|
39660
|
+
if (void 0 !== input["__@toStringTag@6649"]) return _vo406(input, _path, _exceptionable);
|
|
39654
39661
|
return _report(_exceptionable, {
|
|
39655
39662
|
path: _path,
|
|
39656
39663
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -19,11 +19,11 @@ export const __webpack_modules__ = {
|
|
|
19
19
|
config,
|
|
20
20
|
debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.fF,
|
|
21
21
|
async exit (code) {
|
|
22
|
-
const { exit } = await
|
|
22
|
+
const { exit } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
|
|
23
23
|
return exit(code);
|
|
24
24
|
},
|
|
25
25
|
logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
|
|
26
|
-
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.
|
|
26
|
+
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.version
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
};
|
|
@@ -7,10 +7,8 @@ export const __webpack_modules__ = {
|
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginRsdoctor: ()=>pluginRsdoctor
|
|
9
9
|
});
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
13
|
-
}
|
|
10
|
+
var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
|
|
11
|
+
var _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/utils/is-ci.ts");
|
|
14
12
|
function pluginRsdoctor(options) {
|
|
15
13
|
return {
|
|
16
14
|
name: 'lynx:rsbuild:rsdoctor',
|
|
@@ -27,7 +25,7 @@ export const __webpack_modules__ = {
|
|
|
27
25
|
if (registered) continue;
|
|
28
26
|
config.plugins ??= [];
|
|
29
27
|
const defaultOptions = {
|
|
30
|
-
disableClientServer:
|
|
28
|
+
disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.y)(),
|
|
31
29
|
supports: {
|
|
32
30
|
banner: true
|
|
33
31
|
},
|
|
@@ -42,12 +40,20 @@ export const __webpack_modules__ = {
|
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
};
|
|
45
|
-
config.plugins.push(new RsdoctorRspackPlugin((0,
|
|
43
|
+
config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
|
|
46
44
|
}
|
|
47
|
-
|
|
45
|
+
_rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
|
|
48
46
|
});
|
|
49
47
|
}
|
|
50
48
|
};
|
|
51
49
|
}
|
|
50
|
+
},
|
|
51
|
+
"./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
52
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
53
|
+
y: ()=>isCI
|
|
54
|
+
});
|
|
55
|
+
function isCI() {
|
|
56
|
+
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
};
|
package/dist/src_version_ts.js
CHANGED
|
@@ -10,7 +10,7 @@ export const __webpack_modules__ = {
|
|
|
10
10
|
});
|
|
11
11
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
12
12
|
var package_namespaceObject = {
|
|
13
|
-
i8: "0.10.
|
|
13
|
+
i8: "0.10.6"
|
|
14
14
|
};
|
|
15
15
|
const version = package_namespaceObject.i8;
|
|
16
16
|
const rspackVersion = core_.rspack.rspackVersion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy-canary",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7-canary-20250815-39c7b781",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
|
|
52
52
|
"@rsbuild/core": "1.4.15",
|
|
53
53
|
"@rsbuild/plugin-css-minimizer": "1.0.3",
|
|
54
|
-
"@rsdoctor/rspack-plugin": "1.
|
|
54
|
+
"@rsdoctor/rspack-plugin": "1.2.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@microsoft/api-extractor": "7.52.10",
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
"ipaddr.js": "^2.2.0",
|
|
64
64
|
"javascript-stringify": "^2.1.0",
|
|
65
65
|
"picocolors": "^1.1.1",
|
|
66
|
-
"rsbuild-plugin-publint": "0.3.
|
|
66
|
+
"rsbuild-plugin-publint": "0.3.3",
|
|
67
67
|
"tiny-invariant": "^1.3.3",
|
|
68
68
|
"ts-blank-space": "^0.6.2",
|
|
69
69
|
"type-fest": "^4.41.0",
|
|
70
|
-
"typia": "9.
|
|
71
|
-
"typia-rspack-plugin": "2.2.
|
|
70
|
+
"typia": "9.7.1",
|
|
71
|
+
"typia-rspack-plugin": "2.2.1",
|
|
72
72
|
"vitest": "^3.2.4",
|
|
73
|
-
"webpack": "^5.101.
|
|
73
|
+
"webpack": "^5.101.2",
|
|
74
74
|
"@lynx-js/vitest-setup": "0.0.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|