fix(release): improve error msg to mention how to add the nx/js plugin (#26473)

This commit is contained in:
Juri Strumpflohner 2024-06-09 21:33:38 +02:00 committed by GitHub
parent 55197fb33f
commit 9280c9a8d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(