@lynx-js/rspeedy-canary 0.11.1-canary-20250902-95683fb5 → 0.11.1-canary-20250903-a9207e93
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
package/dist/index.d.ts
CHANGED
|
@@ -2978,7 +2978,7 @@ export declare interface Source {
|
|
|
2978
2978
|
*
|
|
2979
2979
|
* - The `paths` field is used to configure {@link Source.alias | Path Aliases}.
|
|
2980
2980
|
*
|
|
2981
|
-
* - Sets the scope and rules for the {@link https://rsbuild.
|
|
2981
|
+
* - Sets the scope and rules for the {@link https://rsbuild.rs/guide/basic/typescript#type-checking | Type Check Plugin}.
|
|
2982
2982
|
*
|
|
2983
2983
|
* @example
|
|
2984
2984
|
*
|
|
@@ -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 Promise.resolve().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__.version
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
};
|
|
@@ -8,10 +8,8 @@ export const __webpack_modules__ = {
|
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
pluginRsdoctor: ()=>pluginRsdoctor
|
|
10
10
|
});
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
14
|
-
}
|
|
11
|
+
var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
|
|
12
|
+
var _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/utils/is-ci.ts");
|
|
15
13
|
function pluginRsdoctor(options) {
|
|
16
14
|
return {
|
|
17
15
|
name: 'lynx:rsbuild:rsdoctor',
|
|
@@ -28,7 +26,7 @@ export const __webpack_modules__ = {
|
|
|
28
26
|
if (registered) continue;
|
|
29
27
|
config.plugins ??= [];
|
|
30
28
|
const defaultOptions = {
|
|
31
|
-
disableClientServer:
|
|
29
|
+
disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.J)(),
|
|
32
30
|
supports: {
|
|
33
31
|
banner: true
|
|
34
32
|
},
|
|
@@ -43,12 +41,20 @@ export const __webpack_modules__ = {
|
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
};
|
|
46
|
-
config.plugins.push(new RsdoctorRspackPlugin((0,
|
|
44
|
+
config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
|
|
47
45
|
}
|
|
48
|
-
|
|
46
|
+
_rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
|
|
49
47
|
});
|
|
50
48
|
}
|
|
51
49
|
};
|
|
52
50
|
}
|
|
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
|
+
}
|
|
53
59
|
}
|
|
54
60
|
};
|