tnp-helpers 21.0.113 → 21.0.114
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/bin/start.js +36 -36
- package/browser/README.md +24 -24
- package/browser/fesm2022/tnp-helpers-browser.mjs +38 -32
- package/browser/fesm2022/tnp-helpers-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/tnp-helpers-browser.d.ts +3 -4
- package/browser-prod/README.md +24 -24
- package/browser-prod/fesm2022/tnp-helpers-browser-prod.mjs +38 -32
- package/browser-prod/fesm2022/tnp-helpers-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/tnp-helpers-browser-prod.d.ts +3 -4
- package/lib/base/classes/base-git.d.ts +0 -1
- package/lib/base/classes/base-git.js +1 -6
- package/lib/base/classes/base-git.js.map +1 -1
- package/lib/base/classes/base-global-command-line.d.ts +3 -3
- package/lib/base/classes/base-global-command-line.js +41 -27
- package/lib/base/classes/base-global-command-line.js.map +1 -1
- package/lib/base/classes/base-json-file-reader.js.map +1 -1
- package/lib/base/classes/base-linter.js +1 -1
- package/lib/base/classes/base-linter.js.map +1 -1
- package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
- package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
- package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +2 -6
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/helpers/helpers.d.ts +1 -1
- package/lib/helpers/helpers.js +3 -6
- package/lib/helpers/helpers.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/package.json +1 -1
- package/lib-esm/lib/base/classes/base-git.d.ts +0 -1
- package/lib-esm/lib/base/classes/base-git.js +1 -6
- package/lib-esm/lib/base/classes/base-git.js.map +1 -1
- package/lib-esm/lib/base/classes/base-global-command-line.d.ts +3 -3
- package/lib-esm/lib/base/classes/base-global-command-line.js +41 -27
- package/lib-esm/lib/base/classes/base-global-command-line.js.map +1 -1
- package/lib-esm/lib/base/classes/base-json-file-reader.js.map +1 -1
- package/lib-esm/lib/base/classes/base-linter.js +1 -1
- package/lib-esm/lib/base/classes/base-linter.js.map +1 -1
- package/lib-esm/lib/base/tcp-udp-ports/not-assignable-port.entity.d.ts +1 -1
- package/lib-esm/lib/base/tcp-udp-ports/not-assignable-port.entity.js +1 -1
- package/lib-esm/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +2 -6
- 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/helpers/helpers.d.ts +1 -1
- package/lib-esm/lib/helpers/helpers.js +3 -6
- package/lib-esm/lib/helpers/helpers.js.map +1 -1
- package/lib-esm/lib/old/base-component.d.ts +1 -1
- package/lib-esm/lib/old/base-component.js +1 -1
- package/lib-esm/lib/old/base-formly-component.d.ts +1 -1
- package/lib-esm/lib/old/base-formly-component.js +1 -1
- package/lib-esm/lib/old/dual-component-ctrl.d.ts +1 -1
- package/lib-esm/lib/old/dual-component-ctrl.js +1 -1
- package/lib-prod/base/classes/base-git.d.ts +0 -1
- package/lib-prod/base/classes/base-git.js +1 -6
- package/lib-prod/base/classes/base-git.js.map +1 -1
- package/lib-prod/base/classes/base-global-command-line.d.ts +3 -3
- package/lib-prod/base/classes/base-global-command-line.js +41 -27
- package/lib-prod/base/classes/base-global-command-line.js.map +1 -1
- package/lib-prod/base/classes/base-linter.js +1 -1
- package/lib-prod/base/classes/base-linter.js.map +1 -1
- package/lib-prod/base/tcp-udp-ports/not-assignable-port.entity.d.ts +1 -1
- package/lib-prod/base/tcp-udp-ports/not-assignable-port.entity.js +1 -1
- package/lib-prod/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +2 -6
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/helpers/helpers.d.ts +1 -1
- package/lib-prod/helpers/helpers.js +3 -6
- package/lib-prod/helpers/helpers.js.map +1 -1
- package/lib-prod/old/base-component.d.ts +1 -1
- package/lib-prod/old/base-component.js +1 -1
- package/lib-prod/old/base-formly-component.d.ts +1 -1
- package/lib-prod/old/base-formly-component.js +1 -1
- package/lib-prod/old/dual-component-ctrl.d.ts +1 -1
- package/lib-prod/old/dual-component-ctrl.js +1 -1
- package/lib-prod/package.json +1 -1
- package/package.json +1 -1
- package/websql/README.md +24 -24
- package/websql/fesm2022/tnp-helpers-websql.mjs +38 -32
- package/websql/fesm2022/tnp-helpers-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/tnp-helpers-websql.d.ts +3 -4
- package/websql-prod/README.md +24 -24
- package/websql-prod/fesm2022/tnp-helpers-websql-prod.mjs +38 -32
- package/websql-prod/fesm2022/tnp-helpers-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/tnp-helpers-websql-prod.d.ts +3 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commitHash": "
|
|
3
|
-
"commitName": "
|
|
4
|
-
"commitDate": "
|
|
2
|
+
"commitHash": "da0c877a35077c3107c13f37a9d94a026a35162a",
|
|
3
|
+
"commitName": "fix: proper push pull quick commands",
|
|
4
|
+
"commitDate": "05-09-2026 00:01:28"
|
|
5
5
|
}
|
package/bin/start.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
global.frameworkName = 'tnp-helpers';
|
|
2
|
-
Error.stackTraceLimit = 100;
|
|
3
|
-
global.i0 = {
|
|
4
|
-
defineInjectable: function () { }
|
|
5
|
-
}
|
|
6
|
-
const process= require('process');
|
|
7
|
-
global.currentTaonScriptStartDateTime = process.hrtime.bigint();
|
|
8
|
-
|
|
9
|
-
process.removeAllListeners('warning');
|
|
10
|
-
var argv = process.argv;
|
|
11
|
-
|
|
12
|
-
global.hideLog = true;
|
|
13
|
-
global.verboseLevel = 0;
|
|
14
|
-
var verboseLevel = argv.find(a => a.startsWith('-verbose='));
|
|
15
|
-
if (typeof verboseLevel !== 'undefined') {
|
|
16
|
-
global.hideLog = false;
|
|
17
|
-
verboseLevel = Number(verboseLevel.replace('-verbose=', ''));
|
|
18
|
-
if (!isNaN(verboseLevel)) {
|
|
19
|
-
global.verboseLevel = verboseLevel;
|
|
20
|
-
}
|
|
21
|
-
argv = argv.filter(a => !a.startsWith('-verbose='));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
if (argv.includes('-verbose')) {
|
|
25
|
-
global.hideLog = false;
|
|
26
|
-
argv = argv.filter(a => a !== '-verbose');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const fs = require('fs');
|
|
30
|
-
const path = require('path');
|
|
31
|
-
var pathToCliJS = {
|
|
32
|
-
distDev: path.join(__dirname, '../dist/cli.js'),
|
|
33
|
-
localOrNPm: path.join(__dirname, '../cli.js')
|
|
34
|
-
}
|
|
35
|
-
var p = fs.existsSync(pathToCliJS.distDev) ? pathToCliJS.distDev : pathToCliJS.localOrNPm;
|
|
36
|
-
global.globalSystemToolMode = true;
|
|
37
|
-
var run = require(p).startCli;
|
|
2
|
+
Error.stackTraceLimit = 100;
|
|
3
|
+
global.i0 = {
|
|
4
|
+
defineInjectable: function () { }
|
|
5
|
+
}
|
|
6
|
+
const process= require('process');
|
|
7
|
+
global.currentTaonScriptStartDateTime = process.hrtime.bigint();
|
|
8
|
+
|
|
9
|
+
process.removeAllListeners('warning');
|
|
10
|
+
var argv = process.argv;
|
|
11
|
+
|
|
12
|
+
global.hideLog = true;
|
|
13
|
+
global.verboseLevel = 0;
|
|
14
|
+
var verboseLevel = argv.find(a => a.startsWith('-verbose='));
|
|
15
|
+
if (typeof verboseLevel !== 'undefined') {
|
|
16
|
+
global.hideLog = false;
|
|
17
|
+
verboseLevel = Number(verboseLevel.replace('-verbose=', ''));
|
|
18
|
+
if (!isNaN(verboseLevel)) {
|
|
19
|
+
global.verboseLevel = verboseLevel;
|
|
20
|
+
}
|
|
21
|
+
argv = argv.filter(a => !a.startsWith('-verbose='));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
if (argv.includes('-verbose')) {
|
|
25
|
+
global.hideLog = false;
|
|
26
|
+
argv = argv.filter(a => a !== '-verbose');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const fs = require('fs');
|
|
30
|
+
const path = require('path');
|
|
31
|
+
var pathToCliJS = {
|
|
32
|
+
distDev: path.join(__dirname, '../dist/cli.js'),
|
|
33
|
+
localOrNPm: path.join(__dirname, '../cli.js')
|
|
34
|
+
}
|
|
35
|
+
var p = fs.existsSync(pathToCliJS.distDev) ? pathToCliJS.distDev : pathToCliJS.localOrNPm;
|
|
36
|
+
global.globalSystemToolMode = true;
|
|
37
|
+
var run = require(p).startCli;
|
|
38
38
|
run(argv,__filename);
|
package/browser/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -8368,7 +8368,7 @@ ${cwd}
|
|
|
8368
8368
|
f = f?.trim();
|
|
8369
8369
|
return !!f;
|
|
8370
8370
|
});
|
|
8371
|
-
return list;
|
|
8371
|
+
return (list || []).map(c => crossPlatformPath(c));
|
|
8372
8372
|
}
|
|
8373
8373
|
catch (error) {
|
|
8374
8374
|
return [];
|
|
@@ -8398,15 +8398,12 @@ ${cwd}
|
|
|
8398
8398
|
}
|
|
8399
8399
|
});
|
|
8400
8400
|
};
|
|
8401
|
-
git.stagedFiles = (cwd
|
|
8401
|
+
git.stagedFiles = (cwd) => {
|
|
8402
8402
|
cwd = crossPlatformPath(cwd).replace(/\/$/, '');
|
|
8403
8403
|
const command = `git diff --name-only --cached`.trim();
|
|
8404
8404
|
const result = Helpers.commandOutputAsString(command, cwd, {}) || '';
|
|
8405
8405
|
return (result ? result.split('\n') : []).map(relative => {
|
|
8406
|
-
|
|
8407
|
-
return crossPlatformPath(relative);
|
|
8408
|
-
}
|
|
8409
|
-
return crossPlatformPath([cwd, relative]);
|
|
8406
|
+
return crossPlatformPath(relative);
|
|
8410
8407
|
});
|
|
8411
8408
|
};
|
|
8412
8409
|
git.getChangedFiles = async (cwd, commitHash) => {
|
|
@@ -10402,7 +10399,7 @@ const CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
10402
10399
|
/**
|
|
10403
10400
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
10404
10401
|
*/
|
|
10405
|
-
const CURRENT_PACKAGE_VERSION = '21.0.
|
|
10402
|
+
const CURRENT_PACKAGE_VERSION = '21.0.114';
|
|
10406
10403
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
10407
10404
|
|
|
10408
10405
|
//#endregion
|
|
@@ -17341,11 +17338,6 @@ class BaseGit extends BaseFeatureForProject {
|
|
|
17341
17338
|
/* */
|
|
17342
17339
|
return (void 0);
|
|
17343
17340
|
}
|
|
17344
|
-
get stagedFilesRelativePaths() {
|
|
17345
|
-
/* */
|
|
17346
|
-
/* */
|
|
17347
|
-
return (void 0);
|
|
17348
|
-
}
|
|
17349
17341
|
//#endregion
|
|
17350
17342
|
//#region methods & getters / rename origin
|
|
17351
17343
|
/**
|
|
@@ -20614,30 +20606,26 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
20614
20606
|
/* */
|
|
20615
20607
|
/* */
|
|
20616
20608
|
/* */
|
|
20609
|
+
/* */
|
|
20610
|
+
/* */
|
|
20617
20611
|
return (void 0);
|
|
20618
20612
|
}
|
|
20619
20613
|
//#endregion
|
|
20620
20614
|
//#region commands / pull
|
|
20621
20615
|
async pul() {
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
Please use pul:deep instead pull
|
|
20625
|
-
|
|
20626
|
-
`);
|
|
20627
|
-
await this.pullDeep();
|
|
20616
|
+
await this.pull();
|
|
20628
20617
|
}
|
|
20629
20618
|
async pull() {
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
|
|
20634
|
-
`);
|
|
20635
|
-
await this.pullDeep();
|
|
20619
|
+
await this.pullDeep({
|
|
20620
|
+
updateType: 'only-this',
|
|
20621
|
+
});
|
|
20636
20622
|
}
|
|
20637
20623
|
async pulDeep() {
|
|
20638
20624
|
await this.pullDeep();
|
|
20639
20625
|
}
|
|
20640
|
-
async pullDeep() {
|
|
20626
|
+
async pullDeep(options) {
|
|
20627
|
+
/* */
|
|
20628
|
+
/* */
|
|
20641
20629
|
/* */
|
|
20642
20630
|
/* */
|
|
20643
20631
|
/* */
|
|
@@ -20662,6 +20650,7 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
20662
20650
|
/* */
|
|
20663
20651
|
/* */
|
|
20664
20652
|
/* */
|
|
20653
|
+
/* */
|
|
20665
20654
|
return (void 0);
|
|
20666
20655
|
}
|
|
20667
20656
|
//#endregion
|
|
@@ -20955,6 +20944,9 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
20955
20944
|
/* */
|
|
20956
20945
|
/* */
|
|
20957
20946
|
/* */
|
|
20947
|
+
/* */
|
|
20948
|
+
/* */
|
|
20949
|
+
/* */
|
|
20958
20950
|
return (void 0);
|
|
20959
20951
|
}
|
|
20960
20952
|
async pAllForce() {
|
|
@@ -20968,6 +20960,8 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
20968
20960
|
return (void 0);
|
|
20969
20961
|
}
|
|
20970
20962
|
async pAll() {
|
|
20963
|
+
/* */
|
|
20964
|
+
/* */
|
|
20971
20965
|
/* */
|
|
20972
20966
|
/* */
|
|
20973
20967
|
return (void 0);
|
|
@@ -20975,7 +20969,12 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
20975
20969
|
/**
|
|
20976
20970
|
* push to all origins
|
|
20977
20971
|
*/
|
|
20978
|
-
async
|
|
20972
|
+
async pushAllOrigins(force = false) {
|
|
20973
|
+
/* */
|
|
20974
|
+
/* */
|
|
20975
|
+
/* */
|
|
20976
|
+
/* */
|
|
20977
|
+
/* */
|
|
20979
20978
|
/* */
|
|
20980
20979
|
/* */
|
|
20981
20980
|
/* */
|
|
@@ -21001,11 +21000,19 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
21001
21000
|
//#endregion
|
|
21002
21001
|
//#region commands / push force
|
|
21003
21002
|
async forcePush() {
|
|
21003
|
+
/* */
|
|
21004
|
+
/* */
|
|
21005
|
+
/* */
|
|
21006
|
+
/* */
|
|
21004
21007
|
/* */
|
|
21005
21008
|
/* */
|
|
21006
21009
|
return (void 0);
|
|
21007
21010
|
}
|
|
21008
21011
|
async pushForce() {
|
|
21012
|
+
/* */
|
|
21013
|
+
/* */
|
|
21014
|
+
/* */
|
|
21015
|
+
/* */
|
|
21009
21016
|
/* */
|
|
21010
21017
|
/* */
|
|
21011
21018
|
return (void 0);
|
|
@@ -21183,12 +21190,9 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
21183
21190
|
return (void 0);
|
|
21184
21191
|
}
|
|
21185
21192
|
async push(options = {}) {
|
|
21186
|
-
|
|
21187
|
-
|
|
21188
|
-
|
|
21189
|
-
|
|
21190
|
-
`);
|
|
21191
|
-
await this.pushDeep(options);
|
|
21193
|
+
await this.pushDeep({
|
|
21194
|
+
updateType: 'only-this',
|
|
21195
|
+
});
|
|
21192
21196
|
}
|
|
21193
21197
|
//#endregion
|
|
21194
21198
|
//#region commands / melt
|
|
@@ -21294,6 +21298,7 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
21294
21298
|
/* */
|
|
21295
21299
|
/* */
|
|
21296
21300
|
/* */
|
|
21301
|
+
/* */
|
|
21297
21302
|
return (void 0);
|
|
21298
21303
|
}
|
|
21299
21304
|
async mPush() {
|
|
@@ -21333,6 +21338,7 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
|
|
|
21333
21338
|
/* */
|
|
21334
21339
|
/* */
|
|
21335
21340
|
/* */
|
|
21341
|
+
/* */
|
|
21336
21342
|
return (void 0);
|
|
21337
21343
|
}
|
|
21338
21344
|
async pushFeature() {
|