qcobjects 2.4.17-beta → 2.4.19-beta
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.
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Publish Beta version
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- 'v*.*-lts'
|
|
10
|
+
tags:
|
|
11
|
+
- 'v*.*.*-lts'
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v2
|
|
18
|
+
- uses: actions/setup-node@v1
|
|
19
|
+
with:
|
|
20
|
+
node-version: 14
|
|
21
|
+
- run: npm ci
|
|
22
|
+
- run: npm test
|
|
23
|
+
|
|
24
|
+
publish-npm:
|
|
25
|
+
needs: build
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v2
|
|
29
|
+
- uses: actions/setup-node@v1
|
|
30
|
+
with:
|
|
31
|
+
node-version: 12
|
|
32
|
+
registry-url: https://registry.npmjs.org/
|
|
33
|
+
- name: Set up NPM authentication
|
|
34
|
+
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
|
|
35
|
+
- run: npm ci
|
|
36
|
+
- run: npm publish --tag ${GITHUB_REF##*/}
|
|
37
|
+
env:
|
|
38
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
- uses: actions/checkout@v2
|
|
29
29
|
- uses: actions/setup-node@v1
|
|
30
30
|
with:
|
|
31
|
-
node-version:
|
|
31
|
+
node-version: 14
|
|
32
32
|
registry-url: https://registry.npmjs.org/
|
|
33
33
|
- name: Set up NPM authentication
|
|
34
34
|
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
|
package/QCObjects.js
CHANGED
|
@@ -3039,6 +3039,10 @@
|
|
|
3039
3039
|
var _serviceLoaderInNode = function(service, _async) {
|
|
3040
3040
|
var _promise = new Promise(
|
|
3041
3041
|
function(resolve, reject) {
|
|
3042
|
+
if (typeof URL === "undefined") {
|
|
3043
|
+
global.URL = require("url").URL;
|
|
3044
|
+
let URL = global.URL;
|
|
3045
|
+
}
|
|
3042
3046
|
var serviceURL = new URL(service.url);
|
|
3043
3047
|
var req;
|
|
3044
3048
|
service.useHTTP2 = Object.hasOwnProperty.call(service,"useHTTP2") && service.useHTTP2;
|
|
@@ -3294,7 +3298,7 @@
|
|
|
3294
3298
|
}
|
|
3295
3299
|
};
|
|
3296
3300
|
logger.debug("Starting to load the config settings...");
|
|
3297
|
-
if (
|
|
3301
|
+
if (_top.CONFIG.get("useConfigService", false)) {
|
|
3298
3302
|
logger.debug("Loading settings using local configuration file...");
|
|
3299
3303
|
_top.global.configService = New(ClassFactory("ConfigService"));
|
|
3300
3304
|
_top.global.configService.configLoaded = _buildComponents;
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
3
|
[](https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt) [](https://app.fossa.com/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects?ref=badge_shield) [](https://www.jsdelivr.com/package/npm/qcobjects) [](https://marketplace.visualstudio.com/items?itemName=Quickcorp.QCObjects-vscode) [](https://qcobjects.readthedocs.io/?badge=latest) [](https://github.com/QuickCorp/QCObjects/releases/) [](https://github.com/QuickCorp/QCObjects) [](https://badge.fury.io/js/qcobjects)   [](CODE_OF_CONDUCT.md)
|
|
4
|
+
[](https://bestpractices.coreinfrastructure.org/projects/5295)
|
|
5
|
+
|
|
4
6
|
|
|
5
7
|
[](https://www.patreon.com/join/qcobjects?)
|
|
6
8
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.19-beta
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.19-beta",
|
|
4
4
|
"description": "QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.",
|
|
5
5
|
"main": "QCObjects.js",
|
|
6
6
|
"license": "LGPL-3.0",
|