qcobjects 2.4.99 → 2.4.104-ts

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/.eslintrc.cjs CHANGED
@@ -12,8 +12,7 @@ module.exports = {
12
12
  "semistandard",
13
13
  "standard",
14
14
  "prettier",
15
- "eslint:recommended", "plugin:@typescript-eslint/recommended",
16
- "qcobjects"
15
+ "eslint:recommended", "plugin:@typescript-eslint/recommended"
17
16
 
18
17
  ],
19
18
  parser: "@typescript-eslint/parser",
@@ -17,8 +17,8 @@ jobs:
17
17
  - uses: actions/checkout@v3.3.0
18
18
  - uses: actions/setup-node@v3.6.0
19
19
  with:
20
- node-version: 16
21
- - run: npm ci
20
+ node-version: 22
21
+ - run: npm i && npm ci --install-strategy=nested
22
22
  - run: npm test
23
23
 
24
24
  publish-npm:
@@ -28,11 +28,11 @@ jobs:
28
28
  - uses: actions/checkout@v3.3.0
29
29
  - uses: actions/setup-node@v3.6.0
30
30
  with:
31
- node-version: 16
31
+ node-version: 22
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
35
- - run: npm ci
35
+ - run: npm i && npm ci --install-strategy=nested
36
36
  - run: npm publish --tag ${GITHUB_REF##*/}
37
37
  env:
38
38
  NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -17,8 +17,8 @@ jobs:
17
17
  - uses: actions/checkout@v3.3.0
18
18
  - uses: actions/setup-node@v3.6.0
19
19
  with:
20
- node-version: 16
21
- - run: npm ci
20
+ node-version: 22
21
+ - run: npm i && npm ci --install-strategy=nested
22
22
  - run: npm test
23
23
 
24
24
  publish-npm:
@@ -28,11 +28,11 @@ jobs:
28
28
  - uses: actions/checkout@v3.3.0
29
29
  - uses: actions/setup-node@v3.6.0
30
30
  with:
31
- node-version: 16
31
+ node-version: 22
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
35
- - run: npm ci
35
+ - run: npm i && npm ci --install-strategy=nested
36
36
  - run: npm publish --tag ${GITHUB_REF##*/}
37
37
  env:
38
38
  NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -17,8 +17,8 @@ jobs:
17
17
  - uses: actions/checkout@v3.3.0
18
18
  - uses: actions/setup-node@v3.6.0
19
19
  with:
20
- node-version: 16
21
- - run: npm ci
20
+ node-version: 22
21
+ - run: npm i && npm ci --install-strategy=nested
22
22
  - run: npm test
23
23
 
24
24
  publish-npm:
@@ -28,11 +28,11 @@ jobs:
28
28
  - uses: actions/checkout@v3.3.0
29
29
  - uses: actions/setup-node@v3.6.0
30
30
  with:
31
- node-version: 16
31
+ node-version: 22
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
35
- - run: npm ci
35
+ - run: npm i && npm ci --install-strategy=nested
36
36
  - run: npm publish
37
37
  env:
38
38
  NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -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 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}}
package/README-es.pdf CHANGED
Binary file
package/README.pdf CHANGED
Binary file
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.99
1
+ 2.4.104-ts
package/package.json CHANGED
@@ -1,28 +1,38 @@
1
1
  {
2
2
  "name": "qcobjects",
3
- "version": "2.4.99",
3
+ "version": "2.4.104-ts",
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
- "main": "src/index.cjs",
6
- "module": "src/index.mjs",
5
+ "main": "build/index.cjs",
6
+ "module": "build/index.mjs",
7
+ "type": "commonjs",
8
+ "types": "src/**/*.d.ts",
7
9
  "exports": {
8
10
  ".": {
9
- "require": "./src/index.cjs",
10
- "import": "./src/index.mjs"
11
+ "require": "./build/index.cjs",
12
+ "import": "./build/index.mjs",
13
+ "types": "./src/types.d.ts"
11
14
  },
12
15
  "./package.json": "./package.json"
13
16
  },
14
- "type": "commonjs",
15
- "types": "./src/index.d.ts",
16
17
  "license": "LGPL-3.0",
17
18
  "scripts": {
18
- "build:ts": "npm test && npx tsc",
19
- "start": "qcobjects-shell",
20
- "test": "(npm run lint && (npx jasmine))",
21
- "lint": "(npx eslint src/**/*.ts --fix --ext ts)",
22
- "preversion": "npm cache verify && npm test",
19
+ "test": "npm run lint",
20
+ "lint": "(npx eslint \"src/**/*.ts\" --fix --ext ts)",
23
21
  "sync": "git add . && git commit -am ",
24
- "postversion": "git push && git push --tags ",
25
- "generate-readme-pdf": "npx markdown-pdf --paper-format \"Letter\" -o README.pdf README.md && npx markdown-pdf --paper-format \"Letter\" -o README-es.pdf README-es.md"
22
+ "preversion": "npm i --upgrade && npm test",
23
+ "postversion": "git push && git push --tags",
24
+ "v-patch": "qcobjects v-patch",
25
+ "v-minor": "qcobjects v-minor",
26
+ "v-major": "qcobjects v-major",
27
+ "qcobjects": "qcobjects",
28
+ "cli": "qcobjects",
29
+ "build:ts": "npm test && npx tsc",
30
+ "build:ts-types": "npx tsc --project tsconfig.d.json",
31
+ "build": "npm run build:ts-types && npm run build:ts && npm run generate-readme-pdf",
32
+ "prepare": "node -e \"if(!require('fs').existsSync('.git')){process.exit(0)}\" || npx -y husky install",
33
+ "cli:help": "qcobjects --help",
34
+ "tree": "tree -d --gitignore",
35
+ "generate-readme-pdf": "(npx -y markdown-pdf --paper-format \"Letter\" -o README.pdf README.md && npx markdown-pdf --paper-format \"Letter\" -o README-es.pdf README-es.md) && npm uninstall markdown-pdf"
26
36
  },
27
37
  "repository": {
28
38
  "type": "git",
@@ -87,6 +97,8 @@
87
97
  },
88
98
  "homepage": "https://qcobjects.com",
89
99
  "devDependencies": {
100
+ "@types/qcobjects": "github:QCObjects/-types-qcobjects",
101
+ "@types/qcobjects-sdk": "github:QCObjects/-types-qcobjects-sdk",
90
102
  "@typescript-eslint/eslint-plugin": "^5.58.0",
91
103
  "@typescript-eslint/parser": "^5.58.0",
92
104
  "eslint": "^8.40.0",
@@ -99,13 +111,16 @@
99
111
  "eslint-plugin-promise": "^6.1.1",
100
112
  "hint": "^2.0.0",
101
113
  "jasmine": "^3.7.0",
102
- "typescript": "^5.0.4"
114
+ "qcobjects-sdk": "^2.4.66",
115
+ "qcobjects-tsconfig": "^2.4.10",
116
+ "typescript": "^5.6.2"
103
117
  },
104
118
  "peerDependencies": {
105
119
  "@types/qcobjects": "github:QCObjects/-types-qcobjects",
106
120
  "@types/qcobjects-sdk": "github:QCObjects/-types-qcobjects-sdk",
107
121
  "qcobjects-sdk": ">=2.4.64"
108
122
  },
123
+ "dependencies": {},
109
124
  "engines": {
110
125
  "npm": ">=9",
111
126
  "node": ">=18"