@beecode/msh-cli 2.1.0 → 2.1.2
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/dist/controller/cli-menu/main-menu.d.ts.map +1 -1
- package/dist/controller/cli-menu/main-menu.js +3 -2
- package/dist/controller/yargs-router/cli-router.d.ts +1 -1
- package/dist/controller/yargs-router/cli-router.d.ts.map +1 -1
- package/dist/controller/yargs-router/cli-router.js +1 -1
- package/dist/controller/yargs-router/git-router.d.ts +1 -1
- package/dist/controller/yargs-router/git-router.d.ts.map +1 -1
- package/dist/controller/yargs-router/git-router.js +1 -1
- package/dist/controller/yargs-router/npm-router.d.ts +1 -1
- package/dist/controller/yargs-router/npm-router.d.ts.map +1 -1
- package/dist/controller/yargs-router/npm-router.js +1 -1
- package/dist/dal/shell-dal.d.ts.map +1 -1
- package/dist/dal/shell-dal.js +2 -2
- package/dist/index-cli.js +9 -4
- package/dist/index-init.js +7 -3
- package/dist/index-server.js +8 -3
- package/dist/index-terminal-ui.js +8 -3
- package/dist/model/command/init-config.d.ts +1 -1
- package/dist/model/command/init-config.d.ts.map +1 -1
- package/dist/model/command/init-config.js +2 -1
- package/dist/model/command/project-command/git-clone-project-command.d.ts +1 -1
- package/dist/model/command/project-command/git-clone-project-command.d.ts.map +1 -1
- package/dist/model/command/project-command/git-clone-project-command.js +2 -1
- package/dist/model/command/project-command/git-simple-project-command.d.ts +1 -1
- package/dist/model/command/project-command/git-simple-project-command.d.ts.map +1 -1
- package/dist/model/command/project-command/git-simple-project-command.js +2 -1
- package/dist/model/command/project-command/git-tag-project-command.d.ts +1 -1
- package/dist/model/command/project-command/git-tag-project-command.d.ts.map +1 -1
- package/dist/model/command/project-command/git-tag-project-command.js +2 -1
- package/dist/model/command/project-command/npm-global-project-command.d.ts +1 -1
- package/dist/model/command/project-command/npm-global-project-command.d.ts.map +1 -1
- package/dist/model/command/project-command/npm-global-project-command.js +4 -2
- package/dist/model/command/project-command/npm-install-project-command.d.ts +1 -1
- package/dist/model/command/project-command/npm-install-project-command.d.ts.map +1 -1
- package/dist/model/command/project-command/npm-install-project-command.js +2 -1
- package/dist/model/command/project-command/project-command.d.ts +2 -2
- package/dist/model/command/project-command/project-command.d.ts.map +1 -1
- package/dist/model/command/project-command/project-command.js +1 -1
- package/dist/service/init-config-service.d.ts.map +1 -1
- package/dist/service/shell-service.d.ts +1 -1
- package/dist/service/shell-service.d.ts.map +1 -1
- package/dist/service/shell-service.js +7 -4
- package/dist/service/terminal-wrapper.d.ts +1 -1
- package/dist/service/terminal-wrapper.d.ts.map +1 -1
- package/dist/service/terminal-wrapper.js +1 -1
- package/dist/util/base-menu.d.ts +1 -2
- package/dist/util/base-menu.d.ts.map +1 -1
- package/dist/util/base-menu.js +2 -1
- package/dist/util/constant.d.ts +2 -2
- package/dist/util/constant.d.ts.map +1 -1
- package/dist/util/constant.js +2 -3
- package/dist/util/object-util.d.ts.map +1 -1
- package/dist/util/object-util.js +2 -1
- package/dist/util/sub-menu.d.ts +1 -1
- package/dist/util/sub-menu.d.ts.map +1 -1
- package/dist/util/sub-menu.js +3 -2
- package/dist/util/update-notifier-util.d.ts +1 -1
- package/dist/util/update-notifier-util.d.ts.map +1 -1
- package/dist/util/update-notifier-util.js +3 -4
- package/lib/app/cli-app.js +8 -8
- package/lib/app/http-server-app.js +8 -8
- package/lib/app/init/parse-and-route-args.js +12 -12
- package/lib/app/tui-app.js +8 -8
- package/lib/controller/cli-menu/main-menu.d.ts.map +1 -1
- package/lib/controller/cli-menu/main-menu.js +13 -12
- package/lib/controller/yargs-router/cli-router.d.ts +1 -1
- package/lib/controller/yargs-router/cli-router.d.ts.map +1 -1
- package/lib/controller/yargs-router/cli-router.js +11 -11
- package/lib/controller/yargs-router/git-router.d.ts +1 -1
- package/lib/controller/yargs-router/git-router.d.ts.map +1 -1
- package/lib/controller/yargs-router/git-router.js +10 -10
- package/lib/controller/yargs-router/npm-router.d.ts +1 -1
- package/lib/controller/yargs-router/npm-router.d.ts.map +1 -1
- package/lib/controller/yargs-router/npm-router.js +7 -7
- package/lib/dal/shell-dal.d.ts.map +1 -1
- package/lib/dal/shell-dal.js +2 -2
- package/lib/index-cli.js +8 -7
- package/lib/index-init.js +2 -2
- package/lib/index-server.js +7 -3
- package/lib/index-terminal-ui.js +7 -3
- package/lib/model/command/init-config.d.ts +1 -1
- package/lib/model/command/init-config.d.ts.map +1 -1
- package/lib/model/command/init-config.js +6 -6
- package/lib/model/command/project-command/git-clone-project-command.d.ts +1 -1
- package/lib/model/command/project-command/git-clone-project-command.d.ts.map +1 -1
- package/lib/model/command/project-command/git-clone-project-command.js +6 -6
- package/lib/model/command/project-command/git-simple-project-command.d.ts +1 -1
- package/lib/model/command/project-command/git-simple-project-command.d.ts.map +1 -1
- package/lib/model/command/project-command/git-simple-project-command.js +6 -6
- package/lib/model/command/project-command/git-tag-project-command.d.ts +1 -1
- package/lib/model/command/project-command/git-tag-project-command.d.ts.map +1 -1
- package/lib/model/command/project-command/git-tag-project-command.js +6 -6
- package/lib/model/command/project-command/npm-global-project-command.d.ts +1 -1
- package/lib/model/command/project-command/npm-global-project-command.d.ts.map +1 -1
- package/lib/model/command/project-command/npm-global-project-command.js +16 -15
- package/lib/model/command/project-command/npm-install-project-command.d.ts +1 -1
- package/lib/model/command/project-command/npm-install-project-command.d.ts.map +1 -1
- package/lib/model/command/project-command/npm-install-project-command.js +7 -7
- package/lib/model/command/project-command/project-command.d.ts +2 -2
- package/lib/model/command/project-command/project-command.d.ts.map +1 -1
- package/lib/model/command/project-command/project-command.js +7 -7
- package/lib/service/init-config-service.d.ts.map +1 -1
- package/lib/service/init-config-service.js +4 -4
- package/lib/service/shell-service.d.ts +1 -1
- package/lib/service/shell-service.d.ts.map +1 -1
- package/lib/service/shell-service.js +7 -8
- package/lib/service/terminal-wrapper.d.ts +1 -1
- package/lib/service/terminal-wrapper.d.ts.map +1 -1
- package/lib/service/terminal-wrapper.js +13 -13
- package/lib/util/base-menu.d.ts +1 -2
- package/lib/util/base-menu.d.ts.map +1 -1
- package/lib/util/base-menu.js +16 -15
- package/lib/util/config.js +1 -1
- package/lib/util/constant.d.ts +2 -2
- package/lib/util/constant.d.ts.map +1 -1
- package/lib/util/constant.js +1 -3
- package/lib/util/object-util.d.ts.map +1 -1
- package/lib/util/object-util.js +1 -0
- package/lib/util/sub-menu.d.ts +1 -1
- package/lib/util/sub-menu.d.ts.map +1 -1
- package/lib/util/sub-menu.js +18 -15
- package/lib/util/update-notifier-util.d.ts +1 -1
- package/lib/util/update-notifier-util.d.ts.map +1 -1
- package/lib/util/update-notifier-util.js +6 -24
- package/package.json +47 -48
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beecode/msh-cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "MicroService Shell helper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shell",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
29
30
|
"import": "./dist/index.js",
|
|
30
|
-
"require": "./lib/index.js"
|
|
31
|
-
"types": "./dist/index.d.ts"
|
|
31
|
+
"require": "./lib/index.js"
|
|
32
32
|
},
|
|
33
33
|
"./*": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"types": "./dist/*.d.ts",
|
|
35
|
+
"import": "./dist/*.js"
|
|
36
36
|
},
|
|
37
37
|
"./lib/*": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
38
|
+
"types": "./lib/*.d.ts",
|
|
39
|
+
"require": "./lib/*.js"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"main": "./lib/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"doc:toc": "npx markdown-toc -i ./README.md",
|
|
62
62
|
"docker-build": "docker build -f ./resource/docker/Dockerfile -t bc-msh-cli ./",
|
|
63
63
|
"docker-rmi": "docker rmi bc-msh-cli",
|
|
64
|
-
"docker-run-package-lock-update": "docker run --rm -v ./:/usr/app/ milosbugarinovic/msh-lib-base:
|
|
64
|
+
"docker-run-package-lock-update": "docker run --rm -v ./:/usr/app/ milosbugarinovic/msh-lib-base:node22.14.0-alpine3.21 npm i --package-lock-only",
|
|
65
65
|
"docker-run-sh": "docker run --rm -it bc-msh-cli sh",
|
|
66
66
|
"fix-hybrid-lib-cjs": "mkdir -p ./lib && echo '{\"type\": \"commonjs\"}' > ./lib/package.json",
|
|
67
67
|
"init": "concurrently -c auto 'npm:init:*'",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"lint-eslint-fix": "npm run lint-eslint -- --fix",
|
|
73
73
|
"lint-fix": "npm run lint-prettier-fix && npm run lint-eslint-fix && npm run lint-json-fix",
|
|
74
74
|
"lint-json": "npm run lint-json-fix -- -c",
|
|
75
|
-
"lint-json-fix": "jsonsort * .*.json '!./dist' '!./lib' '!./test/node_modules' '!./resource' '!**/.env*' '!**/.gitignore' -t",
|
|
75
|
+
"lint-json-fix": "jsonsort -p * .*.json '!./dist' '!./lib' '!./test/node_modules' '!./resource' '!**/.env*' '!**/.gitignore' -t",
|
|
76
76
|
"lint-prettier": "prettier --check {**/*,*}.{js,jsx,ts,tsx}",
|
|
77
77
|
"lint-prettier-fix": "prettier --write {**/*,*}.{js,jsx,ts,tsx}",
|
|
78
78
|
"npm-bump-version": "npm --no-git-tag-version version",
|
|
@@ -119,65 +119,64 @@
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@beecode/msh-app-boot": "1.1.
|
|
123
|
-
"@beecode/msh-config": "1.1.
|
|
124
|
-
"@beecode/msh-env": "1.1.
|
|
125
|
-
"@beecode/msh-logger": "1.1.
|
|
126
|
-
"@beecode/msh-util": "2.0.
|
|
122
|
+
"@beecode/msh-app-boot": "1.1.2",
|
|
123
|
+
"@beecode/msh-config": "1.1.4",
|
|
124
|
+
"@beecode/msh-env": "1.1.1",
|
|
125
|
+
"@beecode/msh-logger": "1.1.2",
|
|
126
|
+
"@beecode/msh-util": "2.0.12",
|
|
127
127
|
"async-shelljs": "0.1.4",
|
|
128
|
-
"chalk": "5.
|
|
129
|
-
"compare-versions": "6.1.
|
|
130
|
-
"dotenv": "16.4.
|
|
128
|
+
"chalk": "5.4.1",
|
|
129
|
+
"compare-versions": "6.1.1",
|
|
130
|
+
"dotenv": "16.4.7",
|
|
131
131
|
"fast-json-stable-stringify": "2.1.0",
|
|
132
|
-
"inquirer": "
|
|
132
|
+
"inquirer": "12.5.0",
|
|
133
133
|
"lodash": "4.17.21",
|
|
134
134
|
"minimist": "1.2.8",
|
|
135
135
|
"minimist-options": "4.1.0",
|
|
136
136
|
"mz": "2.7.0",
|
|
137
137
|
"request": "2.88.2",
|
|
138
138
|
"request-promise-native": "1.0.9",
|
|
139
|
-
"update-notifier": "7.
|
|
139
|
+
"update-notifier": "7.3.1",
|
|
140
140
|
"yargs": "17.7.2"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
|
-
"@babel/cli": "7.
|
|
144
|
-
"@babel/core": "7.
|
|
145
|
-
"@babel/plugin-proposal-decorators": "7.
|
|
146
|
-
"@babel/plugin-syntax-import-attributes": "7.
|
|
147
|
-
"@babel/plugin-transform-modules-commonjs": "7.
|
|
148
|
-
"@babel/preset-env": "7.
|
|
149
|
-
"@babel/preset-typescript": "7.
|
|
150
|
-
"@commitlint/cli": "19.
|
|
151
|
-
"@commitlint/config-conventional": "19.
|
|
152
|
-
"@commitlint/prompt": "19.
|
|
153
|
-
"@types/
|
|
154
|
-
"@types/lodash": "4.17.1",
|
|
143
|
+
"@babel/cli": "7.26.4",
|
|
144
|
+
"@babel/core": "7.26.10",
|
|
145
|
+
"@babel/plugin-proposal-decorators": "7.25.9",
|
|
146
|
+
"@babel/plugin-syntax-import-attributes": "7.26.0",
|
|
147
|
+
"@babel/plugin-transform-modules-commonjs": "7.26.3",
|
|
148
|
+
"@babel/preset-env": "7.26.9",
|
|
149
|
+
"@babel/preset-typescript": "7.26.0",
|
|
150
|
+
"@commitlint/cli": "19.8.0",
|
|
151
|
+
"@commitlint/config-conventional": "19.8.0",
|
|
152
|
+
"@commitlint/prompt": "19.8.0",
|
|
153
|
+
"@types/lodash": "4.17.16",
|
|
155
154
|
"@types/minimist": "1.2.5",
|
|
156
155
|
"@types/mz": "2.7.8",
|
|
157
|
-
"@types/node": "
|
|
156
|
+
"@types/node": "22.13.11",
|
|
158
157
|
"@types/request": "2.48.12",
|
|
159
158
|
"@types/shelljs": "0.8.15",
|
|
160
159
|
"@types/update-notifier": "6.0.8",
|
|
161
|
-
"@types/yargs": "17.0.
|
|
162
|
-
"@vitest/coverage-v8": "
|
|
163
|
-
"commitizen": "4.3.
|
|
164
|
-
"concurrently": "
|
|
165
|
-
"husky": "9.
|
|
166
|
-
"json-sort-cli": "4.0.
|
|
167
|
-
"lint-staged": "15.
|
|
160
|
+
"@types/yargs": "17.0.33",
|
|
161
|
+
"@vitest/coverage-v8": "3.0.9",
|
|
162
|
+
"commitizen": "4.3.1",
|
|
163
|
+
"concurrently": "9.1.2",
|
|
164
|
+
"husky": "9.1.7",
|
|
165
|
+
"json-sort-cli": "4.0.9",
|
|
166
|
+
"lint-staged": "15.5.0",
|
|
168
167
|
"markdown-toc": "1.2.0",
|
|
169
|
-
"prettier": "3.
|
|
170
|
-
"rimraf": "
|
|
168
|
+
"prettier": "3.5.3",
|
|
169
|
+
"rimraf": "6.0.1",
|
|
171
170
|
"source-map-support": "0.5.21",
|
|
172
171
|
"ts-cleaner": "1.0.5",
|
|
173
172
|
"ts-node": "10.9.2",
|
|
174
|
-
"tsc-alias": "1.8.
|
|
175
|
-
"tsc-watch": "6.2.
|
|
176
|
-
"typedoc": "0.
|
|
177
|
-
"typedoc-plugin-markdown": "4.
|
|
178
|
-
"typescript": "5.
|
|
179
|
-
"vite-tsconfig-paths": "
|
|
180
|
-
"vitest": "
|
|
173
|
+
"tsc-alias": "1.8.11",
|
|
174
|
+
"tsc-watch": "6.2.1",
|
|
175
|
+
"typedoc": "0.28.1",
|
|
176
|
+
"typedoc-plugin-markdown": "4.5.2",
|
|
177
|
+
"typescript": "5.7.3",
|
|
178
|
+
"vite-tsconfig-paths": "5.1.4",
|
|
179
|
+
"vitest": "3.0.9"
|
|
181
180
|
},
|
|
182
181
|
"engines": {
|
|
183
182
|
"node": ">=20.8.1",
|