tnp-config 13.0.29 → 13.0.33
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/app.js +1 -1
- package/browser/esm2020/lib/config.mjs +5 -3
- package/browser/fesm2015/tnp-config.mjs +4 -2
- package/browser/fesm2015/tnp-config.mjs.map +1 -1
- package/browser/fesm2020/tnp-config.mjs +4 -2
- package/browser/fesm2020/tnp-config.mjs.map +1 -1
- package/browser/lib/config.d.ts +2 -0
- package/client/esm2020/lib/config.mjs +5 -3
- package/client/fesm2015/tnp-config.mjs +4 -2
- package/client/fesm2015/tnp-config.mjs.map +1 -1
- package/client/fesm2020/tnp-config.mjs +4 -2
- package/client/fesm2020/tnp-config.mjs.map +1 -1
- package/client/lib/config.d.ts +2 -0
- package/index.js +1 -1
- package/lib/config.d.ts +4 -2
- package/lib/config.js +7 -5
- package/lib/config.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +5 -5
- package/package.json_tnp.json5 +5 -0
- package/tmp-environment.json +59 -58
- package/websql/README.md +24 -0
- package/websql/esm2020/lib/config.mjs +719 -0
- package/websql/esm2020/lib/index.mjs +2 -0
- package/websql/esm2020/public-api.mjs +2 -0
- package/websql/esm2020/tnp-config.mjs +5 -0
- package/websql/fesm2015/tnp-config.mjs +654 -0
- package/websql/fesm2015/tnp-config.mjs.map +1 -0
- package/websql/fesm2020/tnp-config.mjs +719 -0
- package/websql/fesm2020/tnp-config.mjs.map +1 -0
- package/websql/lib/config.d.ts +316 -0
- package/websql/lib/index.d.ts +1 -0
- package/websql/package.json +31 -0
- package/websql/public-api.d.ts +1 -0
- package/websql/tnp-config.d.ts +5 -0
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './config';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlLXdlYnNxbC90bnAtY29uZmlnL3Byb2plY3RzL3RucC1jb25maWcvc3JjL2xpYi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29uZmlnJztcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './lib';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUtd2Vic3FsL3RucC1jb25maWcvcHJvamVjdHMvdG5wLWNvbmZpZy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public-api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG5wLWNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUtd2Vic3FsL3RucC1jb25maWcvcHJvamVjdHMvdG5wLWNvbmZpZy9zcmMvdG5wLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
@@ -0,0 +1,654 @@
|
|
1
|
+
export { CoreHelpers as Helpers } from 'tnp-core/websql';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Dariusz Filipiak
|
5
|
+
* @author darekf77@gmail.com
|
6
|
+
* Recommended config for all isomorphic libs *
|
7
|
+
*/
|
8
|
+
const GlobalLibTypeName = {
|
9
|
+
isomorphicLib: 'isomorphic-lib',
|
10
|
+
angularLib: 'angular-lib',
|
11
|
+
electronClient: 'electron-client',
|
12
|
+
ionicLib: 'ionic-lib',
|
13
|
+
angularClient: 'angular-client',
|
14
|
+
ionicClient: 'ionic-client',
|
15
|
+
workspace: 'workspace',
|
16
|
+
container: 'container',
|
17
|
+
docker: 'docker',
|
18
|
+
unknowNpmProject: 'unknow-npm-project',
|
19
|
+
vscodeExt: 'vscode-ext',
|
20
|
+
chromeExt: 'chrome-ext',
|
21
|
+
singleFileProject: 'single-file-project',
|
22
|
+
navi: 'navi',
|
23
|
+
scenario: 'scenario'
|
24
|
+
};
|
25
|
+
const LibTypeArr = [
|
26
|
+
GlobalLibTypeName.angularLib,
|
27
|
+
GlobalLibTypeName.isomorphicLib,
|
28
|
+
GlobalLibTypeName.angularClient,
|
29
|
+
GlobalLibTypeName.ionicClient,
|
30
|
+
GlobalLibTypeName.electronClient,
|
31
|
+
GlobalLibTypeName.workspace,
|
32
|
+
GlobalLibTypeName.container,
|
33
|
+
GlobalLibTypeName.docker,
|
34
|
+
GlobalLibTypeName.unknowNpmProject,
|
35
|
+
GlobalLibTypeName.vscodeExt,
|
36
|
+
GlobalLibTypeName.chromeExt,
|
37
|
+
GlobalLibTypeName.navi,
|
38
|
+
GlobalLibTypeName.scenario,
|
39
|
+
];
|
40
|
+
const CoreLibCategoryArr = [
|
41
|
+
GlobalLibTypeName.angularLib,
|
42
|
+
GlobalLibTypeName.isomorphicLib,
|
43
|
+
GlobalLibTypeName.angularClient,
|
44
|
+
GlobalLibTypeName.electronClient,
|
45
|
+
GlobalLibTypeName.ionicClient,
|
46
|
+
GlobalLibTypeName.docker,
|
47
|
+
'common'
|
48
|
+
];
|
49
|
+
//#endregion
|
50
|
+
const allowedEnvironments = ['static', 'dev', 'prod', 'stage', 'online', 'test', 'qa', 'custom'];
|
51
|
+
const allowedEnvironmentsObj = {};
|
52
|
+
allowedEnvironments.forEach(s => {
|
53
|
+
// @ts-ignore
|
54
|
+
allowedEnvironmentsObj[s] = s;
|
55
|
+
});
|
56
|
+
const firedev = 'firedev';
|
57
|
+
const morphi = 'morphi';
|
58
|
+
/* */
|
59
|
+
/* */
|
60
|
+
const urlMorphi = 'https://github.com/darekf77/morphi.git';
|
61
|
+
const filesNotAllowedToClean = {
|
62
|
+
_gitignore: '.gitignore',
|
63
|
+
_npmrc: '.npmrc',
|
64
|
+
_npmignore: '.npmignore',
|
65
|
+
tslint_json: 'tslint.json',
|
66
|
+
_editorconfig: '.editorconfig',
|
67
|
+
_angularCli_json: '.angular-cli.json',
|
68
|
+
_vscode_launch_json: '.vscode/launch.json',
|
69
|
+
};
|
70
|
+
const file = Object.assign({ _bowerrc: '.bowerrc', bower_json: 'bower.json', controllers_ts: 'controllers.ts', entities_ts: 'entities.ts', angular_json: 'angular.json', autob_actions_js: 'auto-actions.js', local_config_js: 'local-config.js', build_config_js: 'build-config.js', local_config: 'local-config', start_backend_ts: 'start.backend.ts', package_json: 'package.json', result_packages_json: 'result-packages.json', package_json5: 'package.json5', package_json__tnp_json: 'package.json_tnp.json', package_json__tnp_json5: 'package.json_tnp.json5', package_json__devDependencies_json: 'package.json_devDependencies.json', yarn_lock: 'yarn.lock', package_lock_json: 'package-lock.json', tnpEnvironment_json: 'tmp-environment.json', environment: 'environment', environment_js: 'environment.js', tmp_transaction_pid_txt: 'tmp-transaction-pid.txt', manifest_webmanifest: 'manifest.webmanifest', publicApi_ts: 'public_api.ts', publicApi_d_ts: 'public_api.d.ts', publicapi_ts: 'public-api.ts', _babelrc: '.babelrc', index_d_ts: 'index.d.ts', index_ts: 'index.ts', index_js: 'index.js', index_js_map: 'index.js.map', db_json: 'db.json', db_for_tests_json: 'db-for-tests.json', tmpDockerImageId: 'tmp-docker-image-id', tmp_recent_json: 'recent.json', tmpIsomorphicPackagesJson: 'tmp-isomorphic-packages.json', tsconfig_json: 'tsconfig.json', README_MD: 'README.md', server_key: 'server.key', server_cert: 'server.cert', server_chain_cert: 'server-chain.cert', meta_config_md: 'meta-content.md' }, filesNotAllowedToClean);
|
71
|
+
const packageJsonSplit = [
|
72
|
+
file.package_json__tnp_json,
|
73
|
+
file.package_json__tnp_json5,
|
74
|
+
file.package_json__devDependencies_json,
|
75
|
+
];
|
76
|
+
const tempFolders = {
|
77
|
+
bundle: 'bundle',
|
78
|
+
vendor: 'vendor',
|
79
|
+
docs: 'docs',
|
80
|
+
dist: 'dist',
|
81
|
+
tmp: 'tmp',
|
82
|
+
tmpBundleRelease: 'tmp-bundle-release',
|
83
|
+
tempSrc: 'tmp-src',
|
84
|
+
tempSrcDist: 'tmp-src-dist',
|
85
|
+
previewDistApp: 'dist-app',
|
86
|
+
preview: 'preview',
|
87
|
+
browser: 'browser',
|
88
|
+
websql: 'websql',
|
89
|
+
_browser: '.browser',
|
90
|
+
module: 'module',
|
91
|
+
backup: 'backup',
|
92
|
+
node_modules: 'node_modules',
|
93
|
+
client: 'client',
|
94
|
+
tnp_tests_context: 'tmp-tests-context',
|
95
|
+
tmpPackage: 'tmp-package',
|
96
|
+
tmpScenarios: 'tmp-scenarios',
|
97
|
+
tmpTestsEnvironments: 'tmp-tests-environments',
|
98
|
+
testsEnvironments: 'tests-environments',
|
99
|
+
};
|
100
|
+
const stylesFilesExtension = [
|
101
|
+
'css',
|
102
|
+
'sass',
|
103
|
+
'scss',
|
104
|
+
'less',
|
105
|
+
];
|
106
|
+
const folder = Object.assign({ scripts: 'scripts', scenarios: 'scenarios', bower: 'bower', src: 'src', out: 'out', lib: 'lib', custom: 'custom', components: 'components', assets: 'assets', apps: 'apps',
|
107
|
+
// entities: 'entities',
|
108
|
+
// controllers: 'controllers',
|
109
|
+
// projects: 'projects',
|
110
|
+
workspace: 'workspace', container: 'container', bin: 'bin', _bin: '.bin', _vscode: '.vscode', project: 'project', external: 'external', tmpDist: 'tmp-dist', tmpFor(d) {
|
111
|
+
return `tmp-src-${d}`;
|
112
|
+
}, targetProjects: {
|
113
|
+
DEFAULT_PATH_GENERATED: 'tmp-target-projects/generated',
|
114
|
+
DEFAULT_PATH_ORIGINS: 'tmp-target-projects/origins',
|
115
|
+
} }, tempFolders);
|
116
|
+
// @LAST RESOLVE TNP LOCATION !!! for each context and RELEASE TNP-CONFIG
|
117
|
+
let dirnameForTnp;
|
118
|
+
/* */
|
119
|
+
/* */
|
120
|
+
const firedevProjectsRelative = `../firedev-projects`;
|
121
|
+
/* */
|
122
|
+
/* */
|
123
|
+
/* */
|
124
|
+
/* */
|
125
|
+
/* */
|
126
|
+
/* */
|
127
|
+
/* */
|
128
|
+
/* */
|
129
|
+
/* */
|
130
|
+
/* */
|
131
|
+
/* */
|
132
|
+
/* */
|
133
|
+
/* */
|
134
|
+
/* */
|
135
|
+
/* */
|
136
|
+
/* */
|
137
|
+
/* */
|
138
|
+
/* */
|
139
|
+
/* */
|
140
|
+
/* */
|
141
|
+
/* */
|
142
|
+
/* */
|
143
|
+
/* */
|
144
|
+
/* */
|
145
|
+
/* */
|
146
|
+
/* */
|
147
|
+
/* */
|
148
|
+
/* */
|
149
|
+
/* */
|
150
|
+
/* */
|
151
|
+
/* */
|
152
|
+
/* */
|
153
|
+
/* */
|
154
|
+
/* */
|
155
|
+
/* */
|
156
|
+
/* */
|
157
|
+
/* */
|
158
|
+
/* */
|
159
|
+
/* */
|
160
|
+
/* */
|
161
|
+
/* */
|
162
|
+
/* */
|
163
|
+
/* */
|
164
|
+
/* */
|
165
|
+
/* */
|
166
|
+
/* */
|
167
|
+
/* */
|
168
|
+
/* */
|
169
|
+
/* */
|
170
|
+
/* */
|
171
|
+
/* */
|
172
|
+
/* */
|
173
|
+
/* */
|
174
|
+
/* */
|
175
|
+
/* */
|
176
|
+
/* */
|
177
|
+
/* */
|
178
|
+
/* */
|
179
|
+
/* */
|
180
|
+
/* */
|
181
|
+
/* */
|
182
|
+
/* */
|
183
|
+
/* */
|
184
|
+
/* */
|
185
|
+
/* */
|
186
|
+
/* */
|
187
|
+
/* */
|
188
|
+
/* */
|
189
|
+
/* */
|
190
|
+
/* */
|
191
|
+
/* */
|
192
|
+
/* */
|
193
|
+
/* */
|
194
|
+
/* */
|
195
|
+
/* */
|
196
|
+
/* */
|
197
|
+
/* */
|
198
|
+
/* */
|
199
|
+
/* */
|
200
|
+
/* */
|
201
|
+
/* */
|
202
|
+
/* */
|
203
|
+
const moduleNameAngularLib = [
|
204
|
+
folder.components,
|
205
|
+
folder.module,
|
206
|
+
folder.dist,
|
207
|
+
folder.browser,
|
208
|
+
];
|
209
|
+
const moduleNameIsomorphicLib = [
|
210
|
+
folder.src,
|
211
|
+
folder.dist,
|
212
|
+
folder.browser,
|
213
|
+
];
|
214
|
+
const argsReplacementsBuild = {
|
215
|
+
// SHORTCUTS
|
216
|
+
'ba': 'build:app',
|
217
|
+
'baw': 'build:app:watch',
|
218
|
+
'bw': 'build:watch',
|
219
|
+
'bap': 'build:app:prod',
|
220
|
+
'bapw': 'build:app:prod:watch',
|
221
|
+
// (dist)app build for normal development - watch is ng serve
|
222
|
+
'bda': 'build:dist:app',
|
223
|
+
'bdaw': 'build:dist:app:watch',
|
224
|
+
// (dist)app build for normal development (PRODUCTION MINIFIED CODE)
|
225
|
+
'badpw': 'build:app:dist:prod:watch',
|
226
|
+
'badp': 'build:app:dist:prod',
|
227
|
+
// (dist)lib build - watch is ng build
|
228
|
+
'bd': 'build:dist', 'bdw': 'build:dist:watch',
|
229
|
+
// (dist)lib build - watch is ng build (PRODUCTION MINIFIED CODE)
|
230
|
+
'bdp': 'build:dist:prod', 'bdpw': 'build:dist:prod:watch',
|
231
|
+
// (bundle)app build for static code (firedev plugins, project final code, etc.)
|
232
|
+
'bba': 'build:bundle:app', 'bbaw': 'build:bundle:app:watch',
|
233
|
+
// (bunle)lib build for static code (firedev plugins, project final code, etc.)
|
234
|
+
'bb': 'build:bundle', 'bbw': 'build:bundle:watch',
|
235
|
+
// (bunle)lib build for static code with ng build (PRODUCTION MINIFIED CODE)
|
236
|
+
'bbp': 'build:bundle:prod', 'bbpw': 'build:bundle:prod:watch',
|
237
|
+
'sb': 'static:build',
|
238
|
+
'sbp': 'static:build:prod',
|
239
|
+
'sbd': 'static:build:dist',
|
240
|
+
'sbl': 'static:build:lib',
|
241
|
+
'sba': 'static:build:app',
|
242
|
+
'cb': 'clean:build'
|
243
|
+
};
|
244
|
+
const argsReplacementsOther = {
|
245
|
+
// github docs
|
246
|
+
'ghpush': 'githubpush',
|
247
|
+
'ghpull': 'githubpull',
|
248
|
+
// last
|
249
|
+
'l': 'last',
|
250
|
+
'sl': 'show:last',
|
251
|
+
'lb': 'last:build',
|
252
|
+
// install
|
253
|
+
'i': 'install',
|
254
|
+
'si': 'sinstall',
|
255
|
+
'il': 'install:locally',
|
256
|
+
'rc': 'recommit',
|
257
|
+
// release
|
258
|
+
'rp': 'release:prod',
|
259
|
+
'r': 'release',
|
260
|
+
'rmajor': 'release:major',
|
261
|
+
'rminor': 'release:minor',
|
262
|
+
// 'ra': 'release:all',
|
263
|
+
'ar': 'auto:release',
|
264
|
+
// versopm
|
265
|
+
'--version': 'version',
|
266
|
+
'-v': 'version',
|
267
|
+
// open
|
268
|
+
'occ': 'open:core:container',
|
269
|
+
'ocp': 'open:core:project',
|
270
|
+
// test
|
271
|
+
'twd': 'test:watch:debug',
|
272
|
+
'tdw': 'test:watch:debug',
|
273
|
+
'tw': 'test:watch',
|
274
|
+
'td': 'test:debug',
|
275
|
+
't': 'test',
|
276
|
+
// git push
|
277
|
+
'pt': 'push:tag',
|
278
|
+
'p': 'push',
|
279
|
+
'pa': 'pushalll',
|
280
|
+
// other
|
281
|
+
'sj': 'select:java',
|
282
|
+
'scm': 'showcoremodules',
|
283
|
+
'tpu': 'target:proj:update',
|
284
|
+
'ugd': 'update:global:deps',
|
285
|
+
'ud': 'update:deps',
|
286
|
+
'dgl': 'detect:global:libs',
|
287
|
+
'pr': 'print:relatives',
|
288
|
+
};
|
289
|
+
const areTrustedForPatchUpdate = [
|
290
|
+
'@angular',
|
291
|
+
'@ngrx',
|
292
|
+
'rxjs',
|
293
|
+
'zone.js',
|
294
|
+
'tslib',
|
295
|
+
'typescript',
|
296
|
+
'webpack'
|
297
|
+
];
|
298
|
+
const config = {
|
299
|
+
packagesThat: {
|
300
|
+
areTrustedForPatchUpdate,
|
301
|
+
},
|
302
|
+
/* */
|
303
|
+
/* */
|
304
|
+
/* */
|
305
|
+
/* */
|
306
|
+
/* */
|
307
|
+
/* */
|
308
|
+
/* */
|
309
|
+
/* */
|
310
|
+
/* */
|
311
|
+
/* */
|
312
|
+
coreProjectVersions: ['v1', 'v2', 'v3'],
|
313
|
+
quickFixes: {
|
314
|
+
missingLibs: [
|
315
|
+
'react-native-sqlite-storage'
|
316
|
+
]
|
317
|
+
},
|
318
|
+
packageJsonSplit,
|
319
|
+
regexString: {
|
320
|
+
pathPartStringRegex: `(\/([a-zA-Z0-9]|\\-|\\_|\\+|\\.)*)`
|
321
|
+
},
|
322
|
+
placeholders: {
|
323
|
+
forProjectsInEnvironmentFile: '//<PLACEHOLDER_FOR_PROJECTS>'
|
324
|
+
},
|
325
|
+
array: {
|
326
|
+
isomorphicPackages: 'isomorphicPackages'
|
327
|
+
},
|
328
|
+
defaultFrameworkVersion: 'v3',
|
329
|
+
CONST: {
|
330
|
+
UNIT_TEST_TIMEOUT: 30000,
|
331
|
+
INTEGRATION_TEST: 30000,
|
332
|
+
BACKEND_HTTP_REQUEST_TIMEOUT: 3000,
|
333
|
+
},
|
334
|
+
debug: {
|
335
|
+
sourceModifier: [],
|
336
|
+
baselineSiteJoin: {
|
337
|
+
DEBUG_PATHES: [
|
338
|
+
// "src/apps/auth/AuthController.ts",
|
339
|
+
// '/src/app/+preview-components/preview-components.component.ts',
|
340
|
+
// '/src/controllers.ts',
|
341
|
+
// '/src/app/+preview-components/components/+preview-buildtnpprocess/preview-buildtnpprocess.component.ts'
|
342
|
+
],
|
343
|
+
DEBUG_MERGE_PATHES: [
|
344
|
+
// "src/apps/auth/AuthController.ts",
|
345
|
+
// '/src/app/+preview-components/components/+preview-buildtnpprocess/preview-buildtnpprocess.component.ts'
|
346
|
+
// '/components/formly/base-components/editor/editor-wrapper.component.ts'
|
347
|
+
// '/src/app/+preview-components/components/+preview-buildtnpprocess/preview-buildtnpprocess.component.ts'
|
348
|
+
]
|
349
|
+
}
|
350
|
+
},
|
351
|
+
/* */
|
352
|
+
/* */
|
353
|
+
frameworkNames: {
|
354
|
+
tnp: 'tnp',
|
355
|
+
firedev: 'firedev'
|
356
|
+
},
|
357
|
+
startPort: 6001,
|
358
|
+
frameworks: ['bootstrap', 'ionic', 'material'],
|
359
|
+
/* */
|
360
|
+
/* */
|
361
|
+
/* */
|
362
|
+
/* */
|
363
|
+
/* */
|
364
|
+
/* */
|
365
|
+
/* */
|
366
|
+
/* */
|
367
|
+
/* */
|
368
|
+
/* */
|
369
|
+
/* */
|
370
|
+
/* */
|
371
|
+
/* */
|
372
|
+
/* */
|
373
|
+
/* */
|
374
|
+
/* */
|
375
|
+
/* */
|
376
|
+
/* */
|
377
|
+
/* */
|
378
|
+
/* */
|
379
|
+
/* */
|
380
|
+
/* */
|
381
|
+
/* */
|
382
|
+
/* */
|
383
|
+
/* */
|
384
|
+
/* */
|
385
|
+
/* */
|
386
|
+
/* */
|
387
|
+
/* */
|
388
|
+
/* */
|
389
|
+
/* */
|
390
|
+
/* */
|
391
|
+
/* */
|
392
|
+
/* */
|
393
|
+
/* */
|
394
|
+
/* */
|
395
|
+
/* */
|
396
|
+
/* */
|
397
|
+
/* */
|
398
|
+
/* */
|
399
|
+
/* */
|
400
|
+
/* */
|
401
|
+
/* */
|
402
|
+
/* */
|
403
|
+
/* */
|
404
|
+
/* */
|
405
|
+
/* */
|
406
|
+
/* */
|
407
|
+
/* */
|
408
|
+
/* */
|
409
|
+
/* */
|
410
|
+
/* */
|
411
|
+
/* */
|
412
|
+
/* */
|
413
|
+
/* */
|
414
|
+
/* */
|
415
|
+
/* */
|
416
|
+
/* */
|
417
|
+
/* */
|
418
|
+
/* */
|
419
|
+
/* */
|
420
|
+
/* */
|
421
|
+
/* */
|
422
|
+
/* */
|
423
|
+
/* */
|
424
|
+
/* */
|
425
|
+
/* */
|
426
|
+
/* */
|
427
|
+
/* */
|
428
|
+
/* */
|
429
|
+
/* */
|
430
|
+
/* */
|
431
|
+
/* */
|
432
|
+
/* */
|
433
|
+
/* */
|
434
|
+
/* */
|
435
|
+
/* */
|
436
|
+
/* */
|
437
|
+
/* */
|
438
|
+
/* */
|
439
|
+
/* */
|
440
|
+
/* */
|
441
|
+
/* */
|
442
|
+
/* */
|
443
|
+
/* */
|
444
|
+
/* */
|
445
|
+
/* */
|
446
|
+
/* */
|
447
|
+
/* */
|
448
|
+
/* */
|
449
|
+
/* */
|
450
|
+
/* */
|
451
|
+
/* */
|
452
|
+
/* */
|
453
|
+
/* */
|
454
|
+
/* */
|
455
|
+
/* */
|
456
|
+
/* */
|
457
|
+
allowedEnvironments,
|
458
|
+
folder,
|
459
|
+
tempFolders,
|
460
|
+
// @ts-ignore
|
461
|
+
filesNotAllowedToClean: Object.keys(filesNotAllowedToClean).map(key => filesNotAllowedToClean[key]),
|
462
|
+
file,
|
463
|
+
default: {
|
464
|
+
cloud: {
|
465
|
+
environment: {
|
466
|
+
name: 'online'
|
467
|
+
}
|
468
|
+
}
|
469
|
+
},
|
470
|
+
SUBERIZED_PREFIX: `---stuberized`,
|
471
|
+
names: {
|
472
|
+
env: allowedEnvironmentsObj,
|
473
|
+
baseline: 'baseline',
|
474
|
+
defaultServer: 'default server',
|
475
|
+
},
|
476
|
+
reservedArgumentsNamesUglify: [
|
477
|
+
'reservedExpOne',
|
478
|
+
'reservedExpSec'
|
479
|
+
],
|
480
|
+
extensions: {
|
481
|
+
/**
|
482
|
+
* Modify source: import,export, requires
|
483
|
+
*/
|
484
|
+
get modificableByReplaceFn() {
|
485
|
+
return [
|
486
|
+
'ts',
|
487
|
+
'js',
|
488
|
+
...stylesFilesExtension,
|
489
|
+
].map(f => `.${f}`);
|
490
|
+
},
|
491
|
+
},
|
492
|
+
notFiredevProjects: [
|
493
|
+
'unknow', 'unknow-npm-project', 'scenario', 'navi'
|
494
|
+
],
|
495
|
+
/**
|
496
|
+
* Build allowed types
|
497
|
+
*/
|
498
|
+
allowedTypes: {
|
499
|
+
/**
|
500
|
+
* Projects for build:app:watch command
|
501
|
+
*/
|
502
|
+
app: [
|
503
|
+
GlobalLibTypeName.angularClient,
|
504
|
+
GlobalLibTypeName.angularLib,
|
505
|
+
GlobalLibTypeName.isomorphicLib,
|
506
|
+
GlobalLibTypeName.ionicClient,
|
507
|
+
GlobalLibTypeName.docker,
|
508
|
+
GlobalLibTypeName.container,
|
509
|
+
GlobalLibTypeName.vscodeExt,
|
510
|
+
],
|
511
|
+
/**
|
512
|
+
* Projects for build:(dist|bundle):(watch) command
|
513
|
+
*/
|
514
|
+
libs: [
|
515
|
+
GlobalLibTypeName.angularLib,
|
516
|
+
GlobalLibTypeName.isomorphicLib,
|
517
|
+
GlobalLibTypeName.workspace,
|
518
|
+
GlobalLibTypeName.container,
|
519
|
+
GlobalLibTypeName.docker,
|
520
|
+
GlobalLibTypeName.vscodeExt,
|
521
|
+
]
|
522
|
+
},
|
523
|
+
moduleNameAngularLib,
|
524
|
+
moduleNameIsomorphicLib,
|
525
|
+
filesExtensions: {
|
526
|
+
filetemplate: 'filetemplate',
|
527
|
+
styles: stylesFilesExtension,
|
528
|
+
},
|
529
|
+
projectTypes: {
|
530
|
+
forNpmLibs: [
|
531
|
+
GlobalLibTypeName.angularLib,
|
532
|
+
GlobalLibTypeName.isomorphicLib,
|
533
|
+
],
|
534
|
+
with: {
|
535
|
+
angularAsCore: [
|
536
|
+
GlobalLibTypeName.angularClient,
|
537
|
+
GlobalLibTypeName.angularLib,
|
538
|
+
GlobalLibTypeName.ionicClient,
|
539
|
+
],
|
540
|
+
componetsAsSrc: [
|
541
|
+
GlobalLibTypeName.angularLib,
|
542
|
+
],
|
543
|
+
}
|
544
|
+
},
|
545
|
+
// environmentName,
|
546
|
+
localLibs: [
|
547
|
+
'eslint',
|
548
|
+
'mkdirp',
|
549
|
+
'gulp',
|
550
|
+
'npm-run',
|
551
|
+
'rimraf',
|
552
|
+
'nodemon',
|
553
|
+
'release-it',
|
554
|
+
'tsc',
|
555
|
+
'watch',
|
556
|
+
'http-server',
|
557
|
+
'ts-node',
|
558
|
+
'sort-package-json',
|
559
|
+
'concurrently',
|
560
|
+
'sloc',
|
561
|
+
'morphi'
|
562
|
+
],
|
563
|
+
helpAlias: [
|
564
|
+
'-h',
|
565
|
+
'--help',
|
566
|
+
'-help',
|
567
|
+
'help'
|
568
|
+
],
|
569
|
+
required: {
|
570
|
+
npm: [
|
571
|
+
{ name: '@angular/cli', version: '13' },
|
572
|
+
{ name: 'extract-zip', version: '1.6.7' },
|
573
|
+
{ name: 'watch', version: '1.0.2' },
|
574
|
+
{ name: 'cpr' },
|
575
|
+
{ name: 'check-node-version' },
|
576
|
+
{ name: 'npm-run', version: '4.1.2' },
|
577
|
+
{ name: 'rimraf' },
|
578
|
+
{ name: 'mkdirp' },
|
579
|
+
{ name: 'renamer', version: '2.0.1' },
|
580
|
+
{ name: 'nodemon' },
|
581
|
+
{ name: 'madge' },
|
582
|
+
{ name: 'yarn' },
|
583
|
+
{ name: 'http-server' },
|
584
|
+
{ name: 'increase-memory-limit' },
|
585
|
+
{ name: 'bower' },
|
586
|
+
{ name: 'fkill', installName: 'fkill-cli' },
|
587
|
+
// { name: 'yo' },
|
588
|
+
{ name: 'mocha' },
|
589
|
+
// { name: 'chai' },
|
590
|
+
{ name: 'ts-node' },
|
591
|
+
{ name: 'vsce' },
|
592
|
+
// { name: 'stmux' },
|
593
|
+
{ name: 'webpack-bundle-analyzer' },
|
594
|
+
// { name: 'ng', installName: '@angular/cli' },
|
595
|
+
// { name: 'ngx-pwa-icons', version: '0.1.2' },
|
596
|
+
// { name: 'real-favicon', installName: 'cli-real-favicon' },
|
597
|
+
{ name: 'babel', installName: 'babel-cli' },
|
598
|
+
{ name: 'javascript-obfuscator', version: '4' },
|
599
|
+
{ name: 'uglifyjs', installName: 'uglify-js' },
|
600
|
+
],
|
601
|
+
niceTools: [
|
602
|
+
{ name: 'speed-test' },
|
603
|
+
{ name: 'npm-name' },
|
604
|
+
{ name: 'vantage', platform: 'linux' },
|
605
|
+
{ name: 'clinic', platform: 'linux' },
|
606
|
+
{ name: 'vtop', platform: 'linux' },
|
607
|
+
{ name: 'public-ip' },
|
608
|
+
{ name: 'empty-trash' },
|
609
|
+
{ name: 'is-up' },
|
610
|
+
{ name: 'is-online' },
|
611
|
+
{ name: 'ttystudio' },
|
612
|
+
{ name: 'bcat' },
|
613
|
+
{ name: 'wifi-password', installName: 'wifi-password-cli' },
|
614
|
+
{ name: 'wallpaper', installName: 'wallpaper-cli' },
|
615
|
+
{ name: 'brightness', installName: 'brightness-cli' },
|
616
|
+
{ name: 'subdownloader' },
|
617
|
+
{ name: 'rtail' },
|
618
|
+
{ name: 'iponmap' },
|
619
|
+
{ name: 'jsome' },
|
620
|
+
{ name: 'drawille', isNotCli: true },
|
621
|
+
{ name: 'columnify', isNotCli: true },
|
622
|
+
{ name: 'multispinner', isNotCli: true },
|
623
|
+
{ name: 'cfonts' }, // draw super nice fonts in console
|
624
|
+
],
|
625
|
+
programs: [,
|
626
|
+
{
|
627
|
+
name: 'code',
|
628
|
+
website: 'https://code.visualstudio.com/'
|
629
|
+
}
|
630
|
+
]
|
631
|
+
}
|
632
|
+
};
|
633
|
+
// export const GlobalIsomorphicDependencies: ConfigModels.GlobalDependencies = {
|
634
|
+
// npm: [
|
635
|
+
// { name: 'rimraf' },
|
636
|
+
// { name: 'npm-run', version: '4.1.2' },
|
637
|
+
// { name: 'cpr' },
|
638
|
+
// { name: 'check-node-version' },
|
639
|
+
// { name: 'vsce' },
|
640
|
+
// ],
|
641
|
+
// programs: [
|
642
|
+
// // {
|
643
|
+
// // name: 'code',
|
644
|
+
// // website: 'https://code.visualstudio.com/'
|
645
|
+
// // }
|
646
|
+
// ] as { name: string; website: string }[]
|
647
|
+
// };
|
648
|
+
|
649
|
+
/**
|
650
|
+
* Generated bundle index. Do not edit.
|
651
|
+
*/
|
652
|
+
|
653
|
+
export { CoreLibCategoryArr, GlobalLibTypeName, LibTypeArr, config };
|
654
|
+
//# sourceMappingURL=tnp-config.mjs.map
|