tnp 21.0.78 → 21.0.79
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/bin/tnp +5 -5
- package/bin/tnp-debug +5 -5
- package/bin/tnp-debug-brk +4 -4
- package/browser/fesm2022/tnp-browser.mjs +12 -11
- package/browser/fesm2022/tnp-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/tnp-browser.d.ts +6 -6
- package/browser-prod/fesm2022/tnp-browser.mjs +12 -11
- package/browser-prod/fesm2022/tnp-browser.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/tnp-browser.d.ts +6 -6
- package/cli.js +8724 -8724
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/package.json +1 -1
- package/lib/project/abstract/project-resolve.d.ts +2 -2
- package/lib/project/abstract/project-resolve.js +5 -5
- package/lib/project/abstract/project-resolve.js.map +1 -1
- package/lib/project/abstract/project.js +5 -5
- package/lib/project/abstract/project.js.map +1 -1
- package/lib/project/abstract/taon-worker/deployments/deployments.worker.d.ts +1 -1
- package/lib/project/abstract/taon-worker/deployments/deployments.worker.js +2 -2
- package/lib/project/abstract/taon-worker/deployments/deployments.worker.js.map +1 -1
- package/lib/project/abstract/taon-worker/instances/instances.worker.d.ts +1 -1
- package/lib/project/abstract/taon-worker/instances/instances.worker.js +2 -2
- package/lib/project/abstract/taon-worker/instances/instances.worker.js.map +1 -1
- package/lib/project/abstract/taon-worker/processes/processes.worker.d.ts +1 -1
- package/lib/project/abstract/taon-worker/processes/processes.worker.js +3 -2
- package/lib/project/abstract/taon-worker/processes/processes.worker.js.map +1 -1
- package/lib/project/abstract/taon-worker/taon.worker.d.ts +1 -1
- package/lib/project/abstract/taon-worker/taon.worker.js +5 -5
- package/lib/project/abstract/taon-worker/taon.worker.js.map +1 -1
- package/lib/project/index.js +2 -2
- package/lib-prod/build-info._auto-generated_.ts +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/project/abstract/project-resolve.ts +7 -6
- package/lib-prod/project/abstract/project.ts +5 -7
- package/lib-prod/project/abstract/taon-worker/deployments/deployments.worker.ts +2 -5
- package/lib-prod/project/abstract/taon-worker/instances/instances.worker.ts +2 -5
- package/lib-prod/project/abstract/taon-worker/processes/processes.worker.ts +5 -5
- package/lib-prod/project/abstract/taon-worker/taon.worker.ts +5 -14
- package/lib-prod/project/index.ts +1 -1
- package/package.json +1 -1
- package/websql/fesm2022/tnp-websql.mjs +12 -11
- package/websql/fesm2022/tnp-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/tnp-websql.d.ts +6 -6
- package/websql-prod/fesm2022/tnp-websql.mjs +12 -11
- package/websql-prod/fesm2022/tnp-websql.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/tnp-websql.d.ts +6 -6
package/bin/tnp
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/tnp-debug
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/tnp-debug-brk
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
require('./start');
|
|
4
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
require('./start');
|
|
4
|
+
//#endregion
|
|
@@ -28,7 +28,7 @@ const CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
28
28
|
/**
|
|
29
29
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
30
30
|
*/
|
|
31
|
-
const CURRENT_PACKAGE_VERSION = '21.0.
|
|
31
|
+
const CURRENT_PACKAGE_VERSION = '21.0.79';
|
|
32
32
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
33
33
|
|
|
34
34
|
// import type { Project } from './project/abstract/project';
|
|
@@ -2691,8 +2691,8 @@ class TaonProjectsWorker extends BaseCliWorker {
|
|
|
2691
2691
|
/**
|
|
2692
2692
|
* external command that will start service
|
|
2693
2693
|
*/
|
|
2694
|
-
|
|
2695
|
-
super(serviceID,
|
|
2694
|
+
startCommandFn, ins) {
|
|
2695
|
+
super(serviceID, startCommandFn, CURRENT_PACKAGE_VERSION);
|
|
2696
2696
|
this.ins = ins;
|
|
2697
2697
|
//#region properties
|
|
2698
2698
|
// @ts-ignore
|
|
@@ -2860,10 +2860,10 @@ class TaonProjectsWorker extends BaseCliWorker {
|
|
|
2860
2860
|
// @ts-ignore TODO weird inheritance problem
|
|
2861
2861
|
class TaonProjectResolve extends BaseProjectResolver {
|
|
2862
2862
|
//#region constructor
|
|
2863
|
-
constructor(classFn,
|
|
2864
|
-
super(classFn,
|
|
2863
|
+
constructor(classFn, cliToolNameFn) {
|
|
2864
|
+
super(classFn, cliToolNameFn);
|
|
2865
2865
|
this.classFn = classFn;
|
|
2866
|
-
this.
|
|
2866
|
+
this.cliToolNameFn = cliToolNameFn;
|
|
2867
2867
|
this.hasResolveCoreDepsAndFolder = false;
|
|
2868
2868
|
// if (!this.cliToolName) {
|
|
2869
2869
|
// Helpers.throwError(`cliToolName is not provided`);
|
|
@@ -2910,7 +2910,7 @@ class TaonProjectResolve extends BaseProjectResolver {
|
|
|
2910
2910
|
// 'startCliServiceTaonProjectsWorker ${SKIP_CORE_CHECK_PARAM}'
|
|
2911
2911
|
// // as keyof $Global
|
|
2912
2912
|
// }`;
|
|
2913
|
-
this.taonProjectsWorker = new TaonProjectsWorker(taonProjects, `${
|
|
2913
|
+
this.taonProjectsWorker = new TaonProjectsWorker(taonProjects, () => `${cliToolNameFn()} ${`startCliServiceTaonProjectsWorker ${SKIP_CORE_CHECK_PARAM}`
|
|
2914
2914
|
// as keyof $Global
|
|
2915
2915
|
}`, this);
|
|
2916
2916
|
}
|
|
@@ -3436,14 +3436,15 @@ class TaonProjectResolve extends BaseProjectResolver {
|
|
|
3436
3436
|
}
|
|
3437
3437
|
|
|
3438
3438
|
//#endregion
|
|
3439
|
-
let frameworkName = '';
|
|
3440
|
-
/* */
|
|
3441
|
-
/* */
|
|
3442
3439
|
// @ts-ignore TODO weird inheritance problem
|
|
3443
3440
|
class Project extends BaseProject {
|
|
3444
3441
|
//#region static
|
|
3445
3442
|
//#region static / instance of resolve
|
|
3446
|
-
static { this.ins = new TaonProjectResolve(Project,
|
|
3443
|
+
static { this.ins = new TaonProjectResolve(Project, () => {
|
|
3444
|
+
/* */
|
|
3445
|
+
/* */
|
|
3446
|
+
return (void 0);
|
|
3447
|
+
}); }
|
|
3447
3448
|
get packageJson() {
|
|
3448
3449
|
return this.npmHelpers.packageJson;
|
|
3449
3450
|
}
|