tnp-config 13.1.53 → 13.1.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.
Files changed (37) hide show
  1. package/README.md +3 -3
  2. package/app.d.ts +2 -2
  3. package/browser/README.md +24 -24
  4. package/browser/esm2020/lib/config.mjs +757 -764
  5. package/browser/esm2020/lib/index.mjs +3 -3
  6. package/browser/esm2020/public-api.mjs +1 -1
  7. package/browser/esm2020/tnp-config.mjs +4 -4
  8. package/browser/fesm2015/tnp-config.mjs +680 -687
  9. package/browser/fesm2020/tnp-config.mjs +750 -757
  10. package/browser/lib/config.d.ts +224 -224
  11. package/browser/tnp-config.d.ts +4 -4
  12. package/client/README.md +24 -24
  13. package/client/esm2020/lib/config.mjs +757 -764
  14. package/client/esm2020/lib/index.mjs +3 -3
  15. package/client/esm2020/public-api.mjs +1 -1
  16. package/client/esm2020/tnp-config.mjs +4 -4
  17. package/client/fesm2015/tnp-config.mjs +680 -687
  18. package/client/fesm2020/tnp-config.mjs +750 -757
  19. package/client/lib/config.d.ts +224 -224
  20. package/client/tnp-config.d.ts +4 -4
  21. package/index.d.ts +1 -1
  22. package/lib/config.d.ts +425 -425
  23. package/lib/config.js +11 -18
  24. package/lib/index.d.ts +1 -1
  25. package/package.json +3 -3
  26. package/package.json_devDependencies.json +218 -218
  27. package/package.json_tnp.json5 +35 -35
  28. package/tmp-environment.json +13 -12
  29. package/websql/README.md +24 -24
  30. package/websql/esm2020/lib/config.mjs +757 -764
  31. package/websql/esm2020/lib/index.mjs +3 -3
  32. package/websql/esm2020/public-api.mjs +1 -1
  33. package/websql/esm2020/tnp-config.mjs +4 -4
  34. package/websql/fesm2015/tnp-config.mjs +680 -687
  35. package/websql/fesm2020/tnp-config.mjs +750 -757
  36. package/websql/lib/config.d.ts +224 -224
  37. package/websql/tnp-config.d.ts +4 -4
