diff --git a/.husky/pre-commit b/.husky/pre-commit index 49987993..43cee7ba 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,7 +1,6 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -pnpm format pnpm affected:lint pnpm affected:test pnpm sync-preset-schemas diff --git a/packages/nx-flutter/src/generators/project/lib/generate-project-configuration.ts b/packages/nx-flutter/src/generators/project/lib/generate-project-configuration.ts index 944f558a..dfc58302 100644 --- a/packages/nx-flutter/src/generators/project/lib/generate-project-configuration.ts +++ b/packages/nx-flutter/src/generators/project/lib/generate-project-configuration.ts @@ -19,7 +19,7 @@ export function generateProjectConfiguration( sourceRoot: joinPathFragments(options.projectRoot, 'src'), ...(!isNxCrystalEnabled() ? getProjectTypeAndTargetsFromOptions(options) - : {}), + : { targets: {} }), tags: options.parsedTags, }); } diff --git a/packages/nx-ktor/src/generators/project/lib/generate-project-configuration.ts b/packages/nx-ktor/src/generators/project/lib/generate-project-configuration.ts index cd99c0f3..3c583c73 100644 --- a/packages/nx-ktor/src/generators/project/lib/generate-project-configuration.ts +++ b/packages/nx-ktor/src/generators/project/lib/generate-project-configuration.ts @@ -29,7 +29,7 @@ export function generateProjectConfiguration( sourceRoot: joinPathFragments(options.projectRoot, 'src'), ...(!isNxCrystalEnabled() ? getProjectTypeAndTargetsFromOptions(options) - : {}), + : { targets: {} }), tags: options.parsedTags, }); } diff --git a/packages/nx-micronaut/src/generators/project/lib/generate-project-configuration.ts b/packages/nx-micronaut/src/generators/project/lib/generate-project-configuration.ts index cd99c0f3..3c583c73 100644 --- a/packages/nx-micronaut/src/generators/project/lib/generate-project-configuration.ts +++ b/packages/nx-micronaut/src/generators/project/lib/generate-project-configuration.ts @@ -29,7 +29,7 @@ export function generateProjectConfiguration( sourceRoot: joinPathFragments(options.projectRoot, 'src'), ...(!isNxCrystalEnabled() ? getProjectTypeAndTargetsFromOptions(options) - : {}), + : { targets: {} }), tags: options.parsedTags, }); } diff --git a/packages/nx-quarkus/src/generators/project/lib/generate-project-configuration.ts b/packages/nx-quarkus/src/generators/project/lib/generate-project-configuration.ts index babb30ae..7cfb065c 100644 --- a/packages/nx-quarkus/src/generators/project/lib/generate-project-configuration.ts +++ b/packages/nx-quarkus/src/generators/project/lib/generate-project-configuration.ts @@ -29,7 +29,7 @@ export function generateProjectConfiguration( sourceRoot: joinPathFragments(options.projectRoot, 'src'), ...(!isNxCrystalEnabled() ? getProjectTypeAndTargetsFromOptions(options) - : {}), + : { targets: {} }), tags: options.parsedTags, }); } diff --git a/packages/nx-spring-boot/src/generators/project/lib/generate-project-configuration.ts b/packages/nx-spring-boot/src/generators/project/lib/generate-project-configuration.ts index babb30ae..7cfb065c 100644 --- a/packages/nx-spring-boot/src/generators/project/lib/generate-project-configuration.ts +++ b/packages/nx-spring-boot/src/generators/project/lib/generate-project-configuration.ts @@ -29,7 +29,7 @@ export function generateProjectConfiguration( sourceRoot: joinPathFragments(options.projectRoot, 'src'), ...(!isNxCrystalEnabled() ? getProjectTypeAndTargetsFromOptions(options) - : {}), + : { targets: {} }), tags: options.parsedTags, }); }