tnp-core 21.0.166 → 21.0.167

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +3 -3
  2. package/browser/package.json +1 -1
  3. package/browser-prod/package.json +1 -1
  4. package/full-dts/build-info._auto-generated_.d.ts +24 -0
  5. package/full-dts/config.d.ts +171 -0
  6. package/full-dts/constants.d.ts +306 -0
  7. package/full-dts/core-cli.d.ts +8 -0
  8. package/full-dts/core-config.d.ts +5 -0
  9. package/full-dts/core-imports.d.ts +71 -0
  10. package/full-dts/core-models.d.ts +313 -0
  11. package/full-dts/core-project.d.ts +6 -0
  12. package/full-dts/cross-platform-path.d.ts +5 -0
  13. package/full-dts/env/env.angular-node-app.d.ts +67 -0
  14. package/full-dts/env/env.docs-webapp.d.ts +67 -0
  15. package/full-dts/env/env.electron-app.d.ts +67 -0
  16. package/full-dts/env/env.mobile-app.d.ts +67 -0
  17. package/full-dts/env/env.npm-lib-and-cli-tool.d.ts +67 -0
  18. package/full-dts/env/env.vscode-plugin.d.ts +67 -0
  19. package/full-dts/env/index.d.ts +6 -0
  20. package/full-dts/framework-name.d.ts +3 -0
  21. package/full-dts/global-logs.d.ts +5 -0
  22. package/full-dts/global-spinner.d.ts +27 -0
  23. package/full-dts/global-storage.d.ts +17 -0
  24. package/full-dts/global-task-manager.d.ts +20 -0
  25. package/full-dts/helpers.d.ts +325 -0
  26. package/full-dts/index.d.ts +53 -0
  27. package/full-dts/jsonc-parser.d.ts +4 -0
  28. package/full-dts/lodash.namespace.d.ts +308 -0
  29. package/full-dts/lowdb/adapters/Memory.d.ts +11 -0
  30. package/full-dts/lowdb/adapters/client/LocalStorage.d.ts +4 -0
  31. package/full-dts/lowdb/adapters/client/SessionStorage.d.ts +4 -0
  32. package/full-dts/lowdb/adapters/client/WebStorage.d.ts +8 -0
  33. package/full-dts/lowdb/adapters/node/DataFile.d.ts +25 -0
  34. package/full-dts/lowdb/adapters/node/JSONFile.d.ts +8 -0
  35. package/full-dts/lowdb/adapters/node/TextFile.d.ts +17 -0
  36. package/full-dts/lowdb/adapters/node/steno.d.ts +13 -0
  37. package/full-dts/lowdb/browser.d.ts +3 -0
  38. package/full-dts/lowdb/core/Low.d.ts +24 -0
  39. package/full-dts/lowdb/examples/server.d.ts +0 -0
  40. package/full-dts/lowdb/index.d.ts +3 -0
  41. package/full-dts/lowdb/node.d.ts +4 -0
  42. package/full-dts/lowdb/presets/browser.d.ts +3 -0
  43. package/full-dts/lowdb/presets/node.d.ts +4 -0
  44. package/full-dts/node-chalk-mock.d.ts +2 -0
  45. package/full-dts/node-path-mock.d.ts +25 -0
  46. package/full-dts/public-api.d.ts +4 -0
  47. package/full-dts/required-global-npm-packages.d.ts +44 -0
  48. package/full-dts/start-cli.d.ts +7 -0
  49. package/full-dts/taon-state-machine.d.ts +23 -0
  50. package/full-dts/utils-binary.d.ts +68 -0
  51. package/full-dts/utils-cli.d.ts +41 -0
  52. package/full-dts/utils-dot-file.d.ts +17 -0
  53. package/full-dts/utils-env.d.ts +101 -0
  54. package/full-dts/utils-etc-hosts.d.ts +28 -0
  55. package/full-dts/utils-exec-proc-vscode.d.ts +62 -0
  56. package/full-dts/utils-exec-proc.d.ts +100 -0
  57. package/full-dts/utils-files-folders.d.ts +106 -0
  58. package/full-dts/utils-http.d.ts +188 -0
  59. package/full-dts/utils-i18n.d.ts +38 -0
  60. package/full-dts/utils-imports.d.ts +0 -0
  61. package/full-dts/utils-imports.test.d.ts +0 -0
  62. package/full-dts/utils-json.d.ts +37 -0
  63. package/full-dts/utils-jwt.d.ts +12 -0
  64. package/full-dts/utils-md-docs.d.ts +21 -0
  65. package/full-dts/utils-network.d.ts +79 -0
  66. package/full-dts/utils-os.d.ts +126 -0
  67. package/full-dts/utils-passwords.d.ts +8 -0
  68. package/full-dts/utils-process-logger.d.ts +97 -0
  69. package/full-dts/utils-process.d.ts +93 -0
  70. package/full-dts/utils-progress.d.ts +26 -0
  71. package/full-dts/utils-projects.d.ts +327 -0
  72. package/full-dts/utils-projects.test.d.ts +0 -0
  73. package/full-dts/utils-secret-env.d.ts +41 -0
  74. package/full-dts/utils-start-async.d.ts +67 -0
  75. package/full-dts/utils-stdin-stdout-logger.d.ts +9 -0
  76. package/full-dts/utils-string-regex.d.ts +11 -0
  77. package/full-dts/utils-sudo.d.ts +32 -0
  78. package/full-dts/utils-temp-folder.d.ts +29 -0
  79. package/full-dts/utils-terminal.d.ts +171 -0
  80. package/full-dts/utils-time.d.ts +16 -0
  81. package/full-dts/utils-wait-notifier.d.ts +11 -0
  82. package/full-dts/utils.d.ts +100 -0
  83. package/lib/build-info._auto-generated_.d.ts +1 -1
  84. package/lib/build-info._auto-generated_.js +1 -1
  85. package/lib/config.d.ts +2 -2
  86. package/lib/core-imports.d.ts +1 -4
  87. package/lib/framework-name.d.ts +3 -3
  88. package/lib/package.json +1 -1
  89. package/lib/utils-binary.d.ts +1 -9
  90. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  91. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  92. package/lib-esm/lib/config.d.ts +2 -2
  93. package/lib-esm/lib/core-imports.d.ts +1 -4
  94. package/lib-esm/lib/framework-name.d.ts +3 -3
  95. package/lib-esm/lib/utils-binary.d.ts +1 -9
  96. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  97. package/lib-prod/build-info._auto-generated_.js +1 -1
  98. package/lib-prod/package.json +1 -1
  99. package/package.json +1 -1
  100. package/src.d.ts +1 -1
  101. package/websql/package.json +1 -1
  102. package/websql-prod/package.json +1 -1
  103. package/lib/jsonc-parse.test.d.ts +0 -1
  104. package/lib/utils-env.test.d.ts +0 -1
  105. package/lib/utils-json.test.d.ts +0 -1
  106. package/lib/utils-jwt.test.d.ts +0 -1
  107. package/lib/utils-md-docs.test.d.ts +0 -1
  108. package/lib/utils-progress.test.d.ts +0 -1
  109. /package/{lib-esm/lib/utils-imports.test.d.ts → full-dts/index._auto-generated_.d.ts} +0 -0
  110. /package/{lib-esm/lib/utils-projects.test.d.ts → full-dts/json10writer.d.ts} +0 -0
  111. /package/{lib-esm/lib → full-dts}/jsonc-parse.test.d.ts +0 -0
  112. /package/{lib-esm/lib/taon-state-machine.test.d.ts → full-dts/lowdb/examples/browser.d.ts} +0 -0
  113. /package/{lib/utils-imports.test.d.ts → full-dts/lowdb/examples/cli.d.ts} +0 -0
  114. /package/{lib/utils-projects.test.d.ts → full-dts/lowdb/examples/in-memory.d.ts} +0 -0
  115. /package/{lib → full-dts}/taon-state-machine.test.d.ts +0 -0
  116. /package/{lib-esm/lib → full-dts}/utils-env.test.d.ts +0 -0
  117. /package/{lib-esm/lib → full-dts}/utils-json.test.d.ts +0 -0
  118. /package/{lib-esm/lib → full-dts}/utils-jwt.test.d.ts +0 -0
  119. /package/{lib-esm/lib → full-dts}/utils-md-docs.test.d.ts +0 -0
  120. /package/{lib-esm/lib → full-dts}/utils-progress.test.d.ts +0 -0
