tnp-helpers 21.0.2 → 21.0.5
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/browser/fesm2022/tnp-helpers.mjs +179 -52
- package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/tnp-helpers.d.ts +3202 -0
- package/lib/base/classes/base-bower-json.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-config.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +2 -2
- package/lib/base/classes/base-cli-worker/base-cli-worker-controller.js +31 -13
- package/lib/base/classes/base-cli-worker/base-cli-worker-controller.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker.js +1 -0
- package/lib/base/classes/base-cli-worker/base-cli-worker.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker.utils.js.map +1 -1
- package/lib/base/classes/base-command-line-feature.js.map +1 -1
- package/lib/base/classes/base-compiler-for-project.js.map +1 -1
- package/lib/base/classes/base-db.js.map +1 -1
- package/lib/base/classes/base-docker.js.map +1 -1
- package/lib/base/classes/base-file-folders-operations.js.map +1 -1
- package/lib/base/classes/base-git.js.map +1 -1
- package/lib/base/classes/base-global-command-line.js +2 -5
- package/lib/base/classes/base-global-command-line.js.map +1 -1
- package/lib/base/classes/base-ignore-hide.js.map +1 -1
- package/lib/base/classes/base-java-jdk.js.map +1 -1
- package/lib/base/classes/base-json-file-reader.js.map +1 -1
- package/lib/base/classes/base-library-build.js.map +1 -1
- package/lib/base/classes/base-linked-projects.js.map +1 -1
- package/lib/base/classes/base-linter.js.map +1 -1
- package/lib/base/classes/base-node-modules.js +10 -1
- package/lib/base/classes/base-node-modules.js.map +1 -1
- package/lib/base/classes/base-npm-helpers.js.map +1 -1
- package/lib/base/classes/base-package-json.d.ts +3 -2
- package/lib/base/classes/base-package-json.js +7 -1
- package/lib/base/classes/base-package-json.js.map +1 -1
- package/lib/base/classes/base-process-manager.js.map +1 -1
- package/lib/base/classes/base-project-resolver.js.map +1 -1
- package/lib/base/classes/base-project.d.ts +4 -4
- package/lib/base/classes/base-project.js +0 -3
- package/lib/base/classes/base-project.js.map +1 -1
- package/lib/base/classes/base-quick-fixes.js +7 -3
- package/lib/base/classes/base-quick-fixes.js.map +1 -1
- package/lib/base/classes/base-release-process.js.map +1 -1
- package/lib/base/classes/base-start-config.backend.js.map +1 -1
- package/lib/base/classes/base-static-pages.js.map +1 -1
- package/lib/base/classes/base-vscode.js +2 -0
- package/lib/base/classes/base-vscode.js.map +1 -1
- package/lib/base/commit-data.js.map +1 -1
- package/lib/base/config-database.js.map +1 -1
- package/lib/base/core-project.d.ts +2 -2
- package/lib/base/core-project.js.map +1 -1
- package/lib/base/gh-temp-code.js.map +1 -1
- package/lib/base/index.js.map +1 -1
- package/lib/base/linked-project.js.map +1 -1
- package/lib/base/project-database.js.map +1 -1
- package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
- package/lib/base/tcp-udp-ports/ports.controller.js +41 -17
- package/lib/base/tcp-udp-ports/ports.controller.js.map +1 -1
- package/lib/base/tcp-udp-ports/ports.entity.d.ts +3 -3
- package/lib/base/tcp-udp-ports/ports.entity.js +21 -9
- package/lib/base/tcp-udp-ports/ports.entity.js.map +1 -1
- package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +19 -1
- package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.js.map +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/helpers/for-backend/helpers-cli-tool.backend.js.map +1 -1
- package/lib/helpers/for-backend/helpers-console-gui.js.map +1 -1
- package/lib/helpers/for-backend/helpers-file-folders.js.map +1 -1
- package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
- package/lib/helpers/for-backend/helpers-npm.backend.js.map +1 -1
- package/lib/helpers/for-backend/helpers-process.js.map +1 -1
- package/lib/helpers/for-backend/helpers-vscode.backend.js.map +1 -1
- package/lib/helpers/for-browser/angular.helper.d.ts +0 -1
- package/lib/helpers/for-browser/angular.helper.js +2 -2
- package/lib/helpers/for-browser/helpers-browser.js.map +1 -1
- package/lib/helpers/helpers-json5.backend.js.map +1 -1
- package/lib/helpers/helpers-numbers.js.map +1 -1
- package/lib/helpers/helpers-strings-regexes.js.map +1 -1
- package/lib/helpers/helpers-strings.js.map +1 -1
- package/lib/helpers/helpers.js.map +1 -1
- package/lib/models.js.map +1 -1
- package/lib/old/base-component.js +2 -2
- package/lib/old/base-formly-component.js +2 -2
- package/lib/old/dual-component-ctrl.js +2 -2
- package/lib/old/execute-command.js.map +1 -1
- package/lib/old/helpers.js.map +1 -1
- package/lib/utils.d.ts +6 -0
- package/lib/utils.js +58 -1
- package/lib/utils.js.map +1 -1
- package/migrations/1736198527297_init.d.ts +3 -3
- package/migrations/1736198527297_init.js +4 -4
- package/migrations/1736198527297_init.js.map +1 -1
- package/migrations/1736199486472_addingNotAssignablePorts.d.ts +2 -3
- package/migrations/1736199486472_addingNotAssignablePorts.js +2 -3
- package/migrations/1736199486472_addingNotAssignablePorts.js.map +1 -1
- package/migrations/1736454437350_addFreePorts.d.ts +2 -3
- package/migrations/1736454437350_addFreePorts.js +2 -3
- package/migrations/1736454437350_addFreePorts.js.map +1 -1
- package/package.json +2 -3
- package/websql/fesm2022/tnp-helpers.mjs +183 -56
- package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/tnp-helpers.d.ts +3202 -0
- package/browser/index.d.ts +0 -6
- package/browser/lib/base/classes/base-bower-json.d.ts +0 -35
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +0 -32
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +0 -15
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +0 -10
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +0 -42
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +0 -150
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +0 -45
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +0 -6
- package/browser/lib/base/classes/base-cli-worker/index.d.ts +0 -8
- package/browser/lib/base/classes/base-command-line-feature.d.ts +0 -48
- package/browser/lib/base/classes/base-compiler-for-project.d.ts +0 -8
- package/browser/lib/base/classes/base-db.d.ts +0 -10
- package/browser/lib/base/classes/base-debounce-compiler-for-project.d.ts +0 -29
- package/browser/lib/base/classes/base-docker.d.ts +0 -13
- package/browser/lib/base/classes/base-feature-for-project.d.ts +0 -7
- package/browser/lib/base/classes/base-file-folders-operations.d.ts +0 -17
- package/browser/lib/base/classes/base-git.d.ts +0 -211
- package/browser/lib/base/classes/base-global-command-line.d.ts +0 -294
- package/browser/lib/base/classes/base-ignore-hide.d.ts +0 -47
- package/browser/lib/base/classes/base-java-jdk.d.ts +0 -9
- package/browser/lib/base/classes/base-json-file-reader.d.ts +0 -72
- package/browser/lib/base/classes/base-library-build.d.ts +0 -62
- package/browser/lib/base/classes/base-linked-projects.d.ts +0 -30
- package/browser/lib/base/classes/base-linter.d.ts +0 -12
- package/browser/lib/base/classes/base-node-modules.d.ts +0 -70
- package/browser/lib/base/classes/base-npm-helpers.d.ts +0 -53
- package/browser/lib/base/classes/base-package-json.d.ts +0 -122
- package/browser/lib/base/classes/base-process-manager.d.ts +0 -31
- package/browser/lib/base/classes/base-project-resolver.d.ts +0 -41
- package/browser/lib/base/classes/base-project.d.ts +0 -259
- package/browser/lib/base/classes/base-quick-fixes.d.ts +0 -16
- package/browser/lib/base/classes/base-release-process.d.ts +0 -75
- package/browser/lib/base/classes/base-static-pages.d.ts +0 -15
- package/browser/lib/base/classes/base-vscode.d.ts +0 -54
- package/browser/lib/base/classes/index.d.ts +0 -23
- package/browser/lib/base/commit-data.d.ts +0 -94
- package/browser/lib/base/config-database.d.ts +0 -15
- package/browser/lib/base/core-project.d.ts +0 -113
- package/browser/lib/base/gh-temp-code.d.ts +0 -17
- package/browser/lib/base/index.d.ts +0 -6
- package/browser/lib/base/linked-project.d.ts +0 -41
- package/browser/lib/base/project-database.d.ts +0 -13
- package/browser/lib/base/tcp-udp-ports/index.d.ts +0 -4
- package/browser/lib/base/tcp-udp-ports/ports.controller.d.ts +0 -29
- package/browser/lib/base/tcp-udp-ports/ports.entity.d.ts +0 -19
- package/browser/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +0 -20
- package/browser/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +0 -20
- package/browser/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +0 -9
- package/browser/lib/base/translate.d.ts +0 -228
- package/browser/lib/build-info._auto-generated_.d.ts +0 -21
- package/browser/lib/helpers/for-backend/helpers-file-folders.d.ts +0 -114
- package/browser/lib/helpers/for-backend/helpers-process.d.ts +0 -88
- package/browser/lib/helpers/for-browser/angular.helper.d.ts +0 -37
- package/browser/lib/helpers/for-browser/helpers-browser.d.ts +0 -12
- package/browser/lib/helpers/helpers-array-obj.d.ts +0 -32
- package/browser/lib/helpers/helpers-numbers.d.ts +0 -8
- package/browser/lib/helpers/helpers-strings-regexes.d.ts +0 -29
- package/browser/lib/helpers/helpers-strings.d.ts +0 -56
- package/browser/lib/helpers/helpers.d.ts +0 -84
- package/browser/lib/index.d.ts +0 -9
- package/browser/lib/models.d.ts +0 -178
- package/browser/lib/old/execute-command.d.ts +0 -15
- package/browser/lib/old/helpers.d.ts +0 -62
- package/browser/lib/old/models.d.ts +0 -81
- package/browser/lib/utils.d.ts +0 -272
- package/browser/migrations/1736198527297_init.d.ts +0 -19
- package/browser/migrations/1736199486472_addingNotAssignablePorts.d.ts +0 -11
- package/browser/migrations/1736454437350_addFreePorts.d.ts +0 -10
- package/browser/migrations/index.d.ts +0 -2
- package/browser/migrations/migrations_index._auto-generated_.d.ts +0 -12
- package/browser/public-api.d.ts +0 -2
- package/lib/base/classes/base-command-line-feature.backend.d.ts +0 -47
- package/lib/base/classes/base-command-line-feature.backend.js +0 -147
- package/lib/base/classes/base-command-line-feature.backend.js.map +0 -1
- package/lib/base/classes/base-global-command-line.backend.d.ts +0 -243
- package/lib/base/classes/base-global-command-line.backend.js +0 -2212
- package/lib/base/classes/base-global-command-line.backend.js.map +0 -1
- package/lib/base/classes/base-powershell.d.ts +0 -58
- package/lib/base/classes/base-powershell.js +0 -105
- package/lib/base/classes/base-powershell.js.map +0 -1
- package/lib/base/classes/base-process/base-process-api.service.d.ts +0 -7
- package/lib/base/classes/base-process/base-process.context.d.ts +0 -19
- package/lib/base/classes/base-process/base-process.context.js +0 -22
- package/lib/base/classes/base-process/base-process.context.js.map +0 -1
- package/lib/base/classes/base-process/base-process.controller.d.ts +0 -17
- package/lib/base/classes/base-process/base-process.controller.js +0 -91
- package/lib/base/classes/base-process/base-process.controller.js.map +0 -1
- package/lib/base/classes/base-process/base-process.d.ts +0 -8
- package/lib/base/classes/base-process/base-process.defaults-values.d.ts +0 -2
- package/lib/base/classes/base-process/base-process.defaults-values.js +0 -9
- package/lib/base/classes/base-process/base-process.defaults-values.js.map +0 -1
- package/lib/base/classes/base-process/base-process.js +0 -62
- package/lib/base/classes/base-process/base-process.js.map +0 -1
- package/lib/base/classes/base-process/base-process.models.d.ts +0 -6
- package/lib/base/classes/base-process/base-process.models.js +0 -3
- package/lib/base/classes/base-process/base-process.models.js.map +0 -1
- package/lib/base/classes/base-process/base-process.provider.d.ts +0 -16
- package/lib/base/classes/base-process/base-process.provider.js +0 -69
- package/lib/base/classes/base-process/base-process.provider.js.map +0 -1
- package/lib/base/classes/base-process/base-process.repository copy.d.ts +0 -8
- package/lib/base/classes/base-process/base-process.repository copy.js +0 -32
- package/lib/base/classes/base-process/base-process.repository copy.js.map +0 -1
- package/lib/base/classes/base-process/base-process.repository.d.ts +0 -8
- package/lib/base/classes/base-process/base-process.repository.js +0 -32
- package/lib/base/classes/base-process/base-process.repository.js.map +0 -1
- package/lib/base/classes/base-process/base-process.terminal-ui.d.ts +0 -11
- package/lib/base/classes/base-process/base-process.terminal-ui.js +0 -54
- package/lib/base/classes/base-process/base-process.terminal-ui.js.map +0 -1
- package/lib/base/classes/base-process/base-process.worker.d.ts +0 -16
- package/lib/base/classes/base-process/base-process.worker.js +0 -29
- package/lib/base/classes/base-process/base-process.worker.js.map +0 -1
- package/lib/base/classes/base-process/index.d.ts +0 -1
- package/lib/base/classes/base-process/index.js +0 -22
- package/lib/base/classes/base-process/index.js.map +0 -1
- package/lib/base/classes/base-process/processes.repository.d.ts +0 -0
- package/lib/base/classes/base-process/processes.repository.js +0 -5
- package/lib/base/classes/base-process/processes.repository.js.map +0 -1
- package/lib/env-backend._auto-generated_.d.ts +0 -34
- package/lib/env-backend._auto-generated_.js +0 -38
- package/lib/env-backend._auto-generated_.js.map +0 -1
- package/lib/env-browser._auto-generated_.d.ts +0 -34
- package/lib/env-browser._auto-generated_.js +0 -38
- package/lib/env-browser._auto-generated_.js.map +0 -1
- package/lib/env.backend.d.ts +0 -34
- package/lib/env.backend.js +0 -40
- package/lib/env.backend.js.map +0 -1
- package/lib/env.browser.d.ts +0 -34
- package/lib/helpers/for-backend/helpers-dependencies.backend.d.ts +0 -2
- package/lib/helpers/for-backend/helpers-dependencies.backend.js +0 -7
- package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +0 -1
- package/lib/helpers/for-backend/helpers-network.backend.d.ts +0 -9
- package/lib/helpers/for-backend/helpers-network.backend.js +0 -44
- package/lib/helpers/for-backend/helpers-network.backend.js.map +0 -1
- package/lib/validators/validators-firedev.d.ts +0 -3
- package/lib/validators/validators-firedev.js +0 -34
- package/lib/validators/validators-firedev.js.map +0 -1
- package/lib/validators/validators-git.d.ts +0 -3
- package/lib/validators/validators-git.js +0 -13
- package/lib/validators/validators-git.js.map +0 -1
- package/lib/validators/validators-network.d.ts +0 -3
- package/lib/validators/validators-network.js +0 -19
- package/lib/validators/validators-network.js.map +0 -1
- package/lib/validators/validators.d.ts +0 -6
- package/lib/validators/validators.js +0 -11
- package/lib/validators/validators.js.map +0 -1
- package/tmp-environment.json +0 -33
- package/websql/index.d.ts +0 -6
- package/websql/lib/base/classes/base-bower-json.d.ts +0 -35
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +0 -32
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +0 -15
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +0 -10
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +0 -42
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +0 -150
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +0 -45
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +0 -6
- package/websql/lib/base/classes/base-cli-worker/index.d.ts +0 -8
- package/websql/lib/base/classes/base-command-line-feature.d.ts +0 -48
- package/websql/lib/base/classes/base-compiler-for-project.d.ts +0 -8
- package/websql/lib/base/classes/base-db.d.ts +0 -10
- package/websql/lib/base/classes/base-debounce-compiler-for-project.d.ts +0 -29
- package/websql/lib/base/classes/base-docker.d.ts +0 -13
- package/websql/lib/base/classes/base-feature-for-project.d.ts +0 -7
- package/websql/lib/base/classes/base-file-folders-operations.d.ts +0 -17
- package/websql/lib/base/classes/base-git.d.ts +0 -211
- package/websql/lib/base/classes/base-global-command-line.d.ts +0 -294
- package/websql/lib/base/classes/base-ignore-hide.d.ts +0 -47
- package/websql/lib/base/classes/base-java-jdk.d.ts +0 -9
- package/websql/lib/base/classes/base-json-file-reader.d.ts +0 -72
- package/websql/lib/base/classes/base-library-build.d.ts +0 -62
- package/websql/lib/base/classes/base-linked-projects.d.ts +0 -30
- package/websql/lib/base/classes/base-linter.d.ts +0 -12
- package/websql/lib/base/classes/base-node-modules.d.ts +0 -70
- package/websql/lib/base/classes/base-npm-helpers.d.ts +0 -53
- package/websql/lib/base/classes/base-package-json.d.ts +0 -122
- package/websql/lib/base/classes/base-process-manager.d.ts +0 -31
- package/websql/lib/base/classes/base-project-resolver.d.ts +0 -41
- package/websql/lib/base/classes/base-project.d.ts +0 -259
- package/websql/lib/base/classes/base-quick-fixes.d.ts +0 -16
- package/websql/lib/base/classes/base-release-process.d.ts +0 -75
- package/websql/lib/base/classes/base-static-pages.d.ts +0 -15
- package/websql/lib/base/classes/base-vscode.d.ts +0 -54
- package/websql/lib/base/classes/index.d.ts +0 -23
- package/websql/lib/base/commit-data.d.ts +0 -94
- package/websql/lib/base/config-database.d.ts +0 -15
- package/websql/lib/base/core-project.d.ts +0 -113
- package/websql/lib/base/gh-temp-code.d.ts +0 -17
- package/websql/lib/base/index.d.ts +0 -6
- package/websql/lib/base/linked-project.d.ts +0 -41
- package/websql/lib/base/project-database.d.ts +0 -13
- package/websql/lib/base/tcp-udp-ports/index.d.ts +0 -4
- package/websql/lib/base/tcp-udp-ports/ports.controller.d.ts +0 -29
- package/websql/lib/base/tcp-udp-ports/ports.entity.d.ts +0 -19
- package/websql/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +0 -20
- package/websql/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +0 -20
- package/websql/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +0 -9
- package/websql/lib/base/translate.d.ts +0 -228
- package/websql/lib/build-info._auto-generated_.d.ts +0 -21
- package/websql/lib/helpers/for-backend/helpers-file-folders.d.ts +0 -114
- package/websql/lib/helpers/for-backend/helpers-process.d.ts +0 -88
- package/websql/lib/helpers/for-browser/angular.helper.d.ts +0 -37
- package/websql/lib/helpers/for-browser/helpers-browser.d.ts +0 -12
- package/websql/lib/helpers/helpers-array-obj.d.ts +0 -32
- package/websql/lib/helpers/helpers-numbers.d.ts +0 -8
- package/websql/lib/helpers/helpers-strings-regexes.d.ts +0 -29
- package/websql/lib/helpers/helpers-strings.d.ts +0 -56
- package/websql/lib/helpers/helpers.d.ts +0 -84
- package/websql/lib/index.d.ts +0 -9
- package/websql/lib/models.d.ts +0 -178
- package/websql/lib/old/execute-command.d.ts +0 -15
- package/websql/lib/old/helpers.d.ts +0 -62
- package/websql/lib/old/models.d.ts +0 -81
- package/websql/lib/utils.d.ts +0 -272
- package/websql/migrations/1736198527297_init.d.ts +0 -19
- package/websql/migrations/1736199486472_addingNotAssignablePorts.d.ts +0 -11
- package/websql/migrations/1736454437350_addFreePorts.d.ts +0 -10
- package/websql/migrations/index.d.ts +0 -2
- package/websql/migrations/migrations_index._auto-generated_.d.ts +0 -12
- package/websql/public-api.d.ts +0 -2
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { CommitData, PushProcessOptions, TypeOfCommit } from '../../index';
|
|
3
|
-
import { BaseFeatureForProject } from './base-feature-for-project';
|
|
4
|
-
import type { BaseProject } from './base-project';
|
|
5
|
-
export declare class BaseGit<PROJECT extends BaseProject = any> extends BaseFeatureForProject<PROJECT> {
|
|
6
|
-
unstageAllFiles(): void;
|
|
7
|
-
revertFileChanges(fileReletivePath: string): void;
|
|
8
|
-
clone(url: string, destinationFolderName?: string, branchName?: string): Promise<string>;
|
|
9
|
-
restoreLastVersion(relativeFilePath: string): void;
|
|
10
|
-
stageAllFiles(): void;
|
|
11
|
-
stageFile(relativeFilePath: string): void;
|
|
12
|
-
stash(options?: {
|
|
13
|
-
onlyStaged?: boolean;
|
|
14
|
-
}): void;
|
|
15
|
-
rebase(toBranch: string): void;
|
|
16
|
-
stashApply(): void;
|
|
17
|
-
fetch(all?: boolean): void;
|
|
18
|
-
resetFiles(...relativePathes: string[]): void;
|
|
19
|
-
get isInsideGitRepo(): boolean;
|
|
20
|
-
get isWithoutGitRepository(): boolean;
|
|
21
|
-
get isGitRoot(): boolean;
|
|
22
|
-
get originURL(): string;
|
|
23
|
-
commit(commitMessage?: string): void;
|
|
24
|
-
/**
|
|
25
|
-
* alias to stage all and commit
|
|
26
|
-
*/
|
|
27
|
-
addAndCommit(commitMessage: string): void;
|
|
28
|
-
/**
|
|
29
|
-
* general default development branch for all kinds of projects
|
|
30
|
-
*/
|
|
31
|
-
getDefaultDevelopmentBranch(): string;
|
|
32
|
-
isUsingActionCommit(): boolean;
|
|
33
|
-
jiraIssuesAreOutsideBrackets(): boolean;
|
|
34
|
-
getUserInfo(global?: boolean): Promise<{
|
|
35
|
-
name?: string;
|
|
36
|
-
email?: string;
|
|
37
|
-
}>;
|
|
38
|
-
setUserInfo({ name, email }: {
|
|
39
|
-
name?: string;
|
|
40
|
-
email?: string;
|
|
41
|
-
}, global?: boolean): Promise<void>;
|
|
42
|
-
stageAllAndCommit(commitMessage: string): void;
|
|
43
|
-
pushCurrentBranch(options?: {
|
|
44
|
-
force?: boolean;
|
|
45
|
-
origin?: string;
|
|
46
|
-
askToRetry?: boolean;
|
|
47
|
-
forcePushNoQuestion?: boolean;
|
|
48
|
-
}): Promise<boolean>;
|
|
49
|
-
get allOrigins(): {
|
|
50
|
-
origin: string;
|
|
51
|
-
url: string;
|
|
52
|
-
}[];
|
|
53
|
-
get uncommitedFiles(): string[];
|
|
54
|
-
get thereAreSomeUncommitedChange(): boolean;
|
|
55
|
-
thereAreSomeUncommitedChangeExcept(filesList?: string[]): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Resolve last changes
|
|
58
|
-
* - uncommited changes
|
|
59
|
-
* - action commits to melt
|
|
60
|
-
*/
|
|
61
|
-
resolveLastChanges(options?: {
|
|
62
|
-
tryAutomaticActionFirst?: boolean;
|
|
63
|
-
projectNameAsOutputPrefix?: string;
|
|
64
|
-
questionPrefixMessage?: string;
|
|
65
|
-
}): Promise<void>;
|
|
66
|
-
get hasActionCommitsToMelt(): boolean;
|
|
67
|
-
/**
|
|
68
|
-
* @returns number of melted commits
|
|
69
|
-
*/
|
|
70
|
-
meltActionCommits(): number;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @param newVersion
|
|
74
|
-
* @param pushWithoutAsking
|
|
75
|
-
*/
|
|
76
|
-
tagAndPushToGitRepo(newVersion: string, autoReleaseUsingConfig: boolean, isCiProcess: boolean): Promise<void>;
|
|
77
|
-
pullCurrentBranch(options?: {
|
|
78
|
-
askToRetry?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* default true, when false it will throw error instead process.exit(0)
|
|
81
|
-
*/
|
|
82
|
-
exitOnError?: boolean;
|
|
83
|
-
defaultHardResetCommits?: number;
|
|
84
|
-
}): Promise<void>;
|
|
85
|
-
get currentBranchName(): string;
|
|
86
|
-
get listOfCurrentGitChanges(): {
|
|
87
|
-
modified: string[];
|
|
88
|
-
deleted: string[];
|
|
89
|
-
created: string[];
|
|
90
|
-
};
|
|
91
|
-
getBranchesNamesBy(pattern: string | RegExp): string[];
|
|
92
|
-
resetSoftHEAD(HEAD?: number): void;
|
|
93
|
-
resetHard(options?: {
|
|
94
|
-
HEAD?: number;
|
|
95
|
-
}): void;
|
|
96
|
-
countCommits(): number;
|
|
97
|
-
hasAnyCommits(): any;
|
|
98
|
-
get isInMergeProcess(): any;
|
|
99
|
-
lastCommitDate(): any;
|
|
100
|
-
lastCommitHash(): any;
|
|
101
|
-
lastCommitMessage(): string;
|
|
102
|
-
penultimateCommitMessage(): Promise<string>;
|
|
103
|
-
getCommitMessageByIndex(index: number): Promise<string>;
|
|
104
|
-
getCommitMessageByHash(hash: string): Promise<string>;
|
|
105
|
-
getCommitHashByIndex(index: number): Promise<string>;
|
|
106
|
-
penultimateCommitHash(): string;
|
|
107
|
-
checkTagExists(tag: string): boolean;
|
|
108
|
-
checkout(branchName: string, options?: {
|
|
109
|
-
createBranchIfNotExists?: boolean;
|
|
110
|
-
fetchBeforeCheckout?: boolean;
|
|
111
|
-
switchBranchWhenExists?: boolean;
|
|
112
|
-
}): void;
|
|
113
|
-
allowedGitEmailDomains(): string[];
|
|
114
|
-
cleanRepoFromAnyFilesExceptDotGitFolder(): void;
|
|
115
|
-
checkoutFromTo(checkoutFromBranch: string, branch: string, origin?: string): void;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @param majorVersion example: v1, v2 etc.
|
|
119
|
-
* @returns tag name
|
|
120
|
-
*/
|
|
121
|
-
lastTagNameForMajorVersion(majorVersion: any): string;
|
|
122
|
-
lastTagHash(): string;
|
|
123
|
-
get remoteOriginUrl(): string;
|
|
124
|
-
/**
|
|
125
|
-
* get provider of remote origin
|
|
126
|
-
*/
|
|
127
|
-
get remoteProvider(): string;
|
|
128
|
-
get lastTagVersionName(): string;
|
|
129
|
-
get stagedFiles(): string[];
|
|
130
|
-
get stagedFilesRelativePaths(): string[];
|
|
131
|
-
/**
|
|
132
|
-
* TODO does this make any sense
|
|
133
|
-
*/
|
|
134
|
-
renameOrigin(newNameOrUlr: string): void;
|
|
135
|
-
/**
|
|
136
|
-
* By default no translation of commit
|
|
137
|
-
*/
|
|
138
|
-
transalteGitCommitFromArgs(): {
|
|
139
|
-
from: string;
|
|
140
|
-
to: string;
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* By defult true.. when commit branches will not function.
|
|
144
|
-
* (false is better for simple projects)
|
|
145
|
-
*/
|
|
146
|
-
useGitBranchesWhenCommitingAndPushing(): boolean;
|
|
147
|
-
/**
|
|
148
|
-
* usefull when pushing in project with childrens as git repos
|
|
149
|
-
*/
|
|
150
|
-
automaticallyAddAllChangesWhenPushingToGit(): boolean;
|
|
151
|
-
/**
|
|
152
|
-
* usefull when pushing in project with childrens as git repos
|
|
153
|
-
*/
|
|
154
|
-
useGitBranchesAsMetadataForCommits(): boolean;
|
|
155
|
-
/**
|
|
156
|
-
* @returns true if clone was successful
|
|
157
|
-
*/
|
|
158
|
-
cloneTo(cwd: string, newProjectName?: string): Promise<boolean>;
|
|
159
|
-
/**
|
|
160
|
-
* This is only for push/pull process
|
|
161
|
-
*
|
|
162
|
-
* There are 2 types of projects:
|
|
163
|
-
* - with linked-projects.json
|
|
164
|
-
* - with children from external folder
|
|
165
|
-
*
|
|
166
|
-
* projects that are children of this project (with its own git repo)
|
|
167
|
-
*/
|
|
168
|
-
get gitChildren(): PROJECT[];
|
|
169
|
-
protected setRemoteOriginType(setOrigin: 'ssh' | 'http'): Promise<void>;
|
|
170
|
-
pullProcess(options?: {
|
|
171
|
-
skipCloneGitChildren?: boolean;
|
|
172
|
-
setOrigin?: 'ssh' | 'http';
|
|
173
|
-
}): Promise<void>;
|
|
174
|
-
validateEmailDomain(allowedEmailsEnds: string[]): Promise<void>;
|
|
175
|
-
protected _afterPullProcessAction(setOrigin: 'ssh' | 'http', skipCloneGitChildren?: boolean): Promise<void>;
|
|
176
|
-
backupBranch(branchName?: string): Promise<string>;
|
|
177
|
-
pushProcess(options?: PushProcessOptions): Promise<void>;
|
|
178
|
-
_beforeAnyActionOnGitRoot(): void;
|
|
179
|
-
protected _beforePushProcessAction(setOrigin: 'ssh' | 'http'): Promise<void>;
|
|
180
|
-
protected _beforePullProcessAction(setOrigin: 'ssh' | 'http', skipCloneGitChildren?: boolean): Promise<void>;
|
|
181
|
-
protected _getCommitMessage(typeOfCommit: TypeOfCommit, args: string[], commitMessageRequired?: boolean,
|
|
182
|
-
/**
|
|
183
|
-
* only needed when push github
|
|
184
|
-
* and I forgot to add my username before issue
|
|
185
|
-
* taon pfix proper input my-repo#344
|
|
186
|
-
* that should be
|
|
187
|
-
* taon pfix proper input my-username/my-repo#344
|
|
188
|
-
*/
|
|
189
|
-
currentOrigin?: string): Promise<CommitData>;
|
|
190
|
-
/**
|
|
191
|
-
* This will prevent accidental branch change for taon projects
|
|
192
|
-
* @returns branch name
|
|
193
|
-
*/
|
|
194
|
-
duringPushWarnIfProjectNotOnSpecyficDevBranch(): string;
|
|
195
|
-
getChangedFilesInCommitByHash(hash: string): Promise<string[]>;
|
|
196
|
-
/**
|
|
197
|
-
* @param index 0 - means last commit
|
|
198
|
-
*/
|
|
199
|
-
getChangedFilesInCommitByIndex(index: number): Promise<string[]>;
|
|
200
|
-
changesSummary(options?: {
|
|
201
|
-
prefix?: string;
|
|
202
|
-
}): Promise<string>;
|
|
203
|
-
/**
|
|
204
|
-
* If true command navi reset will reset project
|
|
205
|
-
* and its children.
|
|
206
|
-
*
|
|
207
|
-
* If false command navi reset will reset only project.
|
|
208
|
-
*/
|
|
209
|
-
resetIsRestingAlsoChildren(): boolean;
|
|
210
|
-
useBranchNameDirectlyAsCommitMessage(): boolean;
|
|
211
|
-
}
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { PushProcessOptions } from '../../index';
|
|
3
|
-
import { TypeOfCommit } from '../commit-data';
|
|
4
|
-
import { BaseCommandLineFeature } from './base-command-line-feature';
|
|
5
|
-
import { BaseProject } from './base-project';
|
|
6
|
-
import type { BaseProjectResolver } from './base-project-resolver';
|
|
7
|
-
export declare class BaseGlobalCommandLine<PARAMS = any, PROJECT extends BaseProject<any, any> = BaseProject<any, any>, PROJECT_RESOLVER extends BaseProjectResolver<PROJECT> = BaseProjectResolver<PROJECT>> extends BaseCommandLineFeature<PARAMS, PROJECT, PROJECT_RESOLVER> {
|
|
8
|
-
_(): void;
|
|
9
|
-
/**
|
|
10
|
-
* @returns true is sudo was used to restart the process
|
|
11
|
-
*/
|
|
12
|
-
protected _runAsSudoIfNotElevated({ globalCommandName, }: {
|
|
13
|
-
globalCommandName?: string;
|
|
14
|
-
}): Promise<boolean>;
|
|
15
|
-
/**
|
|
16
|
-
* TODO return argument not need for now
|
|
17
|
-
*/
|
|
18
|
-
cwdIsProject(options?: {
|
|
19
|
-
requireProjectWithGitRoot?: boolean;
|
|
20
|
-
}): Promise<boolean>;
|
|
21
|
-
hosts(): any;
|
|
22
|
-
countCommits(): any;
|
|
23
|
-
removeSubmodules(): any;
|
|
24
|
-
removeSubmodule(): any;
|
|
25
|
-
setEditor(): Promise<any>;
|
|
26
|
-
upapi(): Promise<any>;
|
|
27
|
-
apiup(): Promise<any>;
|
|
28
|
-
apiUpdate(): Promise<any>;
|
|
29
|
-
cu(): Promise<any>;
|
|
30
|
-
choreUpdate(): Promise<any>;
|
|
31
|
-
colorvscode(): any;
|
|
32
|
-
/**
|
|
33
|
-
* Generate or update .vscode/settings.json file color settings
|
|
34
|
-
*/
|
|
35
|
-
settingsVscode(): any;
|
|
36
|
-
refreshVscodeColors(): any;
|
|
37
|
-
protected _regenerateVscodeSettingsColors(overideBottomColor?: string): void;
|
|
38
|
-
private updateProject;
|
|
39
|
-
forceUpdate(): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* alias for forceupdate
|
|
42
|
-
*/
|
|
43
|
-
forceup(): Promise<void>;
|
|
44
|
-
update(): Promise<void>;
|
|
45
|
-
/**
|
|
46
|
-
* alias for update
|
|
47
|
-
*/
|
|
48
|
-
up(): Promise<void>;
|
|
49
|
-
/**
|
|
50
|
-
* alias for update
|
|
51
|
-
*/
|
|
52
|
-
pu(): Promise<void>;
|
|
53
|
-
docsUpdate(): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* alias for docsUpdate
|
|
56
|
-
*/
|
|
57
|
-
docsUp(): Promise<void>;
|
|
58
|
-
deepUpdate(): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* alias for deepupdate
|
|
61
|
-
*/
|
|
62
|
-
deepUp(): Promise<void>;
|
|
63
|
-
updateAll(): Promise<void>;
|
|
64
|
-
/**
|
|
65
|
-
* alias for updateAll
|
|
66
|
-
*/
|
|
67
|
-
upAll(): Promise<void>;
|
|
68
|
-
deepUpdateForce(): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* alias for deepUpdateForce
|
|
71
|
-
*/
|
|
72
|
-
deepUpForce(): Promise<void>;
|
|
73
|
-
develop(): Promise<any>;
|
|
74
|
-
dev(): Promise<any>;
|
|
75
|
-
repul(): Promise<any>;
|
|
76
|
-
repull(): Promise<any>;
|
|
77
|
-
pul(): Promise<any>;
|
|
78
|
-
pull(): Promise<any>;
|
|
79
|
-
pullAll(): Promise<any>;
|
|
80
|
-
pp(): Promise<any>;
|
|
81
|
-
private __resetInfo;
|
|
82
|
-
fetch(): Promise<any>;
|
|
83
|
-
reset(): Promise<any>;
|
|
84
|
-
soft(): Promise<any>;
|
|
85
|
-
rebase(): Promise<any>;
|
|
86
|
-
/**
|
|
87
|
-
* stash only staged files
|
|
88
|
-
*/
|
|
89
|
-
stash(): Promise<any>;
|
|
90
|
-
/**
|
|
91
|
-
* stash all files
|
|
92
|
-
*/
|
|
93
|
-
stashAll(): Promise<any>;
|
|
94
|
-
/**
|
|
95
|
-
* push force to all origins
|
|
96
|
-
*/
|
|
97
|
-
pushAllForce(): Promise<void>;
|
|
98
|
-
pAllForce(): Promise<void>;
|
|
99
|
-
pAllf(): Promise<void>;
|
|
100
|
-
pAll(): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* push to all origins
|
|
103
|
-
*/
|
|
104
|
-
pushAll(force?: boolean): Promise<void>;
|
|
105
|
-
forcePush(): Promise<void>;
|
|
106
|
-
pushForce(): Promise<void>;
|
|
107
|
-
/**
|
|
108
|
-
* Commit and push this for single repo
|
|
109
|
-
*/
|
|
110
|
-
commit(options?: {
|
|
111
|
-
force?: boolean;
|
|
112
|
-
typeofCommit?: TypeOfCommit;
|
|
113
|
-
origin?: string;
|
|
114
|
-
commitMessageRequired?: boolean;
|
|
115
|
-
noExit?: boolean;
|
|
116
|
-
}): Promise<void>;
|
|
117
|
-
_preventPushPullFromNotCorrectBranch(): Promise<void>;
|
|
118
|
-
qPush(): Promise<void>;
|
|
119
|
-
quickPush(): Promise<void>;
|
|
120
|
-
repushauto(): Promise<void>;
|
|
121
|
-
rePush(skipQuesion?: boolean): Promise<void>;
|
|
122
|
-
push(options?: PushProcessOptions): Promise<void>;
|
|
123
|
-
melt(): Promise<void>;
|
|
124
|
-
meltUp(): Promise<any>;
|
|
125
|
-
meltAll(): Promise<any>;
|
|
126
|
-
private __meltCommitsFunc;
|
|
127
|
-
private meltUpdateCommits;
|
|
128
|
-
pf(): Promise<any>;
|
|
129
|
-
pRel(): Promise<any>;
|
|
130
|
-
pRelease(): Promise<any>;
|
|
131
|
-
pushRelease(): Promise<any>;
|
|
132
|
-
mPush(): Promise<any>;
|
|
133
|
-
fmPush(): Promise<any>;
|
|
134
|
-
mfPush(): Promise<any>;
|
|
135
|
-
mforcePush(): Promise<any>;
|
|
136
|
-
meltforcePush(): Promise<any>;
|
|
137
|
-
forceMeltPush(): Promise<any>;
|
|
138
|
-
meltPush(force?: boolean): Promise<any>;
|
|
139
|
-
pushFeature(): Promise<any>;
|
|
140
|
-
pushFix(): Promise<any>;
|
|
141
|
-
pfix(): any;
|
|
142
|
-
pushChore(): Promise<any>;
|
|
143
|
-
pc(): Promise<any>;
|
|
144
|
-
pushRefactor(): Promise<any>;
|
|
145
|
-
pushref(): Promise<any>;
|
|
146
|
-
pref(): Promise<any>;
|
|
147
|
-
pushStyle(): Promise<any>;
|
|
148
|
-
pstyl(): Promise<any>;
|
|
149
|
-
pstyle(): Promise<any>;
|
|
150
|
-
pushDocs(): Promise<any>;
|
|
151
|
-
pd(): Promise<any>;
|
|
152
|
-
pdocs(): Promise<any>;
|
|
153
|
-
pushTest(): Promise<any>;
|
|
154
|
-
pTest(): Promise<any>;
|
|
155
|
-
pTests(): Promise<any>;
|
|
156
|
-
pushPerf(): Promise<any>;
|
|
157
|
-
pushCi(): Promise<any>;
|
|
158
|
-
branch(): Promise<any>;
|
|
159
|
-
pushBuild(): Promise<any>;
|
|
160
|
-
SET_ORIGIN(): Promise<any>;
|
|
161
|
-
$COPY_AND_RENAME(): Promise<any>;
|
|
162
|
-
RENAME_ORIGIN(): Promise<any>;
|
|
163
|
-
LAST_TAG_HASH(): Promise<any>;
|
|
164
|
-
LAST_TAG(): Promise<any>;
|
|
165
|
-
CHECK_TAG_EXISTS(): any;
|
|
166
|
-
/**
|
|
167
|
-
* TODO move somewhere
|
|
168
|
-
*/
|
|
169
|
-
lint(): Promise<any>;
|
|
170
|
-
/**
|
|
171
|
-
* TODO move somewhere
|
|
172
|
-
*/
|
|
173
|
-
version(): Promise<any>;
|
|
174
|
-
/**
|
|
175
|
-
* TODO move somewhere
|
|
176
|
-
*/
|
|
177
|
-
init(): Promise<any>;
|
|
178
|
-
/**
|
|
179
|
-
* init parent and first level children
|
|
180
|
-
*/
|
|
181
|
-
initAll(): Promise<any>;
|
|
182
|
-
/**
|
|
183
|
-
* TODO move somewhere
|
|
184
|
-
*/
|
|
185
|
-
struct(): Promise<any>;
|
|
186
|
-
/**
|
|
187
|
-
* TODO move somewhere
|
|
188
|
-
*/
|
|
189
|
-
info(): Promise<any>;
|
|
190
|
-
modified(): Promise<any>;
|
|
191
|
-
refresh(): Promise<void>;
|
|
192
|
-
changes(): Promise<any>;
|
|
193
|
-
allTags(): Promise<any>;
|
|
194
|
-
removeTag(): Promise<any>;
|
|
195
|
-
BRANCH_NAME(): any;
|
|
196
|
-
REMOTES(): any;
|
|
197
|
-
SET_REMOTE_SSH(): Promise<any>;
|
|
198
|
-
SET_REMOTE_http(): Promise<any>;
|
|
199
|
-
SET_REMOTE_https(): Promise<any>;
|
|
200
|
-
protected _resolveChildFromArg(): any;
|
|
201
|
-
origin(): any;
|
|
202
|
-
remote(): any;
|
|
203
|
-
originHttp(): any;
|
|
204
|
-
originHttps(): any;
|
|
205
|
-
originssh(): any;
|
|
206
|
-
origins(): any;
|
|
207
|
-
gitConfig(): any;
|
|
208
|
-
LAST_COMMIT_HASH(): any;
|
|
209
|
-
COMMIT_MESSAGE_BY_HASH(): Promise<any>;
|
|
210
|
-
LAST_5_COMMITS(): Promise<any>;
|
|
211
|
-
updateDepsFrom(): Promise<any>;
|
|
212
|
-
isSupportedTaonTerminal(): any;
|
|
213
|
-
isRunningInWindowsCmd(): any;
|
|
214
|
-
isRunningInWindowsPowerShell(): any;
|
|
215
|
-
INSTALL_PROJECT_EXTENSIONS(): Promise<void>;
|
|
216
|
-
INSTALL_PROJECT_EXT(): Promise<void>;
|
|
217
|
-
INS_PROJ_EXT(): Promise<void>;
|
|
218
|
-
INSTALL_PROJ_EXT(): Promise<void>;
|
|
219
|
-
projdb(): Promise<any>;
|
|
220
|
-
private __filterBranchesByPattern;
|
|
221
|
-
private __selectBrach;
|
|
222
|
-
clone(): Promise<any>;
|
|
223
|
-
ghSave(): Promise<any>;
|
|
224
|
-
ghRestore(): Promise<any>;
|
|
225
|
-
ports(): Promise<any>;
|
|
226
|
-
/**
|
|
227
|
-
* tnp startCliServicePortsWorker --restart
|
|
228
|
-
*/
|
|
229
|
-
startCliServicePortsWorker(): Promise<void>;
|
|
230
|
-
waitForUserAnyKey(): Promise<any>;
|
|
231
|
-
pauseTerminal(): any;
|
|
232
|
-
sleepTerminal(): any;
|
|
233
|
-
ghPagesInit(): Promise<any>;
|
|
234
|
-
isPortInUse(): Promise<any>;
|
|
235
|
-
procInfo(): any;
|
|
236
|
-
processInfo(): any;
|
|
237
|
-
lastGitTag(): any;
|
|
238
|
-
checkPort(): Promise<any>;
|
|
239
|
-
checkPorts(): Promise<any>;
|
|
240
|
-
symlink(): any;
|
|
241
|
-
removeSymlinksDryRun(): any;
|
|
242
|
-
selectJava(): Promise<any>;
|
|
243
|
-
selectTomcat(): Promise<any>;
|
|
244
|
-
LN(): any;
|
|
245
|
-
copy(): any;
|
|
246
|
-
simulateDomain(): Promise<void>;
|
|
247
|
-
preview(): Promise<void>;
|
|
248
|
-
/**
|
|
249
|
-
* read huge file and display only lines with specyfic words
|
|
250
|
-
*/
|
|
251
|
-
shorten(): Promise<any>;
|
|
252
|
-
dumpPackagesVersions(): void;
|
|
253
|
-
zip(): Promise<any>;
|
|
254
|
-
unzip(): Promise<any>;
|
|
255
|
-
startTransmission(): Promise<any>;
|
|
256
|
-
_removeTransmission(): Promise<any>;
|
|
257
|
-
backupBranch(): Promise<any>;
|
|
258
|
-
bb(): Promise<any>;
|
|
259
|
-
countCodeLines(): Promise<any>;
|
|
260
|
-
countCode(): Promise<any>;
|
|
261
|
-
countLines(): Promise<any>;
|
|
262
|
-
isNodeVersionOk(): any;
|
|
263
|
-
pwd(): void;
|
|
264
|
-
more(): Promise<any>;
|
|
265
|
-
less(): Promise<any>;
|
|
266
|
-
/**
|
|
267
|
-
* npm install --global bin-version-check-cli
|
|
268
|
-
* npm i -g yt-dlp
|
|
269
|
-
* choco install ffmpeg
|
|
270
|
-
*/
|
|
271
|
-
MP3(args: any): any;
|
|
272
|
-
MP4(args: any): any;
|
|
273
|
-
gif(): void;
|
|
274
|
-
killZs(): any;
|
|
275
|
-
startZs(): any;
|
|
276
|
-
zsKill(): any;
|
|
277
|
-
zsStart(): any;
|
|
278
|
-
startZscaller(): any;
|
|
279
|
-
killZscaller(): any;
|
|
280
|
-
hasCommand(): Promise<void>;
|
|
281
|
-
hasCommandSync(): void;
|
|
282
|
-
publicIpAddress(): Promise<void>;
|
|
283
|
-
publicIp(): Promise<void>;
|
|
284
|
-
localIps(): Promise<void>;
|
|
285
|
-
isOnline(): Promise<any>;
|
|
286
|
-
configureBash(): Promise<void>;
|
|
287
|
-
configureShell(): Promise<void>;
|
|
288
|
-
confBash(): void;
|
|
289
|
-
confShell(): void;
|
|
290
|
-
gitResetAll(): any;
|
|
291
|
-
isElevated(): Promise<any>;
|
|
292
|
-
sudoCheck(): Promise<void>;
|
|
293
|
-
pythonModuleExists(): Promise<any>;
|
|
294
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseFeatureForProject } from './base-feature-for-project';
|
|
3
|
-
import type { BaseProject } from './base-project';
|
|
4
|
-
/**
|
|
5
|
-
* Git Ignore
|
|
6
|
-
* Vscode Files Hide
|
|
7
|
-
* Npm Ignore
|
|
8
|
-
*/
|
|
9
|
-
export declare class BaseIgnoreHideHelpers<PROJECT extends BaseProject = any> extends BaseFeatureForProject<PROJECT> {
|
|
10
|
-
/**
|
|
11
|
-
* (@default: false)
|
|
12
|
-
*
|
|
13
|
-
* If true, the files/folders/patterns that aren't really code and can
|
|
14
|
-
* be recreated from template project like (tsconfig.json, .babelrc, .prettierc etc.)
|
|
15
|
-
* will are stored in the repo
|
|
16
|
-
*/
|
|
17
|
-
protected storeInRepoConfigFiles(): boolean;
|
|
18
|
-
init(): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* @param data list of patterns
|
|
21
|
-
* @returns list of patterns for recrusive ignore
|
|
22
|
-
*/
|
|
23
|
-
private recursivePatternTransformFn;
|
|
24
|
-
/**
|
|
25
|
-
* Have to start with /
|
|
26
|
-
*
|
|
27
|
-
* Usefull if you are generating some files and folder in src/*.* folder
|
|
28
|
-
* (Taon CLI does this for automatic host generation)
|
|
29
|
-
* @returns patterns that are ignored in repo but visible to user
|
|
30
|
-
*/
|
|
31
|
-
protected getPatternsIgnoredInRepoButVisibleToUser(): string[];
|
|
32
|
-
protected alwaysIgnoredHiddenPatterns(): string[];
|
|
33
|
-
alwaysUseRecursivePattern(): string[];
|
|
34
|
-
protected alwaysIgnoredAndHiddenFilesAndFolders(): string[];
|
|
35
|
-
protected hiddenButNeverIgnoredInRepo(): string[];
|
|
36
|
-
protected hiddenButNotNecessaryIgnoredInRepoFilesAndFolders(): string[];
|
|
37
|
-
protected hiddenButNotNecessaryIgnoredInRepoPatterns(): string[];
|
|
38
|
-
protected npmIgnoreFilesFoldersPatterns(): string[];
|
|
39
|
-
writeGitIgnore(): void;
|
|
40
|
-
/**
|
|
41
|
-
* Use can apply this to .vscode/settings.json [files.exclude] property
|
|
42
|
-
*/
|
|
43
|
-
getVscodeFilesFoldersAndPatternsToHide(): {
|
|
44
|
-
[fileFolderOrPattern: string]: true;
|
|
45
|
-
};
|
|
46
|
-
writeNpmIgnore(): void;
|
|
47
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseFeatureForProject } from './base-feature-for-project';
|
|
3
|
-
import { BaseProject } from './base-project';
|
|
4
|
-
export declare class BaseJavaJdk<PROJECT extends BaseProject = any> extends BaseFeatureForProject<PROJECT> {
|
|
5
|
-
selectJdkVersion(): Promise<string | undefined>;
|
|
6
|
-
updateJavaHomePath(selectedPath: string): void;
|
|
7
|
-
selectTomcatVersion(): Promise<string>;
|
|
8
|
-
updateTomcatHomePath(selectedPath: string): void;
|
|
9
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export interface BaseJsonFileReaderOptions<DATA> {
|
|
3
|
-
/**
|
|
4
|
-
* cwd for <my-json>.json
|
|
5
|
-
* <cwd>/<my-json>
|
|
6
|
-
* (you can also provide full path - basename will be cut)
|
|
7
|
-
*/
|
|
8
|
-
cwd?: string;
|
|
9
|
-
/**
|
|
10
|
-
* file name
|
|
11
|
-
* example: package.json, taon.json etc.
|
|
12
|
-
*/
|
|
13
|
-
fileName?: string;
|
|
14
|
-
/**
|
|
15
|
-
* json content to read from memory
|
|
16
|
-
*/
|
|
17
|
-
jsonContent?: Partial<DATA>;
|
|
18
|
-
/**
|
|
19
|
-
* callback for external reload
|
|
20
|
-
*/
|
|
21
|
-
reloadInMemoryCallback?: (data: DATA) => void;
|
|
22
|
-
/**
|
|
23
|
-
* use json with comments reader to read json file
|
|
24
|
-
*/
|
|
25
|
-
readJsonAsJsonWithComments?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* default value for data
|
|
28
|
-
* if file not exist
|
|
29
|
-
* (ONLY FOR cwd + fileName mode)
|
|
30
|
-
*/
|
|
31
|
-
defaultValue?: Partial<DATA>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Base class for reading json files
|
|
35
|
-
* There are 2 modes of reading json files:
|
|
36
|
-
* - cwd + fileName (read and write to disk in cwd)
|
|
37
|
-
* - jsonContent (read and write to memory and use
|
|
38
|
-
* reloadInMemoryCallback for external reload)
|
|
39
|
-
*/
|
|
40
|
-
export declare class BaseJsonFileReader<DATA> {
|
|
41
|
-
/**
|
|
42
|
-
* null when package.json not exist
|
|
43
|
-
*/
|
|
44
|
-
protected data: DATA | null;
|
|
45
|
-
/**
|
|
46
|
-
* use json with comments reader to read package.json
|
|
47
|
-
*/
|
|
48
|
-
protected readonly readJsonAsJsonWithComments: boolean;
|
|
49
|
-
readonly cwd: string;
|
|
50
|
-
protected readonly fileName: string;
|
|
51
|
-
/**
|
|
52
|
-
* @deprecated
|
|
53
|
-
* use only when cwd and fileName are not provided
|
|
54
|
-
*/
|
|
55
|
-
protected readonly jsonContent?: Partial<DATA>;
|
|
56
|
-
protected readonly defaultValue?: Partial<DATA>;
|
|
57
|
-
protected readonly reloadInMemoryCallback?: (data: DATA) => void;
|
|
58
|
-
constructor(options: BaseJsonFileReaderOptions<DATA>);
|
|
59
|
-
/**
|
|
60
|
-
* cwd + fileName
|
|
61
|
-
*/
|
|
62
|
-
get path(): string;
|
|
63
|
-
/**
|
|
64
|
-
* if something else change package.json in this project
|
|
65
|
-
* and you know that you need to reload it..
|
|
66
|
-
*/
|
|
67
|
-
reloadPackageJsonInMemory(): void;
|
|
68
|
-
saveToDisk(purpose?: string): any;
|
|
69
|
-
linkTo(destination: string): void;
|
|
70
|
-
getAllData(): DATA;
|
|
71
|
-
setAllData(data: DATA): void;
|
|
72
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { LibrariesBuildOptions, LibraryBuildCommandOptions } from '../../models';
|
|
3
|
-
import { BaseFeatureForProject } from './base-feature-for-project';
|
|
4
|
-
import type { BaseProject } from './base-project';
|
|
5
|
-
/**
|
|
6
|
-
* Base library build for standard angular/typescript projects
|
|
7
|
-
*/
|
|
8
|
-
export declare abstract class BaseLibraryBuild<PROJECT extends BaseProject<BaseProject, any>> extends BaseFeatureForProject<PROJECT> {
|
|
9
|
-
private cache;
|
|
10
|
-
protected readonly tempOrgTsConfigFile: string;
|
|
11
|
-
protected sortByDeps(libraries: PROJECT[]): PROJECT[];
|
|
12
|
-
/**
|
|
13
|
-
* Use cases:
|
|
14
|
-
* 1. build all libraries in normal mode
|
|
15
|
-
* 2. build all libraries in watch mode
|
|
16
|
-
* 3. build selected libraries in normal mode
|
|
17
|
-
* (with first time all libraries will be build)
|
|
18
|
-
* 4. build selected libraries in watch mode
|
|
19
|
-
* (use normal build for not selected libraries)
|
|
20
|
-
* 5. build selected libraries in watch mode
|
|
21
|
-
* (skip normal build for not selected libraries)
|
|
22
|
-
*/
|
|
23
|
-
selectAndSaveLibraries({ selectedLibs, watch, watchBuildSupported, skipAllLibsQuestion, useLastUserConfiguration, }: {
|
|
24
|
-
selectedLibs: PROJECT[];
|
|
25
|
-
watch: boolean;
|
|
26
|
-
watchBuildSupported?: boolean;
|
|
27
|
-
skipAllLibsQuestion?: boolean;
|
|
28
|
-
useLastUserConfiguration?: boolean;
|
|
29
|
-
}): Promise<{
|
|
30
|
-
selectedLibs: PROJECT[];
|
|
31
|
-
skipRebuildingAllForWatch: boolean;
|
|
32
|
-
}>;
|
|
33
|
-
/**
|
|
34
|
-
* angular libraries from angular.json
|
|
35
|
-
*/
|
|
36
|
-
get libraries(): PROJECT[];
|
|
37
|
-
protected getLibraries(): any;
|
|
38
|
-
/**
|
|
39
|
-
* Angular library build
|
|
40
|
-
*/
|
|
41
|
-
buildLibraries({ watch, strategy, releaseBuild, copylink_to_node_modules, outputLineReplace, libraries, useLastUserConfiguration, }?: LibrariesBuildOptions<PROJECT> & {
|
|
42
|
-
watch?: boolean;
|
|
43
|
-
}): Promise<void>;
|
|
44
|
-
protected libWatchBuildProcess({ lib, locationsForNodeModules, strategy, outputLineReplace, }: {
|
|
45
|
-
lib: PROJECT;
|
|
46
|
-
locationsForNodeModules: string[];
|
|
47
|
-
strategy: 'link' | 'copy';
|
|
48
|
-
outputLineReplace?: (outputLine: string) => string;
|
|
49
|
-
}): Promise<any>;
|
|
50
|
-
protected libNormalBuildProcess({ lib, locationsForNodeModules, strategy, outputLineReplace, }: {
|
|
51
|
-
lib: PROJECT;
|
|
52
|
-
locationsForNodeModules: string[];
|
|
53
|
-
strategy: 'link' | 'copy';
|
|
54
|
-
outputLineReplace?: (outputLine: string) => string;
|
|
55
|
-
}): Promise<any>;
|
|
56
|
-
getLibraryBuildCommand(options?: LibraryBuildCommandOptions): string | undefined;
|
|
57
|
-
get getLibraryBuildSuccessComamnds(): string[];
|
|
58
|
-
selectCopytoProjects(): Promise<string[]>;
|
|
59
|
-
private changeTsConfigForLibrariesTypes;
|
|
60
|
-
protected replaceTsConfigsPathes(): Promise<any>;
|
|
61
|
-
private restoreOriginalTsConfig;
|
|
62
|
-
}
|