@rslib/core 0.7.1 → 0.9.0

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.
@@ -1,6 +1,6 @@
1
1
  import type { EnvironmentConfig, OutputConfig, RsbuildConfig, Rspack } from '@rsbuild/core';
2
2
  import type { GetAsyncFunctionFromUnion } from './utils';
3
- export type Format = 'esm' | 'cjs' | 'umd' | 'mf';
3
+ export type Format = 'esm' | 'cjs' | 'umd' | 'mf' | 'iife';
4
4
  export type FixedEcmaVersions = 'es5' | 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023';
5
5
  export type LatestEcmaVersions = 'es2024' | 'esnext';
6
6
  export type EcmaScriptVersion = FixedEcmaVersions | LatestEcmaVersions;
@@ -252,7 +252,7 @@ export interface LibConfig extends EnvironmentConfig {
252
252
  * @defaultValue `undefined`
253
253
  * @see {@link https://lib.rsbuild.dev/config/lib/umd-name}
254
254
  */
255
- umdName?: string;
255
+ umdName?: Rspack.LibraryName;
256
256
  /**
257
257
  * The base directory of the output files.
258
258
  * @defaultValue `undefined`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslib/core",
3
- "version": "0.7.1",
3
+ "version": "0.9.0",
4
4
  "description": "The Rsbuild-based library development tool.",
5
5
  "homepage": "https://lib.rsbuild.dev",
6
6
  "bugs": {
@@ -36,23 +36,23 @@
36
36
  "types.d.ts"
37
37
  ],
38
38
  "dependencies": {
39
- "@rsbuild/core": "1.3.19",
40
- "tinyglobby": "^0.2.13",
41
- "rsbuild-plugin-dts": "0.7.1"
39
+ "@rsbuild/core": "1.3.21",
40
+ "tinyglobby": "^0.2.14",
41
+ "rsbuild-plugin-dts": "0.9.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@module-federation/rsbuild-plugin": "^0.13.1",
44
+ "@module-federation/rsbuild-plugin": "^0.14.0",
45
45
  "@types/fs-extra": "^11.0.4",
46
+ "cac": "^6.7.14",
46
47
  "chokidar": "^4.0.3",
47
- "commander": "^13.1.0",
48
48
  "fs-extra": "^11.3.0",
49
- "memfs": "^4.17.1",
49
+ "memfs": "^4.17.2",
50
50
  "picocolors": "1.1.1",
51
51
  "prebundle": "1.3.3",
52
52
  "rsbuild-plugin-publint": "^0.3.2",
53
- "rslib": "npm:@rslib/core@0.6.9",
53
+ "rslib": "npm:@rslib/core@0.8.0",
54
54
  "rslog": "^1.2.3",
55
- "tsconfck": "3.1.5",
55
+ "tsconfck": "3.1.6",
56
56
  "typescript": "^5.8.3",
57
57
  "@rslib/tsconfig": "0.0.1"
58
58
  },