Skip to content

Commit

Permalink
revert: add empty targets in project.json when generating projects wi…
Browse files Browse the repository at this point in the history
…th inferred tasks
  • Loading branch information
tinesoft committed Jun 22, 2024
1 parent a4e9878 commit 3bba12a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function generateProjectConfiguration(
sourceRoot: joinPathFragments(options.projectRoot, 'src'),
...(!isNxCrystalEnabled()
? getProjectTypeAndTargetsFromOptions(options)
: { targets: {} }),
: {}),
tags: options.parsedTags,
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function generateProjectConfiguration(
sourceRoot: joinPathFragments(options.projectRoot, 'src'),
...(!isNxCrystalEnabled()
? getProjectTypeAndTargetsFromOptions(options)
: { targets: {} }),
: {}),
tags: options.parsedTags,
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function generateProjectConfiguration(
sourceRoot: joinPathFragments(options.projectRoot, 'src'),
...(!isNxCrystalEnabled()
? getProjectTypeAndTargetsFromOptions(options)
: { targets: {} }),
: {}),
tags: options.parsedTags,
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function generateProjectConfiguration(
sourceRoot: joinPathFragments(options.projectRoot, 'src'),
...(!isNxCrystalEnabled()
? getProjectTypeAndTargetsFromOptions(options)
: { targets: {} }),
: {}),
tags: options.parsedTags,
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function generateProjectConfiguration(
sourceRoot: joinPathFragments(options.projectRoot, 'src'),
...(!isNxCrystalEnabled()
? getProjectTypeAndTargetsFromOptions(options)
: { targets: {} }),
: {}),
tags: options.parsedTags,
});
}

0 comments on commit 3bba12a

Please sign in to comment.