@rslib/core 0.6.8 → 0.6.9
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/dist/index.js +6 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -181,7 +181,7 @@ function prepareCli() {
|
|
|
181
181
|
initNodeEnv();
|
|
182
182
|
const { npm_execpath } = process.env;
|
|
183
183
|
if (!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) console.log();
|
|
184
|
-
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rslib v0.6.
|
|
184
|
+
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rslib v0.6.9\n`);
|
|
185
185
|
}
|
|
186
186
|
const DEFAULT_CONFIG_NAME = 'rslib.config';
|
|
187
187
|
const DEFAULT_CONFIG_EXTENSIONS = [
|
|
@@ -2359,6 +2359,7 @@ const beforeRestart = async ({ filePath, clear = true } = {})=>{
|
|
|
2359
2359
|
async function build(config, options = {}) {
|
|
2360
2360
|
const { environments } = await composeRsbuildEnvironments(config);
|
|
2361
2361
|
const rsbuildInstance = await (0, __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.createRsbuild)({
|
|
2362
|
+
callerName: 'rslib',
|
|
2362
2363
|
rsbuildConfig: {
|
|
2363
2364
|
mode: 'production',
|
|
2364
2365
|
root: config.root,
|
|
@@ -2410,6 +2411,7 @@ async function init(options) {
|
|
|
2410
2411
|
async function inspect(config, options = {}) {
|
|
2411
2412
|
const { environments } = await composeRsbuildEnvironments(config);
|
|
2412
2413
|
const rsbuildInstance = await (0, __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.createRsbuild)({
|
|
2414
|
+
callerName: 'rslib',
|
|
2413
2415
|
rsbuildConfig: {
|
|
2414
2416
|
mode: 'production',
|
|
2415
2417
|
root: config.root,
|
|
@@ -2441,6 +2443,7 @@ async function initMFRsbuild(config, options = {}) {
|
|
|
2441
2443
|
if (!selectedEnvironmentIds.length) throw new Error(`No mf format found in ${options.lib ? `libs ${options.lib.map((lib)=>`"${lib}"`).join(', ')}` : 'your config'}, please check your config to ensure that the mf format is enabled correctly.`);
|
|
2442
2444
|
const selectedEnvironments = pruneEnvironments(environments, selectedEnvironmentIds);
|
|
2443
2445
|
const rsbuildInstance = await (0, __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.createRsbuild)({
|
|
2446
|
+
callerName: 'rslib',
|
|
2444
2447
|
rsbuildConfig: {
|
|
2445
2448
|
mode: 'development',
|
|
2446
2449
|
root: config.root,
|
|
@@ -2461,7 +2464,7 @@ const repeatableOption = (value, previous)=>(previous ?? []).concat([
|
|
|
2461
2464
|
value
|
|
2462
2465
|
]);
|
|
2463
2466
|
function runCli() {
|
|
2464
|
-
__WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.name('rslib').usage('<command> [options]').version("0.6.
|
|
2467
|
+
__WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.name('rslib').usage('<command> [options]').version("0.6.9");
|
|
2465
2468
|
const buildCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('build');
|
|
2466
2469
|
const inspectCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('inspect');
|
|
2467
2470
|
const mfDevCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('mf-dev');
|
|
@@ -2522,7 +2525,7 @@ function runCli() {
|
|
|
2522
2525
|
});
|
|
2523
2526
|
__WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.parse();
|
|
2524
2527
|
}
|
|
2525
|
-
const src_version = "0.6.
|
|
2528
|
+
const src_version = "0.6.9";
|
|
2526
2529
|
var __webpack_exports__logger = __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger;
|
|
2527
2530
|
var __webpack_exports__rspack = __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.rspack;
|
|
2528
2531
|
export { build, defineConfig, inspect, loadConfig, prepareCli, __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__ as rsbuild, runCli, startMFDevServer, composeCreateRsbuildConfig as unstable_composeCreateRsbuildConfig, src_version as version, __webpack_exports__logger as logger, __webpack_exports__rspack as rspack };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rslib/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"description": "The Rsbuild-based library development tool.",
|
|
5
5
|
"homepage": "https://lib.rsbuild.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"types.d.ts"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@rsbuild/core": "1.3.
|
|
39
|
+
"@rsbuild/core": "1.3.18",
|
|
40
40
|
"tinyglobby": "^0.2.13",
|
|
41
|
-
"rsbuild-plugin-dts": "0.6.
|
|
41
|
+
"rsbuild-plugin-dts": "0.6.9"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@module-federation/rsbuild-plugin": "^0.13.1",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"chokidar": "^4.0.3",
|
|
47
47
|
"commander": "^13.1.0",
|
|
48
48
|
"fs-extra": "^11.3.0",
|
|
49
|
-
"memfs": "^4.17.
|
|
49
|
+
"memfs": "^4.17.1",
|
|
50
50
|
"picocolors": "1.1.1",
|
|
51
51
|
"prebundle": "1.3.3",
|
|
52
52
|
"rsbuild-plugin-publint": "^0.3.1",
|
|
53
|
-
"rslib": "npm:@rslib/core@0.6.
|
|
53
|
+
"rslib": "npm:@rslib/core@0.6.8",
|
|
54
54
|
"rslog": "^1.2.3",
|
|
55
55
|
"tsconfck": "3.1.5",
|
|
56
56
|
"typescript": "^5.8.3",
|