@nestjs-pipeline/cqrs-ddd 0.5.0 → 0.6.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.
@@ -9,21 +9,25 @@ This Commercial License Agreement ("Agreement") is a legal agreement between You
9
9
  Upon acceptance of this Agreement and compliance with the Payment Terms in Section 2, the Licensor grants You a non-exclusive, worldwide, non-transferable license to use, modify, integrate, and distribute the Software in commercial applications WITHOUT the copyleft obligations of the GNU Affero General Public License v3 (AGPLv3). Under this Agreement, You are NOT required to open-source Your proprietary code that integrates with the Software.
10
10
 
11
11
  2. PAYMENT TERMS AND REVENUE TIERS
12
- This license requires an annual fee based on Your (or Your organization's) total gross global revenue for the most recently completed fiscal year.
12
+ This license requires an annual fee based on Your (or Your organization's) total gross global revenue for the most recently completed fiscal year.
13
13
 
14
- The annual fee is calculated using the following scaled brackets:
14
+ The annual fee is calculated using the following marginal brackets. Each rate applies only to the portion of gross revenue that falls within its bracket, and the annual fee is the sum of the amounts for all brackets:
15
15
 
16
- a) Tier 1: Gross revenue up to $500,000 USD
17
- Fee: $0 (Free Commercial Use)
16
+ a) Tier 1: The portion of gross revenue up to $500,000 USD
17
+ Rate: 0% (Free Commercial Use). If gross revenue does not exceed $500,000 USD, the fee is $0.
18
18
 
19
- b) Tier 2: Gross revenue between $500,001 and $10,000,000 USD
20
- Fee: 0.1% of total gross revenue.
19
+ b) Tier 2: The portion of gross revenue above $500,000 USD and up to $10,000,000 USD
20
+ Rate: 0.1% of that portion.
21
21
 
22
- c) Tier 3: Gross revenue between $10,000,001 and $50,000,000 USD
23
- Fee: 0.05% of total gross revenue.
22
+ c) Tier 3: The portion of gross revenue above $10,000,000 USD and up to $50,000,000 USD
23
+ Rate: 0.05% of that portion.
24
24
 
25
- d) Tier 4: Gross revenue exceeding $50,000,000 USD
26
- Fee: 0.01% of total gross revenue, up to a maximum hard cap of $50,000 USD per year.
25
+ d) Tier 4: The portion of gross revenue above $50,000,000 USD
26
+ Rate: 0.01% of that portion.
27
+
28
+ The total annual fee never exceeds a maximum hard cap of $50,000 USD per year.
29
+
30
+ Example: for gross revenue of $20,000,000 USD, the annual fee is 0.1% of $9,500,000 USD ($9,500) plus 0.05% of $10,000,000 USD ($5,000), a total of $14,500 USD.
27
31
 
28
32
  3. REPORTING AND REMITTANCE
29
33
  - Fees are calculated annually and must be remitted to the Licensor within ninety (90) days following the close of Your fiscal year.
package/README.md CHANGED
@@ -1,10 +1,52 @@
1
1
  # @nestjs-pipeline/cqrs-ddd
2
2
 
