ddd-ts-kit 0.84.0 → 0.84.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.md +6 -0
- package/dist/init/manifest/versions.js +24 -24
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/templates/pipeline/github/workflows/ci.yml.tpl +12 -12
- package/templates/pipeline/github/workflows/codeql.yml +1 -1
- package/templates/pipeline/github/workflows/copilot-setup-steps.yml +1 -1
- package/templates/pipeline/github/workflows/pr-title.yml +1 -1
- package/templates/pipeline/package-scripts.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ What each version changes for someone who uses the kit. The packages of `package
|
|
|
4
4
|
together, under one version; the notes of each [GitHub release](https://github.com/gbourgeat/ddd-ts-kit/releases)
|
|
5
5
|
list the pull requests behind it.
|
|
6
6
|
|
|
7
|
+
## 0.84.1
|
|
8
|
+
|
|
9
|
+
**The GitHub workflows `init` writes run on `ubuntu-26.04`, pinned instead of `ubuntu-latest`.** GitHub moves `ubuntu-latest` from Ubuntu 24.04 to 26.04 between 2026-10-19 and 2026-11-19; the whole pipeline of the kit, generated projects on npm and pnpm included, was run on 26.04 first. With the label pinned, a new image of GitHub reaches a project when its team changes the label, not on a day GitHub chooses. The kit runs its own workflows on the same label.
|
|
10
|
+
|
|
11
|
+
To move: replace `runs-on: ubuntu-latest` by `runs-on: ubuntu-26.04` in `.github/workflows/`. Do not run `init --force` for this: it writes every file of the platform again from the templates, losing what the generators added there (a grant of a role, the settings of a job, a policy), and replaces a workflow the team changed.
|
|
12
|
+
|
|
7
13
|
## 0.84.0
|
|
8
14
|
|
|
9
15
|
**`src/platform/auth/` holds one folder per question, and `ddd-ts-kit platform-folders` moves a project there.** A new project writes its authentication in `auth/authentication/` (the authenticator, the session of a request, the HTTP boundary), what a caller may do whatever the model in `auth/authorization/` (the authorizer behind the port, the guard of the buses, the access policies, `role.ts`, `permissions.ts`, `signed-in-grants.ts`, `log-decisions.ts`), and its model in the one folder `stack.authz` names: `roles/`, `attributes/`, `relationships/` or `custom/`. The names of the files do not change. A project generated before keeps working as it is: the generators, the presets, `init --force` and the rules `authz/granted` and `authz/scope-narrows` read and write its files flat, and `ddd-ts-kit doctor` reports `folder src/platform: flat` without failing `--strict`. `ddd-ts-kit platform-folders` moves the files the kit writes and rewrites every import of them under the source root, `test/` and `scripts/`, by alias or relative path, keeping the extension as written; it names the files of the team it leaves flat, and `--place <file>=<folder>` moves those too; `--dry-run` shows the plan.
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/** Ranges written to the generated package.json; bumped together with the kit. */
|
|
2
2
|
export const VERSIONS = {
|
|
3
|
-
'@ddd-ts-kit/kernel': '^0.84.
|
|
4
|
-
'@ddd-ts-kit/validation': '^0.84.
|
|
5
|
-
'@ddd-ts-kit/http': '^0.84.
|
|
6
|
-
'@ddd-ts-kit/tracing': '^0.84.
|
|
7
|
-
'@ddd-ts-kit/di': '^0.84.
|
|
8
|
-
'@ddd-ts-kit/events': '^0.84.
|
|
9
|
-
'@ddd-ts-kit/testing': '^0.84.
|
|
10
|
-
'@ddd-ts-kit/drizzle': '^0.84.
|
|
11
|
-
'@ddd-ts-kit/knex': '^0.84.
|
|
12
|
-
'@ddd-ts-kit/prisma': '^0.84.
|
|
13
|
-
'@ddd-ts-kit/typeorm': '^0.84.
|
|
14
|
-
'@ddd-ts-kit/auth': '^0.84.
|
|
15
|
-
'@ddd-ts-kit/rabbitmq': '^0.84.
|
|
16
|
-
'@ddd-ts-kit/aspects': '^0.84.
|
|
17
|
-
'@ddd-ts-kit/audit': '^0.84.
|
|
18
|
-
'@ddd-ts-kit/redis': '^0.84.
|
|
19
|
-
'@ddd-ts-kit/kafka': '^0.84.
|
|
20
|
-
'@ddd-ts-kit/nats': '^0.84.
|
|
21
|
-
'@ddd-ts-kit/scheduling': '^0.84.
|
|
22
|
-
'@ddd-ts-kit/sentry': '^0.84.
|
|
23
|
-
'@ddd-ts-kit/s3': '^0.84.
|
|
3
|
+
'@ddd-ts-kit/kernel': '^0.84.1',
|
|
4
|
+
'@ddd-ts-kit/validation': '^0.84.1',
|
|
5
|
+
'@ddd-ts-kit/http': '^0.84.1',
|
|
6
|
+
'@ddd-ts-kit/tracing': '^0.84.1',
|
|
7
|
+
'@ddd-ts-kit/di': '^0.84.1',
|
|
8
|
+
'@ddd-ts-kit/events': '^0.84.1',
|
|
9
|
+
'@ddd-ts-kit/testing': '^0.84.1',
|
|
10
|
+
'@ddd-ts-kit/drizzle': '^0.84.1',
|
|
11
|
+
'@ddd-ts-kit/knex': '^0.84.1',
|
|
12
|
+
'@ddd-ts-kit/prisma': '^0.84.1',
|
|
13
|
+
'@ddd-ts-kit/typeorm': '^0.84.1',
|
|
14
|
+
'@ddd-ts-kit/auth': '^0.84.1',
|
|
15
|
+
'@ddd-ts-kit/rabbitmq': '^0.84.1',
|
|
16
|
+
'@ddd-ts-kit/aspects': '^0.84.1',
|
|
17
|
+
'@ddd-ts-kit/audit': '^0.84.1',
|
|
18
|
+
'@ddd-ts-kit/redis': '^0.84.1',
|
|
19
|
+
'@ddd-ts-kit/kafka': '^0.84.1',
|
|
20
|
+
'@ddd-ts-kit/nats': '^0.84.1',
|
|
21
|
+
'@ddd-ts-kit/scheduling': '^0.84.1',
|
|
22
|
+
'@ddd-ts-kit/sentry': '^0.84.1',
|
|
23
|
+
'@ddd-ts-kit/s3': '^0.84.1',
|
|
24
24
|
'@aws-sdk/client-s3': '^3.1150.0',
|
|
25
25
|
'@aws-sdk/lib-storage': '^3.1150.0',
|
|
26
26
|
'@aws-sdk/s3-request-presigner': '^3.1150.0',
|
|
27
27
|
busboy: '^1.6.0',
|
|
28
28
|
'@sentry/node': '^11.6.0',
|
|
29
|
-
'@ddd-ts-kit/pino': '^0.84.
|
|
29
|
+
'@ddd-ts-kit/pino': '^0.84.1',
|
|
30
30
|
pino: '^10.4.0',
|
|
31
31
|
'pino-pretty': '^13.2.0',
|
|
32
|
-
'@ddd-ts-kit/winston': '^0.84.
|
|
32
|
+
'@ddd-ts-kit/winston': '^0.84.1',
|
|
33
33
|
winston: '^3.19.0',
|
|
34
34
|
'@confluentinc/kafka-javascript': '^1.11.0',
|
|
35
35
|
'@nats-io/jetstream': '^3.4.0',
|
|
@@ -37,7 +37,7 @@ export const VERSIONS = {
|
|
|
37
37
|
ioredis: '^6.0.0',
|
|
38
38
|
jose: '^6.0.0',
|
|
39
39
|
amqplib: '^2.2.0',
|
|
40
|
-
'ddd-ts-kit': '^0.84.
|
|
40
|
+
'ddd-ts-kit': '^0.84.1',
|
|
41
41
|
tsx: '^4.23.15',
|
|
42
42
|
vitest: '^5.0.3',
|
|
43
43
|
zod: '^4.6.5',
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.84.
|
|
1
|
+
export declare const VERSION = "0.84.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.84.
|
|
1
|
+
export const VERSION = '0.84.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ddd-ts-kit",
|
|
3
|
-
"version": "0.84.
|
|
3
|
+
"version": "0.84.1",
|
|
4
4
|
"description": "Bootstrap, scaffold and verify Domain-Driven Design (DDD), Clean Architecture and hexagonal TypeScript backends on Node.js: project and code generators, architecture checks, OpenAPI and AsyncAPI documents, for developers and AI coding agents (Claude Code, Codex, GitHub Copilot).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
"clean:packages": "node dist/bin.js check --clean-only ../kernel/src ../validation/src ../http/src ../tracing/src ../di/src ../events/src ../testing/src ../s3/src ../drizzle/src ../knex/src ../prisma/src ../typeorm/src ../aspects/src ../rabbitmq/src ../auth/src ../audit/src ../redis/src ../scheduling/src ../pino/src ../winston/src ../sentry/src ../kafka/src ../nats/src ../eslint-plugin/src"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@ddd-ts-kit/kernel": "^0.84.
|
|
55
|
+
"@ddd-ts-kit/kernel": "^0.84.1"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -19,7 +19,7 @@ permissions:
|
|
|
19
19
|
jobs:
|
|
20
20
|
install:
|
|
21
21
|
name: Install
|
|
22
|
-
runs-on: ubuntu-
|
|
22
|
+
runs-on: ubuntu-26.04
|
|
23
23
|
timeout-minutes: 10
|
|
24
24
|
outputs:
|
|
25
25
|
scope: ${{ steps.affected.outputs.scope }}
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
typecheck:
|
|
42
42
|
name: Typecheck
|
|
43
43
|
needs: install
|
|
44
|
-
runs-on: ubuntu-
|
|
44
|
+
runs-on: ubuntu-26.04
|
|
45
45
|
timeout-minutes: 10
|
|
46
46
|
steps:
|
|
47
47
|
- uses: actions/checkout@v7
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
lint:
|
|
52
52
|
name: Lint
|
|
53
53
|
needs: install
|
|
54
|
-
runs-on: ubuntu-
|
|
54
|
+
runs-on: ubuntu-26.04
|
|
55
55
|
timeout-minutes: 10
|
|
56
56
|
steps:
|
|
57
57
|
- uses: actions/checkout@v7
|
|
@@ -65,7 +65,7 @@ jobs:
|
|
|
65
65
|
architecture:
|
|
66
66
|
name: Architecture
|
|
67
67
|
needs: install
|
|
68
|
-
runs-on: ubuntu-
|
|
68
|
+
runs-on: ubuntu-26.04
|
|
69
69
|
timeout-minutes: 10
|
|
70
70
|
steps:
|
|
71
71
|
- uses: actions/checkout@v7
|
|
@@ -78,7 +78,7 @@ jobs:
|
|
|
78
78
|
deadcode:
|
|
79
79
|
name: Dead code
|
|
80
80
|
needs: install
|
|
81
|
-
runs-on: ubuntu-
|
|
81
|
+
runs-on: ubuntu-26.04
|
|
82
82
|
timeout-minutes: 10
|
|
83
83
|
steps:
|
|
84
84
|
- uses: actions/checkout@v7
|
|
@@ -88,7 +88,7 @@ jobs:
|
|
|
88
88
|
unit:
|
|
89
89
|
name: Unit tests
|
|
90
90
|
needs: install
|
|
91
|
-
runs-on: ubuntu-
|
|
91
|
+
runs-on: ubuntu-26.04
|
|
92
92
|
timeout-minutes: 15
|
|
93
93
|
steps:
|
|
94
94
|
- uses: actions/checkout@v7
|
|
@@ -110,7 +110,7 @@ jobs:
|
|
|
110
110
|
integration:
|
|
111
111
|
name: Integration tests
|
|
112
112
|
needs: install
|
|
113
|
-
runs-on: ubuntu-
|
|
113
|
+
runs-on: ubuntu-26.04
|
|
114
114
|
timeout-minutes: 20
|
|
115
115
|
env:
|
|
116
116
|
DATABASE_URL: postgres://app:app@localhost:5432/app
|
|
@@ -132,7 +132,7 @@ jobs:
|
|
|
132
132
|
e2e:
|
|
133
133
|
name: End-to-end tests
|
|
134
134
|
needs: install
|
|
135
|
-
runs-on: ubuntu-
|
|
135
|
+
runs-on: ubuntu-26.04
|
|
136
136
|
timeout-minutes: 20
|
|
137
137
|
env:
|
|
138
138
|
DATABASE_URL: postgres://app:app@localhost:5432/app
|
|
@@ -151,7 +151,7 @@ jobs:
|
|
|
151
151
|
build:
|
|
152
152
|
name: Build, docs and contract drift
|
|
153
153
|
needs: install
|
|
154
|
-
runs-on: ubuntu-
|
|
154
|
+
runs-on: ubuntu-26.04
|
|
155
155
|
timeout-minutes: 10
|
|
156
156
|
steps:
|
|
157
157
|
- uses: actions/checkout@v7
|
|
@@ -164,7 +164,7 @@ jobs:
|
|
|
164
164
|
security:
|
|
165
165
|
name: Security
|
|
166
166
|
needs: install
|
|
167
|
-
runs-on: ubuntu-
|
|
167
|
+
runs-on: ubuntu-26.04
|
|
168
168
|
timeout-minutes: 10
|
|
169
169
|
steps:
|
|
170
170
|
- uses: actions/checkout@v7
|
|
@@ -188,7 +188,7 @@ jobs:
|
|
|
188
188
|
image:
|
|
189
189
|
name: Docker image
|
|
190
190
|
needs: install
|
|
191
|
-
runs-on: ubuntu-
|
|
191
|
+
runs-on: ubuntu-26.04
|
|
192
192
|
timeout-minutes: 20
|
|
193
193
|
steps:
|
|
194
194
|
- uses: actions/checkout@v7
|
|
@@ -205,7 +205,7 @@ jobs:
|
|
|
205
205
|
name: gate
|
|
206
206
|
if: ${{ always() }}
|
|
207
207
|
needs: [install, typecheck, lint, architecture, deadcode, unit, integration, e2e, build, security, image]
|
|
208
|
-
runs-on: ubuntu-
|
|
208
|
+
runs-on: ubuntu-26.04
|
|
209
209
|
timeout-minutes: 5
|
|
210
210
|
steps:
|
|
211
211
|
- name: Every gate passed
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@biomejs/biome": "2.5.15",
|
|
24
24
|
"@commitlint/cli": "^21.2.3",
|
|
25
25
|
"@commitlint/config-conventional": "^21.2.3",
|
|
26
|
-
"@ddd-ts-kit/eslint-plugin": "^0.84.
|
|
26
|
+
"@ddd-ts-kit/eslint-plugin": "^0.84.1",
|
|
27
27
|
"@eslint/js": "^10.0.1",
|
|
28
28
|
"@typescript/native": "npm:typescript@~7.0.2",
|
|
29
29
|
"@vitest/coverage-v8": "5.0.3",
|