Skip to content

Commit

Permalink
feat(release): improve error msg to mention how to add the nx/js plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr committed Jun 8, 2024
1 parent 55197fb commit d6e2f74
Show file tree
Hide file tree
Showing 2 changed files with 21,209 additions and 18,202 deletions.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/release/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ function resolveGeneratorData({
*/
if (collectionName === '@nx/js') {
throw new Error(
'The @nx/js plugin is required in order to version your JavaScript packages. Please install it and try again.'
'The @nx/js plugin is required in order to version your JavaScript packages. Run "nx add @nx/js" to add it to your workspace.'
);
}
throw new Error(
Expand Down
Loading

0 comments on commit d6e2f74

Please sign in to comment.