@cloudbase/cli 2.0.14 → 2.1.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.
Files changed (58) hide show
  1. package/.history/.gitignore_20220624162613 +84 -0
  2. package/.history/.gitignore_20220627114054 +86 -0
  3. package/.history/package_20220711204706.json +88 -0
  4. package/.history/package_20220711204818.json +88 -0
  5. package/.history/package_20220712151717.json +88 -0
  6. package/.history/package_20220712212537.json +88 -0
  7. package/.history/package_20220722205058.json +88 -0
  8. package/.history/package_20220726110155.json +88 -0
  9. package/.history/package_20220726110201.json +88 -0
  10. package/.history/package_20220728110905.json +88 -0
  11. package/.history/package_20220728110936.json +88 -0
  12. package/.history/package_20220728111531.json +89 -0
  13. package/.history/package_20220728111810.json +89 -0
  14. package/.history/package_20220729165237.json +89 -0
  15. package/.history/package_20220729165240.json +89 -0
  16. package/.history/package_20220802111854.json +89 -0
  17. package/.history/package_20220802112025.json +89 -0
  18. package/.history/src/commands/lowcode/app_20220728111717.ts +52 -0
  19. package/.history/src/commands/lowcode/app_20220728112031.ts +34 -0
  20. package/.history/src/commands/lowcode/app_20220729172854.ts +34 -0
  21. package/.history/src/index_20220624162613.ts +13 -0
  22. package/.history/src/index_20220627113609.ts +15 -0
  23. package/.history/src/index_20220627114102.ts +13 -0
  24. package/.vscode/launch.json +10 -0
  25. package/bin/cloudbase.js +0 -0
  26. package/bin/tcb.js +5 -5
  27. package/lib/commands/account/login.js +3 -6
  28. package/lib/commands/env/index.js +0 -1
  29. package/lib/commands/lowcode/app.js +2 -2
  30. package/lib/commands/run/index.js +0 -1
  31. package/lib/commands/run/service/deploy.js +2 -1
  32. package/lib/commands/run/service/index.js +0 -1
  33. package/lib/constant.js +15 -1
  34. package/lib/env/index.js +1 -11
  35. package/lib/run/index.js +0 -1
  36. package/lib/run/service/common.js +11 -4
  37. package/lib/run/service/config.js +2 -3
  38. package/lib/run/service/index.js +0 -1
  39. package/lib/run/service/update.js +1 -1
  40. package/package.json +2 -2
  41. package/types/commands/env/index.d.ts +0 -1
  42. package/types/commands/run/index.d.ts +0 -1
  43. package/types/commands/run/service/index.d.ts +0 -1
  44. package/types/env/index.d.ts +0 -6
  45. package/types/run/index.d.ts +0 -1
  46. package/types/run/service/common.d.ts +4 -0
  47. package/types/run/service/index.d.ts +0 -1
  48. package/.vscode/settings.json +0 -3
  49. package/lib/commands/env/create.js +0 -115
  50. package/lib/commands/run/create.js +0 -162
  51. package/lib/commands/run/service/create.js +0 -148
  52. package/lib/run/create.js +0 -19
  53. package/lib/run/service/create.js +0 -67
  54. package/types/commands/env/create.d.ts +0 -12
  55. package/types/commands/run/create.d.ts +0 -13
  56. package/types/commands/run/service/create.d.ts +0 -13
  57. package/types/run/create.d.ts +0 -2
  58. package/types/run/service/create.d.ts +0 -7
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.0.12-alpha.3",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
19
+ },
20
+ "bin": {
21
+ "tcb": "bin/tcb.js",
22
+ "cloudbase": "bin/cloudbase.js"
23
+ },
24
+ "husky": {
25
+ "hooks": {
26
+ "pre-commit": "npm run build && git add ."
27
+ }
28
+ },
29
+ "author": "cwuyiqing@gmail.com",
30
+ "license": "ISC",
31
+ "dependencies": {
32
+ "@cloudbase/cloud-api": "^0.5.5",
33
+ "@cloudbase/framework-core": "^1.6.1",
34
+ "@cloudbase/lowcode-cli": "0.14.5-alpha.3",
35
+ "@cloudbase/manager-node": "4.0.1",
36
+ "@cloudbase/toolbox": "^0.7.3",
37
+ "@sentry/node": "^5.10.2",
38
+ "address": "^1.1.2",
39
+ "chalk": "^2.4.2",
40
+ "cli-table3": "^0.5.1",
41
+ "commander": "7",
42
+ "del": "^5.1.0",
43
+ "didyoumean": "^1.2.2",
44
+ "enquirer": "^2.3.6",
45
+ "execa": "^4.0.3",
46
+ "fs-extra": "^8.1.0",
47
+ "https-proxy-agent": "^5.0.1",
48
+ "inquirer": "^6.5.0",
49
+ "lodash": "^4.17.21",
50
+ "log-symbols": "^3.0.0",
51
+ "lowdb": "^1.0.0",
52
+ "make-dir": "^3.0.0",
53
+ "node-fetch": "^2.6.0",
54
+ "open": "^7.0.0",
55
+ "ora": "^4.0.2",
56
+ "portfinder": "^1.0.28",
57
+ "progress": "^2.0.3",
58
+ "query-string": "^6.8.1",
59
+ "reflect-metadata": "^0.1.13",
60
+ "semver": "^7.3.7",
61
+ "tar-fs": "^2.0.1",
62
+ "terminal-link": "^2.1.1",
63
+ "unzipper": "^0.10.10",
64
+ "update-notifier": "^4.0.0",
65
+ "xdg-basedir": "^4.0.0",
66
+ "yargs": "^16.2.0",
67
+ "yargs-parser": "^21.0.1"
68
+ },
69
+ "devDependencies": {
70
+ "@types/jest": "^27",
71
+ "@types/koa__router": "^8.0.11",
72
+ "@types/lodash": "^4.14.182",
73
+ "@types/node": "^12.12.38",
74
+ "@types/node-fetch": "^2.5.4",
75
+ "@types/react": "^17.0.37",
76
+ "@types/semver": "^7.3.9",
77
+ "@types/webpack-dev-server": "^3.11.1",
78
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
79
+ "@typescript-eslint/parser": "^4.8.1",
80
+ "eslint": "^7.14.0",
81
+ "eslint-config-alloy": "^3.8.2",
82
+ "husky": "^3.0.9",
83
+ "jest": "^27",
84
+ "rimraf": "^3.0.2",
85
+ "ts-jest": "^27",
86
+ "typescript": "^4.7.2"
87
+ }
88
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.0.12-alpha.3",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
19
+ },
20
+ "bin": {
21
+ "tcb": "bin/tcb.js",
22
+ "cloudbase": "bin/cloudbase.js"
23
+ },
24
+ "husky": {
25
+ "hooks": {
26
+ "pre-commit": "npm run build && git add ."
27
+ }
28
+ },
29
+ "author": "cwuyiqing@gmail.com",
30
+ "license": "ISC",
31
+ "dependencies": {
32
+ "@cloudbase/cloud-api": "^0.5.5",
33
+ "@cloudbase/framework-core": "^1.6.1",
34
+ "@cloudbase/lowcode-cli": "0.14.5-alpha.4",
35
+ "@cloudbase/manager-node": "4.0.1",
36
+ "@cloudbase/toolbox": "^0.7.3",
37
+ "@sentry/node": "^5.10.2",
38
+ "address": "^1.1.2",
39
+ "chalk": "^2.4.2",
40
+ "cli-table3": "^0.5.1",
41
+ "commander": "7",
42
+ "del": "^5.1.0",
43
+ "didyoumean": "^1.2.2",
44
+ "enquirer": "^2.3.6",
45
+ "execa": "^4.0.3",
46
+ "fs-extra": "^8.1.0",
47
+ "https-proxy-agent": "^5.0.1",
48
+ "inquirer": "^6.5.0",
49
+ "lodash": "^4.17.21",
50
+ "log-symbols": "^3.0.0",
51
+ "lowdb": "^1.0.0",
52
+ "make-dir": "^3.0.0",
53
+ "node-fetch": "^2.6.0",
54
+ "open": "^7.0.0",
55
+ "ora": "^4.0.2",
56
+ "portfinder": "^1.0.28",
57
+ "progress": "^2.0.3",
58
+ "query-string": "^6.8.1",
59
+ "reflect-metadata": "^0.1.13",
60
+ "semver": "^7.3.7",
61
+ "tar-fs": "^2.0.1",
62
+ "terminal-link": "^2.1.1",
63
+ "unzipper": "^0.10.10",
64
+ "update-notifier": "^4.0.0",
65
+ "xdg-basedir": "^4.0.0",
66
+ "yargs": "^16.2.0",
67
+ "yargs-parser": "^21.0.1"
68
+ },
69
+ "devDependencies": {
70
+ "@types/jest": "^27",
71
+ "@types/koa__router": "^8.0.11",
72
+ "@types/lodash": "^4.14.182",
73
+ "@types/node": "^12.12.38",
74
+ "@types/node-fetch": "^2.5.4",
75
+ "@types/react": "^17.0.37",
76
+ "@types/semver": "^7.3.9",
77
+ "@types/webpack-dev-server": "^3.11.1",
78
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
79
+ "@typescript-eslint/parser": "^4.8.1",
80
+ "eslint": "^7.14.0",
81
+ "eslint-config-alloy": "^3.8.2",
82
+ "husky": "^3.0.9",
83
+ "jest": "^27",
84
+ "rimraf": "^3.0.2",
85
+ "ts-jest": "^27",
86
+ "typescript": "^4.7.2"
87
+ }
88
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.0.12-alpha.4",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
19
+ },
20
+ "bin": {
21
+ "tcb": "bin/tcb.js",
22
+ "cloudbase": "bin/cloudbase.js"
23
+ },
24
+ "husky": {
25
+ "hooks": {
26
+ "pre-commit": "npm run build && git add ."
27
+ }
28
+ },
29
+ "author": "cwuyiqing@gmail.com",
30
+ "license": "ISC",
31
+ "dependencies": {
32
+ "@cloudbase/cloud-api": "^0.5.5",
33
+ "@cloudbase/framework-core": "^1.6.1",
34
+ "@cloudbase/lowcode-cli": "0.15.0",
35
+ "@cloudbase/manager-node": "4.0.1",
36
+ "@cloudbase/toolbox": "^0.7.3",
37
+ "@sentry/node": "^5.10.2",
38
+ "address": "^1.1.2",
39
+ "chalk": "^2.4.2",
40
+ "cli-table3": "^0.5.1",
41
+ "commander": "7",
42
+ "del": "^5.1.0",
43
+ "didyoumean": "^1.2.2",
44
+ "enquirer": "^2.3.6",
45
+ "execa": "^4.0.3",
46
+ "fs-extra": "^8.1.0",
47
+ "https-proxy-agent": "^5.0.1",
48
+ "inquirer": "^6.5.0",
49
+ "lodash": "^4.17.21",
50
+ "log-symbols": "^3.0.0",
51
+ "lowdb": "^1.0.0",
52
+ "make-dir": "^3.0.0",
53
+ "node-fetch": "^2.6.0",
54
+ "open": "^7.0.0",
55
+ "ora": "^4.0.2",
56
+ "portfinder": "^1.0.28",
57
+ "progress": "^2.0.3",
58
+ "query-string": "^6.8.1",
59
+ "reflect-metadata": "^0.1.13",
60
+ "semver": "^7.3.7",
61
+ "tar-fs": "^2.0.1",
62
+ "terminal-link": "^2.1.1",
63
+ "unzipper": "^0.10.10",
64
+ "update-notifier": "^4.0.0",
65
+ "xdg-basedir": "^4.0.0",
66
+ "yargs": "^16.2.0",
67
+ "yargs-parser": "^21.0.1"
68
+ },
69
+ "devDependencies": {
70
+ "@types/jest": "^27",
71
+ "@types/koa__router": "^8.0.11",
72
+ "@types/lodash": "^4.14.182",
73
+ "@types/node": "^12.12.38",
74
+ "@types/node-fetch": "^2.5.4",
75
+ "@types/react": "^17.0.37",
76
+ "@types/semver": "^7.3.9",
77
+ "@types/webpack-dev-server": "^3.11.1",
78
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
79
+ "@typescript-eslint/parser": "^4.8.1",
80
+ "eslint": "^7.14.0",
81
+ "eslint-config-alloy": "^3.8.2",
82
+ "husky": "^3.0.9",
83
+ "jest": "^27",
84
+ "rimraf": "^3.0.2",
85
+ "ts-jest": "^27",
86
+ "typescript": "^4.7.2"
87
+ }
88
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.1.0",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
19
+ },
20
+ "bin": {
21
+ "tcb": "bin/tcb.js",
22
+ "cloudbase": "bin/cloudbase.js"
23
+ },
24
+ "husky": {
25
+ "hooks": {
26
+ "pre-commit": "npm run build && git add ."
27
+ }
28
+ },
29
+ "author": "cwuyiqing@gmail.com",
30
+ "license": "ISC",
31
+ "dependencies": {
32
+ "@cloudbase/cloud-api": "^0.5.5",
33
+ "@cloudbase/framework-core": "^1.6.1",
34
+ "@cloudbase/lowcode-cli": "0.15.0",
35
+ "@cloudbase/manager-node": "4.0.1",
36
+ "@cloudbase/toolbox": "^0.7.3",
37
+ "@sentry/node": "^5.10.2",
38
+ "address": "^1.1.2",
39
+ "chalk": "^2.4.2",
40
+ "cli-table3": "^0.5.1",
41
+ "commander": "7",
42
+ "del": "^5.1.0",
43
+ "didyoumean": "^1.2.2",
44
+ "enquirer": "^2.3.6",
45
+ "execa": "^4.0.3",
46
+ "fs-extra": "^8.1.0",
47
+ "https-proxy-agent": "^5.0.1",
48
+ "inquirer": "^6.5.0",
49
+ "lodash": "^4.17.21",
50
+ "log-symbols": "^3.0.0",
51
+ "lowdb": "^1.0.0",
52
+ "make-dir": "^3.0.0",
53
+ "node-fetch": "^2.6.0",
54
+ "open": "^7.0.0",
55
+ "ora": "^4.0.2",
56
+ "portfinder": "^1.0.28",
57
+ "progress": "^2.0.3",
58
+ "query-string": "^6.8.1",
59
+ "reflect-metadata": "^0.1.13",
60
+ "semver": "^7.3.7",
61
+ "tar-fs": "^2.0.1",
62
+ "terminal-link": "^2.1.1",
63
+ "unzipper": "^0.10.10",
64
+ "update-notifier": "^4.0.0",
65
+ "xdg-basedir": "^4.0.0",
66
+ "yargs": "^16.2.0",
67
+ "yargs-parser": "^21.0.1"
68
+ },
69
+ "devDependencies": {
70
+ "@types/jest": "^27",
71
+ "@types/koa__router": "^8.0.11",
72
+ "@types/lodash": "^4.14.182",
73
+ "@types/node": "^12.12.38",
74
+ "@types/node-fetch": "^2.5.4",
75
+ "@types/react": "^17.0.37",
76
+ "@types/semver": "^7.3.9",
77
+ "@types/webpack-dev-server": "^3.11.1",
78
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
79
+ "@typescript-eslint/parser": "^4.8.1",
80
+ "eslint": "^7.14.0",
81
+ "eslint-config-alloy": "^3.8.2",
82
+ "husky": "^3.0.9",
83
+ "jest": "^27",
84
+ "rimraf": "^3.0.2",
85
+ "ts-jest": "^27",
86
+ "typescript": "^4.7.2"
87
+ }
88
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.1.0",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0",
15
+ "prepublishOnly": "npm run build"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
20
+ },
21
+ "bin": {
22
+ "tcb": "bin/tcb.js",
23
+ "cloudbase": "bin/cloudbase.js"
24
+ },
25
+ "husky": {
26
+ "hooks": {
27
+ "pre-commit": "npm run build"
28
+ }
29
+ },
30
+ "author": "cwuyiqing@gmail.com",
31
+ "license": "ISC",
32
+ "dependencies": {
33
+ "@cloudbase/cloud-api": "^0.5.5",
34
+ "@cloudbase/framework-core": "^1.6.1",
35
+ "@cloudbase/lowcode-cli": "0.15.0",
36
+ "@cloudbase/manager-node": "4.0.1",
37
+ "@cloudbase/toolbox": "^0.7.3",
38
+ "@sentry/node": "^5.10.2",
39
+ "address": "^1.1.2",
40
+ "chalk": "^2.4.2",
41
+ "cli-table3": "^0.5.1",
42
+ "commander": "7",
43
+ "del": "^5.1.0",
44
+ "didyoumean": "^1.2.2",
45
+ "enquirer": "^2.3.6",
46
+ "execa": "^4.0.3",
47
+ "fs-extra": "^8.1.0",
48
+ "https-proxy-agent": "^5.0.1",
49
+ "inquirer": "^6.5.0",
50
+ "lodash": "^4.17.21",
51
+ "log-symbols": "^3.0.0",
52
+ "lowdb": "^1.0.0",
53
+ "make-dir": "^3.0.0",
54
+ "node-fetch": "^2.6.0",
55
+ "open": "^7.0.0",
56
+ "ora": "^4.0.2",
57
+ "portfinder": "^1.0.28",
58
+ "progress": "^2.0.3",
59
+ "query-string": "^6.8.1",
60
+ "reflect-metadata": "^0.1.13",
61
+ "semver": "^7.3.7",
62
+ "tar-fs": "^2.0.1",
63
+ "terminal-link": "^2.1.1",
64
+ "unzipper": "^0.10.10",
65
+ "update-notifier": "^4.0.0",
66
+ "xdg-basedir": "^4.0.0",
67
+ "yargs": "^16.2.0",
68
+ "yargs-parser": "^21.0.1"
69
+ },
70
+ "devDependencies": {
71
+ "@types/jest": "^27",
72
+ "@types/koa__router": "^8.0.11",
73
+ "@types/lodash": "^4.14.182",
74
+ "@types/node": "^12.12.38",
75
+ "@types/node-fetch": "^2.5.4",
76
+ "@types/react": "^17.0.37",
77
+ "@types/semver": "^7.3.9",
78
+ "@types/webpack-dev-server": "^3.11.1",
79
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
80
+ "@typescript-eslint/parser": "^4.8.1",
81
+ "eslint": "^7.14.0",
82
+ "eslint-config-alloy": "^3.8.2",
83
+ "husky": "^3.0.9",
84
+ "jest": "^27",
85
+ "rimraf": "^3.0.2",
86
+ "ts-jest": "^27",
87
+ "typescript": "^4.7.2"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.1.0",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0",
15
+ "prepublishOnly": "npm run build"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
20
+ },
21
+ "bin": {
22
+ "tcb": "bin/tcb.js",
23
+ "cloudbase": "bin/cloudbase.js"
24
+ },
25
+ "husky": {
26
+ "hooks": {
27
+ "pre-commit": "npm run build"
28
+ }
29
+ },
30
+ "author": "cwuyiqing@gmail.com",
31
+ "license": "ISC",
32
+ "dependencies": {
33
+ "@cloudbase/cloud-api": "^0.5.5",
34
+ "@cloudbase/framework-core": "^1.6.1",
35
+ "@cloudbase/lowcode-cli": "^0.15.0",
36
+ "@cloudbase/manager-node": "4.0.1",
37
+ "@cloudbase/toolbox": "^0.7.3",
38
+ "@sentry/node": "^5.10.2",
39
+ "address": "^1.1.2",
40
+ "chalk": "^2.4.2",
41
+ "cli-table3": "^0.5.1",
42
+ "commander": "7",
43
+ "del": "^5.1.0",
44
+ "didyoumean": "^1.2.2",
45
+ "enquirer": "^2.3.6",
46
+ "execa": "^4.0.3",
47
+ "fs-extra": "^8.1.0",
48
+ "https-proxy-agent": "^5.0.1",
49
+ "inquirer": "^6.5.0",
50
+ "lodash": "^4.17.21",
51
+ "log-symbols": "^3.0.0",
52
+ "lowdb": "^1.0.0",
53
+ "make-dir": "^3.0.0",
54
+ "node-fetch": "^2.6.0",
55
+ "open": "^7.0.0",
56
+ "ora": "^4.0.2",
57
+ "portfinder": "^1.0.28",
58
+ "progress": "^2.0.3",
59
+ "query-string": "^6.8.1",
60
+ "reflect-metadata": "^0.1.13",
61
+ "semver": "^7.3.7",
62
+ "tar-fs": "^2.0.1",
63
+ "terminal-link": "^2.1.1",
64
+ "unzipper": "^0.10.10",
65
+ "update-notifier": "^4.0.0",
66
+ "xdg-basedir": "^4.0.0",
67
+ "yargs": "^16.2.0",
68
+ "yargs-parser": "^21.0.1"
69
+ },
70
+ "devDependencies": {
71
+ "@types/jest": "^27",
72
+ "@types/koa__router": "^8.0.11",
73
+ "@types/lodash": "^4.14.182",
74
+ "@types/node": "^12.12.38",
75
+ "@types/node-fetch": "^2.5.4",
76
+ "@types/react": "^17.0.37",
77
+ "@types/semver": "^7.3.9",
78
+ "@types/webpack-dev-server": "^3.11.1",
79
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
80
+ "@typescript-eslint/parser": "^4.8.1",
81
+ "eslint": "^7.14.0",
82
+ "eslint-config-alloy": "^3.8.2",
83
+ "husky": "^3.0.9",
84
+ "jest": "^27",
85
+ "rimraf": "^3.0.2",
86
+ "ts-jest": "^27",
87
+ "typescript": "^4.7.2"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": "@cloudbase/cli",
3
+ "version": "2.1.0",
4
+ "description": "cli tool for cloudbase",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "build": "rimraf lib types && tsc",
8
+ "watch": "rimraf lib types && tsc -w",
9
+ "dev": "rimraf lib types && tsc -w",
10
+ "eslint": "eslint \"./**/*.ts\"",
11
+ "test": "jest --runInBand --forceExit --detectOpenHandles --coverage --verbose --testTimeout=10000",
12
+ "tsc": "tsc",
13
+ "pkg": "pkg ./bin/cloudbase.js --out-path ./pkg",
14
+ "postinstall": "node ./post-install.js || exit 0",
15
+ "prepublishOnly": "npm run build"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/TencentCloudBase/cloud-base-cli.git"
20
+ },
21
+ "bin": {
22
+ "tcb": "bin/tcb.js",
23
+ "cloudbase": "bin/cloudbase.js"
24
+ },
25
+ "husky": {
26
+ "hooks": {
27
+ "pre-commit": "npm run build"
28
+ }
29
+ },
30
+ "author": "cwuyiqing@gmail.com",
31
+ "license": "ISC",
32
+ "dependencies": {
33
+ "@cloudbase/cloud-api": "^0.5.5",
34
+ "@cloudbase/framework-core": "^1.6.1",
35
+ "@cloudbase/lowcode-cli": "^0.15.2-alpha.0",
36
+ "@cloudbase/manager-node": "4.0.1",
37
+ "@cloudbase/toolbox": "^0.7.3",
38
+ "@sentry/node": "^5.10.2",
39
+ "address": "^1.1.2",
40
+ "chalk": "^2.4.2",
41
+ "cli-table3": "^0.5.1",
42
+ "commander": "7",
43
+ "del": "^5.1.0",
44
+ "didyoumean": "^1.2.2",
45
+ "enquirer": "^2.3.6",
46
+ "execa": "^4.0.3",
47
+ "fs-extra": "^8.1.0",
48
+ "https-proxy-agent": "^5.0.1",
49
+ "inquirer": "^6.5.0",
50
+ "lodash": "^4.17.21",
51
+ "log-symbols": "^3.0.0",
52
+ "lowdb": "^1.0.0",
53
+ "make-dir": "^3.0.0",
54
+ "node-fetch": "^2.6.0",
55
+ "open": "^7.0.0",
56
+ "ora": "^4.0.2",
57
+ "portfinder": "^1.0.28",
58
+ "progress": "^2.0.3",
59
+ "query-string": "^6.8.1",
60
+ "reflect-metadata": "^0.1.13",
61
+ "semver": "^7.3.7",
62
+ "tar-fs": "^2.0.1",
63
+ "terminal-link": "^2.1.1",
64
+ "unzipper": "^0.10.10",
65
+ "update-notifier": "^4.0.0",
66
+ "xdg-basedir": "^4.0.0",
67
+ "yargs": "^16.2.0",
68
+ "yargs-parser": "^21.0.1"
69
+ },
70
+ "devDependencies": {
71
+ "@types/jest": "^27",
72
+ "@types/koa__router": "^8.0.11",
73
+ "@types/lodash": "^4.14.182",
74
+ "@types/node": "^12.12.38",
75
+ "@types/node-fetch": "^2.5.4",
76
+ "@types/react": "^17.0.37",
77
+ "@types/semver": "^7.3.9",
78
+ "@types/webpack-dev-server": "^3.11.1",
79
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
80
+ "@typescript-eslint/parser": "^4.8.1",
81
+ "eslint": "^7.14.0",
82
+ "eslint-config-alloy": "^3.8.2",
83
+ "husky": "^3.0.9",
84
+ "jest": "^27",
85
+ "rimraf": "^3.0.2",
86
+ "ts-jest": "^27",
87
+ "typescript": "^4.7.2"
88
+ }
89
+ }