@eqxjs/nest-common 0.1.1 โ†’ 0.2.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/CHANGELOG CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.2.0](https://github.com/corp-ais/cronus-eqxjs-common-library-common/compare/v0.1.1...v0.2.0) (2025-11-21)
6
+
7
+
8
+ ### ๐Ÿ” CI/CD
9
+
10
+ * cleanup github workflow script ([b37baf6](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/b37baf65165f9cc423812e0deeb8e8e4bbdb80cb))
11
+ * update github workflow test-n-coverage.yml ([535025d](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/535025dc12d127b652e7566cb7aff8c3847aea73))
12
+ * update secret key for sonar ([01b027a](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/01b027a19abb52732b3c4027ee82927cf5dd777e))
13
+
14
+
15
+ ### ๐Ÿงน Miscellaneous Chores
16
+
17
+ * **deps:** update dependencies ([a88c4ff](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/a88c4ff7e7f5f19e1542ba202c85a7975ab493cd))
18
+ * **deps:** update dependencies (2025-09-02) ([5f361bd](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/5f361bd3a10124caad12c50ed055710900fd81ae))
19
+
20
+
21
+ ### ๐Ÿงผ Code Refactoring
22
+
23
+ * adjust Jest config to use tsconfig.spec.json ([cca6160](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/cca616000cdf6ccc816070fb221b01809bd8bf4b))
24
+ * **config:** resync vscode extension list from library-template ([ce23d82](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/ce23d82facc02f39e1fbb8e064f5d056c6100252))
25
+ * update ESLint configuration to use defineConfig and reorganize rules ([7748fc1](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/7748fc1518a7b9e6e0eca240a707afde685d7b89))
26
+
27
+
28
+ ### ๐Ÿš€ Features
29
+
30
+ * add type definitions for TUndefined, TNull, and TNullUndefined ([3e77250](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/3e7725053f9bc184eff7b48ec32c3ad4d6f37d85))
31
+
32
+
33
+ ### ๐Ÿž Bug Fixes
34
+
35
+ * update Node version requirement to >=24 in README ([e3949e3](https://github.com/corp-ais/cronus-eqxjs-common-library-common/commit/e3949e3c56138f96c2bbd45bd2dc28b9f62caf82))
36
+
5
37
  ## [0.1.1](https://github.com/corp-ais/cronus-eqxjs-common-library-common/compare/v0.1.0...v0.1.1) (2025-09-01)
6
38
 
7
39
 
package/README.md CHANGED
@@ -4,7 +4,7 @@ A common library use in `@eqxjs` ecosystem.
4
4
 
5
5
  Status: ``
6
6
 
7
- Node: `>=22`
7
+ Node: `>=24`
8
8
 
9
9
  ## Installation
10
10
 
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ import 'reflect-metadata';
2
2
  export * from './enums';
3
3
  export * from './result';
4
4
  export * from './constants';
5
+ export * from './types';
package/dist/index.js CHANGED
@@ -18,4 +18,5 @@ require("reflect-metadata");
18
18
  __exportStar(require("./enums"), exports);
19
19
  __exportStar(require("./result"), exports);
20
20
  __exportStar(require("./constants"), exports);
21
+ __exportStar(require("./types"), exports);
21
22
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4BAA0B;AAE1B,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4BAA0B;AAE1B,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB"}
@@ -0,0 +1,3 @@
1
+ export type TUndefined<T> = T | undefined;
2
+ export type TNull<T> = T | null;
3
+ export type TNullUndefined<T> = T | null | undefined;
package/dist/types.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/jest.config.mjs CHANGED
@@ -12,7 +12,7 @@ export default {
12
12
  'ts-jest',
13
13
  {
14
14
  useESM: true,
15
- tsconfig: 'tsconfig.json',
15
+ tsconfig: 'tsconfig.spec.json',
16
16
  },
17
17
  ],
18
18
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eqxjs/nest-common",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "Common library for eqxjs provides shared constants, enums, and utilities.",
5
5
  "author": "ESBM Cronus",
6
6
  "license": "ISC",
@@ -8,7 +8,7 @@
8
8
  "main": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
10
10
  "scripts": {
11
- "prebuild": "rm -rf dist",
11
+ "prebuild": "yarn clean && rm -rf dist",
12
12
  "format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
13
13
  "format:fix": "prettier --write --list-different \"src/**/*.ts\" \"test/**/*.ts\"",
14
14
  "install:dev": "yarn install && husky && yarn run install:dev:commit-msg && yarn run install:dev:pre-commit && yarn run install:dev:prepare-commit-msg",
@@ -37,37 +37,48 @@
37
37
  },
38
38
  "dependencies": {},
39
39
  "devDependencies": {
40
- "@commitlint/cli": "^19.8.1",
41
- "@commitlint/config-conventional": "^19.8.1",
42
- "@commitlint/types": "^19.8.1",
40
+ "@commitlint/cli": "^20.1.0",
41
+ "@commitlint/config-conventional": "^20.0.0",
42
+ "@commitlint/types": "^20.0.0",
43
43
  "@eslint/eslintrc": "^3.3.1",
44
- "@eslint/js": "^9.34.0",
44
+ "@eslint/js": "^9.39.1",
45
45
  "@types/jest": "^29.5.14",
46
- "@types/node": "^22.17.0",
46
+ "@types/node": "^24.10.1",
47
47
  "@types/supertest": "^6.0.3",
48
48
  "commitizen": "^4.3.1",
49
49
  "conventional-changelog-atom": "^5.0.0",
50
50
  "conventional-changelog-cli": "^5.0.0",
51
51
  "cz-conventional-changelog": "^3.3.0",
52
- "eslint": "^9.34.0",
52
+ "eslint": "^9.39.1",
53
53
  "eslint-config-prettier": "^10.1.8",
54
- "eslint-plugin-jest": "^29.0.1",
54
+ "eslint-plugin-jest": "^29.2.0",
55
55
  "eslint-plugin-prettier": "^5.5.4",
56
- "globals": "^16.3.0",
56
+ "globals": "^16.5.0",
57
57
  "husky": "^9.1.7",
58
58
  "jest": "^29.7.0",
59
59
  "jest-mock-extended": "^3.0.7",
60
- "lint-staged": "^16.1.6",
60
+ "lint-staged": "^16.2.7",
61
61
  "prettier": "^3.6.2",
62
62
  "reflect-metadata": "^0.2.2",
63
63
  "source-map-support": "^0.5.21",
64
64
  "standard-version": "^9.5.0",
65
65
  "supertest": "^7.1.4",
66
- "ts-jest": "^29.4.1",
66
+ "ts-jest": "^29.4.5",
67
67
  "ts-loader": "^9.5.4",
68
68
  "ts-node": "^10.9.2",
69
69
  "tsconfig-paths": "^4.2.0",
70
- "typescript": "^5.9.2",
71
- "typescript-eslint": "^8.41.0"
70
+ "typescript": "^5.9.3",
71
+ "typescript-eslint": "^8.47.0",
72
+ "webpack": "^5.103.0"
73
+ },
74
+ "overrides": {
75
+ "@conventional-changelog/git-client": "^2.0.0",
76
+ "js-yaml": "^3.14.2",
77
+ "tmp": "^0.2.4"
78
+ },
79
+ "resolutions": {
80
+ "@conventional-changelog/git-client": "^2.0.0",
81
+ "js-yaml": "^3.14.2",
82
+ "tmp": "^0.2.4"
72
83
  }
73
84
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "isolatedModules": true
5
+ }
6
+ }