npm nx 12.1.0
Release 12.1.0

latest releases: 19.0.0-rc.1, 19.0.0-canary.20240504-fd5ea92, 19.0.0-rc.0...
3 years ago

Bug Fixes

  • angular: allow setting appsDir and libsDir to workspace root (#5513) (6caff37), closes #5415
  • angular: fix ngrx 11.1.0 migration (#5403) (d9fd36f)
  • core: fix parsing for affected (#5538) (87bc1c2)
  • core: cache diff does not handle projects with no files (ecf83c4)
  • core: cleanup output of task results (89dec9a)
  • core: consistently process args with yargs-parser instead of minimist (#5488) (c7ce8d2)
  • core: do not remove version from overrides (ef1649e)
  • core: do not report on tasks when being run within an Nx command (#5466) (57cff5d)
  • core: emit erorr logs instead of retrying when creating a worksapce (d72569a)
  • core: error when an invalid target/configuration is passed (#5447) (bc7af1d)
  • core: fix invalid performance mark (#5444) (ae5722e)
  • core: override root config target dependencies instead of merge (#5424) (8f7d959)
  • core: propagate sigterm and other signals correctly (85ceb3c)
  • core: report based on projects and tasks (030f5eb)
  • core: allow building of workspaces when hosted at / (#5252) (9180e90)
  • core: print error if there is an issue creating the sandbox during create (#5380) (fb0411e)
  • core: throw an error if generating a new workspace into a non-empty directory (#5296) (949cf31)
  • core: Wrap head + base arguments in quotes in execSyn (#5240) (4b61d44), closes #4828
  • devkit: add env variable to disable project graph cache (#5297) (d007d37)
  • devkit: devkitTreeFromAngularDevkitTree exists function should also work on dirs (0f08149), closes #5318
  • gatsby: update generated app for gatsby (#5486) (1f21e48)
  • gatsby: fix the e2e for gatsby production (#5353) (7063525)
  • linter: Apply enforce-module-boundaries rule to exports (#5160) (780bb03)
  • linter: safely check if angular-eslint is the right version (#5511) (e2bec26)
  • misc: handle empty project graph in the tslint version of the enforce module bounaries check (c419686)
  • misc: fix grouping problem in dep-graph client (#5279) (d8d643a)
  • nextjs: default to build target for incremental serve (d767261)
  • nextjs: remove isServer flag from web babel preset (#5322) (159bc99)
  • nx-plugin: fix package name when generating generators (#5320) (ab13bf4)
  • react: fix react library generator for strict option (#5249) (321815d)
  • react: fix react publish library copy readme (#5345) (656d808)
  • react: generate apps/libs using Emotion CSS with valid .babelrc files (#5336) (a51d19f)
  • repo: fix nx-dev build (#5450) (0945b35)
  • repo: clear output before building packages again (#5342) (2c76dbe)
  • storybook: vSCode TypeScript error (#5443) (2089d37)
  • storybook: generate story file in new jsx transform (#5369) (13ca51c)
  • storybook: incorrect environment in dev (#5313) (6fe7e7d)
  • testing: Jest migration if globals or tsconfig is not present (#5506) (f7bdd89)
  • testing: update ts-jest to version 26.5.5 (#5405) (357ecd0)
  • web: fix circular dependency in babelrc migration (#5435) (a47e5e4)
  • web: fix named exports mapping for react/jsx-runtime (#5294) (e656241)
  • web: fix postcss-loader options object structure (#5420) (b39f559)

Features

  • angular: add migration for jest-preset-angular 8.4.0 (#5377) (95d1b86)
  • angular: update angular-eslint to v4 (#5499) (1cf7a69)
  • core: add --ignoreExistingTsLintConfig option to lint conversion generators (#5127) (bff5d43)
  • core: added package manager union type (#5378) (6bd6e14)
  • core: allow defining target deps (#5376) (7358420)
  • core: allow passing a path into read workspace config (#5337) (c464b75)
  • core: cache task failures (f89cf4a)
  • core: refactored dep-graph to use latest tippy.js and cytoscape (#5358) (647bfc9)
  • core: add --buildable support to workspace lib (#5449) (bc3ee3e)
  • core: allow defining target dependencies across all projects (#5406) (7c7db36)
  • core: replace lodash.template with a custom interpolation function (1686583)
  • devkit: improve logging of ejs errors (#5422) (90b83da), closes #5318
  • gatsby: add preset gatsby (#5485) (84e387b)
  • misc: updated documentation generation scripts and removed shelljs (#5381) (27df601)
  • nextjs: add incremental build support to Next.js apps (#5360) (a7d8e2a)
  • node: do not override main and typings (78f27ab)
  • nxdev: Add version and framework selectors (#5518) (bdb42e3)
  • nxdev: Search component using Algolia (#5451) (fb22ba4)
  • react: add strict option to react application generator (#5248) (6cb1dc6)
  • repo: explicitly kill processes holding onto ports (d4e659c)
  • repo: replace tslint with eslint in recommended extensions (#5280) (bc9eaed)
  • repo: switch to using dependsOn for the relationship between build and build-base (aef1b17)
  • repo: updated husky, is-ci and pretty-quick (#5239) (06c8eac)
  • repo: updated yarn to 1.22.10 (#5439) (78fe230)
  • storybook: infer Cypress project name from app source (#5404) (bd21728)
  • storybook: update Angular Storybook to use new Storybook v6 syntax (#5398) (6b7b681)
  • storybook: configure Cypress directory (#5314) (6c4155d)
  • testing: adding getJestProjects() utility for root jest.config.js file (#5425) (65b2edf)
  • testing: support test timeout argv flag (#5520) (92a92c4)
  • web: support multiple rollupConfig plugins (5ad1a61)

Don't miss a new nx release

NewReleases is sending notifications on new releases.