We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--project
sourceRoot
projectType
angular.json
ng g @ngxs/schematics:store --name=store/auth --spec --project=auth -d
should generate:
CREATE libs/auth/src/libs/store/auth/auth.actions.ts CREATE libs/auth/src/libs/store/auth/auth.state.spec.ts CREATE libs/auth/src/libs/store/auth/auth.state.ts
Workaround
ng g @ngxs/schematics:store --name=store/auth --spec --project=auth --sourceRoot=libs/auth/src/libs -d
--name
path
store/auth/auth.actions.ts -> store/auth.actions.ts
should generate
CREATE libs/auth/src/libs/store/auth.actions.ts CREATE libs/auth/src/libs/store/auth.state.spec.ts CREATE libs/auth/src/libs/store/auth.state.ts
ng g @ngxs/schematics:store store/auth --spec --project=auth -d
--spec=true
--spec=false
The text was updated successfully, but these errors were encountered:
All of these sound right to me
Sorry, something went wrong.
@markwhitfeld any update on this ?
No branches or pull requests
--project
is provided, schematics should derivesourceRoot
andprojectType
fromangular.json
for that project.should generate:
Workaround
--name
consistspath
, it should not add extra path prefix. i.e.,store/auth/auth.actions.ts -> store/auth.actions.ts
should generate
--name
is not provided, first arg should be treated as--name
--spec=true
should be default. if users don't need spec , they can provide--spec=false
The text was updated successfully, but these errors were encountered: