@rslib/core 0.19.2 → 0.19.4
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 +5 -4
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1050,7 +1050,7 @@ const pluginCjsShims = (enabledShims)=>({
|
|
|
1050
1050
|
});
|
|
1051
1051
|
const requireShim = `// Rslib ESM shims
|
|
1052
1052
|
import __rslib_shim_module__ from "node:module";
|
|
1053
|
-
const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(import.meta.url);
|
|
1053
|
+
const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (() => import.meta.url)());
|
|
1054
1054
|
`;
|
|
1055
1055
|
const pluginEsmRequireShim = ()=>({
|
|
1056
1056
|
name: 'rsbuild:esm-require-shim',
|
|
@@ -3181,7 +3181,7 @@ const applyCommonOptions = (cli)=>{
|
|
|
3181
3181
|
};
|
|
3182
3182
|
function setupCommands() {
|
|
3183
3183
|
const cli = dist('rslib');
|
|
3184
|
-
cli.version("0.19.
|
|
3184
|
+
cli.version("0.19.4");
|
|
3185
3185
|
applyCommonOptions(cli);
|
|
3186
3186
|
const buildDescription = `build the library for production ${picocolors.dim('(default if no command is given)')}`;
|
|
3187
3187
|
const buildCommand = cli.command('', buildDescription).alias('build');
|
|
@@ -3281,7 +3281,7 @@ function showGreeting() {
|
|
|
3281
3281
|
const isBun = npm_execpath?.includes('.bun');
|
|
3282
3282
|
const isNodeRun = Boolean(NODE_RUN_SCRIPT_NAME);
|
|
3283
3283
|
const prefix = isNpx || isBun || isNodeRun ? '\n' : '';
|
|
3284
|
-
logger.greet(`${prefix}Rslib v0.19.
|
|
3284
|
+
logger.greet(`${prefix}Rslib v0.19.4\n`);
|
|
3285
3285
|
}
|
|
3286
3286
|
function setupLogLevel() {
|
|
3287
3287
|
const logLevelIndex = process.argv.findIndex((item)=>'--log-level' === item || '--logLevel' === item);
|
|
@@ -3304,6 +3304,7 @@ function runCLI() {
|
|
|
3304
3304
|
} catch (err) {
|
|
3305
3305
|
logger.error('Failed to start Rslib CLI.');
|
|
3306
3306
|
logger.error(err);
|
|
3307
|
+
process.exit(1);
|
|
3307
3308
|
}
|
|
3308
3309
|
}
|
|
3309
3310
|
function mergeLibConfigs(...libArrays) {
|
|
@@ -3334,7 +3335,7 @@ function mergeRslibConfig(...originalConfigs) {
|
|
|
3334
3335
|
if (void 0 !== mergedLib) mergedConfig.lib = mergedLib;
|
|
3335
3336
|
return mergedConfig;
|
|
3336
3337
|
}
|
|
3337
|
-
const src_version = "0.19.
|
|
3338
|
+
const src_version = "0.19.4";
|
|
3338
3339
|
var loadEnv = __rspack_external__rsbuild_core_1b356efc.loadEnv;
|
|
3339
3340
|
var rspack = __rspack_external__rsbuild_core_1b356efc.rspack;
|
|
3340
3341
|
export { __rspack_external__rsbuild_core_1b356efc as rsbuild, createRslib, defineConfig, loadConfig, loadEnv, mergeRslibConfig, rspack, runCLI, src_version as version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rslib/core",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.4",
|
|
4
4
|
"description": "The Rsbuild-based library development tool.",
|
|
5
5
|
"homepage": "https://rslib.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
"types.d.ts"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@rsbuild/core": "1.7.
|
|
40
|
-
"rsbuild-plugin-dts": "0.19.
|
|
39
|
+
"@rsbuild/core": "~1.7.2",
|
|
40
|
+
"rsbuild-plugin-dts": "0.19.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@module-federation/rsbuild-plugin": "^0.
|
|
43
|
+
"@module-federation/rsbuild-plugin": "^0.23.0",
|
|
44
44
|
"@types/fs-extra": "^11.0.4",
|
|
45
45
|
"cac": "^6.7.14",
|
|
46
46
|
"chokidar": "^4.0.3",
|
|
47
47
|
"fs-extra": "^11.3.3",
|
|
48
|
-
"memfs": "^4.
|
|
48
|
+
"memfs": "^4.56.10",
|
|
49
49
|
"path-serializer": "0.5.1",
|
|
50
50
|
"picocolors": "1.1.1",
|
|
51
|
-
"prebundle": "1.6.
|
|
52
|
-
"rsbuild-plugin-publint": "^0.3.
|
|
53
|
-
"rslib": "npm:@rslib/core@0.19.
|
|
51
|
+
"prebundle": "1.6.2",
|
|
52
|
+
"rsbuild-plugin-publint": "^0.3.4",
|
|
53
|
+
"rslib": "npm:@rslib/core@0.19.3",
|
|
54
54
|
"rslog": "^1.3.2",
|
|
55
55
|
"tinyglobby": "0.2.14",
|
|
56
56
|
"tsconfck": "3.1.6",
|