tnp-helpers 19.0.54 → 19.0.55
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/browser/README.md +24 -24
- package/browser/fesm2022/tnp-helpers.mjs +1 -1
- package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
- package/browser/lib/build-info._auto-generated_.d.ts +1 -1
- package/browser/package.json +1 -1
- package/lib/base/classes/base-command-line-feature.backend.d.ts +47 -0
- package/lib/base/classes/base-command-line-feature.backend.js +147 -0
- package/lib/base/classes/base-command-line-feature.backend.js.map +1 -0
- package/lib/base/classes/base-global-command-line.backend.js +2 -2
- package/lib/base/classes/base-global-command-line.backend.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/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/env-backend._auto-generated_.d.ts +34 -0
- package/lib/env-backend._auto-generated_.js +38 -0
- package/lib/env-backend._auto-generated_.js.map +1 -0
- package/lib/env-browser._auto-generated_.d.ts +34 -0
- package/lib/env-browser._auto-generated_.js +38 -0
- package/lib/env-browser._auto-generated_.js.map +1 -0
- package/lib/env.backend.d.ts +34 -0
- package/lib/env.backend.js +40 -0
- package/lib/env.backend.js.map +1 -0
- package/lib/env.browser.d.ts +34 -0
- package/lib/helpers/for-backend/helpers-dependencies.backend.d.ts +2 -0
- package/lib/helpers/for-backend/helpers-dependencies.backend.js +7 -0
- package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +1 -0
- package/lib/helpers/for-browser/angular.helper.js +2 -2
- package/lib/helpers/helpers-numbers.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/validators/validators-firedev.d.ts +3 -0
- package/lib/validators/validators-firedev.js +34 -0
- package/lib/validators/validators-firedev.js.map +1 -0
- package/lib/validators/validators-git.d.ts +3 -0
- package/lib/validators/validators-git.js +13 -0
- package/lib/validators/validators-git.js.map +1 -0
- package/lib/validators/validators-network.d.ts +3 -0
- package/lib/validators/validators-network.js +19 -0
- package/lib/validators/validators-network.js.map +1 -0
- package/lib/validators/validators.d.ts +6 -0
- package/lib/validators/validators.js +11 -0
- package/lib/validators/validators.js.map +1 -0
- package/package.json +1 -1
- package/tmp-environment.json +33 -0
- package/websql/README.md +24 -24
- package/websql/fesm2022/tnp-helpers.mjs +1 -1
- package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
- package/websql/lib/build-info._auto-generated_.d.ts +1 -1
- package/websql/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const ENV: {
|
|
2
|
+
website: {
|
|
3
|
+
domain: string;
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
paths: {};
|
|
7
|
+
config: {};
|
|
8
|
+
container: {
|
|
9
|
+
only: any[];
|
|
10
|
+
};
|
|
11
|
+
ports: {};
|
|
12
|
+
init: {};
|
|
13
|
+
build: {
|
|
14
|
+
pwa: {};
|
|
15
|
+
watch: boolean;
|
|
16
|
+
};
|
|
17
|
+
loading: {
|
|
18
|
+
preAngularBootstrap: {};
|
|
19
|
+
afterAngularBootstrap: {};
|
|
20
|
+
};
|
|
21
|
+
release: {
|
|
22
|
+
cli: {};
|
|
23
|
+
lib: {};
|
|
24
|
+
targetArtifact: string;
|
|
25
|
+
};
|
|
26
|
+
copyToManager: {};
|
|
27
|
+
buildInfo: {
|
|
28
|
+
date: string;
|
|
29
|
+
hash: string;
|
|
30
|
+
};
|
|
31
|
+
currentProjectName: string;
|
|
32
|
+
currentProjectType: string;
|
|
33
|
+
pathsTsconfig: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ENV = void 0;
|
|
4
|
+
exports.ENV = {
|
|
5
|
+
"website": {
|
|
6
|
+
"domain": "tnp-helpers.example.domain.com",
|
|
7
|
+
"title": "Tnp Helpers"
|
|
8
|
+
},
|
|
9
|
+
"paths": {},
|
|
10
|
+
"config": {},
|
|
11
|
+
"container": {
|
|
12
|
+
"only": []
|
|
13
|
+
},
|
|
14
|
+
"ports": {},
|
|
15
|
+
"init": {},
|
|
16
|
+
"build": {
|
|
17
|
+
"pwa": {},
|
|
18
|
+
"watch": true
|
|
19
|
+
},
|
|
20
|
+
"loading": {
|
|
21
|
+
"preAngularBootstrap": {},
|
|
22
|
+
"afterAngularBootstrap": {}
|
|
23
|
+
},
|
|
24
|
+
"release": {
|
|
25
|
+
"cli": {},
|
|
26
|
+
"lib": {},
|
|
27
|
+
"targetArtifact": "npm-lib-and-cli-tool"
|
|
28
|
+
},
|
|
29
|
+
"copyToManager": {},
|
|
30
|
+
"buildInfo": {
|
|
31
|
+
"date": "2025-05-29T20:37:47.000Z",
|
|
32
|
+
"hash": "f7d418610959427591b8d3f52bda5c887097029d"
|
|
33
|
+
},
|
|
34
|
+
"currentProjectName": "tnp-helpers",
|
|
35
|
+
"currentProjectType": "isomorphic-lib",
|
|
36
|
+
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"tnp-helpers/src\":[\"./src/lib\"],\"tnp-helpers/src/*\":[\"./src/lib/*\"]},"
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=env-browser._auto-generated_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env-browser._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,SAAS,EAAE;QACT,QAAQ,EAAE,gCAAgC;QAC1C,OAAO,EAAE,aAAa;KACvB;IACD,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,WAAW,EAAE;QACX,MAAM,EAAE,EAAE;KACX;IACD,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;IACV,OAAO,EAAE;QACP,KAAK,EAAE,EAAE;QACT,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACT,qBAAqB,EAAE,EAAE;QACzB,uBAAuB,EAAE,EAAE;KAC5B;IACD,SAAS,EAAE;QACT,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,EAAE;QACT,gBAAgB,EAAE,sBAAsB;KACzC;IACD,eAAe,EAAE,EAAE;IACnB,WAAW,EAAE;QACX,MAAM,EAAE,0BAA0B;QAClC,MAAM,EAAE,0CAA0C;KACnD;IACD,oBAAoB,EAAE,aAAa;IACnC,oBAAoB,EAAE,gBAAgB;IACtC,eAAe,EAAE,iJAAiJ;CACnK,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const ENV_BACKEND: {
|
|
2
|
+
website: {
|
|
3
|
+
domain: string;
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
paths: {};
|
|
7
|
+
config: {};
|
|
8
|
+
container: {
|
|
9
|
+
only: any[];
|
|
10
|
+
};
|
|
11
|
+
ports: {};
|
|
12
|
+
init: {};
|
|
13
|
+
build: {
|
|
14
|
+
pwa: {};
|
|
15
|
+
};
|
|
16
|
+
loading: {
|
|
17
|
+
preAngularBootstrap: {};
|
|
18
|
+
afterAngularBootstrap: {};
|
|
19
|
+
};
|
|
20
|
+
release: {
|
|
21
|
+
cli: {};
|
|
22
|
+
lib: {};
|
|
23
|
+
targetArtifact: string;
|
|
24
|
+
};
|
|
25
|
+
copyToManager: {};
|
|
26
|
+
buildInfo: {
|
|
27
|
+
date: string;
|
|
28
|
+
hash: string;
|
|
29
|
+
};
|
|
30
|
+
currentProjectName: string;
|
|
31
|
+
currentProjectType: string;
|
|
32
|
+
pathsTsconfig: string;
|
|
33
|
+
};
|
|
34
|
+
export default ENV_BACKEND;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ENV_BACKEND = void 0;
|
|
4
|
+
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
5
|
+
exports.ENV_BACKEND = {
|
|
6
|
+
"website": {
|
|
7
|
+
"domain": "tnp-helpers.example.domain.com",
|
|
8
|
+
"title": "Tnp Helpers"
|
|
9
|
+
},
|
|
10
|
+
"paths": {},
|
|
11
|
+
"config": {},
|
|
12
|
+
"container": {
|
|
13
|
+
"only": []
|
|
14
|
+
},
|
|
15
|
+
"ports": {},
|
|
16
|
+
"init": {},
|
|
17
|
+
"build": {
|
|
18
|
+
"pwa": {}
|
|
19
|
+
},
|
|
20
|
+
"loading": {
|
|
21
|
+
"preAngularBootstrap": {},
|
|
22
|
+
"afterAngularBootstrap": {}
|
|
23
|
+
},
|
|
24
|
+
"release": {
|
|
25
|
+
"cli": {},
|
|
26
|
+
"lib": {},
|
|
27
|
+
"targetArtifact": "npm-lib-and-cli-tool"
|
|
28
|
+
},
|
|
29
|
+
"copyToManager": {},
|
|
30
|
+
"buildInfo": {
|
|
31
|
+
"date": "2025-06-07T14:14:13.000Z",
|
|
32
|
+
"hash": "e62b64efac3f581e4e8502ce39510f6336515f1c"
|
|
33
|
+
},
|
|
34
|
+
"currentProjectName": "tnp-helpers",
|
|
35
|
+
"currentProjectType": "isomorphic-lib",
|
|
36
|
+
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"tnp-helpers/src\":[\"./src/lib\"],\"tnp-helpers/src/*\":[\"./src/lib/*\"]},"
|
|
37
|
+
};
|
|
38
|
+
exports.default = exports.ENV_BACKEND;
|
|
39
|
+
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
40
|
+
//# sourceMappingURL=env.backend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,yCAAyC;AAC5B,QAAA,WAAW,GAAG;IACzB,SAAS,EAAE;QACT,QAAQ,EAAE,gCAAgC;QAC1C,OAAO,EAAE,aAAa;KACvB;IACD,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,WAAW,EAAE;QACX,MAAM,EAAE,EAAE;KACX;IACD,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;IACV,OAAO,EAAE;QACP,KAAK,EAAE,EAAE;KACV;IACD,SAAS,EAAE;QACT,qBAAqB,EAAE,EAAE;QACzB,uBAAuB,EAAE,EAAE;KAC5B;IACD,SAAS,EAAE;QACT,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,EAAE;QACT,gBAAgB,EAAE,sBAAsB;KACzC;IACD,eAAe,EAAE,EAAE;IACnB,WAAW,EAAE;QACX,MAAM,EAAE,0BAA0B;QAClC,MAAM,EAAE,0CAA0C;KACnD;IACD,oBAAoB,EAAE,aAAa;IACnC,oBAAoB,EAAE,gBAAgB;IACtC,eAAe,EAAE,iJAAiJ;CACnK,CAAC;AACF,kBAAe,mBAAW,CAAC;AAC3B,yCAAyC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const ENV_BROWSER: {
|
|
2
|
+
website: {
|
|
3
|
+
domain: string;
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
paths: {};
|
|
7
|
+
config: {};
|
|
8
|
+
container: {
|
|
9
|
+
only: any[];
|
|
10
|
+
};
|
|
11
|
+
ports: {};
|
|
12
|
+
init: {};
|
|
13
|
+
build: {
|
|
14
|
+
pwa: {};
|
|
15
|
+
};
|
|
16
|
+
loading: {
|
|
17
|
+
preAngularBootstrap: {};
|
|
18
|
+
afterAngularBootstrap: {};
|
|
19
|
+
};
|
|
20
|
+
release: {
|
|
21
|
+
cli: {};
|
|
22
|
+
lib: {};
|
|
23
|
+
targetArtifact: string;
|
|
24
|
+
};
|
|
25
|
+
copyToManager: {};
|
|
26
|
+
buildInfo: {
|
|
27
|
+
date: string;
|
|
28
|
+
hash: string;
|
|
29
|
+
};
|
|
30
|
+
currentProjectName: string;
|
|
31
|
+
currentProjectType: string;
|
|
32
|
+
pathsTsconfig: string;
|
|
33
|
+
};
|
|
34
|
+
export default ENV_BROWSER;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers-dependencies.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAKA,MAAa,mBAAmB;CAG/B;AAHD,kDAGC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1759833277640 = dummy1759833277640;
|
|
4
|
+
function dummy1759833277640() { }
|
|
5
5
|
//# sourceMappingURL=angular.helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers-numbers.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"helpers-numbers.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,MAAa,aAAa;IACxB;;;OAGG;IACH,aAAa,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC;CAG7E;AARD,sCAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1759833276473 = dummy1759833276473;
|
|
4
|
+
function dummy1759833276473() { }
|
|
5
5
|
//# sourceMappingURL=base-component.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1759833276479 = dummy1759833276479;
|
|
4
|
+
function dummy1759833276479() { }
|
|
5
5
|
//# sourceMappingURL=base-formly-component.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1759833276494 = dummy1759833276494;
|
|
4
|
+
function dummy1759833276494() { }
|
|
5
5
|
//# sourceMappingURL=dual-component-ctrl.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidatorsTaon = void 0;
|
|
4
|
+
//#region @backend
|
|
5
|
+
const lib_1 = require("tnp-core/lib");
|
|
6
|
+
//#endregion
|
|
7
|
+
const __1 = require("../..");
|
|
8
|
+
const lib_2 = require("tnp-config/lib");
|
|
9
|
+
var ValidatorsTaon;
|
|
10
|
+
(function (ValidatorsTaon) {
|
|
11
|
+
//#region @backend
|
|
12
|
+
function isDockerProject(location) {
|
|
13
|
+
if (lib_1.fse.existsSync(lib_1.path.join(location, 'Dockerfile'))) {
|
|
14
|
+
const packageJson = lib_1.path.join(location, 'package.json');
|
|
15
|
+
if (!__1.Helpers.exists(packageJson)) {
|
|
16
|
+
__1.Helpers.writeFile(packageJson, {
|
|
17
|
+
"name": lib_1.path.basename(location),
|
|
18
|
+
"version": "0.0.0"
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
const pj = __1.Helpers.readJson(packageJson);
|
|
22
|
+
pj[lib_2.config.frameworkName] = {
|
|
23
|
+
"type": "docker",
|
|
24
|
+
"version": "v2"
|
|
25
|
+
};
|
|
26
|
+
__1.Helpers.writeFile(packageJson, pj);
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
ValidatorsTaon.isDockerProject = isDockerProject;
|
|
32
|
+
//#endregion
|
|
33
|
+
})(ValidatorsTaon || (exports.ValidatorsTaon = ValidatorsTaon = {}));
|
|
34
|
+
//# sourceMappingURL=validators-firedev.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators-firedev.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,kBAAkB;AAClB,sCAAyC;AACzC,YAAY;AACZ,6BAAgC;AAChC,wCAAwC;AAGxC,IAAiB,cAAc,CAuB9B;AAvBD,WAAiB,cAAc;IAC7B,kBAAkB;IAClB,SAAgB,eAAe,CAAC,QAAgB;QAC9C,IAAI,SAAG,CAAC,UAAU,CAAC,UAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC;YACtD,MAAM,WAAW,GAAG,UAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;YACxD,IAAI,CAAC,WAAO,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;gBACjC,WAAO,CAAC,SAAS,CAAC,WAAW,EAAE;oBAC7B,MAAM,EAAE,UAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;oBAC/B,SAAS,EAAE,OAAO;iBACnB,CAAC,CAAA;YACJ,CAAC;YACD,MAAM,EAAE,GAAG,WAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;YACzC,EAAE,CAAC,YAAM,CAAC,aAAa,CAAC,GAAG;gBACzB,MAAM,EAAE,QAAQ;gBAChB,SAAS,EAAE,IAAI;aAChB,CAAA;YACD,WAAO,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC,CAAA;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAlBe,8BAAe,kBAkB9B,CAAA;IACD,YAAY;AAEd,CAAC,EAvBgB,cAAc,8BAAd,cAAc,QAuB9B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidatorsGit = void 0;
|
|
4
|
+
var ValidatorsGit;
|
|
5
|
+
(function (ValidatorsGit) {
|
|
6
|
+
function isValidRepoUrl(url) {
|
|
7
|
+
const regex = /^([A-Za-z0-9]+@|http(|s)\:\/\/)([A-Za-z0-9.]+(:\d+)?)(?::|\/)([\d\/\w.-]+?)(\.git)?$/;
|
|
8
|
+
const res = regex.test(url);
|
|
9
|
+
return res;
|
|
10
|
+
}
|
|
11
|
+
ValidatorsGit.isValidRepoUrl = isValidRepoUrl;
|
|
12
|
+
})(ValidatorsGit || (exports.ValidatorsGit = ValidatorsGit = {}));
|
|
13
|
+
//# sourceMappingURL=validators-git.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators-git.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,IAAiB,aAAa,CAQ7B;AARD,WAAiB,aAAa;IAE5B,SAAgB,cAAc,CAAC,GAAW;QACxC,MAAM,KAAK,GAAG,sFAAsF,CAAC;QACrG,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC5B,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,4BAAc,iBAI7B,CAAA;AAEH,CAAC,EARgB,aAAa,6BAAb,aAAa,QAQ7B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidatorsNetwork = void 0;
|
|
4
|
+
const lib_1 = require("tnp-core/lib");
|
|
5
|
+
var ValidatorsNetwork;
|
|
6
|
+
(function (ValidatorsNetwork) {
|
|
7
|
+
function isValidIp(ip) {
|
|
8
|
+
if (!lib_1._.isString(ip)) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
ip = ip.trim();
|
|
12
|
+
if (ip === 'localhost') {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
return /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(ip);
|
|
16
|
+
}
|
|
17
|
+
ValidatorsNetwork.isValidIp = isValidIp;
|
|
18
|
+
})(ValidatorsNetwork || (exports.ValidatorsNetwork = ValidatorsNetwork = {}));
|
|
19
|
+
//# sourceMappingURL=validators-network.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators-network.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,sCAAiC;AAEjC,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,SAAS,CAAC,EAAU;QAClC,IAAI,CAAC,OAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;YACpB,OAAO,KAAK,CAAC;QACf,CAAC;QACD,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC;QACf,IAAI,EAAE,KAAK,WAAW,EAAE,CAAC;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,kKAAkK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACpL,CAAC;IATe,2BAAS,YASxB,CAAA;AACH,CAAC,EAXgB,iBAAiB,iCAAjB,iBAAiB,QAWjC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Validators = void 0;
|
|
4
|
+
const validators_git_1 = require("./validators-git");
|
|
5
|
+
const validators_network_1 = require("./validators-network");
|
|
6
|
+
var Validators;
|
|
7
|
+
(function (Validators) {
|
|
8
|
+
Validators.git = validators_git_1.ValidatorsGit;
|
|
9
|
+
Validators.network = validators_network_1.ValidatorsNetwork;
|
|
10
|
+
})(Validators || (exports.Validators = Validators = {}));
|
|
11
|
+
//# sourceMappingURL=validators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,qDAAiD;AACjD,6DAAyD;AAEzD,IAAiB,UAAU,CAG1B;AAHD,WAAiB,UAAU;IACX,cAAG,GAAG,8BAAa,CAAC;IACpB,kBAAO,GAAG,sCAAiB,CAAC;AAC5C,CAAC,EAHgB,UAAU,0BAAV,UAAU,QAG1B"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"website": {
|
|
3
|
+
"domain": "tnp-helpers.example.domain.com",
|
|
4
|
+
"title": "Tnp Helpers"
|
|
5
|
+
},
|
|
6
|
+
"paths": {},
|
|
7
|
+
"config": {},
|
|
8
|
+
"container": {
|
|
9
|
+
"only": []
|
|
10
|
+
},
|
|
11
|
+
"ports": {},
|
|
12
|
+
"init": {},
|
|
13
|
+
"build": {
|
|
14
|
+
"pwa": {}
|
|
15
|
+
},
|
|
16
|
+
"loading": {
|
|
17
|
+
"preAngularBootstrap": {},
|
|
18
|
+
"afterAngularBootstrap": {}
|
|
19
|
+
},
|
|
20
|
+
"release": {
|
|
21
|
+
"cli": {},
|
|
22
|
+
"lib": {},
|
|
23
|
+
"targetArtifact": "npm-lib-and-cli-tool"
|
|
24
|
+
},
|
|
25
|
+
"copyToManager": {},
|
|
26
|
+
"buildInfo": {
|
|
27
|
+
"date": "2025-06-07T14:14:13.000Z",
|
|
28
|
+
"hash": "e62b64efac3f581e4e8502ce39510f6336515f1c"
|
|
29
|
+
},
|
|
30
|
+
"currentProjectName": "tnp-helpers",
|
|
31
|
+
"currentProjectType": "isomorphic-lib",
|
|
32
|
+
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"tnp-helpers/src\":[\"./src/lib\"],\"tnp-helpers/src/*\":[\"./src/lib/*\"]},"
|
|
33
|
+
}
|
package/websql/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.
|
|
@@ -6894,7 +6894,7 @@ const PROJECT_NPM_NAME = 'tnp-helpers';
|
|
|
6894
6894
|
/**
|
|
6895
6895
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
6896
6896
|
*/
|
|
6897
|
-
const CURRENT_PACKAGE_VERSION = '19.0.
|
|
6897
|
+
const CURRENT_PACKAGE_VERSION = '19.0.55';
|
|
6898
6898
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
6899
6899
|
|
|
6900
6900
|
//#endregion
|