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,29 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ChangeOfFile } from 'incremental-compiler/websql';
|
|
3
|
-
import { BaseCompilerForProject } from './base-compiler-for-project';
|
|
4
|
-
import { BaseProject } from './base-project';
|
|
5
|
-
export declare abstract class BaseDebounceCompilerForProject<ADDITIONAL_DATA = any, PROJECT extends BaseProject = BaseProject> extends BaseCompilerForProject<ADDITIONAL_DATA, PROJECT> {
|
|
6
|
-
protected initialParams: ADDITIONAL_DATA;
|
|
7
|
-
/**
|
|
8
|
-
* default debounce time is 1s
|
|
9
|
-
*/
|
|
10
|
-
protected debounceTime: number;
|
|
11
|
-
abstract action({ changeOfFiles, asyncEvent, }: {
|
|
12
|
-
changeOfFiles: ChangeOfFile[];
|
|
13
|
-
asyncEvent: boolean;
|
|
14
|
-
}): any;
|
|
15
|
-
/**
|
|
16
|
-
* current files that are in project
|
|
17
|
-
*/
|
|
18
|
-
protected exitedFilesAbsPathes: string[];
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated use action() instead
|
|
21
|
-
*/
|
|
22
|
-
syncAction(absFilesPathes: string[], initialParams: ADDITIONAL_DATA): Promise<void>;
|
|
23
|
-
private lastAsyncFilesChanges;
|
|
24
|
-
private debounceAction;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated use action() instead
|
|
27
|
-
*/
|
|
28
|
-
asyncAction(asyncEvents: ChangeOfFile, initialParams?: ADDITIONAL_DATA): Promise<void>;
|
|
29
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import type { ChildProcess } from 'child_process';
|
|
3
|
-
import { UtilsDocker } from '../../utils';
|
|
4
|
-
import { BaseFeatureForProject } from './base-feature-for-project';
|
|
5
|
-
import { BaseProject } from './base-project';
|
|
6
|
-
export declare class BaseDocker<PROJECT extends BaseProject = any> extends BaseFeatureForProject<PROJECT> {
|
|
7
|
-
/**
|
|
8
|
-
* Updates ports in .env file based on available ports range.
|
|
9
|
-
*/
|
|
10
|
-
updateDockerComposePorts(): Promise<void>;
|
|
11
|
-
getDockerComposeActionChildProcess(action: UtilsDocker.DockerComposeActionType, options?: UtilsDocker.DockerComposeActionOptions): ChildProcess;
|
|
12
|
-
removeAllImagesBy_Env_COMPOSE_PROJECT_NAME(): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseProject } from './base-project';
|
|
3
|
-
export declare abstract class BaseFeatureForProject<PROJECT extends BaseProject<any, any> = BaseProject<any, any>> {
|
|
4
|
-
protected project: PROJECT;
|
|
5
|
-
get ins(): import("tnp-helpers/websql").BaseProjectResolver<any>;
|
|
6
|
-
constructor(project: PROJECT);
|
|
7
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseFeatureForProject } from './base-feature-for-project';
|
|
3
|
-
import type { BaseProject } from './base-project';
|
|
4
|
-
export declare class BaseFileFoldersOperations<PROJECT extends BaseProject = any> extends BaseFeatureForProject<PROJECT> {
|
|
5
|
-
/**
|
|
6
|
-
* Relative to project root
|
|
7
|
-
* @returns list of files and folders to copy when copying project
|
|
8
|
-
*/
|
|
9
|
-
protected fielsAndFoldersToCopy(): string[];
|
|
10
|
-
moveProjectTo(destination: string): Promise<void>;
|
|
11
|
-
deleteProject(options?: {
|
|
12
|
-
skipChildren?: boolean;
|
|
13
|
-
}): void;
|
|
14
|
-
copyProjectTo(destination: string, options?: {
|
|
15
|
-
skipChildren?: boolean;
|
|
16
|
-
}): Promise<void>;
|
|
17
|
-
}
|
|
@@ -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
|
-
}
|