@domain-first/project-structure 2.7.3 → 2.7.4

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 CHANGED
@@ -209,7 +209,7 @@ The project configuration is stored in `domain-first.project-structure.config.js
209
209
  | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
210
210
  | `rootFolder` | Base path for generated source, relative to the project root. |
211
211
  | `domainFirstPackages` | Explicit list of integrations used by templates. An empty array selects basic class templates where supported. |
212
- | `defaultPersistenceLayerImplementation` | Suggested implementation label for execution commands and queries. Repository and port prompts have their own defaults: `prisma` and `api`. |
212
+ | `defaultPersistenceLayerImplementation` | Suggested implementation label for execution commands and queries. |
213
213
  | `useReact` | Shows or hides the React module menu. |
214
214
  | `testingLibrary` | Module imported by generated tests. Omit this field to disable test prompts. Templates expect helpers such as `describe`, `test`, `expect`, and `beforeEach`. |
215
215
 
package/dist/index.cjs CHANGED
@@ -284,7 +284,7 @@ describe('${aggregateNaming.withSpaces}', () => {
284
284
  barrelFile.addLine(`export * from './${aggregateNaming.fileName}-repository'`);
285
285
  const infrastructureImplementationType = await (0, prompts_namespaceObject.input)({
286
286
  message: 'Repository infrastructure implementation type:',
287
- default: 'prisma'
287
+ default: ConfigFile.Instance.data.defaultPersistenceLayerImplementation
288
288
  });
289
289
  let addTestImplementation = false;
290
290
  let testImplementationType = '';
package/dist/index.js CHANGED
@@ -254,7 +254,7 @@ describe('${aggregateNaming.withSpaces}', () => {
254
254
  barrelFile.addLine(`export * from './${aggregateNaming.fileName}-repository'`);
255
255
  const infrastructureImplementationType = await input({
256
256
  message: 'Repository infrastructure implementation type:',
257
- default: 'prisma'
257
+ default: ConfigFile.Instance.data.defaultPersistenceLayerImplementation
258
258
  });
259
259
  let addTestImplementation = false;
260
260
  let testImplementationType = '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@domain-first/project-structure",
3
3
  "description": "Build and manage your Domain-First project structure with CLI",
4
- "version": "2.7.3",
4
+ "version": "2.7.4",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",