3
- The NestJS adapter of the `@cqrs-ddd` packages under its `@nestjs-pipeline` name. It holds
4
- no code: every entry point (`.`, `./correlation`, `./job-context`) re-exports
5
- [`@cqrs-ddd/nestjs`](https://aristoteliss.github.io/ddd-cqrs/packages/nestjs/), which it depends on. Read that package's README
6
- for what it does; new code can install `@cqrs-ddd/nestjs` directly.
3
+ > ## The main repository is [ddd-cqrs](https://github.com/aristoteliss/ddd-cqrs). You can use [`@cqrs-ddd/nestjs`](https://www.npmjs.com/package/@cqrs-ddd/nestjs) directly.
4
+ >
5
+ > **This package has no code of its own.** It re-exports `@cqrs-ddd/nestjs` at the same
6
+ > version, 0.6.1. The code, the issues and the releases are in
7
+ > [ddd-cqrs](https://github.com/aristoteliss/ddd-cqrs). The documentation is at
8
+ > [aristoteliss.github.io/ddd-cqrs](https://aristoteliss.github.io/ddd-cqrs/).
9
+ >
10
+ > **This package is not deprecated.** An application can keep the `@nestjs-pipeline/cqrs-ddd`
11
+ > name, or replace it with `@cqrs-ddd/nestjs`. The import paths change, and the code stays
12
+ > the same.
13
+
14
+ [![npm version](https://img.shields.io/npm/v/@nestjs-pipeline/cqrs-ddd.svg)](https://www.npmjs.com/package/@nestjs-pipeline/cqrs-ddd)
15
+ [![License](https://img.shields.io/npm/l/@nestjs-pipeline/cqrs-ddd.svg)](https://www.npmjs.com/package/@nestjs-pipeline/cqrs-ddd)
16
+
17
+ The NestJS adapter of the `@cqrs-ddd` packages under its `@nestjs-pipeline` name. Every
18
+ entry point (`.`, `./correlation`, `./job-context`) re-exports the same entry point of
19
+ [`@cqrs-ddd/nestjs`](https://aristoteliss.github.io/ddd-cqrs/packages/nestjs/), which it
20
+ depends on. Read the guide of that package for what it does.
21
+
22
+ ## Installation
7
23
 
8
24
  ```bash
9
- pnpm add @nestjs-pipeline/cqrs-ddd @cqrs-ddd/pipeline @cqrs-ddd/core
25
+ pnpm add @nestjs-pipeline/cqrs-ddd @cqrs-ddd/pipeline @cqrs-ddd/core \
26
+ @nestjs/common @nestjs/core @nestjs/cqrs
10
27
  ```
28
+
29
+ Requires Node.js 22.12 or later and NestJS 12. The behavior packages
30
+ (`@cqrs-ddd/pipeline-zod`, `-casl`, `-feature-flags`, `-rate-limit`, `-idempotency`,
31
+ `-correlation`, `-job-context`) are optional peers.
32
+
33
+ ## Other `@nestjs-pipeline` names at 0.6.1
34
+
35
+ | Package | Re-exports |
36
+ | --- | --- |
37
+ | `@nestjs-pipeline/core` | `@cqrs-ddd/pipeline` and `@cqrs-ddd/nestjs` |
38
+ | `@nestjs-pipeline/correlation` | `@cqrs-ddd/pipeline-correlation` and `@cqrs-ddd/nestjs/correlation` |
39
+ | `@nestjs-pipeline/job-context` | `@cqrs-ddd/pipeline-job-context` and `@cqrs-ddd/nestjs/job-context` |
40
+
41
+ ## Upgrade from 0.5.0
42
+
43
+ 0.6.1 requires the `@cqrs-ddd` 0.6 packages: `@cqrs-ddd/core` and `@cqrs-ddd/pipeline`
44
+ `^0.6.1`, and the same range for each optional peer that the application installs. The
45
+ changes of `@cqrs-ddd` from 0.5 to 0.6 are in its
46
+ [CHANGELOG](https://github.com/aristoteliss/ddd-cqrs/blob/master/CHANGELOG.md).
47
+
48
+ ## License
49
+
50
+ Dual-licensed under **AGPL-3.0-or-later** or a **Commercial License**. See
51
+ [`LICENSE`](https://github.com/aristoteliss/nestjs-pipeline/blob/master/LICENSE) and [`COMMERCIAL_LICENSE.txt`](https://github.com/aristoteliss/nestjs-pipeline/blob/master/COMMERCIAL_LICENSE.txt)
52
+ at the repository root.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs-pipeline/cqrs-ddd",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "The NestJS adapter of the @cqrs-ddd packages under the @nestjs-pipeline name: re-exports @cqrs-ddd/nestjs, which holds the code",
5
5
  "author": "Aristotelis",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -50,31 +50,31 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@cqrs-ddd/nestjs": "^0.5.0"
53
+ "@cqrs-ddd/nestjs": "^0.6.1"
54
54
  },
55
55
  "devDependencies": {
56
- "@cqrs-ddd/core": "^0.5.0",
57
- "@cqrs-ddd/pipeline": "^0.5.0",
58
- "@cqrs-ddd/pipeline-correlation": "^0.5.0",
59
- "@cqrs-ddd/pipeline-job-context": "^0.5.0",
60
- "@nestjs/common": "^12.1.1",
61
- "@nestjs/core": "^12.1.1",
62
- "@nestjs/cqrs": "^12.1.0",
63
- "@vitest/coverage-v8": "^5.0.2",
56
+ "@cqrs-ddd/core": "^0.6.1",
57
+ "@cqrs-ddd/pipeline": "^0.6.1",
58
+ "@cqrs-ddd/pipeline-correlation": "^0.6.1",
59
+ "@cqrs-ddd/pipeline-job-context": "^0.6.1",
60
+ "@nestjs/common": "^12.5.1",
61
+ "@nestjs/core": "^12.5.1",
62
+ "@nestjs/cqrs": "^12.1.3",
63
+ "@vitest/coverage-v8": "^5.1.1",
64
64
  "reflect-metadata": "^0.2.2",
65
65
  "rxjs": "^7.8.2",
66
- "vitest": "^5.0.2"
66
+ "vitest": "^5.1.1"
67
67
  },
68
68
  "peerDependencies": {
69
- "@cqrs-ddd/core": "^0.5.0",
70
- "@cqrs-ddd/pipeline": "^0.5.0",
71
- "@cqrs-ddd/pipeline-casl": "^0.5.0",
72
- "@cqrs-ddd/pipeline-correlation": "^0.5.0",
73
- "@cqrs-ddd/pipeline-feature-flags": "^0.5.0",
74
- "@cqrs-ddd/pipeline-idempotency": "^0.5.0",
75
- "@cqrs-ddd/pipeline-job-context": "^0.5.0",
76
- "@cqrs-ddd/pipeline-rate-limit": "^0.5.0",
77
- "@cqrs-ddd/pipeline-zod": "^0.5.0",
69
+ "@cqrs-ddd/core": "^0.6.1",
70
+ "@cqrs-ddd/pipeline": "^0.6.1",
71
+ "@cqrs-ddd/pipeline-casl": "^0.6.1",
72
+ "@cqrs-ddd/pipeline-correlation": "^0.6.1",
73
+ "@cqrs-ddd/pipeline-feature-flags": "^0.6.1",
74
+ "@cqrs-ddd/pipeline-idempotency": "^0.6.1",
75
+ "@cqrs-ddd/pipeline-job-context": "^0.6.1",
76
+ "@cqrs-ddd/pipeline-rate-limit": "^0.6.1",
77
+ "@cqrs-ddd/pipeline-zod": "^0.6.1",
78
78
  "@nestjs/common": "^12.1.1",
79
79
  "@nestjs/core": "^12.1.1",
80
80
  "@nestjs/cqrs": "^12.1.0"