qcobjects 2.4.63 → 2.4.68

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/.eslintignore ADDED
@@ -0,0 +1,3 @@
1
+ *.js
2
+ src/*.js
3
+ src/**/*.js
package/.eslintrc.cjs ADDED
@@ -0,0 +1,22 @@
1
+ module.exports = {
2
+ env: {
3
+ browser: true,
4
+ node: true,
5
+ es2021: true,
6
+ es2020: true,
7
+ es2017: true,
8
+ es6: true
9
+ },
10
+
11
+ extends: [
12
+ "semistandard",
13
+ "standard",
14
+ "prettier",
15
+ "eslint:recommended", "plugin:@typescript-eslint/recommended",
16
+ "qcobjects"
17
+
18
+ ],
19
+ parser: "@typescript-eslint/parser",
20
+ plugins: ["@typescript-eslint"],
21
+ root: true
22
+ };
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.63
1
+ 2.4.68
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects",
3
- "version": "2.4.63",
3
+ "version": "2.4.68",
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": "src/index.cjs",
6
6
  "module": "src/index.mjs",
@@ -17,7 +17,8 @@
17
17
  "scripts": {
18
18
  "build:ts": "npm test && npx tsc",
19
19
  "start": "qcobjects-shell",
20
- "test": "((npx eslint src/*.js spec/*.js --fix) && (npx jasmine))",
20
+ "test": "(npm run lint && (npx jasmine))",
21
+ "lint": "(npx eslint src/**/*.ts --fix --ext ts)",
21
22
  "preversion": "npm cache verify && npm test",
22
23
  "sync": "git add . && git commit -am ",
23
24
  "postversion": "git push && git push --tags "
@@ -84,17 +85,28 @@
84
85
  "url": "https://github.com/QuickGroup/QCObjects/issues"
85
86
  },
86
87
  "homepage": "https://qcobjects.com",
87
- "dependencies": {
88
- "qcobjects-sdk": "^2.3.30"
89
- },
90
88
  "devDependencies": {
91
- "@types/qcobjects": "github:QCObjects/-types-qcobjects",
92
- "eslint": "^8.2.0",
89
+ "@typescript-eslint/eslint-plugin": "^5.58.0",
90
+ "@typescript-eslint/parser": "^5.58.0",
91
+ "eslint": "^8.38.0",
92
+ "eslint-config-prettier": "^8.8.0",
93
+ "eslint-config-qcobjects": "^0.0.23",
94
+ "eslint-config-semistandard": "^17.0.0",
95
+ "eslint-config-standard": "^17.0.0",
96
+ "eslint-plugin-import": "^2.27.5",
97
+ "eslint-plugin-n": "^15.7.0",
98
+ "eslint-plugin-promise": "^6.1.1",
99
+ "hint": "^2.0.0",
93
100
  "jasmine": "^3.7.0",
94
101
  "typescript": "^5.0.4"
95
102
  },
103
+ "peerDependencies": {
104
+ "@types/qcobjects": "github:QCObjects/-types-qcobjects",
105
+ "@types/qcobjects-sdk": "github:QCObjects/-types-qcobjects-sdk",
106
+ "qcobjects-sdk": "^2.3.30"
107
+ },
96
108
  "engines": {
97
- "npm": "~8.10.0",
98
- "node": ">=14.17.6"
109
+ "npm": ">=9",
110
+ "node": ">=18"
99
111
  }
100
112
  }
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable no-undef */
3
3
 
4
4
  describe("Type Spec", function () {
5
- require("../src/QCObjects.js");
5
+ require("../src/QCObjects");
6
6
  logger.debugEnabled=true;
7
7
  logger.infoEnabled=true;
8
8
  logger.warnEnabled=true;