@zrhsh/wukong-cli 0.4.11 → 0.4.13

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.
Files changed (3) hide show
  1. package/dist/cli.js +391 -73
  2. package/dist/cli.js.map +1 -1
  3. package/package.json +72 -72
package/package.json CHANGED
@@ -1,72 +1,72 @@
1
- {
2
- "name": "@zrhsh/wukong-cli",
3
- "version": "0.4.11",
4
- "description": "Wukong CLI - TypeScript with auto token refresh",
5
- "private": false,
6
- "type": "module",
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
- "main": "./dist/index.js",
11
- "bin": {
12
- "wukong-cli": "dist/cli.js"
13
- },
14
- "files": [
15
- "dist",
16
- "wukong-cli.json.template",
17
- "scripts/install.js"
18
- ],
19
- "scripts": {
20
- "dev": "tsx src/cli.ts",
21
- "build": "tsup",
22
- "verify": "node scripts/verify.js",
23
- "start": "node dist/cli.js",
24
- "link": "npm run build && npm link",
25
- "test:local": "npm link && wukong-cli --version",
26
- "test": "vitest",
27
- "test:run": "vitest run",
28
- "test:coverage": "vitest run --coverage",
29
- "test:e2e": "vitest run tests/e2e/",
30
- "test:e2e:automated": "vitest run tests/e2e/automated/",
31
- "test:e2e:automated:dev": "cross-env WUKONG_CLI_ENV=dev vitest run tests/e2e/automated/",
32
- "test:e2e:automated:beta": "cross-env WUKONG_CLI_ENV=beta vitest run tests/e2e/automated/",
33
- "test:e2e:automated:prod": "cross-env WUKONG_CLI_ENV=prod vitest run tests/e2e/automated/",
34
- "test:e2e:interactive": "vitest run tests/e2e/interactive/",
35
- "test:e2e:interactive:dev": "cross-env WUKONG_CLI_ENV=dev vitest run tests/e2e/interactive/",
36
- "test:e2e:interactive:beta": "cross-env WUKONG_CLI_ENV=beta vitest run tests/e2e/interactive/",
37
- "test:e2e:interactive:prod": "cross-env WUKONG_CLI_ENV=prod vitest run tests/e2e/interactive/",
38
- "test:e2e:interactive:run": "node scripts/run-interactive-e2e.cjs",
39
- "prepack": "npm run build",
40
- "prepare": "npm run build",
41
- "prepublishOnly": "npm run build && npm run verify",
42
- "postinstall": "node scripts/install.js",
43
- "publish:patch": "npm version patch && npm publish",
44
- "publish:minor": "npm version minor && npm publish",
45
- "publish:major": "npm version major && npm publish"
46
- },
47
- "dependencies": {
48
- "axios": "^1.6.0",
49
- "chalk": "^5.3.0",
50
- "commander": "^12.0.0",
51
- "open": "^11.0.0",
52
- "ora": "^8.0.0",
53
- "ts-retoken": "^0.2.0"
54
- },
55
- "optionalDependencies": {
56
- "keytar": "^7.9.0"
57
- },
58
- "devDependencies": {
59
- "@types/node": "^20.10.0",
60
- "@types/open": "^6.1.0",
61
- "@vitest/coverage-v8": "^4.1.4",
62
- "@vitest/ui": "^4.1.4",
63
- "cross-env": "^10.1.0",
64
- "tsup": "^8.0.0",
65
- "tsx": "^4.7.0",
66
- "typescript": "^5.3.0",
67
- "vitest": "^4.1.4"
68
- },
69
- "engines": {
70
- "node": ">=18.0.0"
71
- }
72
- }
1
+ {
2
+ "name": "@zrhsh/wukong-cli",
3
+ "version": "0.4.13",
4
+ "description": "Wukong CLI - TypeScript with auto token refresh",
5
+ "private": false,
6
+ "type": "module",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "main": "./dist/index.js",
11
+ "bin": {
12
+ "wukong-cli": "dist/cli.js"
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "wukong-cli.json.template",
17
+ "scripts/install.js"
18
+ ],
19
+ "scripts": {
20
+ "dev": "tsx src/cli.ts",
21
+ "build": "tsup",
22
+ "verify": "node scripts/verify.js",
23
+ "start": "node dist/cli.js",
24
+ "link": "npm run build && npm link",
25
+ "test:local": "npm link && wukong-cli --version",
26
+ "test": "vitest",
27
+ "test:run": "vitest run",
28
+ "test:coverage": "vitest run --coverage",
29
+ "test:e2e": "vitest run tests/e2e/",
30
+ "test:e2e:automated": "vitest run tests/e2e/automated/",
31
+ "test:e2e:automated:dev": "cross-env WUKONG_CLI_ENV=dev vitest run tests/e2e/automated/",
32
+ "test:e2e:automated:beta": "cross-env WUKONG_CLI_ENV=beta vitest run tests/e2e/automated/",
33
+ "test:e2e:automated:prod": "cross-env WUKONG_CLI_ENV=prod vitest run tests/e2e/automated/",
34
+ "test:e2e:interactive": "vitest run tests/e2e/interactive/",
35
+ "test:e2e:interactive:dev": "cross-env WUKONG_CLI_ENV=dev vitest run tests/e2e/interactive/",
36
+ "test:e2e:interactive:beta": "cross-env WUKONG_CLI_ENV=beta vitest run tests/e2e/interactive/",
37
+ "test:e2e:interactive:prod": "cross-env WUKONG_CLI_ENV=prod vitest run tests/e2e/interactive/",
38
+ "test:e2e:interactive:run": "node scripts/run-interactive-e2e.cjs",
39
+ "prepack": "npm run build",
40
+ "prepare": "npm run build",
41
+ "prepublishOnly": "npm run build && npm run verify",
42
+ "postinstall": "node scripts/install.js",
43
+ "publish:patch": "npm version patch && npm publish",
44
+ "publish:minor": "npm version minor && npm publish",
45
+ "publish:major": "npm version major && npm publish"
46
+ },
47
+ "dependencies": {
48
+ "axios": "^1.6.0",
49
+ "chalk": "^5.3.0",
50
+ "commander": "^12.0.0",
51
+ "open": "^11.0.0",
52
+ "ora": "^8.0.0",
53
+ "ts-retoken": "^0.2.0"
54
+ },
55
+ "optionalDependencies": {
56
+ "keytar": "^7.9.0"
57
+ },
58
+ "devDependencies": {
59
+ "@types/node": "^20.10.0",
60
+ "@types/open": "^6.1.0",
61
+ "@vitest/coverage-v8": "^4.1.4",
62
+ "@vitest/ui": "^4.1.4",
63
+ "cross-env": "^10.1.0",
64
+ "tsup": "^8.0.0",
65
+ "tsx": "^4.7.0",
66
+ "typescript": "^5.3.0",
67
+ "vitest": "^4.1.4"
68
+ },
69
+ "engines": {
70
+ "node": ">=18.0.0"
71
+ }
72
+ }