tnp-config 13.1.51 → 13.1.53
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/esm2020/lib/config.mjs +96 -102
- package/browser/fesm2015/tnp-config.mjs +29 -105
- package/browser/fesm2020/tnp-config.mjs +95 -101
- package/browser/lib/config.d.ts +119 -3
- package/client/esm2020/lib/config.mjs +96 -102
- package/client/fesm2015/tnp-config.mjs +29 -105
- package/client/fesm2020/tnp-config.mjs +95 -101
- package/client/lib/config.d.ts +119 -3
- package/lib/config.js +3 -13
- package/package.json +2 -2
- package/tmp-environment.json +8 -8
- package/websql/esm2020/lib/config.mjs +96 -102
- package/websql/fesm2015/tnp-config.mjs +29 -105
- package/websql/fesm2020/tnp-config.mjs +95 -101
- package/websql/lib/config.d.ts +119 -3
@@ -80,51 +80,50 @@ const filesNotAllowedToClean = {
|
|
80
80
|
/* */
|
81
81
|
};
|
82
82
|
const file = {
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
/* */
|
83
|
+
_bowerrc: '.bowerrc',
|
84
|
+
bower_json: 'bower.json',
|
85
|
+
controllers_ts: 'controllers.ts',
|
86
|
+
entities_ts: 'entities.ts',
|
87
|
+
angular_json: 'angular.json',
|
88
|
+
autob_actions_js: 'auto-actions.js',
|
89
|
+
local_config_js: 'local-config.js',
|
90
|
+
build_config_js: 'build-config.js',
|
91
|
+
local_config: 'local-config',
|
92
|
+
start_backend_ts: 'start.backend.ts',
|
93
|
+
package_json: 'package.json',
|
94
|
+
result_packages_json: 'result-packages.json',
|
95
|
+
package_json5: 'package.json5',
|
96
|
+
package_json__tnp_json: 'package.json_tnp.json',
|
97
|
+
package_json__tnp_json5: 'package.json_tnp.json5',
|
98
|
+
package_json__devDependencies_json: 'package.json_devDependencies.json',
|
99
|
+
yarn_lock: 'yarn.lock',
|
100
|
+
package_lock_json: 'package-lock.json',
|
101
|
+
tnpEnvironment_json: 'tmp-environment.json',
|
102
|
+
environment: 'environment',
|
103
|
+
environment_js: 'environment.js',
|
104
|
+
tmp_transaction_pid_txt: 'tmp-transaction-pid.txt',
|
105
|
+
manifest_webmanifest: 'manifest.webmanifest',
|
106
|
+
public_api_d_ts: 'public-api.d.ts',
|
107
|
+
public_api_ts: 'public-api.ts',
|
108
|
+
public_api: 'public-api',
|
109
|
+
_babelrc: '.babelrc',
|
110
|
+
index: 'index',
|
111
|
+
index_d_ts: 'index.d.ts',
|
112
|
+
index_ts: 'index.ts',
|
113
|
+
index_js: 'index.js',
|
114
|
+
index_js_map: 'index.js.map',
|
115
|
+
db_json: 'db.json',
|
116
|
+
db_for_tests_json: 'db-for-tests.json',
|
117
|
+
tmpDockerImageId: 'tmp-docker-image-id',
|
118
|
+
tmp_recent_json: 'recent.json',
|
119
|
+
tmpIsomorphicPackagesJson: 'tmp-isomorphic-packages.json',
|
120
|
+
tsconfig_json: 'tsconfig.json',
|
121
|
+
README_MD: 'README.md',
|
122
|
+
server_key: 'server.key',
|
123
|
+
server_cert: 'server.cert',
|
124
|
+
server_chain_cert: 'server-chain.cert',
|
125
|
+
meta_config_md: 'meta-content.md',
|
126
|
+
...filesNotAllowedToClean
|
128
127
|
};
|
129
128
|
const packageJsonSplit = [
|
130
129
|
/* */
|
@@ -133,29 +132,28 @@ const packageJsonSplit = [
|
|
133
132
|
/* */
|
134
133
|
];
|
135
134
|
const tempFolders = {
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
/* */
|
135
|
+
bundle: 'bundle',
|
136
|
+
vendor: 'vendor',
|
137
|
+
docs: 'docs',
|
138
|
+
dist: 'dist',
|
139
|
+
tmp: 'tmp',
|
140
|
+
tmpBundleRelease: 'tmp-bundle-release',
|
141
|
+
tempSrc: 'tmp-src',
|
142
|
+
tempSrcDist: 'tmp-src-dist',
|
143
|
+
previewDistApp: 'dist-app',
|
144
|
+
preview: 'preview',
|
145
|
+
browser: 'browser',
|
146
|
+
websql: 'websql',
|
147
|
+
_browser: '.browser',
|
148
|
+
module: 'module',
|
149
|
+
backup: 'backup',
|
150
|
+
node_modules: 'node_modules',
|
151
|
+
client: 'client',
|
152
|
+
tnp_tests_context: 'tmp-tests-context',
|
153
|
+
tmpPackage: 'tmp-package',
|
154
|
+
tmpScenarios: 'tmp-scenarios',
|
155
|
+
tmpTestsEnvironments: 'tmp-tests-environments',
|
156
|
+
testsEnvironments: 'tests-environments',
|
159
157
|
};
|
160
158
|
const stylesFilesExtension = [
|
161
159
|
/* */
|
@@ -165,39 +163,35 @@ const stylesFilesExtension = [
|
|
165
163
|
/* */
|
166
164
|
];
|
167
165
|
const folder = {
|
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
|
-
/* */
|
166
|
+
scripts: 'scripts',
|
167
|
+
scenarios: 'scenarios',
|
168
|
+
bower: 'bower',
|
169
|
+
src: 'src',
|
170
|
+
out: 'out',
|
171
|
+
app: 'app',
|
172
|
+
lib: 'lib',
|
173
|
+
libs: 'libs',
|
174
|
+
source: 'source',
|
175
|
+
custom: 'custom',
|
176
|
+
components: 'components',
|
177
|
+
assets: 'assets',
|
178
|
+
apps: 'apps',
|
179
|
+
workspace: 'workspace',
|
180
|
+
container: 'container',
|
181
|
+
bin: 'bin',
|
182
|
+
_bin: '.bin',
|
183
|
+
_vscode: '.vscode',
|
184
|
+
project: 'project',
|
185
|
+
external: 'external',
|
186
|
+
tmpDist: 'tmp-dist',
|
187
|
+
tmpFor(d) {
|
188
|
+
return `tmp-src-${d}`;
|
189
|
+
},
|
190
|
+
targetProjects: {
|
191
|
+
DEFAULT_PATH_GENERATED: 'tmp-target-projects/generated',
|
192
|
+
DEFAULT_PATH_ORIGINS: 'tmp-target-projects/origins',
|
193
|
+
},
|
194
|
+
...tempFolders
|
201
195
|
};
|
202
196
|
let dirnameForTnp;
|
203
197
|
/* */
|
package/browser/lib/config.d.ts
CHANGED
@@ -75,10 +75,126 @@ export declare const config: {
|
|
75
75
|
startPort: number;
|
76
76
|
frameworks: ConfigModels.UIFramework[];
|
77
77
|
allowedEnvironments: ConfigModels.EnvironmentName[];
|
78
|
-
folder: {
|
79
|
-
|
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
|
+
};
|
80
152
|
filesNotAllowedToClean: string[];
|
81
|
-
file: {
|
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
|
+
};
|
82
198
|
default: {};
|
83
199
|
SUBERIZED_PREFIX: string;
|
84
200
|
names: {
|