tnp 18.0.2 → 18.0.4
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/bin/start.js +217 -217
- package/bin/t +5 -5
- package/bin/t-debug +5 -5
- package/bin/t-debug-brk +4 -4
- package/bin/tnp +5 -5
- package/bin/tnp-debug +5 -5
- package/bin/tnp-debug-brk +4 -4
- package/browser/README.md +24 -24
- package/browser/esm2022/lib/project/abstract/base-local-release.mjs +4 -1
- package/browser/esm2022/lib/project/abstract/project.mjs +10 -1
- package/browser/fesm2022/tnp.mjs +9 -0
- package/browser/fesm2022/tnp.mjs.map +1 -1
- package/cli.js +127369 -150618
- package/client/README.md +24 -24
- package/client/esm2022/lib/project/abstract/base-local-release.mjs +4 -1
- package/client/esm2022/lib/project/abstract/project.mjs +10 -1
- package/client/fesm2022/tnp.mjs +9 -0
- package/client/fesm2022/tnp.mjs.map +1 -1
- package/firedev.jsonc +391 -391
- package/lib/project/abstract/base-local-release.js +7 -1
- package/lib/project/abstract/base-local-release.js.map +1 -1
- package/lib/project/abstract/project.js +18 -3
- package/lib/project/abstract/project.js.map +1 -1
- package/lib/project/cli/cli-_GLOBAL_.backend.js +3 -3
- package/lib/project/cli/cli-_GLOBAL_.backend.js.map +1 -1
- package/package.json +2 -2
- package/paste.vbs +52 -0
- package/path.txt +1 -1
- package/tmp-environment.json +43 -42
- package/websql/README.md +24 -24
- package/websql/esm2022/lib/project/abstract/base-local-release.mjs +4 -1
- package/websql/esm2022/lib/project/abstract/project.mjs +10 -1
- package/websql/fesm2022/tnp.mjs +9 -0
- package/websql/fesm2022/tnp.mjs.map +1 -1
- package/build/Release/fse.node +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
2
2
|
|
|
3
|
-
Assets from this folder are being shipped with this npm package (tnp@18.0.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (tnp@18.0.4)
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/bin/start.js
CHANGED
|
@@ -1,217 +1,217 @@
|
|
|
1
|
-
//#region @backend
|
|
2
|
-
//#region quick fixes
|
|
3
|
-
Error.stackTraceLimit = 100;
|
|
4
|
-
global.i0 = {
|
|
5
|
-
defineInjectable: function () { }
|
|
6
|
-
}
|
|
7
|
-
const process= require('process');
|
|
8
|
-
process.removeAllListeners('warning');
|
|
9
|
-
//#endregion
|
|
10
|
-
|
|
11
|
-
//#region resolve constants
|
|
12
|
-
const childprocsecretarg = '-childproc';
|
|
13
|
-
const isWinGitBash = (process.platform === 'win32');
|
|
14
|
-
const procType = (process.argv[1].endsWith('tnp') || process.argv[1].endsWith('firedev')) ? 'root'
|
|
15
|
-
: ((process.argv.find(a => a.startsWith(childprocsecretarg)))
|
|
16
|
-
? 'child-of-root'
|
|
17
|
-
: 'child-of-child'
|
|
18
|
-
);
|
|
19
|
-
const debugMode = (process.argv[1].endsWith('-debug') || process.argv[1].endsWith('-debug-brk'))
|
|
20
|
-
global.spinnerInParentProcess = (procType === 'child-of-root');
|
|
21
|
-
const orgArgv = JSON.parse(JSON.stringify(process.argv));
|
|
22
|
-
global.tnpNonInteractive = (typeof process.argv.find(a => a.startsWith('--tnpNonInteractive')) !== 'undefined');
|
|
23
|
-
const spinnerIsDefault = !tnpNonInteractive;
|
|
24
|
-
global.frameworkName = 'tnp';
|
|
25
|
-
|
|
26
|
-
global.globalSystemToolMode = true;
|
|
27
|
-
const verbose = process.argv.includes('-verbose')
|
|
28
|
-
global.hideLog = !verbose;
|
|
29
|
-
global.verboseLevel = 0;
|
|
30
|
-
|
|
31
|
-
global.skipCoreCheck = (typeof process.argv.find(a => a.startsWith('--skipCoreCheck')) !== 'undefined');
|
|
32
|
-
const verboseLevelExists = (typeof process.argv.find(a => a.startsWith('-verbose=')) !== 'undefined');
|
|
33
|
-
global.verboseLevel = (verboseLevelExists ? Number(
|
|
34
|
-
process.argv.find(a => {
|
|
35
|
-
const v = a.startsWith('-verbose=');
|
|
36
|
-
if (v) {
|
|
37
|
-
return v.replace('-verbose=', '');
|
|
38
|
-
}
|
|
39
|
-
})
|
|
40
|
-
) : 0) || 0;
|
|
41
|
-
|
|
42
|
-
if (!verbose && verboseLevelExists) {
|
|
43
|
-
global.hideLog = false;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const spinnerOnInArgs = process.argv.includes('-spinner');
|
|
49
|
-
const spinnerOffInArgs = (process.argv.includes('-spinner=false') || process.argv.includes('-spinner=off'));
|
|
50
|
-
//#endregion
|
|
51
|
-
|
|
52
|
-
//#region clear argument from variables
|
|
53
|
-
process.argv = process.argv.filter(a => !a.startsWith('-spinner'));
|
|
54
|
-
process.argv = process.argv.filter(a => a !== '-childproc');
|
|
55
|
-
process.argv = process.argv.filter(a => a !== '--skipCoreCheck');
|
|
56
|
-
process.argv = process.argv.filter(a => !a.startsWith('-verbose'));
|
|
57
|
-
//#endregion
|
|
58
|
-
|
|
59
|
-
//#region fix argument
|
|
60
|
-
process.argv = process.argv.map(a => {
|
|
61
|
-
if (a === '-websql') {
|
|
62
|
-
return '--websql'
|
|
63
|
-
}
|
|
64
|
-
return a;
|
|
65
|
-
})
|
|
66
|
-
//#endregion
|
|
67
|
-
|
|
68
|
-
//#region variables
|
|
69
|
-
let mode;
|
|
70
|
-
let start;
|
|
71
|
-
let startSpinner = spinnerIsDefault || spinnerOnInArgs;
|
|
72
|
-
if (spinnerOffInArgs) {
|
|
73
|
-
startSpinner = false;
|
|
74
|
-
}
|
|
75
|
-
if (procType === 'child-of-root' || debugMode) {
|
|
76
|
-
startSpinner = false;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (verbose || frameworkName === 'tnp' || global.skipCoreCheck) {
|
|
80
|
-
startSpinner = false;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
//#endregion
|
|
84
|
-
|
|
85
|
-
const path = require('path');
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
if (procType === 'child-of-root') {
|
|
89
|
-
global.spinner = {
|
|
90
|
-
start() {
|
|
91
|
-
process.send && process.send('start-spinner')
|
|
92
|
-
},
|
|
93
|
-
stop() {
|
|
94
|
-
process.send && process.send('stop-spinner')
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
if (startSpinner) {
|
|
100
|
-
//#region start spinner in processs
|
|
101
|
-
var ora = require('ora');
|
|
102
|
-
var spinner = ora();
|
|
103
|
-
spinner.start();
|
|
104
|
-
global.spinner = spinner;
|
|
105
|
-
|
|
106
|
-
const child_process = require('child_process');
|
|
107
|
-
const orgArgvForChild = orgArgv.filter(a => !a.startsWith('-spinner'));
|
|
108
|
-
|
|
109
|
-
const env = {
|
|
110
|
-
...process.env,
|
|
111
|
-
FORCE_COLOR: '1'
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
const cwd = process.cwd();
|
|
115
|
-
const argsToCHildProc = (`${orgArgvForChild.slice(2).join(' ')} ${global.verbose ? '-verbose' : ''} ${global.skipCoreCheck ? '--skipCoreCheck' : ''} `
|
|
116
|
-
+ `${spinnerOnInArgs ? '-spinner' : (spinnerOffInArgs ? '-spinner=off' : '')} ${childprocsecretarg}`).split(' ');
|
|
117
|
-
|
|
118
|
-
const proc = child_process.fork(crossPlatofrmPath(__filename), argsToCHildProc, {
|
|
119
|
-
env,
|
|
120
|
-
stdio: [0, 1, 2, 'ipc'],
|
|
121
|
-
cwd,
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
proc.on('exit', (code) => {
|
|
125
|
-
spinner.stop();
|
|
126
|
-
setTimeout(() => {
|
|
127
|
-
process.exit(code);
|
|
128
|
-
})
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
proc.on('message', message => {
|
|
132
|
-
message = (message ? message : '').trimLeft();
|
|
133
|
-
if (message === 'start-spinner') {
|
|
134
|
-
spinner.start();
|
|
135
|
-
} else if (message === 'stop-spinner') {
|
|
136
|
-
spinner.stop();
|
|
137
|
-
} else if (message.startsWith('info::')) {
|
|
138
|
-
setText((message));
|
|
139
|
-
} else if (message.startsWith('success::')) {
|
|
140
|
-
setText((message));
|
|
141
|
-
} else if (message.startsWith('taskstart::')) {
|
|
142
|
-
setText((message));
|
|
143
|
-
} else if (message.startsWith('taskdone::')) {
|
|
144
|
-
setText((message));
|
|
145
|
-
} else if (message.startsWith('error::')) {
|
|
146
|
-
setText((message));
|
|
147
|
-
} else if (message.startsWith('log::')) {
|
|
148
|
-
setText((message), true);
|
|
149
|
-
} else if (message.startsWith('warn::')) {
|
|
150
|
-
setText((message));
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
// process.stdin.resume(); // not needed ?
|
|
155
|
-
//#endregion
|
|
156
|
-
} else {
|
|
157
|
-
//#region child or child of child
|
|
158
|
-
|
|
159
|
-
//#region uknow dist or npm mode
|
|
160
|
-
const fs = require('fs');
|
|
161
|
-
|
|
162
|
-
const pathToDistRun = path.join(__dirname, '../dist/cli.js');
|
|
163
|
-
const pathToIndexRun = path.join(__dirname, '../cli.js');
|
|
164
|
-
const distExist = fs.existsSync(pathToDistRun);
|
|
165
|
-
|
|
166
|
-
if (distExist) {
|
|
167
|
-
mode = 'dist';
|
|
168
|
-
!global.hideLog && setText('- firedev dist -', true);
|
|
169
|
-
// TODO TOOOO MUCH TIME !!!!!!
|
|
170
|
-
start = require(pathToDistRun.replace(/\.js$/g, '')).default;
|
|
171
|
-
} else {
|
|
172
|
-
mode = 'npm';
|
|
173
|
-
!global.hideLog && setText('- npm mode -', true);
|
|
174
|
-
start = require(pathToIndexRun.replace(/\.js$/g, '')).default;
|
|
175
|
-
}
|
|
176
|
-
//#endregion
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
// global.start = start;
|
|
180
|
-
process.argv = process.argv.filter(f => !!f);
|
|
181
|
-
start(process.argv, global.frameworkName, mode);
|
|
182
|
-
//#endregion
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
function crossPlatofrmPath(p) {
|
|
186
|
-
if (isWinGitBash) {
|
|
187
|
-
return p.replace(/\\/g, '/');
|
|
188
|
-
}
|
|
189
|
-
return p;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
function setText(text, toSpiner = false) {
|
|
193
|
-
const spinner = global.spinner;
|
|
194
|
-
if (text) {
|
|
195
|
-
text = text.split('::').slice(1).join('::');
|
|
196
|
-
}
|
|
197
|
-
if (spinner) {
|
|
198
|
-
if (toSpiner) {
|
|
199
|
-
spinner.text = text.replace(/(?:\r\n|\r|\n)/g, ' ');
|
|
200
|
-
} else {
|
|
201
|
-
const wasSpinning = spinner.isSpinning;
|
|
202
|
-
if (wasSpinning) {
|
|
203
|
-
spinner.stop();
|
|
204
|
-
spinner.clear();
|
|
205
|
-
}
|
|
206
|
-
console.log(text);
|
|
207
|
-
if (wasSpinning) {
|
|
208
|
-
spinner.start()
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
} else {
|
|
212
|
-
console.log(text);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
//#endregion
|
|
1
|
+
//#region @backend
|
|
2
|
+
//#region quick fixes
|
|
3
|
+
Error.stackTraceLimit = 100;
|
|
4
|
+
global.i0 = {
|
|
5
|
+
defineInjectable: function () { }
|
|
6
|
+
}
|
|
7
|
+
const process= require('process');
|
|
8
|
+
process.removeAllListeners('warning');
|
|
9
|
+
//#endregion
|
|
10
|
+
|
|
11
|
+
//#region resolve constants
|
|
12
|
+
const childprocsecretarg = '-childproc';
|
|
13
|
+
const isWinGitBash = (process.platform === 'win32');
|
|
14
|
+
const procType = (process.argv[1].endsWith('tnp') || process.argv[1].endsWith('firedev')) ? 'root'
|
|
15
|
+
: ((process.argv.find(a => a.startsWith(childprocsecretarg)))
|
|
16
|
+
? 'child-of-root'
|
|
17
|
+
: 'child-of-child'
|
|
18
|
+
);
|
|
19
|
+
const debugMode = (process.argv[1].endsWith('-debug') || process.argv[1].endsWith('-debug-brk'))
|
|
20
|
+
global.spinnerInParentProcess = (procType === 'child-of-root');
|
|
21
|
+
const orgArgv = JSON.parse(JSON.stringify(process.argv));
|
|
22
|
+
global.tnpNonInteractive = (typeof process.argv.find(a => a.startsWith('--tnpNonInteractive')) !== 'undefined');
|
|
23
|
+
const spinnerIsDefault = !tnpNonInteractive;
|
|
24
|
+
global.frameworkName = 'tnp';
|
|
25
|
+
|
|
26
|
+
global.globalSystemToolMode = true;
|
|
27
|
+
const verbose = process.argv.includes('-verbose')
|
|
28
|
+
global.hideLog = !verbose;
|
|
29
|
+
global.verboseLevel = 0;
|
|
30
|
+
|
|
31
|
+
global.skipCoreCheck = (typeof process.argv.find(a => a.startsWith('--skipCoreCheck')) !== 'undefined');
|
|
32
|
+
const verboseLevelExists = (typeof process.argv.find(a => a.startsWith('-verbose=')) !== 'undefined');
|
|
33
|
+
global.verboseLevel = (verboseLevelExists ? Number(
|
|
34
|
+
process.argv.find(a => {
|
|
35
|
+
const v = a.startsWith('-verbose=');
|
|
36
|
+
if (v) {
|
|
37
|
+
return v.replace('-verbose=', '');
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
) : 0) || 0;
|
|
41
|
+
|
|
42
|
+
if (!verbose && verboseLevelExists) {
|
|
43
|
+
global.hideLog = false;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
const spinnerOnInArgs = process.argv.includes('-spinner');
|
|
49
|
+
const spinnerOffInArgs = (process.argv.includes('-spinner=false') || process.argv.includes('-spinner=off'));
|
|
50
|
+
//#endregion
|
|
51
|
+
|
|
52
|
+
//#region clear argument from variables
|
|
53
|
+
process.argv = process.argv.filter(a => !a.startsWith('-spinner'));
|
|
54
|
+
process.argv = process.argv.filter(a => a !== '-childproc');
|
|
55
|
+
process.argv = process.argv.filter(a => a !== '--skipCoreCheck');
|
|
56
|
+
process.argv = process.argv.filter(a => !a.startsWith('-verbose'));
|
|
57
|
+
//#endregion
|
|
58
|
+
|
|
59
|
+
//#region fix argument
|
|
60
|
+
process.argv = process.argv.map(a => {
|
|
61
|
+
if (a === '-websql') {
|
|
62
|
+
return '--websql'
|
|
63
|
+
}
|
|
64
|
+
return a;
|
|
65
|
+
})
|
|
66
|
+
//#endregion
|
|
67
|
+
|
|
68
|
+
//#region variables
|
|
69
|
+
let mode;
|
|
70
|
+
let start;
|
|
71
|
+
let startSpinner = spinnerIsDefault || spinnerOnInArgs;
|
|
72
|
+
if (spinnerOffInArgs) {
|
|
73
|
+
startSpinner = false;
|
|
74
|
+
}
|
|
75
|
+
if (procType === 'child-of-root' || debugMode) {
|
|
76
|
+
startSpinner = false;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (verbose || frameworkName === 'tnp' || global.skipCoreCheck) {
|
|
80
|
+
startSpinner = false;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
//#endregion
|
|
84
|
+
|
|
85
|
+
const path = require('path');
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
if (procType === 'child-of-root') {
|
|
89
|
+
global.spinner = {
|
|
90
|
+
start() {
|
|
91
|
+
process.send && process.send('start-spinner')
|
|
92
|
+
},
|
|
93
|
+
stop() {
|
|
94
|
+
process.send && process.send('stop-spinner')
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (startSpinner) {
|
|
100
|
+
//#region start spinner in processs
|
|
101
|
+
var ora = require('ora');
|
|
102
|
+
var spinner = ora();
|
|
103
|
+
spinner.start();
|
|
104
|
+
global.spinner = spinner;
|
|
105
|
+
|
|
106
|
+
const child_process = require('child_process');
|
|
107
|
+
const orgArgvForChild = orgArgv.filter(a => !a.startsWith('-spinner'));
|
|
108
|
+
|
|
109
|
+
const env = {
|
|
110
|
+
...process.env,
|
|
111
|
+
FORCE_COLOR: '1'
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
const cwd = process.cwd();
|
|
115
|
+
const argsToCHildProc = (`${orgArgvForChild.slice(2).join(' ')} ${global.verbose ? '-verbose' : ''} ${global.skipCoreCheck ? '--skipCoreCheck' : ''} `
|
|
116
|
+
+ `${spinnerOnInArgs ? '-spinner' : (spinnerOffInArgs ? '-spinner=off' : '')} ${childprocsecretarg}`).split(' ');
|
|
117
|
+
|
|
118
|
+
const proc = child_process.fork(crossPlatofrmPath(__filename), argsToCHildProc, {
|
|
119
|
+
env,
|
|
120
|
+
stdio: [0, 1, 2, 'ipc'],
|
|
121
|
+
cwd,
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
proc.on('exit', (code) => {
|
|
125
|
+
spinner.stop();
|
|
126
|
+
setTimeout(() => {
|
|
127
|
+
process.exit(code);
|
|
128
|
+
})
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
proc.on('message', message => {
|
|
132
|
+
message = (message ? message : '').trimLeft();
|
|
133
|
+
if (message === 'start-spinner') {
|
|
134
|
+
spinner.start();
|
|
135
|
+
} else if (message === 'stop-spinner') {
|
|
136
|
+
spinner.stop();
|
|
137
|
+
} else if (message.startsWith('info::')) {
|
|
138
|
+
setText((message));
|
|
139
|
+
} else if (message.startsWith('success::')) {
|
|
140
|
+
setText((message));
|
|
141
|
+
} else if (message.startsWith('taskstart::')) {
|
|
142
|
+
setText((message));
|
|
143
|
+
} else if (message.startsWith('taskdone::')) {
|
|
144
|
+
setText((message));
|
|
145
|
+
} else if (message.startsWith('error::')) {
|
|
146
|
+
setText((message));
|
|
147
|
+
} else if (message.startsWith('log::')) {
|
|
148
|
+
setText((message), true);
|
|
149
|
+
} else if (message.startsWith('warn::')) {
|
|
150
|
+
setText((message));
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
// process.stdin.resume(); // not needed ?
|
|
155
|
+
//#endregion
|
|
156
|
+
} else {
|
|
157
|
+
//#region child or child of child
|
|
158
|
+
|
|
159
|
+
//#region uknow dist or npm mode
|
|
160
|
+
const fs = require('fs');
|
|
161
|
+
|
|
162
|
+
const pathToDistRun = path.join(__dirname, '../dist/cli.js');
|
|
163
|
+
const pathToIndexRun = path.join(__dirname, '../cli.js');
|
|
164
|
+
const distExist = fs.existsSync(pathToDistRun);
|
|
165
|
+
|
|
166
|
+
if (distExist) {
|
|
167
|
+
mode = 'dist';
|
|
168
|
+
!global.hideLog && setText('- firedev dist -', true);
|
|
169
|
+
// TODO TOOOO MUCH TIME !!!!!!
|
|
170
|
+
start = require(pathToDistRun.replace(/\.js$/g, '')).default;
|
|
171
|
+
} else {
|
|
172
|
+
mode = 'npm';
|
|
173
|
+
!global.hideLog && setText('- npm mode -', true);
|
|
174
|
+
start = require(pathToIndexRun.replace(/\.js$/g, '')).default;
|
|
175
|
+
}
|
|
176
|
+
//#endregion
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
// global.start = start;
|
|
180
|
+
process.argv = process.argv.filter(f => !!f);
|
|
181
|
+
start(process.argv, global.frameworkName, mode);
|
|
182
|
+
//#endregion
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function crossPlatofrmPath(p) {
|
|
186
|
+
if (isWinGitBash) {
|
|
187
|
+
return p.replace(/\\/g, '/');
|
|
188
|
+
}
|
|
189
|
+
return p;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function setText(text, toSpiner = false) {
|
|
193
|
+
const spinner = global.spinner;
|
|
194
|
+
if (text) {
|
|
195
|
+
text = text.split('::').slice(1).join('::');
|
|
196
|
+
}
|
|
197
|
+
if (spinner) {
|
|
198
|
+
if (toSpiner) {
|
|
199
|
+
spinner.text = text.replace(/(?:\r\n|\r|\n)/g, ' ');
|
|
200
|
+
} else {
|
|
201
|
+
const wasSpinning = spinner.isSpinning;
|
|
202
|
+
if (wasSpinning) {
|
|
203
|
+
spinner.stop();
|
|
204
|
+
spinner.clear();
|
|
205
|
+
}
|
|
206
|
+
console.log(text);
|
|
207
|
+
if (wasSpinning) {
|
|
208
|
+
spinner.start()
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
} else {
|
|
212
|
+
console.log(text);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
//#endregion
|
package/bin/t
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env node --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env node --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/t-debug
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/t-debug-brk
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
require('./start');
|
|
4
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
require('./start');
|
|
4
|
+
//#endregion
|
package/bin/tnp
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env node --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env node --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/tnp-debug
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/tnp-debug-brk
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
require('./start');
|
|
4
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
require('./start');
|
|
4
|
+
//#endregion
|
package/browser/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.
|
|
@@ -106,9 +106,12 @@ export class BaseLocalRelease extends BaseLinkedProjects {
|
|
|
106
106
|
/* */
|
|
107
107
|
/* */
|
|
108
108
|
/* */
|
|
109
|
+
/* */
|
|
110
|
+
/* */
|
|
111
|
+
/* */
|
|
109
112
|
return (void 0);
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
;
|
|
113
116
|
({}); // @--end-of-file-for-module=tnp lib/project/abstract/base-local-release.ts
|
|
114
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1sb2NhbC1yZWxlYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vdG1wLWxpYnMtZm9yLWRpc3QvdG5wL3Byb2plY3RzL3RucC9zcmMvbGliL3Byb2plY3QvYWJzdHJhY3QvYmFzZS1sb2NhbC1yZWxlYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLEtBQUs7QUFDTCxLQUFLO0FBSUwsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFLekQsTUFBTSxPQUFPLGdCQUFpQixTQUFRLGtCQUEyQjtJQUNyRCxLQUFLLENBQUMsQ0FBQztRQUNmLE1BQU0sSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsc0JBQXNCLENBQUMsQ0FBQztJQUNsRCxDQUFDO0lBRUQsS0FBSyxDQUFDLGVBQWU7UUFDbkIsTUFBTSxJQUFJLENBQUMsQ0FBQyxFQUFFLENBQUM7UUFDbkIsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNMLEtBQUs7UUFDTCxLQUFLO1FBQ0wsS0FBSztRQUNML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iAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4vKiAqL1xuLyogKi9cbi8qICovXG4gICAgICByZXR1cm4gKHZvaWQgMCk7XG4gIH1cbn1cblxuIDsoe30pOyAvLyBALS1lbmQtb2YtZmlsZS1mb3ItbW9kdWxlPXRucCBsaWIvcHJvamVjdC9hYnN0cmFjdC9iYXNlLWxvY2FsLXJlbGVhc2UudHMiXX0=
|