@nx/nest:filter
Nest Filter Options Schema.
Nest Filter Options Schema.
1nx generate filter ...
2By 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 ...
2Show what will be generated without writing to disk:
1nx g filter ... --dry-run
2Generate the filter FooFilter at myapp/src/app/foo.filter.ts:
1nx g @nx/nest:filter myapp/src/app/foo.filter.ts
2Generate 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
2The file path to the filter. Relative to the current working directory.
js, tsNest filter language.
jestjest, noneTest runner to use for unit tests.
falseSkip formatting files.