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
After all folders are renamed to mocks adjust inputs in nx.json
"!{projectRoot}/@(test|mocks|mock)/**/*"
"!{projectRoot}/**/?(*.)mock.[jt]s?(x)"
Mocks creation
unify test folder setup and document it. Use the creation from static files instead of generator that depend on Nx specifics like tree etc. Cut deps to Nx devkit would be best.
src/lib/index.ts - exclude files that only maintain exports e.g. index.ts (in some places index.ts files also contain actual logic. here I we can refactor to have all index.ts used for barrel export only and only in src root)
exclude other files that are not relevant for test coverage
.type.ts
Caching
Move zod2md.ts under {projectRoot}/tools and make sure "!{projectRoot}/tools/**/*" is added under nx.json#namedInputs.productionchore: add zod2md-nx-plugin #1162
remove vitest executor defaults from nx.json in favour of target name as they are conflicting and only one of them wins. refactor: update to nx 22 #1196
Activity
poltorak commentedon Jan 8, 2026
@BioPhoton
in the first point:
didn't you mean to rename
nx-plugin/mocktonx-plugin/mocks(plural)? not changingnx-plugintomodels?refactor: remove noise files from test coverage (#1214)
test: standardise mock and setup file and testing related folder names (