16.4.0 (2023-06-23)
Bug Fixes
- angular: do not overwrite ng-packagr version if already installed (#17353) (cd0b76d)
- js: do not overwrite supported typescript version (#17350) (c68b4bf)
- angular: dynamic host should not generate webpack.prod.config.js (#17385) (a775325)
- core: do not ship source maps with nx packages (#17389) (8a7f79f)
- core: reorganize global installation check for better clarity (#17373) (6c84353)
- nextjs: Update Next.js page generator to support app/ router (#17394) (02d9486)
- node: When serving using js:node executor NODE_ENV should not be undefined (#17375) (8f771e0)
- react-native: fix pod install to not throw error on stderr (#17382) (aa6b639)
- storybook: re-enable x-prompt and remove custom handling (#17360) (6d147b6)
- testing: resolve full paths to vite configs for vitest (#17396) (ca38a23)
- core: fix pnpm lockfile parsing in v6.1 (#17407) (05fb178)
- core: increase interval attempts for daemon server available on … (#16813) (5c7db06)
- js: dont ignore args option on node executor (#17463) (417ac38)
- js: pass buildTargetOptions in executor (#17459) (392366f)
- js: use
export type
for exports fromschema.d.ts
files (#17392) (d26d0f4) - nextjs: Update package.json build scripts (#17424) (1b7cb39)
- node: apply migration patch to 16.0.0 and 14.7.6 migrations as well (#17419) (b8cfbcc)
- storybook: add all Storybook CLI options to schema (#17358) (3cb7b8f)
- storybook: correctly identify if uses vite-based framework (#17465) (4819264)
- webpack: micro-frontend dev builds in React are not working in S… (#17403) (3997d3f)
- core: avoid terminal flickering when doing dynamic rendering (152cf00)
- core: match tasks by id in run-many terminal output lifecycles (#17460) (2d87f77)
- bundling: support BABEL_ENV over NODE_ENV for babel config (#17529) (9fa9fda)
- core: properly hash tasks that depend on outputs of other tasks (#17512) (83895e4)
- js: mark importPath option as important since it is required for publishable libs (#17509) (20359e7)
- nextjs: Update @nx/next to be a devDependency (#17510) (cb1bd5e)
- testing: fix windows e2e storage ENOENT (#17506) (fc42b7b)
- vite: properly find projectRoot (#17517) (8992400)
- core: fix logic for determining if task can be hashed upfront (#17540) (d1c1c1a)
- angular: find module from options should support full path #17547 (#17550) (860d82a)
- angular: fix @angular-eslint/* package updates to consider angular installed version (#17526) (e39ee11)
- core: properly hash tasks that depend on outputs of other tasks … (#17556) (5fc4238)
- js: add support for waitUntilTargets back (#17553) (35ed047)
- js: Ensure runTimeArgs are not ignored (#17527) (478fb8b)
- bundling: update esbuild project generator to support standalone… (#17558) (ec48f61)
- core: ensure createPackageJson does not override existing config (#17471) (2653809)
- core: ensure its file before reading (#17597) (c8dc4d8)
- core: handle string and array parserOptions.project values (#17500) (f18d50c)
- linter: fix relative path detection (#17592) (a21ab98)
- react: component test regex should not use global (#17548) (76b7d61)
- vite: enable e2e tests (#17577) (be8867d)
- vite: enable remaining e2e (#17593) (4ff5596)
- core: dedupe project files in rust (#17618) (00d07b1)
- nextjs: Support importing json files inside next.config.js (#17623) (a546d5f)
- testing: component testing generator should trust user to provide valid build target (#17600) (a25d1fc)
- web: e2e unit test nightly failing (#17617) (7e85063)
- nextjs: do not append workspaceRoot twice to tsConfigPath (#17611) (93b123a)
- core: cli option --graph should open graph ui by default (#17644) (f5c6ee5)
- js: node executor should always log error (#17622) (36838d6)
- nextjs: cleanup old options for server executor (proxyConfig) (#17626) (bfe8e47)
- testing: set jsdom as the default vitest environment when calling the generator programmatically (#17632) (bb88dd9)
- angular: ensure ngrx runtime utils are available for testing (#17721) (17c8ca6)
- bundling: add skipTypeField back for rollup executor (#17629) (162b144)
- bundling: check for browserslist when setting terser ecma #17620 (#17708) (6305e7f)
- core: determine workspace type when creating workspace passing "angular" or "react" as preset (#17724) (09e5b03)
- core: do not build the project graph in nx report if there's no native support (#17604) (71409ea)
- core: ensure correct package name matching when parsing pnpm lock file (#17613) (53a37d4)
- core: filter batches of outputs changes properly (#17697) (62628ab)
- core: fix batch mode not streaming outputs (#17717) (6bc0c6c)
- core: fix externalDependencies schema type (#17699) (5af50b9)
- core: get the client env when calculating the task hash in the daemon (#17677) (337a871)
- core: handle null plugin module when import fails for nx list (#17711) (8fdd68c)
- core: ignore nested node_module paths for findProjectOfResolvedModule in TargetProjectLocator (#17630) (1fda800)
- core: install npm via pkg for freebsd (#17735) (7455271)
- core: prune project graph after affected nodes are found to avoid errors (#17675) (2c47bba)
- core: run-commands should not parse strings as numbers (#17670) (7b86ac9)
- core: windows filePaths should be handled in findProjectForPath (#17688) (c46f025)
- docs: update url for fastify (#17669) (b34da2c)
- js: detect helpers correctly when pnpm external nodes are suffixed with version (#17694) (335c2d5)
- js: detect port before setup npm and yarn (#17680) (238ad4a)
- js: fix yarn setup to work with yarn3 (#17716) (c08d943)
- linter: improve error message for forbidden imports of lazy-loaded libs (#17635) (ef5813a)
- misc: mark name as required for ci-workflow generator (#17551) (3f0bddd)
- nx-dev: set conf logo to support both themes (#17714) (19ec1de)
- react: mf remote name incorrect with directory option (#17430) (09deeef)
- react: ssr should serve correctly and e2e should function (#17725) (fffd84c)
- testing: deprecate cypress tsconfig option (#17165) (f74ff4b)
- testing: update default webpack config for react CT (#17562) (f3f7406)
- webpack: update withNx mainFields ordering to support tree-shaking (#17599) (e21077f)
- core: store command runs in the correct cache directory (#17732) (f176f21)
- js: fix yarn3 verdaccio setup (#17742) (512b8ba)
- nextjs: Custom server generator root undefined (#17738) (61faa55)
- react: mf should consider ssl when setting remote urls #16989 (#17746) (1891add)
- storybook: update json correctly in migration (#17750) (5fa6e48)
- core: do not pass undefined to hasher (#17747) (e9dc24c)
- core: fix mixed lock file keys for yarn berry (#17752) (170546c)
- misc: update semver dependency (#17759) (d729fcf)
- nextjs: Respect --nextAppDir when passed during CNW (#17733) (1d937b0)
Features
- core: add --affected flag to nx graph (#17340) (a33e75e)
- core: rust based watcher (#16915) (a978ad3)
- core: deprecate print-affected and affected:graph (#17341) (63f85a1)
- core: remove node hashing implementation (#17338) (81ad49f)
- bundling: Add support to rollup for babelUpwardRootMode" (#17422)" (#17427) (bbb64f8)
- core: lazy load lock file processing dependencies (#17299) (f14c51e)
- expo: add submit executor (#17372) (1bc7965)
- js: add initial/experimental batch execution implementation for tsc executor (#17287) (b6cdf9d)
- js: do not generate root babel.config.json for babel projects (#17289) (08339ee)
- webpack: bump css-minimizer-webpack-plugin version to latest (#17456) (d5aca8b)
- core: add dependentTasksOutputFiles input (#17314) (ec4e857)
- nx-dev: add stackblitz button embed for markdown files (3580e4f)
- nx-dev: update changelog ui (#17075) (f0be962)
- storybook: generate ts config files by default (#17490) (1c478ae)
- vite: add incremental builds support to Vite plugin build executor (#17433) (a9f8cc6)
- vite: add type check to vite builder (#17487) (b953565)
- core: update stylus to latest version (#17519) (bf2c42c)
- react-native: upgrade react native to version 0.71.10 (#17535) (a8aeda9)
- core: build project file map with rust (#17472) (18f95a9)
- js: add preset for TS standalone workspace (#17467) (a19fbb1)
- js: add setup-build generator for JS packages (#17523) (edf0b1c)
- react: update types to match react version (#17571) (7abcb81)
- testing: add support for additional environment options when generating vite config (#17560) (8d5ef22)
- vite: update packages to latest versions (#17515) (7f15660)
- vite: upgrade vite to 4.3.9 (#17579) (a545090)
- node: remove node:node executor (#17615) (58a85d9)
- react: bump emotion packages versions (#17614) (5075138)
- nx-plugin: add verdaccio to create package e2e (#17566) (7baad04)
- angular: support angular v16.1 (#17155) (1fcba1a)
- nest: add migrations to nest 10 #17681 (#17685) (f35a4ac)
- nx-dev: update Nx Conf website (99265e4)
- nx-plugin: enable createPackageName prompt (#17646) (e440b44)
- nx-plugin: update e2e tests to use local-registry and be simpler (#17639) (b7d05a0)
- react: update types for react, react-dom, and react-is (#17727) (16b9b20)
- nest: added es2021 support for nest generators (#17726) (6cb159e)
- linter: add rule for dependency checking (#17581) (ef8c4ed)
- nest: add v10 migrations for tsconfig & CacheModule (#17741) (62651a5)
- nx-dev: site map (#17743) (30a4926)