@rslib/core 0.5.0 → 0.5.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/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.5.0\n`);
163
+ __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rslib v0.5.1\n`);
164
164
  }
165
165
  const DEFAULT_CONFIG_NAME = 'rslib.config';
166
166
  const DEFAULT_CONFIG_EXTENSIONS = [
@@ -2442,7 +2442,7 @@ const repeatableOption = (value, previous)=>(previous ?? []).concat([
2442
2442
  value
2443
2443
  ]);
2444
2444
  function runCli() {
2445
- __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.name('rslib').usage('<command> [options]').version("0.5.0");
2445
+ __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.name('rslib').usage('<command> [options]').version("0.5.1");
2446
2446
  const buildCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('build');
2447
2447
  const inspectCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('inspect');
2448
2448
  const mfDevCommand = __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.command('mf-dev');
@@ -2503,6 +2503,6 @@ function runCli() {
2503
2503
  });
2504
2504
  __WEBPACK_EXTERNAL_MODULE__compiled_commander_index_js_bca3ceaa__.program.parse();
2505
2505
  }
2506
- const src_rslib_entry_version = "0.5.0";
2506
+ const src_rslib_entry_version = "0.5.1";
2507
2507
  var __webpack_exports__logger = __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger;
2508
2508
  export { build, defineConfig, inspect, loadConfig, prepareCli, runCli, startMFDevServer, composeCreateRsbuildConfig as unstable_composeCreateRsbuildConfig, src_rslib_entry_version as version, __webpack_exports__logger as logger };
@@ -1,5 +1,5 @@
1
1
  import type { RsbuildPlugins } from '@rsbuild/core';
2
- import color from 'picocolors';
2
+ import color from '../../compiled/picocolors';
3
3
  import type { Format, LibConfig, PkgJson } from '../types';
4
4
  /**
5
5
  * Node.js built-in modules.
@@ -1,4 +1,4 @@
1
- import { type Logger, logger } from 'rslog';
1
+ import { type Logger, logger } from '../../compiled/rslog';
2
2
  export declare const isDebug: () => boolean;
3
3
  export declare const debug: (message: string | (() => string)) => void;
4
4
  export { logger };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslib/core",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "The Rsbuild-based library development tool.",
5
5
  "homepage": "https://lib.rsbuild.dev",
6
6
  "bugs": {
@@ -36,12 +36,12 @@
36
36
  "types.d.ts"
37
37
  ],
38
38
  "dependencies": {
39
- "@rsbuild/core": "~1.2.9",
40
- "tinyglobby": "^0.2.11",
41
- "rsbuild-plugin-dts": "0.5.0"
39
+ "@rsbuild/core": "~1.2.10",
40
+ "tinyglobby": "^0.2.12",
41
+ "rsbuild-plugin-dts": "0.5.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@module-federation/rsbuild-plugin": "^0.8.11",
44
+ "@module-federation/rsbuild-plugin": "^0.8.12",
45
45
  "@types/fs-extra": "^11.0.4",
46
46
  "chokidar": "^4.0.3",
47
47
  "commander": "^13.1.0",
@@ -50,7 +50,7 @@
50
50
  "picocolors": "1.1.1",
51
51
  "prebundle": "1.2.7",
52
52
  "rsbuild-plugin-publint": "^0.3.0",
53
- "rslib": "npm:@rslib/core@0.4.1",
53
+ "rslib": "npm:@rslib/core@0.5.0",
54
54
  "rslog": "^1.2.3",
55
55
  "tsconfck": "3.1.5",
56
56
  "typescript": "^5.7.3",