tnp-core 21.0.164 → 21.0.166
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/VERIFIED-BUILD-DATA.jsonc +3 -3
- package/browser/fesm2022/tnp-core-browser.mjs +883 -426
- package/browser/fesm2022/tnp-core-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/tnp-core-browser.d.ts +32 -27
- package/browser-prod/fesm2022/tnp-core-browser-prod.mjs +880 -426
- package/browser-prod/fesm2022/tnp-core-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/tnp-core-browser-prod.d.ts +31 -28
- package/browser-prod.split-namespaces.json +10 -4
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/lodash.namespace.d.ts +1 -0
- package/lib/lodash.namespace.js +519 -254
- package/lib/lodash.namespace.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/utils-json.js +2 -0
- package/lib/utils-json.js.map +1 -1
- package/lib/utils-os.d.ts +0 -26
- package/lib/utils-os.js +0 -122
- package/lib/utils-os.js.map +1 -1
- package/lib/utils-temp-folder.d.ts +29 -0
- package/lib/utils-temp-folder.js +270 -0
- package/lib/utils-temp-folder.js.map +1 -0
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/config.d.ts +2 -2
- package/lib-esm/lib/core-imports.d.ts +4 -1
- package/lib-esm/lib/framework-name.d.ts +3 -3
- package/lib-esm/lib/index.d.ts +1 -0
- package/lib-esm/lib/index.js +1 -0
- package/lib-esm/lib/index.js.map +1 -1
- package/lib-esm/lib/jsonc-parse.test.d.ts +1 -0
- package/lib-esm/lib/lodash.namespace.d.ts +1 -0
- package/lib-esm/lib/lodash.namespace.js +519 -254
- package/lib-esm/lib/lodash.namespace.js.map +1 -1
- package/lib-esm/lib/taon-state-machine.test.d.ts +1 -0
- package/lib-esm/lib/utils-binary.d.ts +9 -1
- package/lib-esm/lib/utils-env.test.d.ts +1 -0
- package/lib-esm/lib/utils-imports.test.d.ts +0 -0
- package/lib-esm/lib/utils-json.js +2 -0
- package/lib-esm/lib/utils-json.js.map +1 -1
- package/lib-esm/lib/utils-json.test.d.ts +1 -0
- package/lib-esm/lib/utils-jwt.test.d.ts +1 -0
- package/lib-esm/lib/utils-md-docs.test.d.ts +1 -0
- package/lib-esm/lib/utils-os.d.ts +0 -26
- package/lib-esm/lib/utils-os.js +0 -122
- package/lib-esm/lib/utils-os.js.map +1 -1
- package/lib-esm/lib/utils-progress.test.d.ts +1 -0
- package/lib-esm/lib/utils-projects.test.d.ts +0 -0
- package/lib-esm/lib/utils-temp-folder.d.ts +29 -0
- package/lib-esm/lib/utils-temp-folder.js +267 -0
- package/lib-esm/lib/utils-temp-folder.js.map +1 -0
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/core-cli.js.map +1 -1
- package/lib-prod/core-imports.d.ts +1 -1
- package/lib-prod/core-imports.js +1 -1
- package/lib-prod/core-imports.js.map +1 -1
- package/lib-prod/cross-platform-path.js.map +1 -1
- package/lib-prod/global-task-manager.js.map +1 -1
- package/lib-prod/helpers.js.map +1 -1
- package/lib-prod/index.d.ts +1 -0
- package/lib-prod/index.js +1 -0
- package/lib-prod/index.js.map +1 -1
- package/lib-prod/lodash.namespace.d.ts +1 -0
- package/lib-prod/lodash.namespace.js +519 -254
- package/lib-prod/lodash.namespace.js.map +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/start-cli.js.map +1 -1
- package/lib-prod/taon-state-machine.js.map +1 -1
- package/lib-prod/utils-cli.js.map +1 -1
- package/lib-prod/utils-etc-hosts.js.map +1 -1
- package/lib-prod/utils-exec-proc.js.map +1 -1
- package/lib-prod/utils-files-folders.js.map +1 -1
- package/lib-prod/utils-json.js +3 -1
- package/lib-prod/utils-json.js.map +1 -1
- package/lib-prod/utils-network.js.map +1 -1
- package/lib-prod/utils-os.d.ts +0 -26
- package/lib-prod/utils-os.js +0 -122
- package/lib-prod/utils-os.js.map +1 -1
- package/lib-prod/utils-process-logger.js.map +1 -1
- package/lib-prod/utils-process.js.map +1 -1
- package/lib-prod/utils-progress.js.map +1 -1
- package/lib-prod/utils-start-async.js.map +1 -1
- package/lib-prod/utils-string-regex.js.map +1 -1
- package/lib-prod/utils-sudo.js.map +1 -1
- package/lib-prod/utils-temp-folder.d.ts +27 -0
- package/lib-prod/utils-temp-folder.js +264 -0
- package/lib-prod/utils-temp-folder.js.map +1 -0
- package/lib-prod/utils-terminal.js.map +1 -1
- package/lib-prod/utils.js.map +1 -1
- package/lib-prod.split-namespaces.json +10 -4
- package/package.json +3 -2
- package/websql/fesm2022/tnp-core-websql.mjs +883 -426
- package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/tnp-core-websql.d.ts +32 -27
- package/websql-prod/fesm2022/tnp-core-websql-prod.mjs +880 -426
- package/websql-prod/fesm2022/tnp-core-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/tnp-core-websql-prod.d.ts +31 -28
- package/websql-prod.split-namespaces.json +10 -4
package/browser/package.json
CHANGED
|
@@ -166,6 +166,7 @@ declare namespace _ {
|
|
|
166
166
|
const isNumber: typeof lodash.isNumber;
|
|
167
167
|
const isObject: typeof lodash.isObject;
|
|
168
168
|
const isObjectLike: typeof lodash.isObjectLike;
|
|
169
|
+
const isLeafObject: (value: unknown) => boolean;
|
|
169
170
|
const isPlainObject: typeof lodash.isPlainObject;
|
|
170
171
|
const isRegExp: typeof lodash.isRegExp;
|
|
171
172
|
const isSafeInteger: typeof lodash.isSafeInteger;
|
|
@@ -1765,32 +1766,6 @@ declare namespace UtilsOs {
|
|
|
1765
1766
|
const isDockerAvailable: () => Promise<boolean>;
|
|
1766
1767
|
const openFolderInFileExplorer: (folderPath: string) => void;
|
|
1767
1768
|
const getRealHomeDir: () => string;
|
|
1768
|
-
interface GetTempFolderOptions {
|
|
1769
|
-
/**
|
|
1770
|
-
* Automatically remove this folder after the specified number of days.
|
|
1771
|
-
*
|
|
1772
|
-
* Folders with expiration enabled are created inside:
|
|
1773
|
-
* <system-temp>/__temp__folders__with__exp__date
|
|
1774
|
-
*/
|
|
1775
|
-
deleteAfterDays?: number;
|
|
1776
|
-
/**
|
|
1777
|
-
* Optional readable part of the generated folder name.
|
|
1778
|
-
*/
|
|
1779
|
-
prefix?: string;
|
|
1780
|
-
/**
|
|
1781
|
-
* When true, creates a unique folder on every call.
|
|
1782
|
-
*
|
|
1783
|
-
* Example:
|
|
1784
|
-
* /tmp/cloudflare-db-1789309118998-1234-a1b2c3d4e5f6
|
|
1785
|
-
*
|
|
1786
|
-
* When false, creates/reuses a persistent folder:
|
|
1787
|
-
* /tmp/cloudflare-db
|
|
1788
|
-
*
|
|
1789
|
-
* @default false
|
|
1790
|
-
*/
|
|
1791
|
-
everytimeNew?: boolean;
|
|
1792
|
-
}
|
|
1793
|
-
const getTempFolder: (options?: GetTempFolderOptions) => string;
|
|
1794
1769
|
type Editor = 'code' | 'codium' | 'cursor' | 'theia' | 'idea' | 'idea64';
|
|
1795
1770
|
type EditorProcess = `${Editor}` | 'code-oss';
|
|
1796
1771
|
const EditorArr: Editor[];
|
|
@@ -3071,6 +3046,36 @@ declare namespace UtilsPasswords {
|
|
|
3071
3046
|
function verify(password: string, storedHash: string): Promise<boolean>;
|
|
3072
3047
|
}
|
|
3073
3048
|
|
|
3049
|
+
declare namespace UtilsTempFolder {
|
|
3050
|
+
interface GetTempFolderOptions {
|
|
3051
|
+
/**
|
|
3052
|
+
* Automatically remove this folder after the specified number of days.
|
|
3053
|
+
*
|
|
3054
|
+
* Folders with expiration enabled are created inside:
|
|
3055
|
+
* <system-temp>/__temp__folders__with__exp__date
|
|
3056
|
+
*/
|
|
3057
|
+
deleteAfterDays?: number;
|
|
3058
|
+
/**
|
|
3059
|
+
* Optional readable part of the generated folder name.
|
|
3060
|
+
*/
|
|
3061
|
+
prefix?: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* When true, creates a unique folder on every call.
|
|
3064
|
+
*
|
|
3065
|
+
* Example:
|
|
3066
|
+
* /tmp/cloudflare-db-1789309118998-1234-a1b2c3d4e5f6
|
|
3067
|
+
*
|
|
3068
|
+
* When false, creates/reuses a persistent folder:
|
|
3069
|
+
* /tmp/cloudflare-db
|
|
3070
|
+
*
|
|
3071
|
+
* @default false
|
|
3072
|
+
*/
|
|
3073
|
+
everytimeNew?: boolean;
|
|
3074
|
+
}
|
|
3075
|
+
const getPath: (options?: GetTempFolderOptions) => Promise<string>;
|
|
3076
|
+
function getPathForNodeOnly(options: GetTempFolderOptions): string;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3074
3079
|
type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
3075
3080
|
[key: string]: JsonValue;
|
|
3076
3081
|
};
|
|
@@ -3622,5 +3627,5 @@ declare const globalSpinner: {
|
|
|
3622
3627
|
readonly instance: Pick<ora.Ora, "start" | "text" | "succeed" | "stop" | "fail">;
|
|
3623
3628
|
};
|
|
3624
3629
|
|
|
3625
|
-
export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, DbBinaryFormatEnum, ExecAsyncVscodeError, FilePathMetaData, FilesNames, GlobalLibTypeName, GlobalStorage, GlobalTaskManager, GlobalTaskManagerClass, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, REGEX_REGION, TAGS, TaonStateMachine, Utils, UtilsBinary, UtilsCli, UtilsCliClassMethod, UtilsDotFile, UtilsEnv, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsHttp, UtilsI18n, UtilsJson, UtilsJwt, UtilsMdDocs, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsPasswords, UtilsProcess, UtilsProcessLogger, UtilsProgress, UtilsProjects, UtilsSecretEnv, UtilsStdinStdoutLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTerminal, UtilsTime, UtilsWaitNotifier, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dateformat, decodeEnv, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, execAsyncVscode, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, globalSpinner, http, https, isCloudflareWorker, isElevated, json5, micromatch, mkdirp, ncp, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, startAsync, stateServiceSuffix, taonActionFromParent, taonBasePathToGlobalDockerTemplatesFn, taonContainers, taonCutNextLineCut, taonPackageName, taonProjects, taonRepoPathUserInUserDirFn, taonSkipCut, tempFoldersName, tnpPackageName, updateJsoncContent, urlRepoTaon, urlRepoTaonContainers, win32Path };
|
|
3630
|
+
export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, DbBinaryFormatEnum, ExecAsyncVscodeError, FilePathMetaData, FilesNames, GlobalLibTypeName, GlobalStorage, GlobalTaskManager, GlobalTaskManagerClass, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, REGEX_REGION, TAGS, TaonStateMachine, Utils, UtilsBinary, UtilsCli, UtilsCliClassMethod, UtilsDotFile, UtilsEnv, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsHttp, UtilsI18n, UtilsJson, UtilsJwt, UtilsMdDocs, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsPasswords, UtilsProcess, UtilsProcessLogger, UtilsProgress, UtilsProjects, UtilsSecretEnv, UtilsStdinStdoutLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTempFolder, UtilsTerminal, UtilsTime, UtilsWaitNotifier, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dateformat, decodeEnv, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, execAsyncVscode, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, globalSpinner, http, https, isCloudflareWorker, isElevated, json5, micromatch, mkdirp, ncp, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, startAsync, stateServiceSuffix, taonActionFromParent, taonBasePathToGlobalDockerTemplatesFn, taonContainers, taonCutNextLineCut, taonPackageName, taonProjects, taonRepoPathUserInUserDirFn, taonSkipCut, tempFoldersName, tnpPackageName, updateJsoncContent, urlRepoTaon, urlRepoTaonContainers, win32Path };
|
|
3626
3631
|
export type { BackendSignal, CommandOutputOptions, DbBinaryFormat, DbBinaryFormatForBrowser, ExecAsyncVscodeOptions, ExecAsyncVscodeResult, ExecVscodeProgress, JsPrimitive, JsonValue, LibTypeNames, ProcessStartOptions, Replacement, ReplacementString, RunSyncOrAsyncOptions, TaskStats };
|