qcobjects-cli 2.5.157 → 2.6.1
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/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- package/.github/ISSUE_TEMPLATE/custom.md +0 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- package/.github/ISSUE_TEMPLATE/issue-template.md +0 -0
- package/.github/workflows/ci.yml +2 -2
- package/.github/workflows/npmpublish.yml +6 -4
- package/CHANGELOG.md +9 -0
- package/LICENSE.txt +21 -0
- package/README.md +6 -1
- package/VERSION +1 -1
- package/package.json +12 -12
- package/public/browser/templates/pwa/sw.js +2 -11
- package/public/cjs/api-client_services.js +3 -12
- package/public/cjs/api-client_services.js.map +1 -1
- package/public/cjs/backend/backend-microservice-static.js +3 -12
- package/public/cjs/backend/backend-microservice-static.js.map +1 -1
- package/public/cjs/backend/backend-php.js +3 -12
- package/public/cjs/backend/backend-php.js.map +1 -1
- package/public/cjs/cli-commands-build-esbuild.js +3 -12
- package/public/cjs/cli-commands-build-esbuild.js.map +1 -1
- package/public/cjs/cli-commands-build-typescript.js +3 -12
- package/public/cjs/cli-commands-build-typescript.js.map +1 -1
- package/public/cjs/cli-commands-jira.js +3 -12
- package/public/cjs/cli-commands-jira.js.map +1 -1
- package/public/cjs/cli-commands-publish-static.js +3 -12
- package/public/cjs/cli-commands-publish-static.js.map +1 -1
- package/public/cjs/cli-commands-version.js +3 -12
- package/public/cjs/cli-commands-version.js.map +1 -1
- package/public/cjs/cli-commands.js +3 -12
- package/public/cjs/cli-commands.js.map +1 -1
- package/public/cjs/cli-main.js +45 -46
- package/public/cjs/cli-main.js.map +1 -1
- package/public/cjs/client_services.js +3 -12
- package/public/cjs/client_services.js.map +1 -1
- package/public/cjs/collab-server.js +3 -12
- package/public/cjs/collab-server.js.map +1 -1
- package/public/cjs/common-pipelog.js +3 -12
- package/public/cjs/common-pipelog.js.map +1 -1
- package/public/cjs/defaultsettings.js +3 -12
- package/public/cjs/defaultsettings.js.map +1 -1
- package/public/cjs/enterprise-commands.js +3 -12
- package/public/cjs/enterprise-commands.js.map +1 -1
- package/public/cjs/main-file.js +3 -12
- package/public/cjs/main-file.js.map +1 -1
- package/public/cjs/main-http-gae-server.js +3 -12
- package/public/cjs/main-http-gae-server.js.map +1 -1
- package/public/cjs/main-http-server.js +3 -12
- package/public/cjs/main-http-server.js.map +1 -1
- package/public/cjs/main-http2-server.js +3 -12
- package/public/cjs/main-http2-server.js.map +1 -1
- package/public/cjs/qcobjects-cli.js +3 -12
- package/public/cjs/qcobjects-cli.js.map +1 -1
- package/public/cjs/qcobjects-collab.js +3 -12
- package/public/cjs/qcobjects-collab.js.map +1 -1
- package/public/cjs/qcobjects-createcert.js +3 -12
- package/public/cjs/qcobjects-createcert.js.map +1 -1
- package/public/cjs/qcobjects-gae-http-server.js +3 -12
- package/public/cjs/qcobjects-gae-http-server.js.map +1 -1
- package/public/cjs/qcobjects-http-server.js +3 -12
- package/public/cjs/qcobjects-http-server.js.map +1 -1
- package/public/cjs/qcobjects-http2-server.js +3 -12
- package/public/cjs/qcobjects-http2-server.js.map +1 -1
- package/public/cjs/qcobjects-shell.js +3 -12
- package/public/cjs/qcobjects-shell.js.map +1 -1
- package/public/cjs/templates/pwa/sw.js +2 -11
- package/public/esm/api-client_services.mjs.map +2 -2
- package/public/esm/backend/backend-microservice-static.mjs.map +2 -2
- package/public/esm/backend/backend-php.mjs +5 -1
- package/public/esm/backend/backend-php.mjs.map +2 -2
- package/public/esm/cli-commands-build-esbuild.mjs.map +2 -2
- package/public/esm/cli-commands-build-typescript.mjs.map +2 -2
- package/public/esm/cli-commands-jira.mjs.map +2 -2
- package/public/esm/cli-commands-publish-static.mjs.map +2 -2
- package/public/esm/cli-commands-version.mjs +3 -3
- package/public/esm/cli-commands-version.mjs.map +2 -2
- package/public/esm/cli-commands.mjs.map +2 -2
- package/public/esm/cli-main.mjs +39 -32
- package/public/esm/cli-main.mjs.map +2 -2
- package/public/esm/client_services.mjs.map +2 -2
- package/public/esm/collab-server.mjs.map +2 -2
- package/public/esm/common-pipelog.mjs.map +2 -2
- package/public/esm/defaultsettings.mjs +25 -11
- package/public/esm/defaultsettings.mjs.map +2 -2
- package/public/esm/enterprise-commands.mjs.map +2 -2
- package/public/esm/main-file.mjs +2 -2
- package/public/esm/main-file.mjs.map +2 -2
- package/public/esm/main-http-gae-server.mjs.map +2 -2
- package/public/esm/main-http-server.mjs.map +2 -2
- package/public/esm/main-http2-server.mjs.map +2 -2
- package/public/esm/qcobjects-cli.mjs.map +2 -2
- package/public/esm/qcobjects-collab.mjs.map +2 -2
- package/public/esm/qcobjects-createcert.mjs.map +2 -2
- package/public/esm/qcobjects-gae-http-server.mjs.map +2 -2
- package/public/esm/qcobjects-http-server.mjs.map +2 -2
- package/public/esm/qcobjects-http2-server.mjs.map +2 -2
- package/public/esm/qcobjects-shell.mjs +5 -1
- package/public/esm/qcobjects-shell.mjs.map +2 -2
- package/public/esm/templates/pwa/sw.js +2 -11
- package/public/types/index.d.ts +9 -25
- package/src/api-client_services.ts +3 -12
- package/src/backend/backend-microservice-static.ts +3 -12
- package/src/backend/backend-php.ts +3 -12
- package/src/cli-commands-build-esbuild.ts +3 -12
- package/src/cli-commands-build-typescript.ts +3 -12
- package/src/cli-commands-jira.ts +3 -12
- package/src/cli-commands-publish-static.ts +3 -12
- package/src/cli-commands-version.ts +3 -12
- package/src/cli-commands.ts +3 -12
- package/src/cli-main.ts +21 -21
- package/src/client_services.ts +3 -12
- package/src/collab-server.ts +3 -12
- package/src/common-pipelog.ts +3 -12
- package/src/defaultsettings.ts +3 -12
- package/src/enterprise-commands.ts +3 -12
- package/src/main-file.ts +3 -12
- package/src/main-http-gae-server.ts +3 -12
- package/src/main-http-server.ts +3 -12
- package/src/main-http2-server.ts +3 -12
- package/src/qcobjects-cli.ts +3 -12
- package/src/qcobjects-collab.ts +3 -12
- package/src/qcobjects-createcert.ts +3 -12
- package/src/qcobjects-gae-http-server.ts +3 -12
- package/src/qcobjects-http-server.ts +3 -12
- package/src/qcobjects-http2-server.ts +3 -12
- package/src/qcobjects-shell.ts +3 -12
- package/src/templates/pwa/sw.js +2 -11
- package/bin/qcobjects-cli.js +0 -39
package/public/types/index.d.ts
CHANGED
|
@@ -205,23 +205,14 @@ declare module "cli-commands-version" {
|
|
|
205
205
|
}
|
|
206
206
|
declare module "collab-server" {
|
|
207
207
|
/**
|
|
208
|
-
* QCObjects CLI
|
|
208
|
+
* QCObjects Framework CLI
|
|
209
209
|
* ________________
|
|
210
210
|
*
|
|
211
211
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
212
212
|
*
|
|
213
213
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
217
|
-
*
|
|
218
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
219
|
-
* complete source code of licensed works and modifications under the same
|
|
220
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
221
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
222
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
223
|
-
* work may be distributed under different terms and without source code for
|
|
224
|
-
* the larger work.
|
|
214
|
+
* QCObjects is licensed under the MIT License
|
|
215
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
225
216
|
*
|
|
226
217
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
227
218
|
*
|
|
@@ -288,13 +279,15 @@ declare module "main-file" {
|
|
|
288
279
|
templateURI: string;
|
|
289
280
|
template: any;
|
|
290
281
|
body: any;
|
|
291
|
-
constructor({ name, template, templateURI, headers, body, filename, done }: {
|
|
282
|
+
constructor({ name, template, templateURI, headers, body, filename, scriptname, pathname, done }: {
|
|
292
283
|
name: string;
|
|
293
284
|
template: string;
|
|
294
285
|
templateURI: string;
|
|
295
286
|
headers: any;
|
|
296
287
|
body: string;
|
|
297
288
|
filename: string;
|
|
289
|
+
scriptname: any;
|
|
290
|
+
pathname: any;
|
|
298
291
|
done: (headers: any, body: any, templateURI?: string, isTemplate?: boolean) => any;
|
|
299
292
|
});
|
|
300
293
|
file_extension(): any;
|
|
@@ -375,23 +368,14 @@ declare module "qcobjects-http-server" {
|
|
|
375
368
|
}
|
|
376
369
|
declare module "qcobjects-http2-server" {
|
|
377
370
|
/**
|
|
378
|
-
* QCObjects CLI
|
|
371
|
+
* QCObjects Framework CLI
|
|
379
372
|
* ________________
|
|
380
373
|
*
|
|
381
374
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
382
375
|
*
|
|
383
376
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
387
|
-
*
|
|
388
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
389
|
-
* complete source code of licensed works and modifications under the same
|
|
390
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
391
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
392
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
393
|
-
* work may be distributed under different terms and without source code for
|
|
394
|
-
* the larger work.
|
|
377
|
+
* QCObjects is licensed under the MIT License
|
|
378
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
395
379
|
*
|
|
396
380
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
397
381
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/cli-commands-jira.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/cli-commands.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/cli-main.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -117,13 +108,16 @@ export class SwitchCommander extends InheritClass {
|
|
|
117
108
|
switchCommander.copyTemplate(path.resolve(findPackageNodePath(appTemplateName), appTemplateName), path.resolve(CONFIG.get("projectPath"), "./"))
|
|
118
109
|
.then(() => {
|
|
119
110
|
|
|
120
|
-
exec("npm uninstall " + appTemplateName + " --save
|
|
111
|
+
exec("npm uninstall " + appTemplateName + " --save", err => {
|
|
121
112
|
if (err) {
|
|
122
113
|
throw Error(err.message);
|
|
123
114
|
// eslint-disable-next-line no-unreachable
|
|
124
115
|
process.exit(1);
|
|
125
116
|
return;
|
|
126
117
|
}
|
|
118
|
+
exec("npm cache verify", () => {
|
|
119
|
+
// non-fatal — cache verify failures are ignored
|
|
120
|
+
});
|
|
127
121
|
|
|
128
122
|
/*
|
|
129
123
|
switchCommander.generateServiceWorker(appName)
|
|
@@ -134,13 +128,14 @@ export class SwitchCommander extends InheritClass {
|
|
|
134
128
|
execSync("npm install --save-dev --legacy-peer-deps qcobjects-cli ");
|
|
135
129
|
});
|
|
136
130
|
|
|
137
|
-
exec("npm cache verify
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
131
|
+
exec("npm cache verify", () => {
|
|
132
|
+
exec("npm i --legacy-peer-deps ", (err) => {
|
|
133
|
+
if (err) {
|
|
134
|
+
throw Error(err.message);
|
|
135
|
+
// eslint-disable-next-line no-unreachable
|
|
136
|
+
process.exit(1);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
144
139
|
|
|
145
140
|
logger.info("Good! Your application is done. You can play with QCObjects now!");
|
|
146
141
|
|
|
@@ -149,13 +144,16 @@ export class SwitchCommander extends InheritClass {
|
|
|
149
144
|
logger.info("Test certificates generated");
|
|
150
145
|
|
|
151
146
|
const githubService = New(Service);
|
|
152
|
-
githubService.url = "https://raw.githubusercontent.com/
|
|
147
|
+
githubService.url = "https://raw.githubusercontent.com/QCObjects/QCObjects/main/.gitignore";
|
|
153
148
|
githubService.headers = {
|
|
154
149
|
Accept: "application/vnd.github+json",
|
|
155
150
|
"X-GitHub-Api-Version": "2022-11-28",
|
|
156
151
|
"User-Agent": "qcobjects-cli"
|
|
157
152
|
};
|
|
158
153
|
githubService.done = () => { };
|
|
154
|
+
githubService.fail = () => {
|
|
155
|
+
logger.debug("Could not fetch .gitignore from GitHub, skipping.");
|
|
156
|
+
};
|
|
159
157
|
serviceLoader(githubService)
|
|
160
158
|
.then(({ service }: { service: any }) => {
|
|
161
159
|
fs.writeFileSync(path.resolve(CONFIG.get("projectPath"), "./.gitignore"), service.template);
|
|
@@ -175,6 +173,8 @@ export class SwitchCommander extends InheritClass {
|
|
|
175
173
|
console.log(data);
|
|
176
174
|
});
|
|
177
175
|
|
|
176
|
+
});
|
|
177
|
+
|
|
178
178
|
})
|
|
179
179
|
.catch((e: any) => {
|
|
180
180
|
console.log(e);
|
package/src/client_services.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/collab-server.ts
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* QCObjects CLI
|
|
3
|
+
* QCObjects Framework CLI
|
|
4
4
|
* ________________
|
|
5
5
|
*
|
|
6
6
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
7
7
|
*
|
|
8
8
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
12
|
-
*
|
|
13
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
14
|
-
* complete source code of licensed works and modifications under the same
|
|
15
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
16
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
17
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
18
|
-
* work may be distributed under different terms and without source code for
|
|
19
|
-
* the larger work.
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
20
11
|
*
|
|
21
12
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
22
13
|
*
|
package/src/common-pipelog.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/defaultsettings.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/main-file.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/main-http-server.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/main-http2-server.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects CLI
|
|
2
|
+
* QCObjects Framework CLI
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|