@rslib/core 0.4.0 → 0.4.1
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/compiled/chokidar/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +10 -6
- package/types.d.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -160,7 +160,7 @@ function prepareCli() {
|
|
|
160
160
|
initNodeEnv();
|
|
161
161
|
const { npm_execpath } = process.env;
|
|
162
162
|
if (!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) console.log();
|
|
163
|
-
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rslib v0.4.
|
|
163
|
+
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rslib v0.4.1\n`);
|
|
164
164
|
}
|
|
165
165
|
const DEFAULT_CONFIG_NAME = 'rslib.config';
|
|
166
166
|
const DEFAULT_CONFIG_EXTENSIONS = [
|
|
@@ -2420,7 +2420,7 @@ const repeatableOption = (value, previous)=>(previous ?? []).concat([
|
|
|
2420
2420
|
value
|
|
2421
2421
|
]);
|
|
2422
2422
|
function runCli() {
|
|
2423
|
-
__WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.name('rslib').usage('<command> [options]').version("0.4.
|
|
2423
|
+
__WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.name('rslib').usage('<command> [options]').version("0.4.1");
|
|
2424
2424
|
const buildCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('build');
|
|
2425
2425
|
const inspectCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('inspect');
|
|
2426
2426
|
const mfDevCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('mf-dev');
|
|
@@ -2481,6 +2481,6 @@ function runCli() {
|
|
|
2481
2481
|
});
|
|
2482
2482
|
__WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.parse();
|
|
2483
2483
|
}
|
|
2484
|
-
const src_rslib_entry_version = "0.4.
|
|
2484
|
+
const src_rslib_entry_version = "0.4.1";
|
|
2485
2485
|
var __webpack_exports__logger = __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger;
|
|
2486
2486
|
export { build, defineConfig, inspect, loadConfig, prepareCli, runCli, startMFDevServer, composeCreateRsbuildConfig as unstable_composeCreateRsbuildConfig, src_rslib_entry_version as version, __webpack_exports__logger as logger };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rslib/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "The Rsbuild-based library development tool.",
|
|
5
5
|
"homepage": "https://lib.rsbuild.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
"types": "./dist-types/index.d.ts",
|
|
19
19
|
"default": "./dist/index.js"
|
|
20
20
|
},
|
|
21
|
+
"./types": {
|
|
22
|
+
"types": "./types.d.ts"
|
|
23
|
+
},
|
|
21
24
|
"./package.json": "./package.json"
|
|
22
25
|
},
|
|
23
26
|
"main": "./dist/index.js",
|
|
@@ -29,12 +32,13 @@
|
|
|
29
32
|
"bin",
|
|
30
33
|
"dist",
|
|
31
34
|
"dist-types",
|
|
32
|
-
"compiled"
|
|
35
|
+
"compiled",
|
|
36
|
+
"types.d.ts"
|
|
33
37
|
],
|
|
34
38
|
"dependencies": {
|
|
35
|
-
"@rsbuild/core": "~1.2.
|
|
39
|
+
"@rsbuild/core": "~1.2.4",
|
|
36
40
|
"tinyglobby": "^0.2.10",
|
|
37
|
-
"rsbuild-plugin-dts": "0.4.
|
|
41
|
+
"rsbuild-plugin-dts": "0.4.1"
|
|
38
42
|
},
|
|
39
43
|
"devDependencies": {
|
|
40
44
|
"@module-federation/rsbuild-plugin": "^0.8.9",
|
|
@@ -45,8 +49,8 @@
|
|
|
45
49
|
"memfs": "^4.17.0",
|
|
46
50
|
"picocolors": "1.1.1",
|
|
47
51
|
"prebundle": "1.2.7",
|
|
48
|
-
"rsbuild-plugin-publint": "^0.
|
|
49
|
-
"rslib": "npm:@rslib/core@0.
|
|
52
|
+
"rsbuild-plugin-publint": "^0.3.0",
|
|
53
|
+
"rslib": "npm:@rslib/core@0.4.0",
|
|
50
54
|
"rslog": "^1.2.3",
|
|
51
55
|
"tsconfck": "3.1.4",
|
|
52
56
|
"typescript": "^5.7.3",
|
package/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="@rsbuild/core/types" />
|