tnp-core 18.0.46 → 18.0.49

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 (104) hide show
  1. package/README.md +20 -20
  2. package/assets/shared/shared_folder_info.txt +1 -1
  3. package/browser/README.md +24 -24
  4. package/browser/esm2022/lib/core-imports.mjs +65 -9
  5. package/browser/esm2022/lib/core-models.mjs +61 -9
  6. package/browser/esm2022/lib/helpers-messages.mjs +9 -4
  7. package/browser/esm2022/lib/helpers.mjs +164 -373
  8. package/browser/esm2022/lib/utils.mjs +769 -190
  9. package/browser/fesm2022/tnp-core.mjs +1548 -1062
  10. package/browser/fesm2022/tnp-core.mjs.map +1 -1
  11. package/browser/lib/core-imports.d.ts +41 -1
  12. package/browser/lib/core-models.d.ts +68 -38
  13. package/browser/lib/helpers-messages.d.ts +6 -3
  14. package/browser/lib/helpers.d.ts +22 -0
  15. package/browser/lib/utils.d.ts +77 -13
  16. package/cli.backend.d.ts +1 -0
  17. package/cli.backend.js +15 -2
  18. package/cli.backend.js.map +1 -1
  19. package/client/README.md +24 -24
  20. package/client/esm2022/lib/core-imports.mjs +65 -9
  21. package/client/esm2022/lib/core-models.mjs +61 -9
  22. package/client/esm2022/lib/helpers-messages.mjs +9 -4
  23. package/client/esm2022/lib/helpers.mjs +164 -373
  24. package/client/esm2022/lib/utils.mjs +769 -190
  25. package/client/fesm2022/tnp-core.mjs +1548 -1062
  26. package/client/fesm2022/tnp-core.mjs.map +1 -1
  27. package/client/lib/core-imports.d.ts +41 -1
  28. package/client/lib/core-models.d.ts +68 -38
  29. package/client/lib/helpers-messages.d.ts +6 -3
  30. package/client/lib/helpers.d.ts +22 -0
  31. package/client/lib/utils.d.ts +77 -13
  32. package/index.js +15 -2
  33. package/index.js.map +1 -1
  34. package/lib/build-info._auto-generated_.js.map +1 -1
  35. package/lib/command-exists.js +20 -20
  36. package/lib/command-exists.js.map +1 -1
  37. package/lib/core-cli.js +49 -66
  38. package/lib/core-cli.js.map +1 -1
  39. package/lib/core-config.js.map +1 -1
  40. package/lib/core-imports.d.ts +41 -25
  41. package/lib/core-imports.js +202 -80
  42. package/lib/core-imports.js.map +1 -1
  43. package/lib/core-models.d.ts +68 -38
  44. package/lib/core-models.js +62 -8
  45. package/lib/core-models.js.map +1 -1
  46. package/lib/framework-name.js +2 -2
  47. package/lib/framework-name.js.map +1 -1
  48. package/lib/helpers-isomorphic.js +33 -52
  49. package/lib/helpers-isomorphic.js.map +1 -1
  50. package/lib/helpers-messages.d.ts +6 -3
  51. package/lib/helpers-messages.js +79 -102
  52. package/lib/helpers-messages.js.map +1 -1
  53. package/lib/helpers.d.ts +21 -3
  54. package/lib/helpers.js +723 -971
  55. package/lib/helpers.js.map +1 -1
  56. package/lib/index._auto-generated_.js.map +1 -1
  57. package/lib/index.js +23 -10
  58. package/lib/index.js.map +1 -1
  59. package/lib/node-chalk-mock.js +2 -2
  60. package/lib/node-chalk-mock.js.map +1 -1
  61. package/lib/node-path-mock.js +2 -2
  62. package/lib/node-path-mock.js.map +1 -1
  63. package/lib/progress-data.js +21 -23
  64. package/lib/progress-data.js.map +1 -1
  65. package/lib/public-api.js +19 -6
  66. package/lib/public-api.js.map +1 -1
  67. package/lib/required-global-npm-packages.js.map +1 -1
  68. package/lib/required.d.ts +44 -0
  69. package/lib/safe-types/glob.d.ts +102 -0
  70. package/lib/safe-types/minimatch/assert-valid-pattern.d.ts +1 -0
  71. package/lib/safe-types/minimatch/ast.d.ts +17 -0
  72. package/lib/safe-types/minimatch/brace-expressions.d.ts +7 -0
  73. package/lib/safe-types/minimatch/escape.d.ts +11 -0
  74. package/lib/safe-types/minimatch/index.d copy.d.ts +93 -0
  75. package/lib/safe-types/minimatch/index.d.ts +93 -0
  76. package/lib/safe-types/minimatch/unescapd.d.ts +16 -0
  77. package/lib/safe-types/minimatch/unescape.d.ts +16 -0
  78. package/lib/safe-types/minimatch.d.ts +0 -0
  79. package/lib/safe-types/rimraf.d.ts +28 -0
  80. package/lib/utils.d.ts +89 -14
  81. package/lib/utils.js +1261 -1075
  82. package/lib/utils.js.map +1 -1
  83. package/migrations/index.js +15 -2
  84. package/migrations/index.js.map +1 -1
  85. package/migrations/migrations_index._auto-generated_.js.map +1 -1
  86. package/package.json +25 -91
  87. package/src.d.ts +1 -1
  88. package/tmp-environment.json +8 -404
  89. package/websql/README.md +24 -24
  90. package/websql/esm2022/lib/core-imports.mjs +65 -9
  91. package/websql/esm2022/lib/core-models.mjs +61 -9
  92. package/websql/esm2022/lib/helpers-messages.mjs +9 -4
  93. package/websql/esm2022/lib/helpers.mjs +164 -373
  94. package/websql/esm2022/lib/utils.mjs +766 -187
  95. package/websql/fesm2022/tnp-core.mjs +1546 -1060
  96. package/websql/fesm2022/tnp-core.mjs.map +1 -1
  97. package/websql/lib/core-imports.d.ts +41 -1
  98. package/websql/lib/core-models.d.ts +68 -38
  99. package/websql/lib/helpers-messages.d.ts +6 -3
  100. package/websql/lib/helpers.d.ts +22 -0
  101. package/websql/lib/utils.d.ts +77 -13
  102. package/browser/package.json +0 -25
  103. package/taon.jsonc +0 -65
  104. package/websql/package.json +0 -25
