@dreamor/atlas-cli 0.7.0 → 0.7.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,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { buildProgram } from "../dist/adapters/atlas/cli.js";
2
+ import { buildProgram } from "./dist/adapters/atlas/cli.js";
3
3
  const program = buildProgram();
4
4
  program.parse(process.argv);
5
5
 
@@ -1 +1 @@
1
- export const ATLAS_VERSION = '0.7.0';
1
+ export const ATLAS_VERSION = '0.7.1';
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@dreamor/atlas-cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Atlas CLI - 斑马云图人力基线管理工具",
5
5
  "type": "module",
6
- "directories": {
7
- "bin": "bin"
6
+ "bin": {
7
+ "atlas": "./atlas.js"
8
8
  },
9
9
  "engines": {
10
10
  "node": ">=20"
11
11
  },
12
12
  "files": [
13
- "bin/atlas.js",
13
+ "atlas.js",
14
14
  "dist/adapters/**/*.js",
15
15
  "!dist/adapters/atlas/tests/**",
16
16
  "!dist/adapters/**/tests/**",
@@ -25,7 +25,7 @@
25
25
  "url": "git+https://github.com/dreamor/atlas-cli.git"
26
26
  },
27
27
  "scripts": {
28
- "build": "tsc -p tsconfig.json && rm -rf dist/adapters/atlas/bin && mkdir -p bin && echo '#!/usr/bin/env node\\nimport { buildProgram } from \"../dist/adapters/atlas/cli.js\";\\nconst program = buildProgram();\\nprogram.parse(process.argv);\\n' > bin/atlas.js && chmod +x bin/atlas.js",
28
+ "build": "tsc -p tsconfig.json && rm -rf dist/adapters/atlas/bin && echo '#!/usr/bin/env node\\nimport { buildProgram } from \"./dist/adapters/atlas/cli.js\";\\nconst program = buildProgram();\\nprogram.parse(process.argv);\\n' > atlas.js && chmod +x atlas.js",
29
29
  "lint": "tsc --noEmit --pretty false",
30
30
  "lint:watch": "tsc --noEmit --pretty false --watch",
31
31
  "test": "vitest run",
@@ -51,4 +51,4 @@
51
51
  "typescript": "^5.6.0",
52
52
  "vitest": "^2.1.0"
53
53
  }
54
- }
54
+ }