tnp-config 16.5.15 → 16.5.24
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/esm2022/lib/config.mjs +7 -364
- package/browser/esm2022/lib/constants.mjs +1 -1
- package/browser/fesm2022/tnp-config.mjs +6 -363
- package/browser/fesm2022/tnp-config.mjs.map +1 -1
- package/browser/lib/config.d.ts +9 -131
- package/client/esm2022/lib/config.mjs +7 -364
- package/client/esm2022/lib/constants.mjs +1 -1
- package/client/fesm2022/tnp-config.mjs +6 -363
- package/client/fesm2022/tnp-config.mjs.map +1 -1
- package/client/lib/config.d.ts +9 -131
- package/client/package.json +37 -34
- package/lib/config.d.ts +10 -259
- package/lib/config.js +38 -353
- package/lib/config.js.map +1 -1
- package/lib/constants.js.map +1 -1
- package/package.json +7 -4
- package/package.json_tnp.json5 +4 -1
- package/tmp-environment.json +41 -45
- package/websql/esm2022/lib/config.mjs +7 -364
- package/websql/esm2022/lib/constants.mjs +1 -1
- package/websql/fesm2022/tnp-config.mjs +6 -363
- package/websql/fesm2022/tnp-config.mjs.map +1 -1
- package/websql/lib/config.d.ts +9 -131
package/websql/lib/config.d.ts
CHANGED
@@ -1,118 +1,14 @@
|
|
1
1
|
// @ts-nocheck
|
2
|
-
|
3
|
-
* Dariusz Filipiak
|
4
|
-
* @author darekf77@gmail.com
|
5
|
-
* Recommended config for all isomorphic libs *
|
6
|
-
*/
|
7
|
-
import { ContentType } from 'tnp-core/websql';
|
2
|
+
import { CoreModels } from 'tnp-core/websql';
|
8
3
|
export { CoreHelpers as Helpers } from 'tnp-core/websql';
|
9
|
-
export declare namespace ConfigModels {
|
10
|
-
export type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
|
11
|
-
export type PUSHTYPE = 'feat' | 'chore' | 'feature' | 'refactor' | 'perf' | 'styles' | 'ci' | 'build' | 'fix' | 'bugfix' | 'release' | 'docs';
|
12
|
-
export type UIFramework = 'bootstrap' | 'material' | 'ionic';
|
13
|
-
export type FrameworkVersion = 'v1' | 'v2' | 'v3' | 'v4' | 'v5' | 'v6' | 'v7' | 'v8' | 'v9';
|
14
|
-
export type CutableFileExt = 'scss' | 'css' | 'sass' | 'html' | 'ts';
|
15
|
-
export type ImageFileExtension = 'jpg' | 'jpeg' | 'png' | 'svg';
|
16
|
-
export type FileExtension = 'ts' | 'js' | 'json' | 'html' | ImageFileExtension | 'txt' | CutableFileExt;
|
17
|
-
export type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch' | 'head' | 'jsonp';
|
18
|
-
export type ParamType = 'Path' | 'Query' | 'Cookie' | 'Header' | 'Body';
|
19
|
-
export type TsUsage = 'import' | 'export';
|
20
|
-
export interface UploadedBackendFile {
|
21
|
-
data: any;
|
22
|
-
encoding: string;
|
23
|
-
md5: string;
|
24
|
-
tempFilePath: string;
|
25
|
-
mimetype: ContentType;
|
26
|
-
mv: (path: any, callback: any) => any;
|
27
|
-
name: string;
|
28
|
-
truncated: boolean;
|
29
|
-
}
|
30
|
-
export interface VSCodeSettings {
|
31
|
-
'files.exclude': {
|
32
|
-
[files: string]: boolean;
|
33
|
-
};
|
34
|
-
'workbench.colorTheme': 'Default Light+' | 'Kimbie Dark';
|
35
|
-
'workbench.colorCustomizations': {
|
36
|
-
'activityBar.background'?: string;
|
37
|
-
'activityBar.foreground'?: string;
|
38
|
-
'statusBar.background'?: string;
|
39
|
-
};
|
40
|
-
}
|
41
|
-
export type LibType = 'unknow' | 'isomorphic-lib' | 'container' | 'docker' | 'vscode-ext' | 'chrome-ext' | 'unknow-npm-project' | 'scenario' | 'navi' | 'leaf' | 'game-engine-lib-pixi' | 'game-engine-lib-phaser' | 'game-engine-lib-excalibur' | 'game-engine-lib-babylon';
|
42
|
-
export type NewFactoryType = LibType | 'model' | 'single-file-project';
|
43
|
-
export type CoreLibCategory = LibType | 'common';
|
44
|
-
export interface Position {
|
45
|
-
x: number;
|
46
|
-
y: number;
|
47
|
-
}
|
48
|
-
export interface Size {
|
49
|
-
w: number;
|
50
|
-
h: number;
|
51
|
-
}
|
52
|
-
export interface GlobalNpmDependency {
|
53
|
-
name: string;
|
54
|
-
installName?: string;
|
55
|
-
version?: string | number;
|
56
|
-
}
|
57
|
-
export interface GlobalCommandLineProgramDependency {
|
58
|
-
name: string;
|
59
|
-
website: string;
|
60
|
-
version?: string;
|
61
|
-
}
|
62
|
-
export interface GlobalDependencies {
|
63
|
-
npm?: GlobalNpmDependency[];
|
64
|
-
programs?: GlobalCommandLineProgramDependency[];
|
65
|
-
}
|
66
|
-
export type FileEvent = 'created' | 'changed' | 'removed' | 'rename';
|
67
|
-
export type OutFolder = 'dist' | 'browser';
|
68
|
-
export type DatabaseType = 'better-sqlite3' | 'mysql';
|
69
|
-
export interface TsConfigJson {
|
70
|
-
extends: string;
|
71
|
-
exclude: string[];
|
72
|
-
compileOnSave: boolean;
|
73
|
-
compilerOptions: CompilerOptions;
|
74
|
-
angularCompilerOptions: AngularCompilerOptions;
|
75
|
-
}
|
76
|
-
interface AngularCompilerOptions {
|
77
|
-
fullTemplateTypeCheck: boolean;
|
78
|
-
strictInjectionParameters: boolean;
|
79
|
-
compilationMode: string;
|
80
|
-
preserveSymlinks: boolean;
|
81
|
-
enableIvy: boolean;
|
82
|
-
}
|
83
|
-
interface CompilerOptions {
|
84
|
-
baseUrl: string;
|
85
|
-
outDir: string;
|
86
|
-
sourceMap: boolean;
|
87
|
-
declaration: boolean;
|
88
|
-
strictNullChecks: boolean;
|
89
|
-
downlevelIteration: boolean;
|
90
|
-
experimentalDecorators: boolean;
|
91
|
-
emitDecoratorMetadata: boolean;
|
92
|
-
esModuleInterop: boolean;
|
93
|
-
module: string;
|
94
|
-
moduleResolution: string;
|
95
|
-
importHelpers: boolean;
|
96
|
-
skipLibCheck: boolean;
|
97
|
-
target: string;
|
98
|
-
typeRoots: string[];
|
99
|
-
types: string[];
|
100
|
-
lib: string[];
|
101
|
-
paths: {
|
102
|
-
[fullPackageName: string]: string[];
|
103
|
-
};
|
104
|
-
useDefineForClassFields: boolean;
|
105
|
-
}
|
106
|
-
export {};
|
107
|
-
}
|
108
4
|
export declare const GlobalLibTypeName: {};
|
109
|
-
export declare const LibTypeArr:
|
110
|
-
export declare const CoreLibCategoryArr:
|
5
|
+
export declare const LibTypeArr: CoreModels.LibType[];
|
6
|
+
export declare const CoreLibCategoryArr: CoreModels.CoreLibCategory[];
|
111
7
|
export declare const config: {
|
8
|
+
dirnameForTnp: string;
|
112
9
|
packagesThat: {
|
113
10
|
areTrustedForPatchUpdate: any[];
|
114
11
|
};
|
115
|
-
quickFixes: {};
|
116
12
|
packageJsonSplit: any[];
|
117
13
|
regexString: {
|
118
14
|
pathPartStringRegex: string;
|
@@ -123,19 +19,17 @@ export declare const config: {
|
|
123
19
|
array: {
|
124
20
|
isomorphicPackages: string;
|
125
21
|
};
|
126
|
-
defaultFrameworkVersion:
|
127
|
-
activeFramewrokVersions:
|
22
|
+
defaultFrameworkVersion: CoreModels.FrameworkVersion;
|
23
|
+
activeFramewrokVersions: CoreModels.FrameworkVersion[];
|
128
24
|
coreProjectVersions: string[];
|
129
|
-
CONST: {};
|
130
|
-
debug: {};
|
131
25
|
frameworkName: "firedev" | "tnp";
|
132
26
|
frameworkNames: {
|
133
27
|
tnp: string;
|
134
28
|
firedev: string;
|
135
29
|
};
|
136
30
|
startPort: number;
|
137
|
-
frameworks:
|
138
|
-
allowedEnvironments:
|
31
|
+
frameworks: CoreModels.UIFramework[];
|
32
|
+
allowedEnvironments: CoreModels.EnvironmentName[];
|
139
33
|
folder: {
|
140
34
|
vendor: string;
|
141
35
|
docs: string;
|
@@ -182,7 +76,7 @@ export declare const config: {
|
|
182
76
|
project: string;
|
183
77
|
external: string;
|
184
78
|
tmpDist: string;
|
185
|
-
tmpFor(d:
|
79
|
+
tmpFor(d: CoreModels.OutFolder): string;
|
186
80
|
targetProjects: {
|
187
81
|
DEFAULT_PATH_GENERATED: string;
|
188
82
|
DEFAULT_PATH_ORIGINS: string;
|
@@ -262,26 +156,10 @@ export declare const config: {
|
|
262
156
|
ric_proj_json: string;
|
263
157
|
};
|
264
158
|
default: {};
|
265
|
-
SUBERIZED_PREFIX: string;
|
266
|
-
names: {
|
267
|
-
env: {};
|
268
|
-
baseline: string;
|
269
|
-
defaultServer: string;
|
270
|
-
};
|
271
159
|
reservedArgumentsNamesUglify: string[];
|
272
|
-
extensions: {};
|
273
|
-
notFiredevProjects: ConfigModels.LibType[];
|
274
|
-
/**
|
275
|
-
* Build allowed types
|
276
|
-
*/
|
277
|
-
allowedTypes: {};
|
278
|
-
moduleNameAngularLib: any[];
|
279
|
-
moduleNameIsomorphicLib: any[];
|
280
160
|
filesExtensions: {
|
281
161
|
filetemplate: string;
|
282
|
-
styles: any[];
|
283
162
|
};
|
284
|
-
projectTypes: {};
|
285
163
|
localLibs: any[];
|
286
164
|
helpAlias: string[];
|
287
165
|
required: {
|