@rslib/core 0.0.0 → 0.0.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.
@@ -1,4 +1,4 @@
1
- import type { Format, PkgJson } from '../types';
1
+ import type { Format, PkgJson } from 'src/types';
2
2
  export declare const getDefaultExtension: (options: {
3
3
  format: Format;
4
4
  pkgJson?: PkgJson;
@@ -1,4 +1,4 @@
1
- import color from '../../compiled/picocolors';
1
+ import color from 'picocolors';
2
2
  import type { PkgJson } from '../types';
3
3
  /**
4
4
  * Node.js built-in modules.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslib/core",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "The Rspack-based library build tool.",
5
5
  "homepage": "https://rslib.dev",
6
6
  "bugs": {
@@ -16,12 +16,11 @@
16
16
  "exports": {
17
17
  ".": {
18
18
  "types": "./dist-types/index.d.ts",
19
- "import": "./dist/index.js",
20
- "require": "./dist/index.cjs"
19
+ "default": "./dist/main.js"
21
20
  },
22
21
  "./package.json": "./package.json"
23
22
  },
24
- "main": "./dist/index.cjs",
23
+ "main": "./dist/main.js",
25
24
  "types": "./dist-types/index.d.ts",
26
25
  "bin": {
27
26
  "rslib": "./bin/rslib.js"
@@ -34,7 +33,7 @@
34
33
  ],
35
34
  "dependencies": {
36
35
  "@rsbuild/core": "1.0.1-beta.11",
37
- "rsbuild-plugin-dts": "0.0.0"
36
+ "rsbuild-plugin-dts": "0.0.1"
38
37
  },
39
38
  "devDependencies": {
40
39
  "@types/fs-extra": "^11.0.4",
@@ -44,6 +43,7 @@
44
43
  "memfs": "^4.11.1",
45
44
  "picocolors": "1.0.1",
46
45
  "prebundle": "1.1.0",
46
+ "rslib": "npm:@rslib/core@0.0.0",
47
47
  "rslog": "^1.2.2",
48
48
  "typescript": "^5.5.4",
49
49
  "@rslib/tsconfig": "0.0.1"
@@ -65,11 +65,12 @@
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public",
68
+ "provenance": true,
68
69
  "registry": "https://registry.npmjs.org/"
69
70
  },
70
71
  "scripts": {
71
- "build": "modern build",
72
- "dev": "modern build --watch",
72
+ "build": "rslib build",
73
+ "dev": "rslib build --watch",
73
74
  "prebundle": "prebundle"
74
75
  }
75
76
  }