@@ -7,9 +7,49 @@ import { Chalk } from 'chalk';
7
7
  import * as json5 from 'json5';
8
8
  import type jQueryType from 'jquery';
9
9
  import type * as pathBaseType from 'path';
10
+ import type * as globBaseType from 'glob';
11
+ import type * as fseBaseType from 'fs-extra';
12
+ import type * as osBaseType from 'os';
13
+ import type * as child_processType from 'child_process';
14
+ import type * as httpBaseType from 'http';
15
+ import type * as httpsBaseType from 'https';
16
+ import type * as fkillBaseType from 'fkill';
17
+ import type * as psListBaseType from 'ps-list';
18
+ import type * as netBaseType from 'net';
19
+ import type * as spawnBaseType from 'cross-spawn';
20
+ import type * as fgBaseType from 'fast-glob';
21
+ import type { minimatch as minimatchBaseType } from 'minimatch';
22
+ import type * as rimrafBaseType from 'rimraf';
23
+ import type * as chokidarBaseType from 'chokidar';
24
+ import type * as mkdirpBaseType from 'mkdirp';
25
+ import type * as ncpBaseType from 'copy-paste';
26
+ import type * as psBaseType from 'ps-node';
10
27
  declare let $: jQueryType;
11
28
  declare let path: typeof pathBaseType;
12
29
  declare let chalk: Chalk;
