github nrwl/nx 16.6.0

latest releases: 20.0.0-beta.1, 20.0.0-beta.0, 19.8.0...
14 months ago

16.6.0 (2023-07-31)

Bug Fixes

  • angular: automatically skip remotes not in the current workspace #17473 (#17497) (c64f26e)
  • bundling: update the browsers for es5 terser check (#17784) (8c9ad0d)
  • core: add license information for native packages (#17964) (d42d2f4)
  • core: ensure external dependency hashes are resolved in a deterministic way (#17926) (65adb94)
  • core: ensure yarn runs install with correct version (#17997) (d0c3772)
  • core: parse project configs only in js (#18009) (c04053b)
  • js: add watchIgnore and runBuildTargetDependencies options to speed up build (#17953) (c6a0615)
  • js: ignore dependencies from non-index root files for create-package-json (#17930) (28a071f)
  • js: remove duplicate alias (#17978) (ccd195d)
  • js: restore registry for only localhost (#17999) (8d5cfcc)
  • nextjs: Update @types/react version for yarn resolution (#18028) (b1f19e3)
  • storybook: optional chain .length in utils (#18001) (3edbe49)
  • storybook: properly identify file as story (#18016) (21007d8)
  • angular: explicitly depend on find-cache-dir to avoid npm resolution conflict (#18049) (a08cb91)
  • core: add missing perf_hooks import in tasks-runner/cache (#18043) (e255827)
  • core: fix project configuration typings (#18073) (bcb3251)
  • core: handle undefined target defaults (#18044) (92926b9)
  • core: remove throttle from watch (#18077) (460e469)
  • js: post-process skipped tasks by the ts compiler in tsc batch implementation (#17938) (d10aeb4)
  • misc: fix migrations updating target options to consider target defaults (#18064) (8be6558)
  • storybook: dont throw if no project-level tsconfig (#18027) (878955b)
  • core: use concat in buildAllWorkspaceFiles to avoid Maximum call stack size exceeded (#18065) (c364207)
  • linter: skip verifying deps of deps by default in package.json (#18058) (ae773d5)
  • misc: prompt for workspace name when creating it using nx init (#18079) (6ce7fc5)
  • storybook: change storybook tsconfig path in eslint file too (#18101) (e545db7)
  • core: do not duplicate output of tasks executed in batch mode (#18084) (d489de5)
  • core: remove fatal: no path specified logs from daemon (#18117) (b61373a)
  • storybook: install core-js for non-vite libs (#18115) (2a888ad)
  • core: ensure graph creation keeps dep type in worker mode (#18156) (21bf6cd)
  • core: ensure proper yarn version detection even for nested projects (#18052) (10fc4dd)
  • core: generate npm preset correctly (#18164) (36cd6b0)
  • core: write file directly instead of using fs-extra.outputFileSync (#18129) (187842e)
  • js: run build in watch mode when specified for faster recompile time (#18145) (e2c0abc)
  • misc: stat collector filters out version 16 (#18149) (57b2a76)
  • misc: update invalid main field in @nrwl/eslint-plugin-nx package.json (#17974) (2fa248d)
  • nx-dev: hide toc on reference pages (#18136) (d0eb029)
  • core: check if socketMessenger is null before using (#18116) (eecbde5)
  • core: correctly output created and update events for the watcher on macos (#18186) (fb0f1f0)
  • core: do not cache external dependency hashes if they are not fully resolved (#18020) (c3d4bfe)
  • core: handle complex glob patterns within rust (#18242) (b6db266)
  • core: improve error handling for getting metadata during file wa… (#18223) (4ef66f4)
  • core: migrate old invalid glob syntax in target outputs (#18191) (fef5b65)
  • core: remove old example and help text from show remnants (#18228) (c2c06c1)
  • core: run ensurePackage with node_modules for yarn berry (#18144) (2c1d4ba)
  • core: use package.json version in yarn parser when node_modules are unavailable (#18121) (d9a95b6)
  • devkit: use Workspace in devkit for backwards compatibility (#18246) (2e6592c)
  • graph: increase dropdown indicator padding (#18146) (8359722)
  • nx-dev: add missing redirects (34cde20)
  • nx-dev: fix broken redirects after nesting tutorials (7280cb0)
  • nx-dev: fix missing link (3105203)
  • nx-dev: fix official plugin badge background (#18274) (cd3472d)
  • nx-dev: fix project config reference headlines (2dc12ac)
  • nx-dev: fix rebase (e05ca1f)
  • nx-dev: make sure all redirects are used (#18214) (c4e5685)
  • nx-dev: update plugins home page redirect-rules (bc85c54)
  • nx-plugin: don't generate cli property in migrations.json (#18304) (a80abbf)
  • react-native: fix tsc app (#18124) (48d4927)
  • storybook: make sure skipLibCheck is true (#18212) (d942e7b)
  • storybook: un-deprecate cypress specs generation (#18236) (b311cbf)
  • testing: add playwright secondary entrypoint for preset (#18202) (b7fb3ea)
  • testing: run playwright from workspaceRoot (#18195) (3e86e42)
  • testing: update playwright tsconfig.base.json/entrypoint (#18227) (9199444)
  • angular: ensure ssr invokation uses current package manager (#18322) (c599d2f)
  • bundling: add missing main export for @nx/vite (#18344) (2dc6656)
  • core: deterministically hash external nodes (#18354) (b25d5b0)
  • core: eslint dep check rule should check prereleases correctly (#18317) (b5b7533)
  • core: fix dep outputs hashing (#18331) (e4d2338)
  • core: fix migration and warn for invalid outputs (#18310) (2b67959)
  • core: improve yarn tarball detection (#18335) (423a68b)
  • core: shell script invocation should use yarn for berry (#18326) (aa557a0)
  • js: generate ts standalone project with better import path (#18197) (810b584)
  • nextjs: builder should work with pnp (#18325) (1363bae)
  • react: fix mfe dev server for yarn pnp (#18338) (736a3ac)
  • react: timeout after 20 min waiting for remote (#18099) (01ef42b)
  • repo: fix silent yarn run on e2e for berry (#18340) (4a54141)
  • core: fix performance of hashing external dependencies up front (#18359) (3eba026)
  • js: fix misc issues in tsc batch executor (#18363) (bd71ce3)
  • js: generate correct standalone setup (#18355) (4c2f98e)
  • js: resolve imports as native node apis before npm modules (#18358) (0fd8859)
  • linter: do not report obsolete devDependencies since they are not used in production files (#18353) (eb39210)
  • linter: ensure tslint converter works with pnp (#18323) (f4b7ec2)
  • nx-dev: enable nx logo on docs to navigate to home (205b6fe)
  • core: do not error when hashing executors which are local plugins (#18372) (80c470a)
  • js: ensure compile swc uses current package manager (#18321) (63521d7)
  • react-native: update generated jest config coverage dir (#18366) (dbd61b5)
  • storybook: support pnp with storybook package (#18343) (fdd9c24)

Features

  • bundling: rename esbuild-project, rollup-project, and webpack-project generators to "configuration" generators for consistency in naming (#18003) (24e45d4)
  • misc: change updateBuildableProjectDepsInPackageJson option default value to false (#17920) (64765eb)
  • nx-dev: anchor links to version instead of timestamp (e60702f)
  • nx-dev: changelog anchor links to each version (0f9cece)
  • testing: renamed cypress-e2e-configuration to configuration to maintain consistency between plugins (#17998) (9940a0c)
  • vite: pin Vite version range to patch releases only to avoid conflicts with Angular (#18010) (3fdc66d)
  • core: throw an error when unknown local cache source (1bc58c9)
  • misc: deprecate executor options to generate package.json for libraries (#17923) (95a2256)
  • testing: add @nx/playwright plugin (#17975) (2128f8e)
  • testing: rename jest-project generator to "configuration" generator for consistency in naming (#18006) (38fa586)
  • testing: update jest to v29.6.1 (#18061) (90172c5)
  • vite: server executor https prop as object (#18048) (6bf3dc9)
  • angular: add support for TS Module Federation Config #15739 (#17876) (77bb4b7)
  • react: interaction tests story generator (#18082) (4bba066)
  • storybook: interaction testing init generator (#18051) (58e1f23)
  • nx-dev: new page for ai docs (#18025) (6ccbbbc)
  • testing: add playwright configuration generator (#18013) (e5e561d)
  • angular: add esbuild incremental build builder (#17991) (3fefbaf)
  • core: merge None and TS stacks into one since they are both for TS/JS projects (#18108) (0040520)
  • js: create package.json with proper defaults (#18091) (b07d24e)
  • js: introduce rust-based typescript dependency processor (#17976) (e2f1c92)
  • react-native: upgrade react-native to 0.72 (#17810) (699a20c)
  • vite: add tsconfig paths resolution plugin (#17844) (6529be9)
  • graph: add clickable project edge file links in nx console (#18113) (f8068b7)
  • js: bump babel versions (#18220) (c97a8ac)
  • linter: add dependency-checks to buildable lib generator (#18015) (f4f4eb6)
  • misc: add alternative implementation to calculate buildable dependencies using the task graph (#18125) (ca5e673)
  • nx-dev: increase contrast of borders on light theme (#18294) (7aee21a)
  • nx-dev: remove unnecessary breadcrumbs (#18270) (b5e6787)
  • nx-dev: rename plugins to extending nx (#18273) (ee7880c)
  • nx-dev: restructure recipes (42a06b6)
  • nx-plugin: create cli in packages folder (#18234) (1861c93)
  • storybook: interaction tests generators for angular (#18166) (29a9f8e)
  • storybook: update storybook to 7.1 (#18183) (ab11815)
  • testing: add lint target for playwright (#18233) (8407d7a)
  • testing: add option/QoL improvements to playwright (#18190) (8d11816)
  • testing: add playwright e2e preset (#18194) (4ffc68e)
  • testing: update generated Playwright test and config (#18282) (14b3f42)
  • nx-dev: github star widget (bdcec6d)
  • repo: enable custom version publish on e2e (#18341) (d02950b)
  • vite: add v8 coverage support to vitest generator (#18114) (36dae70)
  • bundling: generate matching d.ts files for rollup (#18342) (661efa9)
  • detox: upgrade @config-plugins/detox to 6 (#18345) (d65736e)
  • nx-dev: add video-link component (461ec19)
  • nx-dev: update youtube cmp to allow caption (47b3d49)

Don't miss a new nx release

NewReleases is sending notifications on new releases.