@nestjs/cqrs 11.0.0-next.2 → 11.0.0

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.
@@ -7,7 +7,7 @@ aliases:
7
7
  - &install-deps
8
8
  run:
9
9
  name: Install dependencies
10
- command: npm ci --ignore-scripts
10
+ command: npm install --ignore-scripts
11
11
  - &build-packages
12
12
  run:
13
13
  name: Build
@@ -20,14 +20,11 @@ jobs:
20
20
  - image: cimg/node:22.3
21
21
  steps:
22
22
  - checkout
23
- - run:
24
- name: Update NPM version
25
- command: sudo npm install -g npm@latest
26
23
  - restore_cache:
27
24
  key: dependency-cache-{{ checksum "package.json" }}
28
25
  - run:
29
26
  name: Install dependencies
30
- command: npm ci --ignore-scripts
27
+ command: npm install --ignore-scripts
31
28
  - save_cache:
32
29
  key: dependency-cache-{{ checksum "package.json" }}
33
30
  paths:
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
3
  var _a, _b;
3
4
  Object.defineProperty(exports, "__esModule", { value: true });
4
5
  exports.AggregateRoot = void 0;
@@ -0,0 +1,42 @@
1
+ // @ts-check
2
+ import eslint from '@eslint/js';
3
+ import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
4
+ import globals from 'globals';
5
+ import tseslint from 'typescript-eslint';
6
+
7
+ export default tseslint.config(
8
+ {
9
+ ignores: ['tests/**'],
10
+ },
11
+ eslint.configs.recommended,
12
+ ...tseslint.configs.recommendedTypeChecked,
13
+ eslintPluginPrettierRecommended,
14
+ {
15
+ languageOptions: {
16
+ globals: {
17
+ ...globals.node,
18
+ ...globals.jest,
19
+ },
20
+ ecmaVersion: 5,
21
+ sourceType: 'module',
22
+ parserOptions: {
23
+ projectService: true,
24
+ tsconfigRootDir: import.meta.dirname,
25
+ },
26
+ },
27
+ },
28
+ {
29
+ rules: {
30
+ '@typescript-eslint/no-explicit-any': 'off',
31
+ '@typescript-eslint/no-unsafe-assignment': 'off',
32
+ '@typescript-eslint/no-unsafe-call': 'off',
33
+ '@typescript-eslint/no-unsafe-member-access': 'off',
34
+ '@typescript-eslint/no-unsafe-function-type': 'off',
35
+ '@typescript-eslint/no-unsafe-argument': 'off',
36
+ '@typescript-eslint/no-unsafe-return': 'off',
37
+ '@typescript-eslint/require-await': 'warn',
38
+ '@typescript-eslint/no-unused-expressions': 'warn',
39
+ '@typescript-eslint/no-empty-object-type': 'off',
40
+ },
41
+ },
42
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/cqrs",
3
- "version": "11.0.0-next.2",
3
+ "version": "11.0.0",
4
4
  "description": "A lightweight CQRS module for Nest framework (node.js)",
5
5
  "license": "MIT",
6
6
  "url": "https://github.com/nestjs/cqrs#readme",
@@ -15,36 +15,37 @@
15
15
  "publish:npm": "npm publish --access public",
16
16
  "prerelease": "npm run build",
17
17
  "release": "release-it",
18
- "prepare": "husky install",
18
+ "prepare": "husky",
19
19
  "test:e2e": "jest --config ./test/jest-e2e.json --runInBand"
20
20
  },
21
- "dependencies": {},
22
21
  "devDependencies": {
23
- "@commitlint/cli": "19.6.0",
24
- "@commitlint/config-angular": "19.6.0",
25
- "@nestjs/common": "10.4.11",
26
- "@nestjs/core": "10.4.11",
27
- "@nestjs/testing": "10.4.12",
22
+ "@commitlint/cli": "19.6.1",
23
+ "@commitlint/config-angular": "19.7.0",
24
+ "@eslint/eslintrc": "3.2.0",
25
+ "@eslint/js": "9.18.0",
26
+ "@nestjs/common": "11.0.1",
27
+ "@nestjs/core": "11.0.1",
28
+ "@nestjs/testing": "11.0.1",
28
29
  "@types/jest": "29.5.14",
29
- "@types/node": "22.10.1",
30
- "@typescript-eslint/eslint-plugin": "8.16.0",
31
- "@typescript-eslint/parser": "8.16.0",
32
- "eslint": "9.15.0",
33
- "eslint-config-prettier": "9.1.0",
34
- "eslint-plugin-import": "2.31.0",
30
+ "@types/node": "22.10.7",
31
+ "eslint": "9.18.0",
32
+ "eslint-config-prettier": "10.0.1",
33
+ "eslint-plugin-prettier": "5.2.2",
34
+ "globals": "15.14.0",
35
35
  "husky": "9.1.7",
36
36
  "jest": "29.7.0",
37
- "lint-staged": "15.2.10",
38
- "prettier": "3.4.1",
37
+ "lint-staged": "15.4.1",
38
+ "prettier": "3.4.2",
39
39
  "reflect-metadata": "0.2.2",
40
- "release-it": "17.10.0",
40
+ "release-it": "18.1.1",
41
41
  "rxjs": "7.8.1",
42
42
  "ts-jest": "29.2.5",
43
- "typescript": "5.7.2"
43
+ "typescript": "5.7.3",
44
+ "typescript-eslint": "8.20.0"
44
45
  },
45
46
  "peerDependencies": {
46
- "@nestjs/common": "^9.0.0 || ^10.0.0",
47
- "@nestjs/core": "^9.0.0 || ^10.0.0",
47
+ "@nestjs/common": "^10.0.0 || ^11.0.0",
48
+ "@nestjs/core": "^10.0.0 || ^11.0.0",
48
49
  "reflect-metadata": "^0.1.13 || ^0.2.0",
49
50
  "rxjs": "^7.2.0"
50
51
  },
@@ -7,4 +7,8 @@
7
7
  "include": [
8
8
  "src/**/*",
9
9
  ],
10
+ "exclude": [
11
+ "node_modules",
12
+ "**/*.spec.ts"
13
+ ]
10
14
  }