30
+ declare let glob: typeof globBaseType;
31
+ declare let fse: typeof fseBaseType;
32
+ declare let os: typeof osBaseType;
33
+ declare let child_process: typeof child_processType;
34
+ declare let http: typeof httpBaseType;
35
+ declare let https: typeof httpsBaseType;
36
+ /**
37
+ * check if the current process is elevated
38
+ * - sudo in unix/macos
39
+ * - admin in windows
40
+ */
41
+ declare let isElevated: () => Promise<boolean>;
42
+ declare let fkill: typeof fkillBaseType;
43
+ declare let psList: typeof psListBaseType;
44
+ declare let net: typeof netBaseType;
45
+ declare let spawn: typeof spawnBaseType;
46
+ declare let minimatch: typeof minimatchBaseType;
47
+ declare let rimraf: typeof rimrafBaseType;
48
+ declare let chokidar: typeof chokidarBaseType;
49
+ declare let mkdirp: typeof mkdirpBaseType;
50
+ declare let ncp: typeof ncpBaseType;
51
+ declare let ps: typeof psBaseType;
52
+ declare let fg: typeof fgBaseType;
13
53
  /**
14
54
  * transform unix path to win32 path
15
55
  */
@@ -18,4 +58,4 @@ declare const win32Path: (p: string) => string;
18
58
  * This funciton will replace // to /
19
59
  */
20
60
  declare const crossPlatformPath: (pathStringOrPathParts: string | string[]) => string;
21
- export { _, q, moment, dateformat, crossPlatformPath, win32Path, path, chalk, json5, $, };
61
+ export { _, q, moment, dateformat, crossPlatformPath, win32Path, path, chalk, json5, $, glob, fse, os, child_process, http, https, isElevated, fkill, psList, spawn, minimatch, fg, chokidar, mkdirp, ncp, rimraf, net, ps, };
@@ -1,4 +1,5 @@
1
1
  // @ts-nocheck
