tnp-core 21.0.20 → 21.0.22
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/package.json +10 -3
- package/cli.backend.js +2 -2
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/command-exists.d.ts +2 -0
- package/lib/command-exists.js +116 -0
- package/lib/command-exists.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/node-chalk-mock.js +2 -2
- package/lib/node-path-mock.js +2 -2
- package/lib/required.d.ts +44 -0
- package/lib/required.js +76 -0
- package/lib/required.js.map +1 -0
- package/package.json +1 -1
- package/tmp-environment.json +33 -0
- package/websql/package.json +10 -3
package/browser/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tnp-core/browser",
|
|
3
|
-
"version": "21.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
3
|
+
"version": "21.0.22",
|
|
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-browser.mjs",
|
|
12
|
+
"typings": "types/tnp-core-browser.d.ts",
|
|
6
13
|
"exports": {
|
|
7
14
|
"./package.json": {
|
|
8
15
|
"default": "./package.json"
|
package/cli.backend.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1766569215834 = dummy1766569215834;
|
|
4
|
+
function dummy1766569215834() { }
|
|
5
5
|
//# sourceMappingURL=cli.backend.js.map
|
|
@@ -21,6 +21,6 @@ exports.PROJECT_NPM_NAME = 'tnp-core';
|
|
|
21
21
|
/**
|
|
22
22
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
23
23
|
*/
|
|
24
|
-
exports.CURRENT_PACKAGE_VERSION = '21.0.
|
|
24
|
+
exports.CURRENT_PACKAGE_VERSION = '21.0.22';
|
|
25
25
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
26
26
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commandExistsSync = void 0;
|
|
4
|
+
exports.checkSyncIfCommandExistsAsync = checkSyncIfCommandExistsAsync;
|
|
5
|
+
const core_imports_1 = require("./core-imports");
|
|
6
|
+
const index_1 = require("./index");
|
|
7
|
+
const isUsingWindows = process.platform == 'win32';
|
|
8
|
+
const fileNotExists = function (commandName, callback) {
|
|
9
|
+
core_imports_1.fse.access(commandName, core_imports_1.fse.constants.F_OK, function (err) {
|
|
10
|
+
callback(!err);
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
const fileNotExistsSync = function (commandName) {
|
|
14
|
+
try {
|
|
15
|
+
core_imports_1.fse.accessSync(commandName, core_imports_1.fse.constants.F_OK);
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
catch (e) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
const localExecutable = function (commandName, callback) {
|
|
23
|
+
core_imports_1.fse.access(commandName, core_imports_1.fse.constants.F_OK | core_imports_1.fse.constants.X_OK, function (err) {
|
|
24
|
+
callback(null, !err);
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const localExecutableSync = function (commandName) {
|
|
28
|
+
try {
|
|
29
|
+
core_imports_1.fse.accessSync(commandName, core_imports_1.fse.constants.F_OK | core_imports_1.fse.constants.X_OK);
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const commandExistsUnix = function (commandName, callback) {
|
|
37
|
+
fileNotExists(commandName, function (isFile) {
|
|
38
|
+
if (!isFile) {
|
|
39
|
+
var child = core_imports_1.child_process.exec('command -v ' +
|
|
40
|
+
commandName +
|
|
41
|
+
' 2>/dev/null' +
|
|
42
|
+
" && { echo >&1 '" +
|
|
43
|
+
commandName +
|
|
44
|
+
" found'; exit 0; }", function (error, stdout, stderr) {
|
|
45
|
+
callback(null, !!stdout);
|
|
46
|
+
});
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
localExecutable(commandName, callback);
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const commandExistsWindows = function (commandName, callback) {
|
|
53
|
+
index_1.Helpers.commandOutputAsStringAsync('where ' + commandName)
|
|
54
|
+
.then(() => {
|
|
55
|
+
callback(null, false);
|
|
56
|
+
})
|
|
57
|
+
.catch(() => {
|
|
58
|
+
callback(null, true);
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
const commandExistsUnixSync = function (commandName) {
|
|
62
|
+
if (fileNotExistsSync(commandName)) {
|
|
63
|
+
try {
|
|
64
|
+
var stdout = core_imports_1.child_process.execSync('command -v ' +
|
|
65
|
+
commandName +
|
|
66
|
+
' 2>/dev/null' +
|
|
67
|
+
" && { echo >&1 '" +
|
|
68
|
+
commandName +
|
|
69
|
+
" found'; exit 0; }");
|
|
70
|
+
return !!stdout;
|
|
71
|
+
}
|
|
72
|
+
catch (error) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return localExecutableSync(commandName);
|
|
77
|
+
};
|
|
78
|
+
const commandExistsWindowsSync = function (commandName) {
|
|
79
|
+
try {
|
|
80
|
+
var stdout = index_1.Helpers.commandOutputAsString(`where ${commandName}`);
|
|
81
|
+
return !!stdout;
|
|
82
|
+
}
|
|
83
|
+
catch (error) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
function checkSyncIfCommandExistsAsync(commandName, callback) {
|
|
88
|
+
if (!callback && typeof Promise !== 'undefined') {
|
|
89
|
+
return new Promise(function (resolve, reject) {
|
|
90
|
+
checkSyncIfCommandExistsAsync(commandName, function (error, output) {
|
|
91
|
+
if (output) {
|
|
92
|
+
resolve(commandName);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
reject(error);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
if (isUsingWindows) {
|
|
101
|
+
commandExistsWindows(commandName, callback);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
commandExistsUnix(commandName, callback);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const commandExistsSync = (commandName) => {
|
|
108
|
+
if (isUsingWindows) {
|
|
109
|
+
return commandExistsWindowsSync(commandName);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
return commandExistsUnixSync(commandName);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
exports.commandExistsSync = commandExistsSync;
|
|
116
|
+
//# sourceMappingURL=command-exists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-exists.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAoGA,sEAoBC;AAxHD,iDAAoD;AAEpD,mCAAkC;AAElC,MAAM,cAAc,GAAG,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC;AAEnD,MAAM,aAAa,GAAG,UAAU,WAAW,EAAE,QAAQ;IACnD,kBAAG,CAAC,MAAM,CAAC,WAAW,EAAE,kBAAG,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG;QACvD,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC;IACjB,CAAC,CAAC,CAAC;AACL,CAAC,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,IAAI,OAAO,CAAC,UAAU,OAAO,EAAE,MAAM;YAC1C,6BAA6B,CAAC,WAAW,EAAE,UAAU,KAAK,EAAE,MAAM;gBAChE,IAAI,MAAM,EAAE,CAAC;oBACX,OAAO,CAAC,WAAW,CAAC,CAAC;gBACvB,CAAC;qBAAM,CAAC;oBACN,MAAM,CAAC,KAAK,CAAC,CAAC;gBAChB,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IACD,IAAI,cAAc,EAAE,CAAC;QACnB,oBAAoB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;SAAM,CAAC;QACN,iBAAiB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC3C,CAAC;AACH,CAAC;AAEM,MAAM,iBAAiB,GAAG,CAAC,WAAmB,EAAE,EAAE;IACvD,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAC/C,CAAC;SAAM,CAAC;QACN,OAAO,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAC5C,CAAC;AACH,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B"}
|
|
@@ -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-core.example.domain.com",
|
|
8
|
+
"title": "Tnp Core"
|
|
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:10.000Z",
|
|
32
|
+
"hash": "20915f302ec9bc35c500deba0aed77e7074d4dcf"
|
|
33
|
+
},
|
|
34
|
+
"currentProjectName": "tnp-core",
|
|
35
|
+
"currentProjectType": "isomorphic-lib",
|
|
36
|
+
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"tnp-core/src\":[\"./src/lib\"],\"tnp-core/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,6BAA6B;QACvC,OAAO,EAAE,UAAU;KACpB;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,UAAU;IAChC,oBAAoB,EAAE,gBAAgB;IACtC,eAAe,EAAE,2IAA2I;CAC7J,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;
|
package/lib/node-chalk-mock.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1766569215996 = dummy1766569215996;
|
|
4
|
+
function dummy1766569215996() { }
|
|
5
5
|
//# sourceMappingURL=node-chalk-mock.js.map
|
package/lib/node-path-mock.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1766569216007 = dummy1766569216007;
|
|
4
|
+
function dummy1766569216007() { }
|
|
5
5
|
//# sourceMappingURL=node-path-mock.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const requiredForDev: {
|
|
2
|
+
npm: ({
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
installName: string;
|
|
6
|
+
} | {
|
|
7
|
+
name: string;
|
|
8
|
+
version: string;
|
|
9
|
+
installName?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
name: string;
|
|
12
|
+
version?: undefined;
|
|
13
|
+
installName?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
name: string;
|
|
16
|
+
installName: string;
|
|
17
|
+
version?: undefined;
|
|
18
|
+
})[];
|
|
19
|
+
niceTools: ({
|
|
20
|
+
name: string;
|
|
21
|
+
platform?: undefined;
|
|
22
|
+
installName?: undefined;
|
|
23
|
+
isNotCli?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
name: string;
|
|
26
|
+
platform: string;
|
|
27
|
+
installName?: undefined;
|
|
28
|
+
isNotCli?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
name: string;
|
|
31
|
+
installName: string;
|
|
32
|
+
platform?: undefined;
|
|
33
|
+
isNotCli?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
name: string;
|
|
36
|
+
isNotCli: boolean;
|
|
37
|
+
platform?: undefined;
|
|
38
|
+
installName?: undefined;
|
|
39
|
+
})[];
|
|
40
|
+
programs: {
|
|
41
|
+
name: string;
|
|
42
|
+
website: string;
|
|
43
|
+
}[];
|
|
44
|
+
};
|
package/lib/required.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.requiredForDev = void 0;
|
|
4
|
+
exports.requiredForDev = {
|
|
5
|
+
npm: [
|
|
6
|
+
//#region @backend
|
|
7
|
+
// { name: '@angular/cli', version: '13' },
|
|
8
|
+
{ name: 'ncc', version: '0.36.0', installName: '@vercel/ncc' },
|
|
9
|
+
{ name: 'extract-zip', version: '1.6.7' },
|
|
10
|
+
// { name: 'watch', version: '1.0.2' },
|
|
11
|
+
{ name: 'cpr' },
|
|
12
|
+
{ name: 'check-node-version' },
|
|
13
|
+
{ name: 'npm-run', version: '4.1.2' },
|
|
14
|
+
{ name: 'rimraf', version: '3.0.2' },
|
|
15
|
+
{ name: 'mkdirp' },
|
|
16
|
+
// { name: 'renamer', version: '2.0.1' },
|
|
17
|
+
{ name: 'nodemon' },
|
|
18
|
+
// { name: 'madge' },
|
|
19
|
+
{ name: 'yarn' },
|
|
20
|
+
{ name: 'taon-http-server' },
|
|
21
|
+
// { name: 'bower' },
|
|
22
|
+
{ name: 'prettier' },
|
|
23
|
+
{ name: 'fkill', installName: 'fkill-cli' },
|
|
24
|
+
// { name: 'yo' },
|
|
25
|
+
{ name: 'mocha' },
|
|
26
|
+
{ name: 'jest' },
|
|
27
|
+
// { name: 'chai' },
|
|
28
|
+
{ name: 'ts-node' },
|
|
29
|
+
{ name: 'taon-vsce' },
|
|
30
|
+
// { name: 'stmux' },
|
|
31
|
+
{ name: 'webpack-bundle-analyzer' },
|
|
32
|
+
// { name: 'ng', installName: '@angular/cli' },
|
|
33
|
+
// { name: 'ngx-pwa-icons', version: '0.1.2' },
|
|
34
|
+
// { name: 'real-favicon', installName: 'cli-real-favicon' },
|
|
35
|
+
{ name: 'babel', installName: 'babel-cli' },
|
|
36
|
+
{ name: 'javascript-obfuscator', version: '4' },
|
|
37
|
+
{ name: 'uglifyjs', installName: 'uglify-js' },
|
|
38
|
+
//#endregion
|
|
39
|
+
],
|
|
40
|
+
niceTools: [
|
|
41
|
+
//#region @backend
|
|
42
|
+
{ name: 'speed-test' },
|
|
43
|
+
{ name: 'npm-name' }, // check if name is available on npm
|
|
44
|
+
{ name: 'vantage', platform: 'linux' }, // inspect you live applicaiton
|
|
45
|
+
{ name: 'clinic', platform: 'linux' }, // check why nodejs is slow
|
|
46
|
+
{ name: 'vtop', platform: 'linux' }, // inspect you live applicaiton,
|
|
47
|
+
{ name: 'public-ip' },
|
|
48
|
+
{ name: 'empty-trash' },
|
|
49
|
+
{ name: 'is-up' }, // check if website is ok
|
|
50
|
+
{ name: 'is-online' }, // check if internet is ok,
|
|
51
|
+
{ name: 'ttystudio' }, // record terminal actions,
|
|
52
|
+
{ name: 'bcat' }, // redirect any stream to browser,
|
|
53
|
+
{ name: 'wifi-password', installName: 'wifi-password-cli' },
|
|
54
|
+
{ name: 'wallpaper', installName: 'wallpaper-cli' },
|
|
55
|
+
{ name: 'brightness', installName: 'brightness-cli' },
|
|
56
|
+
{ name: 'subdownloader' },
|
|
57
|
+
{ name: 'rtail' }, // monitor multiple server
|
|
58
|
+
{ name: 'iponmap' }, // show ip in terminal map,
|
|
59
|
+
{ name: 'jsome' }, // display colored jsons,
|
|
60
|
+
{ name: 'drawille', isNotCli: true }, // 3d drwa in temrinal
|
|
61
|
+
{ name: 'columnify', isNotCli: true }, // draw nice columns in node,
|
|
62
|
+
{ name: 'multispinner', isNotCli: true }, // progres for multiple async actions
|
|
63
|
+
{ name: 'cfonts' }, // draw super nice fonts in console
|
|
64
|
+
//#endregion
|
|
65
|
+
],
|
|
66
|
+
programs: [
|
|
67
|
+
,
|
|
68
|
+
//#region @backend
|
|
69
|
+
{
|
|
70
|
+
name: 'code',
|
|
71
|
+
website: 'https://code.visualstudio.com/',
|
|
72
|
+
},
|
|
73
|
+
//#endregion
|
|
74
|
+
],
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=required.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"required.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAI;IAC7B,GAAG,EAAE;QACH,kBAAkB;QAClB,2CAA2C;QAC3C,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE;QAC9D,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE;QACzC,uCAAuC;QACvC,EAAE,IAAI,EAAE,KAAK,EAAE;QACf,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9B,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;QACpC,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,yCAAyC;QACzC,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,qBAAqB;QACrB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,E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E,kCAAkC;QACpD,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,mBAAmB,EAAE;QAC3D,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE;QACnD,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE;QACrD,EAAE,IAAI,EAAE,eAAe,EAAE;QACzB,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,0BAA0B;QAC7C,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,2BAA2B;QAChD,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,yBAAyB;QAC5C,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,sBAAsB;QAC5D,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,6BAA6B;QACpE,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,qCAAqC;QAC/E,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,mCAAmC;QACvD,YAAY;KACb;IACD,QAAQ,EAAE;QACR,AADS;QAET,kBAAkB;QAClB;YACE,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,gCAAgC;SAC1C;QACD,YAAY;KACb;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"website": {
|
|
3
|
+
"domain": "tnp-core.example.domain.com",
|
|
4
|
+
"title": "Tnp Core"
|
|
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:10.000Z",
|
|
28
|
+
"hash": "20915f302ec9bc35c500deba0aed77e7074d4dcf"
|
|
29
|
+
},
|
|
30
|
+
"currentProjectName": "tnp-core",
|
|
31
|
+
"currentProjectType": "isomorphic-lib",
|
|
32
|
+
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"tnp-core/src\":[\"./src/lib\"],\"tnp-core/src/*\":[\"./src/lib/*\"]},"
|
|
33
|
+
}
|
package/websql/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tnp-core/websql",
|
|
3
|
-
"version": "21.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
3
|
+
"version": "21.0.22",
|
|
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-websql.mjs",
|
|
12
|
+
"typings": "types/tnp-core-websql.d.ts",
|
|
6
13
|
"exports": {
|
|
7
14
|
"./package.json": {
|
|
8
15
|
"default": "./package.json"
|