qcobjects 2.5.142-beta → 2.5.142
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/workflows/npmpublish.yml +47 -0
- package/VERSION +1 -1
- package/package.json +4 -4
- package/.github/workflows/npmpublish-beta.yml +0 -38
- package/.github/workflows/npmpublish-lts.yml +0 -38
- package/.github/workflows/npmpublish-main.yml +0 -38
- package/.github/workflows/npmpublish-ts.yml +0 -38
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: Node.js Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*.*.*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v6
|
|
13
|
+
with:
|
|
14
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
ref: ${{ github.ref }}
|
|
16
|
+
- uses: actions/setup-node@v6
|
|
17
|
+
with:
|
|
18
|
+
node-version: 22
|
|
19
|
+
- run: npm i --legacy-peer-deps
|
|
20
|
+
- run: npm test
|
|
21
|
+
|
|
22
|
+
publish-npm:
|
|
23
|
+
needs: build
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
permissions:
|
|
26
|
+
contents: read
|
|
27
|
+
id-token: write
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v6
|
|
30
|
+
with:
|
|
31
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
+
ref: ${{ github.ref }}
|
|
33
|
+
- uses: actions/setup-node@v6
|
|
34
|
+
with:
|
|
35
|
+
node-version: 22
|
|
36
|
+
- name: Upgrade npm for OIDC support (requires >=11.5.1)
|
|
37
|
+
run: npm install -g npm@latest
|
|
38
|
+
- run: npm i --legacy-peer-deps
|
|
39
|
+
- name: Publish to npm
|
|
40
|
+
run: |
|
|
41
|
+
if [[ "${{ github.ref }}" == *-beta ]]; then
|
|
42
|
+
npm publish --tag beta
|
|
43
|
+
elif [[ "${{ github.ref }}" == *-lts ]]; then
|
|
44
|
+
npm publish --tag lts
|
|
45
|
+
else
|
|
46
|
+
npm publish
|
|
47
|
+
fi
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5.142
|
|
1
|
+
2.5.142
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects",
|
|
3
|
-
"version": "2.5.142
|
|
3
|
+
"version": "2.5.142",
|
|
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": "public/cjs/index.cjs",
|
|
6
6
|
"module": "public/esm/index.mjs",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test:jasmine": "npm run test:ts-types && npx ts-node -r tsconfig-paths/register --project ./tsconfig.jasmine.json ./node_modules/jasmine/bin/jasmine.js",
|
|
40
40
|
"test": "(npm run lint && npm run test:jasmine)",
|
|
41
41
|
"coverage": "nyc --reporter=lcov --reporter=text-summary npm run test",
|
|
42
|
-
"lint": "(npx
|
|
42
|
+
"lint": "(npx eslint src/**/*.ts --fix )",
|
|
43
43
|
"preversion": "npm cache verify && npm run coverage",
|
|
44
44
|
"sync": "git add . && git commit -am ",
|
|
45
45
|
"postversion": "git push && git push --tags",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"repository": {
|
|
57
57
|
"type": "git",
|
|
58
|
-
"url": "git+https://github.com/
|
|
58
|
+
"url": "git+https://github.com/QuickCorp/QCObjects.git"
|
|
59
59
|
},
|
|
60
60
|
"keywords": [
|
|
61
61
|
"qcobjects",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
],
|
|
113
113
|
"author": "Jean Machuca <correojean@gmail.com>",
|
|
114
114
|
"bugs": {
|
|
115
|
-
"url": "https://github.com/
|
|
115
|
+
"url": "https://github.com/QuickCorp/QCObjects/issues"
|
|
116
116
|
},
|
|
117
117
|
"homepage": "https://qcobjects.com",
|
|
118
118
|
"devDependencies": {
|
|
@@ -1,38 +0,0 @@
|
|
|
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*.*-beta'
|
|
10
|
-
tags:
|
|
11
|
-
- 'v*.*.*-beta'
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 22
|
|
21
|
-
- run: npm i && npm ci --install-strategy=nested
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 22
|
|
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 i && npm ci --install-strategy=nested
|
|
36
|
-
- run: npm publish --tag ${GITHUB_REF##*/}
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 LTS 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@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 22
|
|
21
|
-
- run: npm i && npm ci --install-strategy=nested
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 22
|
|
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 i && npm ci --install-strategy=nested
|
|
36
|
-
- run: npm publish --tag ${GITHUB_REF##*/}
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 Package
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
tags:
|
|
11
|
-
- 'v*.*.*'
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 22
|
|
21
|
-
- run: npm i && npm ci --install-strategy=nested
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 22
|
|
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 i && npm ci --install-strategy=nested
|
|
36
|
-
- run: npm publish
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 TypeScript version
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- 'v*.*-ts'
|
|
10
|
-
tags:
|
|
11
|
-
- 'v*.*.*-ts'
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 22
|
|
21
|
-
- run: npm i && npm ci --install-strategy=nested
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 22
|
|
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 i && npm ci --install-strategy=nested
|
|
36
|
-
- run: npm publish --tag ${GITHUB_REF##*/}
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|