Skip to content

Releases: nrwl/nx

Release 9.4.1

15 Jun 14:28
Compare
Choose a tag to compare

Bug Fixes

  • core: consider overrides for output path (#3172) (7301930)
  • misc: minor format changes in readmes (1e593a2)
  • react: fix .browserslistrc template file name (#3167) (6314e24), closes #3166
  • react: include browserslist in build (#3174) (6636e53)
  • repo: fix pr template being removed (#3170) (f259c7a)
  • repo: remove context from circle config (080164c)

Features

  • repo: have separate readmes for all plugins (0111d87)
  • repo: update nx to 9.4.0 (c2fa23c)

Release 9.4.0

12 Jun 16:29
Compare
Choose a tag to compare

Bug Fixes

  • angular: always append ngcc postinstall script (13280b5)
  • angular: fix angular cli decoration for windows (e923ae6)
  • angular: fix decorate-angular-cli script to path index file (5d6cd1a)
  • core: add dep-graph assets to build output (#3122) (7e7a025)
  • core: decorate cli postinstall script doen not work on windows (842e458)
  • core: fix 9.4 lint migrations (#3126) (014dc49)
  • core: fix module resolution in project locator (#2941) (b5025ef)
  • core: handle edge cases when a task process is killed (b8a7142)
  • core: handle empty list of cacheable targets (acf92e4)
  • core: handle passing arrays as arguments (a6220f7)
  • core: hash package.json files from node_modules more selectively (4224ab9)
  • core: make sure remove schematic respects gitignore (693544f)
  • core: set NX_CLI_SET when running any command (e5f8ac2)
  • core: split namespace for library dependencies (#3073) (b9fd69b)
  • core: support --only-failed option with run-many command (#3054) (6e79f25)
  • core: update decorate script to implement a more reliable way of "symlinking' on windows (71690c0)
  • core: use typescript module resolution for linting (#3075) (3a4a3be)
  • linter: fix broken unit test (bb7af3b)
  • linter: fix dependencies from projects on themselves when another circular dependency exists (#3163) (fc61fcb)
  • linter: fix exclude pattern for tslint and eslint schematics (#3113) (5a59f09)
  • linter: remove config builder option for @nrwl/linter:lint when using eslint (#3093) (c2b8c22)
  • misc: fix run-command schematic to not error when no architect section (0cd4cdf)
  • misc: several misc fixes (690be20)
  • nextjs: add migration for renaming next/dev-server to next/server in workspace.json (#3040) (f5181ba), closes #3039
  • nextjs: copy public folder to dist when building Next app (#3047) (bd5ca7d), closes #3019
  • nextjs: fix path to migration file for nextjs dev server rename (#3046) (9fba335)
  • react: add emotion babel preset during migration (#3127) (539c65c)
  • react: add React dependencies to package.json when adding a library (#3146) (88a8b7c), closes #2188
  • react: exposed the crossOrigin option for web builder options (#2830) (25432a6)
  • react: remove console.log (#3124) (53f7ec3)
  • repo: cache the results of all npm installs to speed up e2e tests (0c4c39f)
  • repo: capture stderr when running e2e tests (9f4c95b)
  • repo: capture stderr when runnning e2e tests (90f099c)
  • repo: fix e2e scripts to rebuild all on master (a211d27)
  • repo: misc fixes to stabilize e2e tests (d84a2bd)
  • repo: reorder CI ci to run most valuable steps first (#3060) (ba3f49c)
  • testing: add coverage as alias of code-coverage (#3010) (b42f0a8)
  • testing: add Cypress ESLint plugin (#2977) (3b14269)
  • testing: do not add cypress-eslint-plugin if eslint not used (#3162) (0d9b8bb)
  • testing: fix generating cypress-project with no project specified (#2965) (1f90080)
  • testing: update maxWorkers jest builder option to support string type (#3025) (3ecf6ea), closes #2871
  • testing: use readWorkspace for getting the workspace file (#3160) (807fd6f)

Features

  • angular: add a script to warn when ng is used instead of nx (260f73a)
  • angular: add addModuleSpec flag to library schematic + refactor (319f7d0)
  • angular: add preserveAngularCLILayout option to ng-add (48d953e)
  • core: add a prompt asking to connect to free tier of Nx Cloud (11e57ea)
  • core: add an option to connect to free distributed caching (d97d760)
  • core: add nx cloud to the new workspace readme (#2945) (2605836)
  • core: decorate angular cli when creating workspaces powered by Angular CLI (41e4714)
  • core: generate static website with dep-graph --file=foldername.html (#3049) (dbda2b8), closes #3048 #2005
  • core: load root .env in all nx processes (#3081) (6384bde)
  • core: support different workspace layouts (a95cba3)
  • core: support other targets but build that require strict ordering (606ad29)
  • core: throw an error when projects have conflicting names (#2997) (bdbd12d)
  • linter: add quiet option for eslint (43460cc)
  • linter: adds maxWarnings to builder (#3071) (7f5f227), closes #2762
  • misc: add an option not to update package.json files when building libs (2a3116f)
  • misc: improve the ux of the run-commands builder (#3092) (2c96d7a)
  • nx-plugin: use package and e2e folder instead of libs and apps in create-nx-plugin command (#3120) (68ea2de)
  • react: add jsx-no-useless-fragment warning to lint rules (#3159) (d17d437), closes #2432
  • react: change browserslist file name into .browserslistrc (#2894) (0f21359), closes #2893
  • react: copy README when building libraries (#3091) (e7297f5)
  • react: make React schematics use babel-jest by default (#3154) (2700cb7)
  • react: refactored babel support so options are more easily customized (#3058) (0e03627)
  • react: refactored babel support so options are more easily customized (#3089) (d593153)
  • repo: add detailed instructions on how to pu...
Read more

Release 9.3.0

14 May 17:35
Compare
Choose a tag to compare

Bug Fixes

  • angular: remove prod tsconfig for non-publishable lib (#2816) (9f0fdac), closes #2765
  • core: add description to dry-run parameter (#2919) (5994a9d)
  • core: adjust nx migrate log (#2814) (866e631)
  • core: change chunkify length to 50 to prevent windows crashes (#2913) (5cd5b7d), closes #2362
  • core: file-utils workspaceFileName now returns proper file… (#2811) (a06c256)
  • core: fix directory grouping on dep-graph (#2972) (06c35fa)
  • core: fix path for secondary entrypoints (#2498) (69faaed), closes #1765
  • core: fix source map generation for production build (#2808) (40ebe4d), closes #2802
  • core: rework where tmp tsconfigs are generated (#2805) (3bdcc0b)
  • core: runtime support for outputPath array on run-commands builder (#2807) (97c607a)
  • docs: fix react nx console link (#2902) (125872f)
  • docs: update content urls to new ones (#2897) (d143f23)
  • nest: remove the default main file from @nrwl/node:lib (#2920) (fcc0782)
  • nest: tweak generated Nest app (#2918) (78a9fee)
  • node: add defensive check for architect to node migration (09baaaa)
  • node: install @nestjs/scheamtics as a dependency of @nrwl/nest (#2999) (418fbd5)
  • nx-plugin: remove function copyNodeModules from ensureNxProject to prevent @nrwl modules ov (#2931) (b55a1a9)
  • react: add styled-components babel plugin only if it will not conflict with emotion (#2863) (c993957), closes #2845
  • react: do not include package.json in libs without publishable flag (#2896) (b4fc65c)
  • react: fix console log during unit test (#2938) (434a288)
  • react: pass linter option properly to storybook cypress setup (#2903) (c9cac2d)
  • react: update sass-loader to 8.0.2 and fix the options accordingly. (#2988) (b95d395), closes #2099
  • repo: fix version in root package.json (#2983) (9ace34e)
  • storybook: only install the necessary package dependencies (#2886) (4341328)
  • storybook: windows path mapping (#2995) (e43229a)
  • testing: add a guard to not accidently publish to the registry (#2978) (c00f996)
  • testing: correct spelling of jest-preset-angular for migrations (#2818) (7c45f98)

Features

  • angular: update angularjs to 1.7.9 (#2947) (bbf3fe0)
  • angular: update NgRx libraries to 9.1.0 (#2929) (5eca6d5)
  • core: add hash details to the task object (#2943) (c4e3312)
  • core: add npm dependencies to package.json for publishable libs (#2879) (4095d21)
  • core: add nx-plugin to list of default packages to be migrated (#2782) (8299c45)
  • core: adds deselect all button to dep-graph (#2912) (73d0312), closes #2911
  • core: improved console output for nx migrate (5b1047e)
  • core: include node_modules into the computation hash key (#2993) (10282bb)
  • core: update prettier to 2.0.4 (#2885) (9b585cb)
  • docs: show entity type and entity container's type (#2878) (935f121)
  • nest: extend @nestjs/schematics in @nrwl/nest (#2756) (9916b27)
  • nextjs: add page and component schematics to Next (#2810) (8208856)
  • nextjs: support building and serving production server (#2792) (36e1d40)
  • nextjs: use flat structure for page schematic (#2939) (adc7b78)
  • nx-plugin: add "schematic" schematic (#2708) (d385030)
  • nx-plugin: add builder schematic (#2769) (b245d12)
  • nx-plugin: add migration schematic (#2692) (e44af49)
  • nx-plugin: properly implement and honor --unitTestRunner (#2867) (d3b5d1f)
  • react: add assets option for package builder to copy files to output path (#2933) (8e6ad2f)
  • react: improve storybook schematics (#2831) (a47c24c)
  • react: upgrade redux toolkit version and generated slice code (#2835) (54d06f0)
  • repo: change release script not to upload assets to github (#2973) (cb37841)
  • repo: improve local-registry publishing (#2979) (89e8379)
  • testing: add --detectOpenHandles to Jest CLI Options (#2969) (ac6f52a)
  • testing: added --showConfig CLI option to Jest package (#2968) (41572b3)

Release 9.2.4

05 May 23:11
Compare
Choose a tag to compare

Bug Fixes

  • core: add description to dry-run parameter (#2919) (c6ece8b)
  • docs: fix react nx console link (#2902) (9bd5099)
  • docs: update content urls to new ones (#2897) (db30486)
  • nest: tweak generated Nest app (#2918) (fd19cde)
  • node: add defensive check for architect to node migration (3a7d357)
  • react: do not include package.json in libs without publishable flag (#2896) (f0fed26)

Features

  • docs: show entity type and entity container's type (#2878) (7bef3e6)

Release 9.2.3

20 Apr 20:14
Compare
Choose a tag to compare

Bug Fixes

  • angular: remove prod tsconfig for non-publishable lib (#2816) (40fa8f1), closes #2765
  • core: adjust nx migrate log (#2814) (a4d392e)
  • core: file-utils workspaceFileName now returns proper file… (#2811) (d070020)
  • core: fix source map generation for production build (#2808) (40ebe4d), closes #2802
  • core: rework where tmp tsconfigs are generated (#2805) (2fc5ce2)
  • core: runtime support for outputPath array on run-commands builder (#2807) (97c607a)
  • react: add styled-components babel plugin only if it will not conflict with emotion (#2863) (1f59ce4), closes #2845
  • testing: correct spelling of jest-preset-angular for migrations (#2818) (50aa3e1)

Features

  • core: add nx-plugin to list of default packages to be migrated (#2782) (8299c45)

Release 9.2.2

03 Apr 14:46
Compare
Choose a tag to compare

Bug Fixes

  • angular: extend angular version range to anything higher t… (#2785) (3a8748a)
  • core: return single level roots as is without slicing (#2789) (f5c9651)
  • misc: skip jest and cypress configuration when generating… (#2743) (4e4bd6d)
  • nextjs: add missing node-sass dependency when creating a new app with sass (#2795) (ff699ab)
  • nextjs: fix app generation so the correct style module is added and installed (#2791) (d71d799)
  • nextjs: import node_sass only for scss styles (#2797) (567ddc8)
  • nextjs: next config is generated correctly for styled-components and @emotion/styled (#2799) (5e9a583)
  • react: fix build options being overwritten by undefined se… (#2798) (33dc846)
  • testing: add migration for jest to migration.json (#2786) (30a6962)

Release 9.2.1

31 Mar 21:46
Compare
Choose a tag to compare

Bug Fixes

Release 9.2.0

31 Mar 18:15
Compare
Choose a tag to compare

Bug Fixes

  • core: add -d as alias for --dryRun for tao generate (8caff7f)
  • core: ensure dep graph is regenerated when root files change (30282b9)
  • docs: update ng for nx in documentation (#2763) (0f3d14f)
  • misc: add formatting to all migrations (09c4654)
  • storybook: add install after adding @nrwl/storybook (670a5f9)
  • testing: fix cypress headless mode for some versions (e557807)

Features

  • angular: update Angular libraries to version 9.1.0 (49d8ce1)
  • core: enable caching by default (aeb0bdc)
  • docs: update tutorials (4ef43ee)
  • nextjs: add support for custom next config and optimize style enhancer usages (#2727) (27f5234), closes #2490
  • node: add memory limit option (1cc18a7)
  • testing: add option to use babel-jest rather than ts-jest (#2722) (9ad9b2e)
  • testing: update Jest and its dependencies to v25 (0ad6f91)
  • testing: add migration for Jest 25 (b85b8af)

Release 9.1.4

26 Mar 14:14
Compare
Choose a tag to compare

Bug Fixes

  • core: run-one runner doesn't handle --help (ed85bc5)

Release 9.1.3

25 Mar 13:35
Compare
Choose a tag to compare

Bug Fixes

  • angular: changes the styleext setting of the component schematic to style (172c3a5), closes #2475
  • core: filter webpack warnings only instead of full output (#2697) (4fb025b), closes #2696
  • core: improve performance of project filtering on dep-graph (93ace19)
  • core: move setMaxWorkers responsibility to runCLI (5452dfa)
  • core: remove schematic warns on missing project (9e5f06c)
  • docs: typo in /angular/fundamentals/monorepos-automation (#2651) (e73a6a0)
  • misc: exit 1 for errors in workspace-schematics (9a8c95a)
  • node: remove directory prompt from node apps (9f1ca1c)
  • react: change default browserslist so IE11 is support (via "not dead" query) (#2718) (975bd49), closes #2209
  • repo: update yarn.lock (52a055c)
  • storybook: fix an invalid dependency version for @babel/core (#2666) (7de5dc0), closes #2665
  • testing: cypress cannot be started in chrome headless mode (#2683) (417ff21)

Features

  • core: add remove schematic (#2484) (d834e79)
  • core: add web:build support for environment variables (2d02777)
  • core: analyze tsconfig changes (b671959)
  • core: improve outputs when using --parallel and --with-deps (0b7535a)
  • core: nx list enhancements and cleanup (bb12d7c)
  • core: rewrite path mappings when buildings apps (2c42431)
  • react: add support for css modules for SASS/SCSS files (#2719) (7225d29), closes #2406
  • react: update styled-components (#2663) (edbadee)