@build-script/package-tools 0.0.28 → 0.0.29

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/bins/load.js CHANGED
File without changes
@@ -6,7 +6,7 @@
6
6
  * https://github.com/GongT/baobao
7
7
  *
8
8
  ******************************************************************************/
9
- export declare const self_package_version = "0.0.28";
9
+ export declare const self_package_version = "0.0.29";
10
10
  export declare const self_package_name = "@build-script/package-tools";
11
11
  export declare const self_package_repository = "https://github.com/GongT/baobao";
12
12
  //# sourceMappingURL=version.generated.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * https://github.com/GongT/baobao
11
11
  *
12
12
  ******************************************************************************/
13
- export const self_package_version = "0.0.28";
13
+ export const self_package_version = "0.0.29";
14
14
  export const self_package_name = "@build-script/package-tools";
15
15
  export const self_package_repository = "https://github.com/GongT/baobao";
16
16
  //# sourceMappingURL=version.generated.js.map
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@build-script/package-tools",
3
3
  "type": "module",
4
- "version": "0.0.28",
4
+ "version": "0.0.29",
5
5
  "description": "A Node.js package managing tool",
6
- "bin": {
7
- "package-tools": "./bins/load.devel.js",
8
- "njspkg": "./bins/load.devel.js"
9
- },
6
+ "license": "MIT",
7
+ "author": "GongT <admin@gongt.me>",
10
8
  "exports": {
11
9
  "./package.json": "./package.json"
12
10
  },
11
+ "bin": {
12
+ "package-tools": "./bins/load.js",
13
+ "njspkg": "./bins/load.js"
14
+ },
13
15
  "dependencies": {
14
16
  "cacache": "^20.0.4",
15
17
  "execa": "^9.6.1",
@@ -22,16 +24,16 @@
22
24
  "targz": "^1.0.1",
23
25
  "tiny-async-pool": "^2.1.0",
24
26
  "yaml": "^2.8.2",
25
- "@build-script/monorepo-lib": "^0.0.26",
26
- "@idlebox/common": "^1.5.24",
27
- "@idlebox/dependency-graph": "^0.0.23",
28
- "@idlebox/ensure-symlink": "^1.0.41",
29
- "@idlebox/json-edit": "^0.0.15",
30
- "@idlebox/node": "^1.4.32",
31
- "@idlebox/cli": "^0.0.16",
32
- "@idlebox/source-map-support": "^0.0.21",
33
- "@idlebox/terminal-control": "^0.0.5",
34
- "@idlebox/unshare": "^0.0.13"
27
+ "@build-script/monorepo-lib": "^0.0.27",
28
+ "@idlebox/cli": "^0.0.17",
29
+ "@idlebox/common": "^1.5.25",
30
+ "@idlebox/dependency-graph": "^0.0.24",
31
+ "@idlebox/ensure-symlink": "^1.0.42",
32
+ "@idlebox/json-edit": "^0.0.16",
33
+ "@idlebox/source-map-support": "^0.0.22",
34
+ "@idlebox/node": "^1.4.33",
35
+ "@idlebox/terminal-control": "^0.0.6",
36
+ "@idlebox/unshare": "^0.0.14"
35
37
  },
36
38
  "devDependencies": {
37
39
  "@types/cacache": "^20.0.1",
@@ -43,18 +45,16 @@
43
45
  "@types/targz": "^1.0.5",
44
46
  "@types/tiny-async-pool": "^2.0.3",
45
47
  "@types/tinycolor2": "^1.4.6",
46
- "@idlebox/cli-static-generator": "^0.0.16",
47
- "@build-script/codegen": "^1.0.24",
48
+ "@build-script/codegen": "^1.0.25",
49
+ "@idlebox/cli-static-generator": "^0.0.17",
48
50
  "@build-script/baseline-rig": "latest"
49
51
  },
50
- "sideEffects": false,
51
- "license": "MIT",
52
- "author": "GongT <admin@gongt.me>",
53
52
  "repository": {
54
53
  "type": "git",
55
54
  "url": "git+https://github.com/GongT/baobao.git",
56
55
  "directory": "@build-script/package-tools"
57
56
  },
57
+ "sideEffects": false,
58
58
  "scripts": {
59
59
  "build": "mpis-run build",
60
60
  "watch": "mpis-run watch",
@@ -13,7 +13,7 @@
13
13
  ******************************************************************************/
14
14
 
15
15
 
16
- export const self_package_version = "0.0.28";
16
+ export const self_package_version = "0.0.29";
17
17
  export const self_package_name = "@build-script/package-tools";
18
18
  export const self_package_repository = "https://github.com/GongT/baobao";
19
19
 
package/src/tsconfig.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
- "extends": "@build-script/baseline-rig/package/tsconfig.json",
3
- "compilerOptions": {
4
- "typeRoots": ["../node_modules/@types", "../node_modules"],
5
- "outDir": "../lib",
6
- "rootDir": "./",
7
- "noEmitOnError": false
8
- },
9
- "exclude": ["**/*.generator.ts"]
2
+ "extends": "@build-script/baseline-rig/package/tsconfig.json",
3
+ "compilerOptions": {
4
+ "typeRoots": [
5
+ "../node_modules/@types",
6
+ "../node_modules"
7
+ ],
8
+ "outDir": "../lib",
9
+ "rootDir": "./",
10
+ "noEmitOnError": false
11
+ },
12
+ "exclude": [
13
+ "**/*.generator.ts"
14
+ ]
10
15
  }
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env -S node --experimental-transform-types --disable-warning=ExperimentalWarning
2
-
3
- import '@idlebox/native-executer/register';
4
- import { execaNode } from 'execa';
5
- import { resolve } from 'node:path';
6
-
7
- process.title = `PkgTool`;
8
-
9
- try {
10
- await import('../src/commands.generated.ts');
11
- } catch {
12
- await execaNode({ stdio: 'inherit' })`${resolve(import.meta.dirname, '../../codegen/loader/bin.devel.js')} ${resolve(import.meta.dirname, '../src')}`;
13
- }
14
-
15
- await import('../src/main.ts');