@@ -1,226 +1,226 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Dariusz Filipiak
4
- * @author darekf77@gmail.com
5
- * Recommended config for all isomorphic libs *
6
- */
7
- export { CoreHelpers as Helpers } from 'tnp-core/browser';
8
- export declare namespace ConfigModels {
9
- type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
10
- type UIFramework = 'bootstrap' | 'material' | 'ionic';
11
- type FrameworkVersion = 'v1' | 'v2' | 'v3';
12
- type CutableFileExt = 'scss' | 'css' | 'sass' | 'html' | 'ts';
13
- type ImageFileExtension = 'jpg' | 'jpeg' | 'png' | 'svg';
14
- type FileExtension = 'ts' | 'js' | 'json' | 'html' | ImageFileExtension | 'txt' | CutableFileExt;
15
- type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch' | 'head' | 'jsonp';
16
- type ParamType = 'Path' | 'Query' | 'Cookie' | 'Header' | 'Body';
17
- type TsUsage = 'import' | 'export';
18
- type LibType = 'unknow' | 'isomorphic-lib' | 'angular-lib' | 'electron-client' | 'ionic-lib' | 'angular-client' | 'ionic-client' | 'workspace' | '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';
19
- type NewFactoryType = LibType | 'model' | 'single-file-project';
20
- type CoreLibCategory = LibType | 'common';
21
- interface Position {
22
- x: number;
23
- y: number;
24
- }
25
- interface Size {
26
- w: number;
27
- h: number;
28
- }
29
- interface GlobalNpmDependency {
30
- name: string;
31
- installName?: string;
32
- version?: string | number;
33
- }
34
- interface GlobalCommandLineProgramDependency {
35
- name: string;
36
- website: string;
37
- version?: string;
38
- }
39
- interface GlobalDependencies {
40
- npm?: GlobalNpmDependency[];
41
- programs?: GlobalCommandLineProgramDependency[];
42
- }
43
- type FileEvent = 'created' | 'changed' | 'removed' | 'rename';
44
- type OutFolder = 'dist' | 'bundle' | 'browser';
45
- type FormlyInputType = 'input' | 'switch' | 'datepicker' | 'repeat' | 'group';
46
- type DatabaseType = 'better-sqlite3' | 'sqlite' | 'mysql';
47
- }
48
- export declare const GlobalLibTypeName: {};
49
- export declare const LibTypeArr: ConfigModels.LibType[];
50
- export declare const CoreLibCategoryArr: ConfigModels.CoreLibCategory[];
51
- export declare const config: {
52
- packagesThat: {
53
- areTrustedForPatchUpdate: any[];
54
- };
55
- coreProjectVersions: string[];
56
- quickFixes: {};
57
- packageJsonSplit: any[];
58
- regexString: {
59
- pathPartStringRegex: string;
60
- };
61
- placeholders: {
62
- forProjectsInEnvironmentFile: string;
63
- };
64
- array: {
65
- isomorphicPackages: string;
66
- };
67
- defaultFrameworkVersion: ConfigModels.FrameworkVersion;
68
- CONST: {};
69
- debug: {};
70
- frameworkName: "firedev" | "tnp";
71
- frameworkNames: {
72
- tnp: string;
73
- firedev: string;
74
- };
75
- startPort: number;
76
- frameworks: ConfigModels.UIFramework[];
77
- allowedEnvironments: ConfigModels.EnvironmentName[];
78
- folder: {
79
- bundle: string;
80
- vendor: string;
81
- docs: string;
82
- dist: string;
83
- tmp: string;
84
- tmpBundleRelease: string;
85
- tempSrc: string;
86
- tempSrcDist: string;
87
- previewDistApp: string;
88
- preview: string;
89
- browser: string;
90
- websql: string;
91
- _browser: string;
92
- module: string;
93
- backup: string;
94
- node_modules: string;
95
- client: string;
96
- tnp_tests_context: string;
97
- tmpPackage: string;
98
- tmpScenarios: string;
99
- tmpTestsEnvironments: string;
100
- testsEnvironments: string;
101
- scripts: string;
102
- scenarios: string;
103
- bower: string;
104
- src: string;
105
- out: string;
106
- app: string;
107
- lib: string;
108
- libs: string;
109
- source: string;
110
- custom: string;
111
- components: string;
112
- assets: string;
113
- apps: string;
114
- workspace: string;
115
- container: string;
116
- bin: string;
117
- _bin: string;
118
- _vscode: string;
119
- project: string;
120
- external: string;
121
- tmpDist: string;
122
- tmpFor(d: ConfigModels.OutFolder): string;
123
- targetProjects: {
124
- DEFAULT_PATH_GENERATED: string;
125
- DEFAULT_PATH_ORIGINS: string;
126
- };
127
- };
128
- tempFolders: {
129
- bundle: string;
130
- vendor: string;
131
- docs: string;
132
- dist: string;
133
- tmp: string;
134
- tmpBundleRelease: string;
135
- tempSrc: string;
136
- tempSrcDist: string;
137
- previewDistApp: string;
138
- preview: string;
139
- browser: string;
140
- websql: string;
141
- _browser: string;
142
- module: string;
143
- backup: string;
144
- node_modules: string;
145
- client: string;
146
- tnp_tests_context: string;
147
- tmpPackage: string;
148
- tmpScenarios: string;
149
- tmpTestsEnvironments: string;
150
- testsEnvironments: string;
151
- };
152
- filesNotAllowedToClean: string[];
153
- file: {
154
- _bowerrc: string;
155
- bower_json: string;
156
- controllers_ts: string;
157
- entities_ts: string;
158
- angular_json: string;
159
- autob_actions_js: string;
160
- local_config_js: string;
161
- build_config_js: string;
162
- local_config: string;
163
- start_backend_ts: string;
164
- package_json: string;
165
- result_packages_json: string;
166
- package_json5: string;
167
- package_json__tnp_json: string;
168
- package_json__tnp_json5: string;
169
- package_json__devDependencies_json: string;
170
- yarn_lock: string;
171
- package_lock_json: string;
172
- tnpEnvironment_json: string;
173
- environment: string;
174
- environment_js: string;
175
- tmp_transaction_pid_txt: string;
176
- manifest_webmanifest: string;
177
- public_api_d_ts: string;
178
- public_api_ts: string;
179
- public_api: string;
180
- _babelrc: string;
181
- index: string;
182
- index_d_ts: string;
183
- index_ts: string;
184
- index_js: string;
185
- index_js_map: string;
186
- db_json: string;
187
- db_for_tests_json: string;
188
- tmpDockerImageId: string;
189
- tmp_recent_json: string;
190
- tmpIsomorphicPackagesJson: string;
191
- tsconfig_json: string;
192
- README_MD: string;
193
- server_key: string;
194
- server_cert: string;
195
- server_chain_cert: string;
196
- meta_config_md: string;
197
- };
198
- default: {};
199
- SUBERIZED_PREFIX: string;
200
- names: {
201
- env: {};
202
- baseline: string;
203
- defaultServer: string;
204
- };
205
- reservedArgumentsNamesUglify: string[];
206
- extensions: {};
207
- notFiredevProjects: ConfigModels.LibType[];
208
- /**
209
- * Build allowed types
210
- */
211
- allowedTypes: {};
212
- moduleNameAngularLib: any[];
213
- moduleNameIsomorphicLib: any[];
214
- filesExtensions: {
215
- filetemplate: string;
216
- styles: any[];
217
- };
218
- projectTypes: {};
219
- localLibs: any[];
220
- helpAlias: string[];
221
- required: {
222
- npm: any[];
223
- niceTools: any[];
224
- programs: any[];
225
- };
2
+ /**
3
+ * Dariusz Filipiak
4
+ * @author darekf77@gmail.com
5
+ * Recommended config for all isomorphic libs *
6
+ */
7
+ export { CoreHelpers as Helpers } from 'tnp-core/browser';
8
+ export declare namespace ConfigModels {
9
+ type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
10
+ type UIFramework = 'bootstrap' | 'material' | 'ionic';
11
+ type FrameworkVersion = 'v1' | 'v2' | 'v3';
12
+ type CutableFileExt = 'scss' | 'css' | 'sass' | 'html' | 'ts';
13
+ type ImageFileExtension = 'jpg' | 'jpeg' | 'png' | 'svg';
14
+ type FileExtension = 'ts' | 'js' | 'json' | 'html' | ImageFileExtension | 'txt' | CutableFileExt;
15
+ type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch' | 'head' | 'jsonp';
16
+ type ParamType = 'Path' | 'Query' | 'Cookie' | 'Header' | 'Body';
17
+ type TsUsage = 'import' | 'export';
18
+ type LibType = 'unknow' | 'isomorphic-lib' | 'angular-lib' | 'electron-client' | 'ionic-lib' | 'angular-client' | 'ionic-client' | 'workspace' | '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';
19
+ type NewFactoryType = LibType | 'model' | 'single-file-project';
20
+ type CoreLibCategory = LibType | 'common';
21
+ interface Position {
22
+ x: number;
23
+ y: number;
24
+ }
25
+ interface Size {
26
+ w: number;
27
+ h: number;
28
+ }
29
+ interface GlobalNpmDependency {
30
+ name: string;
31
+ installName?: string;
32
+ version?: string | number;
33
+ }
34
+ interface GlobalCommandLineProgramDependency {
35
+ name: string;
36
+ website: string;
37
+ version?: string;
38
+ }
39
+ interface GlobalDependencies {
40
+ npm?: GlobalNpmDependency[];
41
+ programs?: GlobalCommandLineProgramDependency[];
42
+ }
43
+ type FileEvent = 'created' | 'changed' | 'removed' | 'rename';
44
+ type OutFolder = 'dist' | 'bundle' | 'browser';
45
+ type FormlyInputType = 'input' | 'switch' | 'datepicker' | 'repeat' | 'group';
46
+ type DatabaseType = 'better-sqlite3' | 'mysql';
47
+ }
48
+ export declare const GlobalLibTypeName: {};
49
+ export declare const LibTypeArr: ConfigModels.LibType[];
50
+ export declare const CoreLibCategoryArr: ConfigModels.CoreLibCategory[];
51
+ export declare const config: {
52
+ packagesThat: {
53
+ areTrustedForPatchUpdate: any[];
54
+ };
55
+ coreProjectVersions: string[];
56
+ quickFixes: {};
57
+ packageJsonSplit: any[];
58
+ regexString: {
59
+ pathPartStringRegex: string;
60
+ };
61
+ placeholders: {
62
+ forProjectsInEnvironmentFile: string;
63
+ };
64
+ array: {
65
+ isomorphicPackages: string;
66
+ };
67
+ defaultFrameworkVersion: ConfigModels.FrameworkVersion;
68
+ CONST: {};
69
+ debug: {};
70
+ frameworkName: "firedev" | "tnp";
71
+ frameworkNames: {
72
+ tnp: string;
73
+ firedev: string;
74
+ };
75
+ startPort: number;
76
+ frameworks: ConfigModels.UIFramework[];
77
+ allowedEnvironments: ConfigModels.EnvironmentName[];
78
+ folder: {
79
+ bundle: string;
80
+ vendor: string;
81
+ docs: string;
82
+ dist: string;
83
+ tmp: string;
84
+ tmpBundleRelease: string;
85
+ tempSrc: string;
86
+ tempSrcDist: string;
87
+ previewDistApp: string;
88
+ preview: string;
89
+ browser: string;
90
+ websql: string;
91
+ _browser: string;
92
+ module: string;
93
+ backup: string;
94
+ node_modules: string;
95
+ client: string;
96
+ tnp_tests_context: string;
97
+ tmpPackage: string;
98
+ tmpScenarios: string;
99
+ tmpTestsEnvironments: string;
100
+ testsEnvironments: string;
101
+ scripts: string;
102
+ scenarios: string;
103
+ bower: string;
104
+ src: string;
105
+ out: string;
106
+ app: string;
107
+ lib: string;
108
+ libs: string;
109
+ source: string;
110
+ custom: string;
111
+ components: string;
112
+ assets: string;
113
+ apps: string;
114
+ workspace: string;
115
+ container: string;
116
+ bin: string;
117
+ _bin: string;
118
+ _vscode: string;
119
+ project: string;
120
+ external: string;
121
+ tmpDist: string;
122
+ tmpFor(d: ConfigModels.OutFolder): string;
123
+ targetProjects: {
124
+ DEFAULT_PATH_GENERATED: string;
125
+ DEFAULT_PATH_ORIGINS: string;
126
+ };
127
+ };
128
+ tempFolders: {
129
+ bundle: string;
130
+ vendor: string;
131
+ docs: string;
132
+ dist: string;
133
+ tmp: string;
134
+ tmpBundleRelease: string;
135
+ tempSrc: string;
136
+ tempSrcDist: string;
137
+ previewDistApp: string;
138
+ preview: string;
139
+ browser: string;
140
+ websql: string;
141
+ _browser: string;
142
+ module: string;
143
+ backup: string;
144
+ node_modules: string;
145
+ client: string;
146
+ tnp_tests_context: string;
147
+ tmpPackage: string;
148
+ tmpScenarios: string;
149
+ tmpTestsEnvironments: string;
150
+ testsEnvironments: string;
151
+ };
152
+ filesNotAllowedToClean: string[];
153
+ file: {
154
+ _bowerrc: string;
155
+ bower_json: string;
156
+ controllers_ts: string;
157
+ entities_ts: string;
158
+ angular_json: string;
159
+ autob_actions_js: string;
160
+ local_config_js: string;
161
+ build_config_js: string;
162
+ local_config: string;
163
+ start_backend_ts: string;
164
+ package_json: string;
165
+ result_packages_json: string;
166
+ package_json5: string;
167
+ package_json__tnp_json: string;
168
+ package_json__tnp_json5: string;
169
+ package_json__devDependencies_json: string;
170
+ yarn_lock: string;
171
+ package_lock_json: string;
172
+ tnpEnvironment_json: string;
173
+ environment: string;
174
+ environment_js: string;
175
+ tmp_transaction_pid_txt: string;
176
+ manifest_webmanifest: string;
177
+ public_api_d_ts: string;
178
+ public_api_ts: string;
179
+ public_api: string;
180
+ _babelrc: string;
181
+ index: string;
182
+ index_d_ts: string;
183
+ index_ts: string;
184
+ index_js: string;
185
+ index_js_map: string;
186
+ db_json: string;
187
+ db_for_tests_json: string;
188
+ tmpDockerImageId: string;
189
+ tmp_recent_json: string;
190
+ tmpIsomorphicPackagesJson: string;
191
+ tsconfig_json: string;
192
+ README_MD: string;
193
+ server_key: string;
194
+ server_cert: string;
195
+ server_chain_cert: string;
196
+ meta_config_md: string;
197
+ };
198
+ default: {};
199
+ SUBERIZED_PREFIX: string;
200
+ names: {
201
+ env: {};
202
+ baseline: string;
203
+ defaultServer: string;
204
+ };
205
+ reservedArgumentsNamesUglify: string[];
206
+ extensions: {};
207
+ notFiredevProjects: ConfigModels.LibType[];
208
+ /**
209
+ * Build allowed types
210
+ */
211
+ allowedTypes: {};
212
+ moduleNameAngularLib: any[];
213
+ moduleNameIsomorphicLib: any[];
214
+ filesExtensions: {
215
+ filetemplate: string;
216
+ styles: any[];
217
+ };
218
+ projectTypes: {};
219
+ localLibs: any[];
220
+ helpAlias: string[];
221
+ required: {
222
+ npm: any[];
223
+ niceTools: any[];
224
+ programs: any[];
225
+ };
226
226
  };
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated bundle index. Do not edit.
4
- */
5
- /// <amd-module name="tnp-config" />
2
+ /**
3
+ * Generated bundle index. Do not edit.
4
+ */
5
+ /// <amd-module name="tnp-config" />
6
6
  export * from './public-api';
package/client/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.