You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both nx g @nrwl/express:app/lib and nx g @nrwl/react:app/lib create files in the root of /apps//libs if the user does not provide an application name.
These schematics should fail with an error if the name is empty.
This should be a matter of either validating the options/schema before running any of the following rules, or possibly just adding a regex which will fail if the input is empty (note that libs starting with numbers would also be invalid, so something like ^[a-zA-Z]{1}.*$ might suffice.
The text was updated successfully, but these errors were encountered:
From here: #333 (comment)
Both
nx g @nrwl/express:app/lib
andnx g @nrwl/react:app/lib
create files in the root of/apps
//libs
if the user does not provide an application name.These schematics should fail with an error if the name is empty.
This should be a matter of either validating the options/schema before running any of the following rules, or possibly just adding a regex which will fail if the input is empty (note that libs starting with numbers would also be invalid, so something like
^[a-zA-Z]{1}.*$
might suffice.The text was updated successfully, but these errors were encountered: