@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.
Files changed (33) hide show
  1. package/README.md +2 -0
  2. package/dist/287.js +1275 -1127
  3. package/dist/561.js +19 -3
  4. package/dist/780.js +9 -2
  5. package/dist/agent-cli.d.ts +35 -4
  6. package/dist/agent-requests.d.ts +22 -0
  7. package/dist/backend-module-move.d.ts +16 -0
  8. package/dist/config-file.d.ts +38 -18
  9. package/dist/graph.cjs +9 -2
  10. package/dist/implementation-options-schema.d.ts +19 -9
  11. package/dist/in-memory-db.d.ts +5 -6
  12. package/dist/index.cjs +1635 -1464
  13. package/dist/init.cjs +53 -59
  14. package/dist/integration-tests.d.ts +39 -0
  15. package/dist/integration-tests.spec.d.ts +1 -0
  16. package/dist/integration.cjs +1635 -1464
  17. package/dist/lint.cjs +9 -2
  18. package/dist/react.cjs +1635 -1464
  19. package/dist/upgrade-steps.d.ts +19 -4
  20. package/dist/upgrade.cjs +9 -2
  21. package/dist/use-cases/prompt-implementation-type.d.ts +2 -0
  22. package/package.json +1 -1
  23. package/skills/df-ps-implement/SKILL.md +2 -1
  24. package/skills/df-ps-scaffold/SKILL.md +2 -1
  25. package/skills/df-ps-scaffold/references/agent-mode.md +1 -1
  26. package/skills/df-ps-scaffold/references/agent-operations.md +2 -2
  27. package/skills/df-ps-scaffold/references/generators.md +31 -7
  28. package/skills/df-ps-scaffold/references/units/aggregate.md +3 -2
  29. package/skills/df-ps-scaffold/references/units/command-query.md +3 -2
  30. package/skills/df-ps-scaffold/references/units/helper.md +1 -1
  31. package/skills/df-ps-scaffold/references/units/implementation.md +1 -1
  32. package/skills/df-ps-scaffold/references/units/port.md +2 -1
  33. 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
  ```