@@ -0,0 +1,67 @@
1
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_WEBSITE_DOMAIN = "tnp-core.example.domain.com";
2
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_WEBSITE_TITLE = "Tnp Core";
3
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_TARGET_ARTIFACT = "npm-lib-and-cli-tool";
4
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_ENV_NAME = "__";
5
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_FINISH_CALLBACK: () => Promise<string>;
6
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_CONTAINER_ONLY: any;
7
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_CONTAINER_END: any;
8
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_CONTAINER_START: any;
9
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_CONTAINER_SKIP_RELEASED: any;
10
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_CONTAINER_SKIP: any;
11
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_INIT_BRANDING: any;
12
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_INIT_STRUCT: any;
13
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_PWA_DISABLE_SERVICE_WORKER: any;
14
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_PWA_NAME: any;
15
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_PWA_SHORT_NAME: any;
16
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_PWA_START_URL: any;
17
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_ELECTRON_SHOW_DEV_TOOLS: any;
18
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_SSR: any;
19
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_WEBSQL: any;
20
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_PROD: any;
21
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_OVERRIDE_OUTPUT_PATH: any;
22
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_BASE_HREF: any;
23
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_WATCH: any;
24
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_BUILD_GEN_ONLY_CLIENT_CODE: any;
25
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_LOADING_PRE_ANGULAR_BOOTSTRAP_LOADER: any;
26
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_LOADING_PRE_ANGULAR_BOOTSTRAP_BACKGROUND: any;
27
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_CLI_MINIFY: any;
28
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_CLI_INCLUDE_NODE_MODULES: any;
29
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_CLI_UGLIFY: any;
30
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_CLI_OBSCURE: any;
31
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_CLI_COMPRESS: any;
32
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_NODE_BACKEND_APP_MINIFY: any;
33
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_LIB_REMOVE_DTS: any;
34
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_LIB_OBSCURE_FILE_BY_FILE: any;
35
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_LIB_UGLIFY_FILE_BY_FILE: any;
36
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_LIB_INCLUDE_SOURCE_MAPS: any;
37
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_LIB_COMPRESS: any;
38
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_LIB_DO_NOT_INCLUDE_LIB_FILES: any;
39
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_RESOLVED_NEW_VERSION: any;
40
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_RELEASE_VERSION_BUMP_TYPE: any;
41
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_ENV_NUMBER: any;
42
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_INSTALL_LOCALLY: any;
43
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_REMOVE_RELEASE_OUTPUT_AFTER_LOCAL_INSTALL: any;
44
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_RELEASE_TYPE: any;
45
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_AUTO_RELEASE_USING_CONFIG: any;
46
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_AUTO_RELEASE_TASK_NAME: any;
47
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_TAON_INSTANCE_IP: any;
48
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_NPM_PUBLISH: any;
49
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_DEPLOY: any;
50
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_TAG_GIT_PUSH: any;
51
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_RELEASE_QUESTION: any;
52
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_RESOLVING_GIT_CHANGES: any;
53
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_CODE_CUTTING: any;
54
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_SKIP_BUILDING_ARTIFACTS: any;
55
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_PUSH_TO_ALL_ORIGINS_WHEN_LOCAL_RELEASE_BRANCH: any;
56
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RELEASE_USE_LOCAL_RELEASE_BRANCH: any;
57
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_COPY_TO_MANAGER_BEFORE_COPY_HOOK: any;
58
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_COPY_TO_MANAGER_COPY_TO_LOCATIONS: any;
59
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_COPY_TO_MANAGER_COPY_TO_PROJECTS: any;
60
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_COPY_TO_MANAGER_SKIP: any;
61
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_WEBSITE_USE_DOMAIN: any;
62
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_PURPOSE: any;
63
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_RECURSIVE_ACTION: any;
64
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_IS_CI_PROCESS: any;
65
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_DOCKER_ADDITIONAL_CONTAINER: any;
66
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_DOCKER_SKIP_START_IN_ORDER: any;
67
+ export declare const ENV_NPM_LIB_AND_CLI_TOOL_DOCKER_SKIP_USING_MYSQL_DB: any;
@@ -0,0 +1,67 @@
1
+ export declare const ENV_VSCODE_PLUGIN_WEBSITE_DOMAIN = "tnp-core.example.domain.com";
2
+ export declare const ENV_VSCODE_PLUGIN_WEBSITE_TITLE = "Tnp Core";
3
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_TARGET_ARTIFACT = "vscode-plugin";
4
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_ENV_NAME = "__";
5
+ export declare const ENV_VSCODE_PLUGIN_FINISH_CALLBACK: () => Promise<string>;
6
+ export declare const ENV_VSCODE_PLUGIN_CONTAINER_ONLY: any;
7
+ export declare const ENV_VSCODE_PLUGIN_CONTAINER_END: any;
8
+ export declare const ENV_VSCODE_PLUGIN_CONTAINER_START: any;
9
+ export declare const ENV_VSCODE_PLUGIN_CONTAINER_SKIP_RELEASED: any;
10
+ export declare const ENV_VSCODE_PLUGIN_CONTAINER_SKIP: any;
11
+ export declare const ENV_VSCODE_PLUGIN_INIT_BRANDING: any;
12
+ export declare const ENV_VSCODE_PLUGIN_INIT_STRUCT: any;
13
+ export declare const ENV_VSCODE_PLUGIN_BUILD_PWA_DISABLE_SERVICE_WORKER: any;
14
+ export declare const ENV_VSCODE_PLUGIN_BUILD_PWA_NAME: any;
15
+ export declare const ENV_VSCODE_PLUGIN_BUILD_PWA_SHORT_NAME: any;
16
+ export declare const ENV_VSCODE_PLUGIN_BUILD_PWA_START_URL: any;
17
+ export declare const ENV_VSCODE_PLUGIN_BUILD_ELECTRON_SHOW_DEV_TOOLS: any;
18
+ export declare const ENV_VSCODE_PLUGIN_BUILD_SSR: any;
19
+ export declare const ENV_VSCODE_PLUGIN_BUILD_WEBSQL: any;
20
+ export declare const ENV_VSCODE_PLUGIN_BUILD_PROD: any;
21
+ export declare const ENV_VSCODE_PLUGIN_BUILD_OVERRIDE_OUTPUT_PATH: any;
22
+ export declare const ENV_VSCODE_PLUGIN_BUILD_BASE_HREF: any;
23
+ export declare const ENV_VSCODE_PLUGIN_BUILD_WATCH: any;
24
+ export declare const ENV_VSCODE_PLUGIN_BUILD_GEN_ONLY_CLIENT_CODE: any;
25
+ export declare const ENV_VSCODE_PLUGIN_LOADING_PRE_ANGULAR_BOOTSTRAP_LOADER: any;
26
+ export declare const ENV_VSCODE_PLUGIN_LOADING_PRE_ANGULAR_BOOTSTRAP_BACKGROUND: any;
27
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_CLI_MINIFY: any;
28
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_CLI_INCLUDE_NODE_MODULES: any;
29
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_CLI_UGLIFY: any;
30
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_CLI_OBSCURE: any;
31
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_CLI_COMPRESS: any;
32
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_NODE_BACKEND_APP_MINIFY: any;
33
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_LIB_REMOVE_DTS: any;
34
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_LIB_OBSCURE_FILE_BY_FILE: any;
35
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_LIB_UGLIFY_FILE_BY_FILE: any;
36
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_LIB_INCLUDE_SOURCE_MAPS: any;
37
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_LIB_COMPRESS: any;
38
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_LIB_DO_NOT_INCLUDE_LIB_FILES: any;
39
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_RESOLVED_NEW_VERSION: any;
40
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_RELEASE_VERSION_BUMP_TYPE: any;
41
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_ENV_NUMBER: any;
42
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_INSTALL_LOCALLY: any;
43
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_REMOVE_RELEASE_OUTPUT_AFTER_LOCAL_INSTALL: any;
44
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_RELEASE_TYPE: any;
45
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_AUTO_RELEASE_USING_CONFIG: any;
46
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_AUTO_RELEASE_TASK_NAME: any;
47
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_TAON_INSTANCE_IP: any;
48
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_NPM_PUBLISH: any;
49
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_DEPLOY: any;
50
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_TAG_GIT_PUSH: any;
51
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_RELEASE_QUESTION: any;
52
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_RESOLVING_GIT_CHANGES: any;
53
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_CODE_CUTTING: any;
54
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_SKIP_BUILDING_ARTIFACTS: any;
55
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_PUSH_TO_ALL_ORIGINS_WHEN_LOCAL_RELEASE_BRANCH: any;
56
+ export declare const ENV_VSCODE_PLUGIN_RELEASE_USE_LOCAL_RELEASE_BRANCH: any;
57
+ export declare const ENV_VSCODE_PLUGIN_COPY_TO_MANAGER_BEFORE_COPY_HOOK: any;
58
+ export declare const ENV_VSCODE_PLUGIN_COPY_TO_MANAGER_COPY_TO_LOCATIONS: any;
59
+ export declare const ENV_VSCODE_PLUGIN_COPY_TO_MANAGER_COPY_TO_PROJECTS: any;
60
+ export declare const ENV_VSCODE_PLUGIN_COPY_TO_MANAGER_SKIP: any;
61
+ export declare const ENV_VSCODE_PLUGIN_WEBSITE_USE_DOMAIN: any;
62
+ export declare const ENV_VSCODE_PLUGIN_PURPOSE: any;
63
+ export declare const ENV_VSCODE_PLUGIN_RECURSIVE_ACTION: any;
64
+ export declare const ENV_VSCODE_PLUGIN_IS_CI_PROCESS: any;
65
+ export declare const ENV_VSCODE_PLUGIN_DOCKER_ADDITIONAL_CONTAINER: any;
66
+ export declare const ENV_VSCODE_PLUGIN_DOCKER_SKIP_START_IN_ORDER: any;
67
+ export declare const ENV_VSCODE_PLUGIN_DOCKER_SKIP_USING_MYSQL_DB: any;
@@ -0,0 +1,6 @@
1
+ export * from './env.angular-node-app';
2
+ export * from './env.docs-webapp';
3
+ export * from './env.electron-app';
4
+ export * from './env.mobile-app';
5
+ export * from './env.npm-lib-and-cli-tool';
6
+ export * from './env.vscode-plugin';
@@ -0,0 +1,3 @@
1
+ declare let frameworkNameBe: "tnp" | "taon";
2
+ declare const frameworkName: "tnp" | "taon";
3
+ export { frameworkName, frameworkNameBe };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * TODO WIP
3
+ */
4
+ export declare namespace GlobalLog {
5
+ }
@@ -0,0 +1,27 @@
1
+ type HandlerFn = (opt?: {}) => void;
2
+ declare class GlobalSpinnerClass {
3
+ private static instance;
4
+ private constructor();
5
+ static getInstance(): GlobalSpinnerClass;
6
+ private startHandlers;
7
+ private stopHandlers;
8
+ private startHandlersMap;
9
+ private stopHandlersMap;
10
+ private isSpinningSrc$;
11
+ isSpinning$: import("rxjs").Observable<boolean>;
12
+ private _isSpinning;
13
+ get isSpinning(): boolean;
14
+ private set isSpinning(value);
15
+ /**
16
+ * Provide taskCallbackFn() and
17
+ * start(), stop() will trigger
18
+ * automatically
19
+ */
20
+ task(taskCallbackFn: () => {}): Promise<void>;
21
+ start(): void;
22
+ stop(): void;
23
+ removeHandler(handlerId: string): void;
24
+ addSpinningEventListener(handleStartSpinFn: HandlerFn, handleStopSpinFn: HandlerFn, handlerId: string): void;
25
+ }
26
+ export declare const GlobalSpinner: GlobalSpinnerClass;
27
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * TODO WIP
3
+ * refactor:
4
+ * 1. typescript-class-helpers
5
+ * 2. ng2-rest
6
+ * 3. ng2-logger
7
+ */
8
+ declare class GlobalStorageClass {
9
+ private store;
10
+ private constructor();
11
+ static getInstance(): GlobalStorageClass;
12
+ set<T>(path: string, value: T): void;
13
+ get<T>(path: string): T | undefined;
14
+ update<T>(path: string, updater: (prev: T | undefined) => T): T;
15
+ }
16
+ export declare const GlobalStorage: GlobalStorageClass;
17
+ export {};
@@ -0,0 +1,20 @@
1
+ export interface TaskStats {
2
+ name: string;
3
+ startedAt: number;
4
+ finishedAt?: number;
5
+ totalExpectedSuccessActions: number | undefined;
6
+ successActions: number;
7
+ }
8
+ export declare class GlobalTaskManagerClass {
9
+ private static instance;
10
+ private constructor();
11
+ static getInstance(): GlobalTaskManagerClass;
12
+ private tasks;
13
+ start(name: string, totalExpectedSuccessActions?: number): void;
14
+ addProgress(name: string): void;
15
+ protected progress(name: string, bytes: number): void;
16
+ stop(name: string, doneCallback?: () => any): void;
17
+ get(name: string): TaskStats;
18
+ getAll(): TaskStats[];
19
+ }
20
+ export declare const GlobalTaskManager: GlobalTaskManagerClass;
@@ -0,0 +1,325 @@
1
+ import { Blob } from 'buffer';
2
+ import type { ChildProcess } from 'child_process';
3
+ import { CoreModels } from './core-models';
4
+ import { UtilsFilesFoldersSync } from './utils-files-folders';
5
+ import { ProcessStartOptions } from './utils-start-async';
6
+ export interface RunSyncOrAsyncOptions {
7
+ functionFn: Function;
8
+ context?: object;
9
+ arrayOfParams?: any[];
10
+ }
11
+ export interface CommandOutputOptions {
12
+ biggerBuffer?: boolean;
13
+ showOnlyLastLine?: boolean;
14
+ showStder?: boolean;
15
+ gatherColors?: boolean;
16
+ showErrorWarning?: boolean;
17
+ }
18
+ export declare namespace Helpers {
19
+ const getIsBrowser: () => boolean;
20
+ const getIsWebSQL: () => boolean;
21
+ const getIsNode: () => boolean;
22
+ const getIsElectron: () => boolean;
23
+ const contain: (arr: any[], item: any) => boolean;
24
+ const msgCacheClear: () => void;
25
+ const renderError: (err: Error) => void;
26
+ const throwError: (details: string) => never;
27
+ const stopApplication: (details: string) => never;
28
+ const tryCatchError: (error: any) => void;
29
+ const error: (details: any, noExit?: boolean, noTrace?: boolean) => void;
30
+ const info: (details: string, repeatable?: boolean) => void;
31
+ const success: (details: any | string) => void;
32
+ class ActionInstance {
33
+ private readonly actionName;
34
+ private readonly startedAt;
35
+ private isDone;
36
+ constructor(actionName: string);
37
+ done(options?: {
38
+ showExecutionTime?: boolean;
39
+ }): void;
40
+ }
41
+ const actionStarted: (actionName: string) => ActionInstance;
42
+ const taskStarted: (details: any | string, isLogTask?: boolean) => void;
43
+ const logTaskStarted: (details: any | string) => void;
44
+ const taskDone: (details?: any | string, isLessImportant?: boolean) => void;
45
+ const logTaskDone: (details: any | string) => void;
46
+ const getIsVerboseMode: () => boolean;
47
+ const getIsVerboseModeOrTnp: () => boolean;
48
+ const log: (details: any, debugLevel?: number, skipVisibleConditionChecking?: boolean) => void;
49
+ const logSuccess: (details: any | string) => void;
50
+ const logInfo: (details: string, repeatable?: boolean) => void;
51
+ const logError: (details: any, noExit?: boolean, noTrace?: boolean) => void;
52
+ const logWarn: (details: string, trace?: boolean) => void;
53
+ const warn: (details: string, trace?: boolean) => void;
54
+ const bigMaxBuffer: number;
55
+ const getIsWsl: () => boolean;
56
+ const isRunningInDocker: () => boolean;
57
+ const isRunningInLinuxGraphicsCapableEnvironment: () => boolean;
58
+ const clearConsole: () => void;
59
+ const mediaTypeFromSrc: (src: string) => CoreModels.MediaType;
60
+ /**
61
+ * @deprecated use async Utils.wait
62
+ *
63
+ * Helpers.sleep(2) => await Utils.wait(2)
64
+ */
65
+ const sleep: (seconds?: number) => void;
66
+ const removeIfExists: (absoluteFileOrFolderPath: string | string[]) => void;
67
+ const relative: (cwd: string, to: string) => string;
68
+ const removeFileIfExists: (absoluteFilePath: string | string[]) => void;
69
+ const removeFolderIfExists: (absoluteFolderPath: string | string[]) => void;
70
+ /**
71
+ * leave max 1 empty line
72
+ */
73
+ const removeEmptyLineFromString: (str: string) => string;
74
+ /**
75
+ * @deprecated
76
+ */
77
+ const tryRemoveDir: (dirpath: string, contentOnly?: boolean, omitWarningNotExisted?: boolean) => void;
78
+ const removeSymlinks: (dirPath: string | string[], options?: {
79
+ dryRun?: boolean;
80
+ }) => void;
81
+ const remove: (fileOrFolderPathOrPatter: string | string[], exactFolder?: boolean) => void;
82
+ const cleanExit: () => never;
83
+ const getIsRunningInGitBash: () => boolean;
84
+ /**
85
+ * Check if the current shell is supported by Taon framework.
86
+ */
87
+ const getIsSupportedTaonTerminal: () => boolean;
88
+ /**
89
+ * check if function is class
90
+ */
91
+ const isClass: (funcOrClass: any) => boolean;
92
+ /**
93
+ * check if data is nodejs/browser blob
94
+ *
95
+ * @param maybeBlob
96
+ */
97
+ const isBlob: (maybeBlob: any) => maybeBlob is Blob;
98
+ /**
99
+ * Check if data is nodejs buffer
100
+ *
101
+ * @param maybeNodejsBuffer
102
+ * @returns
103
+ */
104
+ const isBuffer: (maybeNodejsBuffer: any) => maybeNodejsBuffer is Buffer;
105
+ const removeSlashAtEnd: (s: string) => string;
106
+ const removeSlashAtBegin: (s: string) => string;
107
+ const stringify: (inputObject: any) => string;
108
+ /**
109
+ * @deprecated
110
+ */
111
+ const runSyncOrAsync: (fnOrOptions: RunSyncOrAsyncOptions) => Promise<any>;
112
+ const createSymLink: (existedFileOrFolder: string, destinationPath: string, options?: {
113
+ /**
114
+ * try to remove destination path before create link
115
+ */
116
+ tryRemoveDesPath?: boolean;
117
+ /**
118
+ * if folder doesn't exist, just continue
119
+ */
120
+ continueWhenExistedFolderDoesntExists?: boolean;
121
+ /**
122
+ * create windows hard link instead of symlink
123
+ */
124
+ windowsHardLink?: boolean;
125
+ /**
126
+ * don't rename destination path when slash at the end
127
+ */
128
+ dontRenameWhenSlashAtEnd?: boolean;
129
+ allowNotAbsolutePathes?: boolean;
130
+ /**
131
+ * only if you know that symlink can be created
132
+ */
133
+ speedUpProcess?: boolean;
134
+ }) => void;
135
+ const createFolder: (folderPath: string | string[]) => void;
136
+ const mkdirp: (folderPath: string | string[]) => void;
137
+ /**
138
+ * symlink may have existed or unexisted destiantion url
139
+ */
140
+ const isSymlinkThatMatchesUrl: (possibleSymlink: string, destUrl: string, absoluteFileMatch?: boolean) => boolean;
141
+ const isSymlinkFileExitedOrUnexisted: (filePath: string | string[]) => boolean;
142
+ /**
143
+ * If symbolnk link that target file does not exits
144
+ */
145
+ const isUnexistedLink: (filePath: string | string[]) => boolean;
146
+ /**
147
+ * @param existedLink check if source of link exists
148
+ */
149
+ const isExistedSymlink: (filePath: string | string[]) => boolean;
150
+ const pathContainLink: (p: string) => boolean;
151
+ const exists: (folderOrFilePath: string | string[]) => boolean;
152
+ /**
153
+ * TODO QUICK_FIX this is HACK for running procesess inside processes
154
+ */
155
+ const _fixCommand: (command: string) => string;
156
+ const command: (command: string) => {
157
+ getherOutput(options?: {
158
+ ommitStder?: boolean;
159
+ cwd?: string;
160
+ biggerBuffer?: boolean;
161
+ gatherColors?: boolean;
162
+ }): Promise<string>;
163
+ };
164
+ /**
165
+ * @deprecated use UtilsTerminal.wait
166
+ */
167
+ const wait: (second: number) => Promise<void>;
168
+ const timeout: (seconds: number) => Promise<void>;
169
+ const commandOutputAsStringAsync: (command: string, cwd?: string, options?: CommandOutputOptions) => Promise<string>;
170
+ const commandOutputAsString: (command: string, cwd?: string, options?: CommandOutputOptions) => string;
171
+ /**
172
+ * @deprecated use UtilsProcess.killProcessOnPort
173
+ */
174
+ const killProcessByPort: (portOrPortsToKill: number | number[], options?: {
175
+ silent?: boolean;
176
+ }) => Promise<void>;
177
+ const killOnPort: (portOrPortsToKill: number | number[], options?: {
178
+ silent?: boolean;
179
+ }) => Promise<void>;
180
+ /**
181
+ * @deprecated use UtilsProcess.killProcess
182
+ */
183
+ const killProcess: (byPid: number) => void;
184
+ /**
185
+ * @deprecated use UtilsProcess
186
+ * or native child_process exec, spawn
187
+ */
188
+ const run: (command: string, options?: CoreModels.RunOptions) => {
189
+ /**
190
+ * start command as synchronous nodej proces
191
+ */
192
+ sync(): string;
193
+ /**
194
+ * start command as asynchronous nodej proces
195
+ * @param detach (default: false) - if true process will be detached
196
+ */
197
+ async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): ChildProcess;
198
+ /**
199
+ * start command as asynchronous nodej proces inside promise
200
+ */
201
+ asyncAsPromise(): Promise<void>;
202
+ unitlOutput(optionsOutput: {
203
+ stdoutMsg: string | string[];
204
+ stderMsg?: string | string[];
205
+ timeout?: number;
206
+ stdoutOutputContainsCallback?: () => any;
207
+ outputLineReplace?: (outputLine: string) => string;
208
+ }): Promise<void>;
209
+ /**
210
+ * @deprecated use unitlOutput
211
+ * start command as asynchronous nodej proces inside promise
212
+ * and wait until output contains some string
213
+ */
214
+ unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[], timeout?: number, stdoutOutputContainsCallback?: () => any): Promise<any>;
215
+ };
216
+ /**
217
+ * @deprecated use UtilsTerminal.confirm
218
+ */
219
+ const questionYesNo: (message: string, callbackTrue?: () => any, callbackFalse?: () => any, defaultValue?: boolean) => Promise<boolean>;
220
+ const getStdio: (options?: CoreModels.RunOptions) => any;
221
+ const runSyncIn: (command: string, options?: CoreModels.RunOptions) => string;
222
+ const runAsyncIn: (command: string, options?: CoreModels.RunOptions) => ChildProcess;
223
+ const logProc: (proc: ChildProcess, output: boolean, stdio: any, outputLineReplace: (outputLine: string) => string, prefix: string, extractFromLine?: (string | Function)[]) => ChildProcess;
224
+ /**
225
+ * @deprecated use UtilsProcess.startAsync
226
+ */
227
+ const execute: (command: string, cwd: string, options?: ProcessStartOptions) => Promise<void>;
228
+ /**
229
+ * @deprecated
230
+ */
231
+ const checkProcess: (dirPath: string, command: string) => void;
232
+ const modifyLineByLine: (data: string | Buffer | Error, outputLineReplace: (outputLine: string) => string, prefix: string, extractFromLine?: (string | Function)[]) => string;
233
+ const isFolder: (pathToFileOrMaybeFolder: string) => boolean;
234
+ /**
235
+ * Quick fix for object values
236
+ * @deprecated
237
+ */
238
+ const values: (obj: any) => any[];
239
+ /**
240
+ * does not make sense
241
+ * @deprecated
242
+ */
243
+ const isFile: (pathToFileOrMaybeFolder: string) => boolean;
244
+ const tryReadFile: (absoluteFilePath: string | string[], // @ts-ignore
245
+ defaultValueWhenNotExists?: string, notTrim?: boolean) => Promise<string | undefined>;
246
+ /**
247
+ * @deprecated use UtilsFilesFoldersSync.readFile
248
+ * wrapper for fs.readFileSync
249
+ */
250
+ const readFile: (absoluteFilePath: string | string[], // @ts-ignore
251
+ defaultValueWhenNotExists?: string, notTrim?: boolean) => string | undefined;
252
+ /**
253
+ * @deprecated use UtilsJson.readJson or UtilsJson.readJson5
254
+ */
255
+ const readJson: (absoluteFilePath: string | string[], defaultValue?: {}, useJson5?: boolean) => any;
256
+ /**
257
+ * @deprecated use UtilsJson.readJsonWithComments
258
+ */
259
+ const readJson5: (absoluteFilePath: string | string[], defaultValue?: any) => any;
260
+ /**
261
+ * @deprecated use UtilsJson.readJsonWithComments
262
+ */
263
+ const readJsonC: (absoluteFilePath: string | string[], defaultValue?: any) => any;
264
+ /**
265
+ * parse json from string
266
+ * @returns parse json object
267
+ */
268
+ const parse: <T = any>(jsonInstring: string, useJson5?: boolean) => T | undefined;
269
+ const replaceLinesInFile: (absoluteFilePath: string | string[], lineReplaceFn: (line: string) => string) => void;
270
+ /**
271
+ * @deprecated use UtilsFilesFoldersSync.writeFile
272
+ * wrapper for fs.writeFileSync
273
+ */
274
+ const writeFile: (absoluteFilePath: string | string[], input: string | object | Buffer, options?: {
275
+ overrideSameFile?: boolean;
276
+ preventParentFile?: boolean;
277
+ }) => boolean;
278
+ /**
279
+ * wrapper for fs.writeFileSync
280
+ */
281
+ const writeJson: (absoluteFilePath: string | string[], input: object, optoins?: {
282
+ preventParentFile?: boolean;
283
+ writeJson5?: boolean;
284
+ }) => boolean;
285
+ const writeJson5: (absoluteFilePath: string | string[], input: object) => boolean;
286
+ const writeJsonC: (absoluteFilePath: string | string[], input: object) => boolean;
287
+ /**
288
+ * return absolute paths for folders inside folders
289
+ * @returns absoulte pathes to folders from path
290
+ */
291
+ const foldersFrom: (pathToFolder: string | string[], options?: {
292
+ recursive?: boolean;
293
+ omitRootFolders?: string[];
294
+ omitRootFoldersThatStartWith?: string[];
295
+ }) => string[];
296
+ /**
297
+ * @returns absolute pathes to links from path
298
+ */
299
+ const linksToFoldersFrom: (pathToFolder: string | string[], outputRealPath?: boolean) => string[];
300
+ /**
301
+ * @returns absolute paths for folders inside folders
302
+ */
303
+ const linksToFolderFrom: (pathToFolder: string | string[]) => string[];
304
+ /**
305
+ * @deprecated use UtilsFilesFoldersSync.getFilesFrom
306
+ * return absolute paths for files inside folder or link to folder
307
+ */
308
+ const getFilesFrom: (folderOrLinkToFolder: string | string[], options?: UtilsFilesFoldersSync.UtilsFilesFoldersSyncGetFilesFromOptions) => string[];
309
+ /**
310
+ * @deprecated use UtilsFilesFoldersSync.getFoldersFrom
311
+ * return absolute paths for folders inside folder or link to folder
312
+ */
313
+ const getFoldersFrom: (folderOrLinkToFolder: string | string[], options?: UtilsFilesFoldersSync.UtilsFilesFoldersSyncGetFilesFromOptions) => string[];
314
+ /**
315
+ * @deprecated use UtilsFilesFoldersSync.filesFrom
316
+ * return absolute paths for folders inside folders
317
+ */
318
+ const filesFrom: (pathToFolder: string | string[], recrusive?: boolean, incudeUnexistedLinks?: boolean) => string[];
319
+ /**
320
+ * @deprecated use UtilsOs.openFolderInFileExplorer
321
+ * @param folderPath
322
+ */
323
+ const openFolderInFileExplorer: (folderPath: string) => void;
324
+ const hideNodeWarnings: () => void;
325
+ }
@@ -0,0 +1,53 @@
1
+ export * from './framework-name';
2
+ export * from './lodash.namespace';
3
+ export * from './core-imports';
4
+ export * from './core-models';
5
+ export * from './core-config';
6
+ export * from './utils-progress';
7
+ export * from './utils';
8
+ export * from './utils-etc-hosts';
9
+ export * from './utils-exec-proc';
10
+ export * from './utils-exec-proc-vscode';
11
+ export * from './utils-files-folders';
12
+ export * from './utils-network';
13
+ export * from './utils-os';
14
+ export * from './utils-process';
15
+ export * from './utils-process-logger';
16
+ export * from './utils-terminal';
17
+ export * from './utils-wait-notifier';
18
+ export * from './utils-projects';
19
+ export * from './utils-start-async';
20
+ export * from './utils-time';
21
+ export * from './utils-sudo';
22
+ export * from './utils-cli';
23
+ export * from './utils-json';
24
+ export * from './utils-dot-file';
25
+ export * from './utils-binary';
26
+ export * from './utils-string-regex';
27
+ export * from './utils-i18n';
28
+ export * from './utils-stdin-stdout-logger';
29
+ export * from './utils-md-docs';
30
+ export * from './taon-state-machine';
31
+ export * from './utils-env';
32
+ export * from './utils-jwt';
33
+ export * from './utils-http';
34
+ export * from './cross-platform-path';
35
+ export * from './utils-secret-env';
36
+ export * from './utils-passwords';
37
+ export * from './utils-temp-folder';
38
+ export * from './lowdb';
39
+ export * from './jsonc-parser';
40
+ export * from './core-cli';
41
+ export * from './required-global-npm-packages';
42
+ export * from './helpers';
43
+ export * from './global-storage';
44
+ export * from './global-task-manager';
45
+ export * from './constants';
46
+ export * from './start-cli';
47
+ export * from './config';
48
+ import type * as ora from 'ora';
49
+ export declare const globalSpinner: {
50
+ readonly instance: Pick<ora.Ora, "start" | "text" | "succeed" | "stop" | "fail">;
51
+ };
52
+ declare const _default: {};
53
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export type JsonValue = null | boolean | number | string | JsonValue[] | {
2
+ [key: string]: JsonValue;
3
+ };
4
+ export declare function updateJsoncContent(existingContent: string, input: JsonValue): string;