@domain-first/project-structure 8.7.0 → 8.8.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.
- package/README.md +2 -0
- package/dist/287.js +1275 -1127
- package/dist/561.js +19 -3
- package/dist/780.js +9 -2
- package/dist/agent-cli.d.ts +35 -4
- package/dist/agent-requests.d.ts +22 -0
- package/dist/backend-module-move.d.ts +16 -0
- package/dist/config-file.d.ts +38 -18
- package/dist/graph.cjs +9 -2
- package/dist/implementation-options-schema.d.ts +19 -9
- package/dist/in-memory-db.d.ts +5 -6
- package/dist/index.cjs +1635 -1464
- package/dist/init.cjs +53 -59
- package/dist/integration-tests.d.ts +39 -0
- package/dist/integration-tests.spec.d.ts +1 -0
- package/dist/integration.cjs +1635 -1464
- package/dist/lint.cjs +9 -2
- package/dist/react.cjs +1635 -1464
- package/dist/upgrade-steps.d.ts +19 -4
- package/dist/upgrade.cjs +9 -2
- package/dist/use-cases/prompt-implementation-type.d.ts +2 -0
- package/package.json +1 -1
- package/skills/df-ps-implement/SKILL.md +2 -1
- package/skills/df-ps-scaffold/SKILL.md +2 -1
- package/skills/df-ps-scaffold/references/agent-mode.md +1 -1
- package/skills/df-ps-scaffold/references/agent-operations.md +2 -2
- package/skills/df-ps-scaffold/references/generators.md +31 -7
- package/skills/df-ps-scaffold/references/units/aggregate.md +3 -2
- package/skills/df-ps-scaffold/references/units/command-query.md +3 -2
- package/skills/df-ps-scaffold/references/units/helper.md +1 -1
- package/skills/df-ps-scaffold/references/units/implementation.md +1 -1
- package/skills/df-ps-scaffold/references/units/port.md +2 -1
- package/skills/df-ps-scaffold/references/units/services.md +4 -3
package/README.md
CHANGED
|
@@ -280,6 +280,8 @@ Run `npx df-integration` to configure one or several of the REST endpoint genera
|
|
|
280
280
|
|
|
281
281
|
The endpoint generator and the in-memory DB are what `df-init` scaffolds; as integrations they add them later or restore missing files, and never overwrite existing ones.
|
|
282
282
|
|
|
283
|
+
With Testcontainers, the CLI asks which implementation types get integration tests (`prisma` yes, `stripe` probably not). From then on, each new implementation of such a type, like `PrismaOrdersQuery`, gets a spec in `specs/integration/` that builds it through its wire and runs against PostgreSQL in a container; an infrastructure service gets one when you ask. Unit specs stay with the domain model, services and use cases.
|
|
284
|
+
|
|
283
285
|
### How to check the rules
|
|
284
286
|
|
|
285
287
|
```
|