2
+ import type { ChildProcess } from 'child_process';
2
3
  export declare namespace CoreModels {
3
4
  export type Package = {
4
5
  name: string;
@@ -34,14 +35,69 @@ export declare namespace CoreModels {
34
35
  };
35
36
  export type InstalationType = '-g' | '--save' | '--save-dev' | 'remove';
36
37
  export const InstalationTypeArr: string[];
37
- export type PackageJsonDependencyObj = 'dependencies' | 'devDependencies' | 'peerDependencies' | 'resolutions';
38
- export const PackageJsonDependencyObjArr: PackageJsonDependencyObj[];
39
- export type LibraryType = 'angular' | 'typescript';
40
- export type ReleaseType = 'major' | 'minor' | 'patch';
41
- export type PreReleaseType = 'alpha' | 'beta' | 'rc' | 'next';
38
+ export type ReleaseVersionType = 'major' | 'minor' | 'patch';
39
+ export type PreReleaseVersionTag = 'alpha' | 'beta' | 'rc' | 'next';
42
40
  export const NpmSpecialVersions: string[];
43
41
  export type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
44
- export type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
42
+ /**
43
+ * Available application environments.
44
+ */
45
+ export const EnvironmentName: Readonly<{
46
+ /**
47
+ * Default environment, typically for artifact without application
48
+ * or for storing common data
49
+ */
50
+ __: "__";
51
+ /**
52
+ * Local development environment, typically the developer's machine.
53
+ */
54
+ LOCALHOST: "localhost";
55
+ /**
56
+ * Development environment used by engineers to deploy and test new features.
57
+ */
58
+ DEV: "dev";
59
+ /**
60
+ * Staging environment used for final validations before production.
61
+ */
62
+ STAGE: "stage";
63
+ /**
64
+ * Production environment serving live users.
65
+ */
66
+ PROD: "prod";
67
+ /**
68
+ * Automated test environment for running unit, integration, or automated tests.
69
+ */
70
+ TEST: "test";
71
+ /**
72
+ * Quality assurance environment designated for manual and exploratory testing.
73
+ */
74
+ QA: "qa";
75
+ /**
76
+ * Sandbox environment for experimenting and integration without affecting other environments.
77
+ */
78
+ SANDBOX: "sandbox";
79
+ /**
80
+ * User Acceptance Testing environment where clients or stakeholders validate the release candidate.
81
+ */
82
+ UAT: "uat";
83
+ /**
84
+ * Pre-production environment, closely mirroring production for final testing and validation.
85
+ */
86
+ PREPROD: "preprod";
87
+ /**
88
+ * Demonstration environment specifically configured for client presentations and demos.
89
+ */
90
+ DEMO: "demo";
91
+ /**
92
+ * Continuous Integration environment used by CI/CD pipelines for automated builds and deployments.
93
+ */
94
+ CI: "ci";
95
+ /**
96
+ * Training environment dedicated to internal team onboarding and training activities.
97
+ */
98
+ TRAINING: "training";
99
+ }>;
100
+ export type EnvironmentNameTaon = (typeof EnvironmentName)[keyof typeof EnvironmentName];
45
101
  export type PUSHTYPE = 'feat' | 'chore' | 'feature' | 'refactor' | 'perf' | 'styles' | 'ci' | 'build' | 'fix' | 'bugfix' | 'release' | 'docs';
46
102
  /**
47
103
  * @deprecated
@@ -55,9 +111,9 @@ export declare namespace CoreModels {
55
111
  export type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch' | 'head' | 'jsonp';
56
112
  export type ParamType = 'Path' | 'Query' | 'Cookie' | 'Header' | 'Body';
57
113
  export type TsUsage = 'import' | 'export';
58
- export type BaseProjectType = 'typescript' | 'angular' | 'angular-lib' | 'unknow' | 'unknow-npm-project';
114
+ export type BaseProjectType = 'typescript' | 'angular' | 'angular-lib' | 'unknown' | 'unknown-npm-project';
59
115
  export const BaseProjectTypeArr: string[];
60
- export type LibType = BaseProjectType | 'isomorphic-lib' | 'container' | 'docker' | 'vscode-ext' | 'chrome-ext' | 'unknow-npm-project';
116
+ export type LibType = BaseProjectType | 'isomorphic-lib' | 'container' | 'unknown-npm-project';
61
117
  /**
62
118
  * @deprecated
63
119
  */
@@ -99,6 +155,7 @@ export declare namespace CoreModels {
99
155
  resolvePromiseMsgCallback?: {
100
156
  stdout?: () => any;
101
157
  stderr?: () => any;
158
+ exitCode?: (exitCode: number) => any;
102
159
  };
103
160
  prefix?: string;
104
161
  detach?: boolean;
@@ -119,6 +176,7 @@ export declare namespace CoreModels {
119
176
  */
120
177
  biggerBuffer?: boolean;
121
178
  askToTryAgainOnError?: boolean;
179
+ onChildProcessChange?: (childProcess: ChildProcess) => void;
122
180
  exitOnErrorCallback?: (code: number) => void;
123
181
  /**
124
182
  * From displaying in console
@@ -128,6 +186,8 @@ export declare namespace CoreModels {
128
186
  stderr?: boolean;
129
187
  acceptAllExitCodeAsSuccess?: boolean;
130
188
  };
189
+ outputBuffer?: string[];
190
+ outputBufferMaxSize?: number;
131
191
  }
132
192
  /**
133
193
  * @deprecated
@@ -408,35 +468,5 @@ export declare namespace CoreModels {
408
468
  hideErrors?: boolean;
409
469
  debug?: boolean;
410
470
  }
411
- export interface TaonJson {
412
- type: CoreModels.LibType;
413
- version?: CoreModels.FrameworkVersion;
414
- smartContainerBuildTarget?: string;
415
- smart?: boolean;
416
- monorepo?: boolean;
417
- libReleaseOptions: {
418
- cliBuildObscure?: boolean;
419
- cliBuildUglify?: boolean;
420
- cliBuildNoDts?: boolean;
421
- cliBuildIncludeNodeModules?: boolean;
422
- };
423
- /**
424
- * project is template for other project
425
- */
426
- isCoreProject: boolean;
427
- scripts?: {
428
- [script in string]: string;
429
- };
430
- description?: string;
431
- license?: string;
432
- private?: boolean;
433
- author?: string;
434
- homepage?: string;
435
- overrided: {
436
- dependencies?: {
437
- [name: string]: string;
438
- };
439
- };
440
- }
441
471
  export {};
442
472
  }
@@ -4,11 +4,14 @@ export declare class HelpersMessages extends HelpersIsomorphic {
4
4
  msgCacheClear(): void;
5
5
  renderError(err: Error): void;
6
6
  /**
7
- * Throw error and exit process
8
- * make sure browser or nodejs will not continue
9
- * @param details
7
+ * throw error
10
8
  */
11
9
  throw(details: string): void;
10
+ /**
11
+ * throw error and stop application
12
+ * @param details
13
+ */
14
+ stopApplication(details: string): void;
12
15
  tryCatchError(error: any): void;
13
16
  error(details: any, noExit?: boolean, noTrace?: boolean): void;
14
17
  info(details: string, repeatable?: boolean): void;
@@ -118,6 +118,9 @@ export declare class HelpersCore extends HelpersMessages {
118
118
  */
119
119
  _fixCommand(command: string): string;
120
120
  command(command: string): {};
121
+ /**
122
+ * @deprecated use UtilsTerminal.wait
123
+ */
121
124
  wait(second: number): Promise<void>;
122
125
  timeout(seconds: number): Promise<void>;
123
126
  killProcessByPort(portOrPortsToKill: number | number[], options?: {
@@ -164,6 +167,25 @@ export declare class HelpersCore extends HelpersMessages {
164
167
  * @deprecated
165
168
  */
166
169
  values(obj: any): any[];
170
+ /**
171
+ * does not make sense
172
+ * @deprecated
173
+ */
174
+ private isFile;
175
+ tryReadFile(absoluteFilePath: string | string[], // @ts-ignore
176
+ defaultValueWhenNotExists?: string, notTrim?: boolean): Promise<string | undefined>;
177
+ /**
178
+ * wrapper for fs.readFileSync
179
+ */
180
+ readFile(absoluteFilePath: string | string[], // @ts-ignore
181
+ defaultValueWhenNotExists?: string, notTrim?: boolean): string | undefined;
182
+ /**
183
+ * read json from absolute path
184
+ * @returns json object
185
+ */
186
+ readJson(absoluteFilePath: string | string[], defaultValue?: {}, useJson5?: boolean): any;
187
+ readJson5(absoluteFilePath: string | string[], defaultValue?: any): any;
188
+ readJsonC(absoluteFilePath: string | string[], defaultValue?: any): any;
167
189
  replaceLinesInFile(absoluteFilePath: string | string[], lineReplaceFn: (line: string) => string): void;
168
190
  hideNodeWarnings(): void;
169
191
  }
@@ -1,7 +1,13 @@
1
1
  // @ts-nocheck
2
+ import { Blob } from 'buffer';
2
3
  import { CoreModels } from './core-models';
3
4
  export declare namespace Utils {
4
5
  export const uniqArray: <T = any>(array: any[], uniqueProperty?: keyof T) => T[];
6
+ /**
7
+ * @param anyObject
8
+ * @returns object with sorted keys
9
+ */
10
+ export const sortKeys: (anyObject: any) => any;
5
11
  /**
6
12
  * Example:
7
13
  * new RegExp(escapeStringForRegEx('a.b.c'),'g') => /a\.b\.c/g
@@ -12,8 +18,13 @@ export declare namespace Utils {
12
18
  export const fullDate: () => any;
13
19
  export const getFreePort: (options?: {
14
20
  startFrom?: number;
15
- howManyFreePortsAfterThatPort?: number;
16
21
  }) => Promise<number>;
22
+ export const requireUncached: (module: string) => any;
23
+ /**
24
+ * similar to camelCase but remove
25
+ * all non word / repeated characters
26
+ */
27
+ export const camelize: (str?: string) => string;
17
28
  interface AttrJsoncProp {
18
29
  name: string;
19
30
  value?: any;
@@ -142,6 +153,7 @@ export declare namespace UtilsProcess {
142
153
  * TODO IMPLEMENT
143
154
  * start async node process
144
155
  */
156
+ export const startAsync: (command: string, cwd: string, options?: Omit<CoreModels.ExecuteOptions, "tryAgainWhenFailAfter">) => Promise<void>;
145
157
  /**
146
158
  * This let you start child process and resolve promise when some
147
159
  * condition is met. It is useful for example when you want to start
@@ -163,6 +175,34 @@ export declare namespace UtilsProcess {
163
175
  */
164
176
  export const startInNewTerminalWindow: (command: string, options?: Pick<ProcessStartOptions, "cwd" | "hideOutput">) => any;
165
177
  export const getBashOrShellName: () => "browser" | "cmd" | "powershell" | "gitbash" | "cygwin" | "unknown" | "bash" | "zsh" | "fish" | "sh";
178
+ /**
179
+ * Get CPU and memory usage for a single PID.
180
+ */
181
+ export const getUsageForPid: (pid: number) => Promise<{
182
+ cpu: number;
183
+ memoryInGB: number;
184
+ memoryInMB: number;
185
+ }>;
186
+ /**
187
+ * Cross-platform function to list *direct* child PIDs of a given PID.
188
+ * Uses the appropriate command depending on `process.platform`.
189
+ */
190
+ export function getChildPidsOnce(pid: number): Promise<number[]>;
191
+ /**
192
+ * Get CPU and memory usage for the current process (the Node.js process itself),
193
+ * plus any child processes spawned by it.
194
+ */
195
+ export const getCurrentProcessAndChildUsage: () => Promise<{
196
+ current: {
197
+ cpu: number;
198
+ memoryInMB: number;
199
+ };
200
+ children: Array<{
201
+ pid: number;
202
+ cpu: number;
203
+ memoryInMB: number;
204
+ }>;
205
+ }>;
166
206
  export {};
167
207
  }
168
208
  export declare namespace UtilsOs {
@@ -188,11 +228,17 @@ export declare namespace UtilsOs {
188
228
  * Electron backend or browser.
189
229
  */
190
230
  const isRunningInElectron: () => boolean;
231
+ /**
232
+ * Check whether the current process is running inside
233
+ * a Visual Studio Code extension.
234
+ */
235
+ const isRunningInVscodeExtension: () => boolean;
191
236
  /**
192
237
  * Check wether the current process is running inside
193
238
  * windows subsystem for linux (WSL).
194
239
  */
195
240
  const isRunningInWsl: () => boolean;
241
+ const isRunningInWindowsCmd: () => boolean;
196
242
  const isRunningInDocker: () => boolean;
197
243
  const isRunningInLinuxGraphicsCapableEnvironment: () => boolean;
198
244
  /**
@@ -230,11 +276,30 @@ export declare namespace UtilsMigrations {
230
276
  const isValidTimestamp: (value: any) => boolean;
231
277
  }
232
278
  export declare namespace UtilsTerminal {
279
+ type SelectActionChoice = {
280
+ [choice: string]: {
281
+ /**
282
+ * Title of the choice
283
+ */
284
+ name: string;
285
+ /**
286
+ * Action to execute
287
+ */
288
+ action?: () => any;
289
+ /**
290
+ * If choice is visible
291
+ * default: true
292
+ */
293
+ visible?: boolean;
294
+ };
295
+ };
296
+ export const wait: (second: number) => Promise<void>;
233
297
  export const clearConsole: () => void;
234
298
  export const multiselect: <T = string>(options: {
235
299
  question: string;
236
300
  /**
237
301
  * If true, then only one choice can be selected
302
+ * @deprecated use select instead
238
303
  */
239
304
  onlyOneChoice?: boolean;
240
305
  choices: {
@@ -248,18 +313,17 @@ export declare namespace UtilsTerminal {
248
313
  autocomplete?: boolean;
249
314
  defaultSelected?: string[];
250
315
  }) => Promise<T[]>;
251
- type SelectActionChoice = {
252
- [choice: string]: {
253
- /**
254
- * Title of the choice
255
- */
256
- name: string;
257
- /**
258
- * Action to execute
259
- */
260
- action?: () => any;
261
- };
262
- };
316
+ /**
317
+ * Similar to select but executes action if provided
318
+ * @returns selected and executed value
319
+ */
320
+ export const multiselectActionAndExecute: <CHOICE extends SelectActionChoice = SelectActionChoice>(choices: CHOICE, options?: {
321
+ question?: string;
322
+ autocomplete?: boolean;
323
+ defaultSelected?: string;
324
+ hint?: string;
325
+ executeActionsOnDefault?: boolean;
326
+ }) => Promise<any>;
263
327
  /**
264
328
  * Similar to select but executes action if provided
265
329
  * @returns selected and executed value
@@ -1,25 +0,0 @@
1
- {
2
- "name": "tnp-core",
3
- "version": "0.0.1",
4
- "peerDependencies": {
5
- "@angular/common": "^13.2.0",
6
- "@angular/core": "^13.2.0"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.3.0"
10
- },
11
- "module": "fesm2022/tnp-core.mjs",
12
- "typings": "index.d.ts",
13
- "exports": {
14
- "./package.json": {
15
- "default": "./package.json"
16
- },
17
- ".": {
18
- "types": "./index.d.ts",
19
- "esm2022": "./esm2022/tnp-core.mjs",
20
- "esm": "./esm2022/tnp-core.mjs",
21
- "default": "./fesm2022/tnp-core.mjs"
22
- }
23
- },
24
- "sideEffects": false
25
- }
package/taon.jsonc DELETED
@@ -1,65 +0,0 @@
1
- {
2
- "resources": [
3
- "README.md"
4
- ],
5
- "overrided": {
6
- "ignoreDepsPattern": [],
7
- "includeAsDev": [],
8
- "includeOnly": [
9
- "axios",
10
- "glob",
11
- "moment",
12
- "fkill",
13
- "copy-paste",
14
- "chokidar",
15
- "fs-extra",
16
- "rimraf",
17
- "mkdirp",
18
- "lodash",
19
- "@types/lodash",
20
- "ps-list",
21
- "ps-node",
22
- "q",
23
- "@types/q",
24
- "json5",
25
- "is-elevated",
26
- "portfinder",
27
- "cross-spawn",
28
- "chalk",
29
- "copy-paste",
30
- "is-root",
31
- "is-admin",
32
- "dateformat"
33
- ],
34
- "dependencies": {},
35
- "linkedFolders": [],
36
- "npmFixes": []
37
- },
38
- "smartContainerBuildTarget": "",
39
- "linkedRepos": [],
40
- "libReleaseOptions": {
41
- "nodts": false,
42
- "obscure": false,
43
- "ugly": false,
44
- "includeNodeModules": false,
45
- "cliBuildNoDts": false,
46
- "cliBuildObscure": false,
47
- "cliBuildIncludeNodeModules": false,
48
- "cliBuildUglify": false
49
- },
50
- "smartContainerTarget": "",
51
- "type": "isomorphic-lib",
52
- "isCoreProject": false,
53
- "useFramework": false,
54
- "required": [],
55
- "version": "v18",
56
- "additionalNpmNames": [
57
- "taon-core"
58
- ],
59
- "isGenerated": false,
60
- "requiredServers": [],
61
- "license": "MIT",
62
- "private": false,
63
- "main": "index.js",
64
- "workerPlugins": {}
65
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "tnp-core",
3
- "version": "0.0.1",
4
- "peerDependencies": {
5
- "@angular/common": "^13.2.0",
6
- "@angular/core": "^13.2.0"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.3.0"
10
- },
11
- "module": "fesm2022/tnp-core.mjs",
12
- "typings": "index.d.ts",
13
- "exports": {
14
- "./package.json": {
15
- "default": "./package.json"
16
- },
17
- ".": {
18
- "types": "./index.d.ts",
19
- "esm2022": "./esm2022/tnp-core.mjs",
20
- "esm": "./esm2022/tnp-core.mjs",
21
- "default": "./fesm2022/tnp-core.mjs"
22
- }
23
- },
24
- "sideEffects": false
25
- }