@nx/nest:filter
Nest Filter Options Schema.
Nest Filter Options Schema.
1nx generate filter ...
2
By default, Nx will search for filter
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/nest:filter ...
2
Show what will be generated without writing to disk:
1nx g filter ... --dry-run
2
Generate the filter FooFilter
at myapp/src/app/foo.filter.ts
:
1nx g @nx/nest:filter myapp/src/app/foo.filter.ts
2
Generate the filter without providing the file extension. It results in the filter FooFilter
at myapp/src/app/foo.filter.ts
:
1nx g @nx/nest:filter myapp/src/app/foo
2
The file path to the filter. Relative to the current working directory.
js
, ts
Nest filter language.
jest
jest
, none
Test runner to use for unit tests.
false
Skip formatting files.