15.9.0
15.9.0 (2023-03-30)
Bug Fixes
- angular: fix rxjs package updates and ensure peer deps are installed before other migrations (#15458) (fba34ca)
- angular: misc fixes in some generator schemas (#15602) (46b3767)
- angular: prevent updating unchanged projects when syncing changes to the wrapped tree (#15503) (f7367ff)
- angular: respect cli config and schematics defaults in ng cli adapter (#15510) (bfdd2eb)
- angular: sync missing schema changes in builders (#15600) (6c9a0e3)
- bundling: default Node scriptType to CommonJS since it has the widest compatibility (#15483) (d7cd153)
- bundling: use a range rather than ^ for vitest peer dependency … (#15362) (b7ef261)
- core: add missing await when migrating monorepo to nx (#15554) (3463349)
- core: add warning if running on an outdated global installation (#15408) (e773bdb)
- core: catch all lock file parsing/pruning errors and provide fallback (#15158) (5d69c4e)
- core: do not return a default project when nxJson is undefined (#15432) (17a0d2c)
- core: encapsulated nx repos should invoke wrapper when invoked via npx or global install (#15337) (c9244d2)
- core: ensure correct $schema path is generated when adding project configuration (#15463) (02a450e)
- core: handle .nxignore properly for the native hasher (#15420) (b0ab036)
- core: handle file renames properly for affected (#15340) (7aac67c)
- core: inline source maps for local nx plugins (#15336) (b87f838)
- core: interactive migrations should be prompt when necessary (#15572) (4a8b7ed)
- core: issue with registering file dependencies (#15523) (ac9c7e9)
- core: last project should be visible in
nx show projects
(#15335) (0aff9dc) - core: mark package.json dependencies as static (#15381) (aaed63b)
- core: nx migrate should work in encapsulated Nx repos (#15338) (4a53ace)
- core: plugin should not override existing external nodes (#15219) (9a014c7)
- core: properly diff json from the merge-base (#15476) (ffac350)
- core: refactor the logging logic in e2e tests (#15548) (a0e00c8)
- core: shutdown the daemon when it is invalid (#15550) (ad12ab2)
- core: standardize chunking elements passing to cli (#15322) (bf08714)
- core: use globbing also for workspace file patterns without '*' (#11298) (a43a99b)
- core: use smarter hoisting of npm packages (#15502) (8d3f2bd)
- devkit: allow ensured packages to resolve from workspace node_mo… (#15386) (66f498a)
- js: fix parsing link dependencies in yarn (#15364) (65aac8e)
- js: handle swcrc path mappings if specified (#15328) (c981ac2)
- js: integrate buildable bundler and compiler options (#15376) (b84125f)
- js: libraries should be buildable by default (#15533) (16ad308)
- linter: ensure ast file detection supports tsx files (#15345) (e767fa4)
- misc: ci workflow generator use correct default branch (#15487) (fc75166)
- misc: restore tsconfig utils as deprecated in @nrwl/workspace (#15409) (c956435)
- node: add default build configuration (#15542) (a69f8ab)
- node: lint generator aware that app is root (#15355) (b40c9fa)
- nx-plugin: e2e utils should work (#15397) (a4a9c27)
- nx-plugin: run jest 29 migrations for @nrwl/nx-plugin:e2e (#15551) (a67baaa)
- react: fixes library type not passed to the module federation conf (#15385) (c054251)
- repo: disable long running manual dispatch (#15575) (4c9a2ee)
- repo: improve nightly workflow setup (#15358) (f6dd441)
- storybook: better detection of failed migrations (#15588) (c7525b4)
- storybook: fix the path to the template file (#15565) (eebadef)
- testing: fix generated testMatch pattern in jest config to support windows (#15415) (5e12d05)
- testing: only install dependency for the desired --testEnvironment (#15244) (2d2804b)
- testing: type the jest nx preset (#15404) (456391e)
- testing: walk all project deps to check if CT project is used in buildTarget (#15252) (e8f19d8)
- vite: add missing types for tsconfigs (#15260) (2e449da)
- vite: root for running the builder (#15359) (3d4e542)
- web: update snapshots from vite tsconfig changes (#15398) (76fcf7a)
- bundling: sourcemaps setting (#15981) (ae69ec9)
- core: hidden executor and generator options shouldn't be displayed in help text (#15967) (62c2ebe)
- nextjs: ensure requred Next.js packages are always added to generated package.json (#15965) (96da56d)
- react: add missing dependencies (#15976) (9f395e8)
- repo: add more granular timeout to nightly runs (#15945) (0cd0300)
- repo: remove command from the output to match test (#15950) (482a77d)
- storybook: install correct dependencies on storybook init when no framework specified (#15966) (c30269e)
- webpack: configure terser plugin with non-deprecated options for… (#15968) (d47d3f1)
- angular: throw error for invalid project name in withModuleFederation helper (#15694) (76ec6f9)
- core: apply nxignore after gitignore (#15679) (9897cbe)
- core: clear line escape code shouldn't erase prefix in output (#15674) (72d64b6)
- core: prevent running arbitrary code when attempting to detect plugin capabilities (#15676) (cd3d316)
- angular: resolve browserTarget options correctly in webpack-dev-server (#15638) (db682bf)
- angular: set projectName as the default source for relevant generators (#15664) (ca8d24b)
- core: fix invalid yarn parser dependencies grouping key (#15647) (3f4ba6d)
- core: fix pnpm hoisted dependencies resolution with hoisted node-linker (#15594) (5937597)
- core: handle missing package version on lockfile parsing (#15648) (425c134)
- core: help text shouldn't include .js file extensions on windows (#15677) (a950719)
- core: ignore missing modules.yaml during postinstall (#15660) (8a0398d)
- core: include target and configuration being run in env variables (#15668) (63eced7)
- core: negative implicit dependencies should exclude statically detected dependencies (#15546) (9acd775)
- core: only perform pattern matching if file input doesn't exist (#15640) (5add52b)
- expo: fix expo build-list executor and update examples (#15574) (a364252)
- expo: fix expo run-ios command (#15582) (b7beb99)
- misc: cli - case in drive letters - windows (#15643) (87a6b30)
- misc: filter out deps early based on shared config from module federation (#15654) (e2a2703)
- misc: handle standalone repos when removing nested projects (#15609) (636a74b)
- misc: move generator should null-check cypress props (#15436) (46bc6af)
- vite: add configuration option for emptyOutDir (#15619) (ae6dc6b)
- vite: configuration docs and optional chain targets (#15655) (8e838b5)
- core: wildcard implicit dependency should support scoped project names (#15699) (cc68012)
- nextjs: refactor how webpack config is loaded with nextjs (#15650) (be81405)
- repo: update @monodon/rust to 1.1.1 (#15695) (1b448d2)
- angular: fix e2e tests to support pnpm v7 (#15587) (c690461)
- react: print next prod server error in verbose mode (#15721) (583ee1f)
- core: fix NX_TASK_TARGET_CONFIGURATION being set to 'null' (#15725) (1e27759)
- core: nx migrate should accept tags other than latest and next for community packages (#15673) (9791f31)
- react: fix next import (#15724) (4b9865c)
- core: combine serial and parallel execution + forward sigint to child process (#13885) (fd11334)
- core: start path to supporting esm modules (#15684) (616f0f0)
- core: use relative paths for socket path (#10896) (f60f8cd)
- js: do not run prettier when we can run formatFiles (#15740) (4d9df3d)
- misc: do not create apps libs for standalone presets (#15741) (9885ec3)
- testing: use es2016 for jest-preset-angular projects (#15646) (1bca347)
- angular: do not set angularCompilerOptions in e2e tsconfig when generating an app (#15729) (a91513d)
- angular: fix wrong tsconfig option name in webpack-dev-server implementation (#15765) (f2fb4c8)
- core: add warning if running on an outdated global install (#15443) (7740bb1)
- core: misc daemon fixes (#15472) (84075c3)
- node: align proxy port with default api port (#15754) (a868bce)
- storybook: enable e2e tests (#15709) (61fb737)
- angular: format files after angular jest migration (#15779) (9c7e67b)
- bundling: respect --sourcemap option for esbuild (#15778) (7d9352e)
- core: move the daemon stop log out of client (#15783) (28096b8)
- core: use a main function inside nx.ts to avoid future hoisting issues (#15806) (1e48f6a)
- nextjs: handle buildable libs correctly (#15795) (63cdddf)
- nx-plugin: allow some customization when running nx-plugins (#15438) (6834b65)
- core: fix broken path elevation in npm lockfile pruning (#15833) (8cd410a)
- nextjs: produce correct next.config.js file for production server (#15824) (c7e49c5)
- core: resolve some strip-source-code bugs (#15840) (8af80de)
- misc: prevent --quiet and --verbose from both being true (#15836) (7d61ae2)
- nextjs: add missing express dependencies to next plugin (#15854) (7a48214)
- nextjs: add missing style deps for less and stylus (#15839) (e904e04)
- nextjs: set correct distDir when running production server through Nx (#15861) (b3200fb)
- node: fix standalone linter setup (#15681) (4bf652d)
- storybook: show e2e error only if configureCypress is true (#15832) (750a978)
- misc: cleanup deps to support pnpm v7 in create-nx-workspace (#15859) (7c9b66e)
- nextjs: deference symlinks when copying public folder to dist (#15862) (884c200)
- core: fix bin path (#15883) (a8f77df)
- angular: add angular cache dir to .prettierignore (#15923) (26c864a)
- angular: prevent inserting a leading comma in NgModule properties (#15933) (091978b)
- angular: use @nrwl/web:file-server (#15849) (597832e)
- graph: fix display of task graph in docs (#15913) (74fed92)
- js: run prettier with default options when theres no prettierrc (#15888) (4a55ee9)
- linter: remove outdated e2e test check (#15899) (15e29b2)
- nx-dev: add misc style corrections (#15909) (6749701)
- repo: add missing git config on nightly for lerna e2e (#15900) (eec6041)
- storybook: improve and simplify e2e tests (#15734) (4e2b07e)
- storybook: proper user prompts for config generator (#15860) (b94b669)
- core: fix project graph analysis (#15941) (44d090d)
- repo: switch CI to use pnpm v7 (#15904) (89893b6)
- angular: allow skiping formatFiles in component generator when called from another generator (#15953) (75f6b98)
- angular: handle projects with no targets in angular migration (#15940) (afdf5ea)
- angular: prevent nested calls to formatFiles in generators (#15946) (d20bf77)
- node: ensure node e2e test uses unique port to avoid port clashes (#15951) (e4db34a)
- react: ensureCypressInstallation on e2e tests (#15949) (65f7fca)
- react: setParserOptionsProject option should be respected (#15937) (8fd5bcf)
- storybook: increase timeout of flaky test (#15947) (9e9623e)
- web: ensure unique port is used for file server tests (#15952) (18c8e70)
Features
- angular: move replaceAppNameWithPath to Angular (#15493) (14dd8e1)
- core: move checkAndCleanWithSemver to devkit (#15505) (47fd3a2)
- core: move forEachExecutorOptions to devkit (#15547) (c3a58e9)
- core: move prettier init logic from @nrwl/workspace to @nrwl/js (#15501) (24b82ed)
- core: move string utils to devkit (#15479) (80f3d03)
- devkit: move runTasksInSerial to devkit (#15467) (8744698)
- expo: upgrade expo to 48 (#15400) (67e41da)
- js: add getSourceNodes to nrwl/js package (#15497) (c82ba4e)
- js: added a minimal option to the library generator (#13561) (8c1d035)
- js: move buildable libs to js (#15558) (361ddb1)
- node: add nestjs support to node app plugin (#15484) (79f5fc3)
- react-native: upgrade react-native to 0.71.3 (#15401) (6c93378)
- repo: add github action to periodically check issue counts (#15392) (e72f993)
- repo: automatically lock closed issues after 30 days of inactivity (#15253) (8941063)
- repo: use caching for pnpm workspaces in e2e tests (#15461) (82d499c)
- repo: use pnpm v7 for ci (#15460) (c38ffc9)
- storybook: update to v7.0.0-rc (#15584) (2e3e32c)
- storybook: version 7 automigrate integration (#15136) (df4efc2)
- web: add a generator to add @nrwl/web:file-server target (#15434) (3a4b108)
- core: version option should display global and local installation separately (#15911) (3575028)
- angular: add directive generator (#15630) (481899c)
- angular: add pipe generator (#15659) (9cd2858)
- core: use inputs to determine package dependencies (#13966) (ebdb193)
- misc: add a link to Nx Console for IntelliJ on React & Angular Nx welcome page (#15617) (a491b35)
- nx-plugin: plugin presets can now be standalone (#15601) (41f094a)
- react-native: upgrade react native to 0.71.4 (#15599) (e617593)
- repo: add new flag for verbose e2e logging (#15541) (7450e72)
- repo: make granular slack notifications when E2E tests fail (#15462) (3d76f05)
- repo: improve yarn install caching for nightly (#15683) (85cd954)
- angular: remove protractor (#15627) (7812f41)
- core: make task runner selection configurable through env variable (#14529) (c95b27d)
- core: add entry file for create-nx-workspace (#15610) (129cbed)
- core: add support for NX_DEFAULT_PROJECT env variable (#15549) (0af052b)
- linter: add override for noImportsOfLazyLoadedLibraries (#15670) (9ef2dd9)
- bundling: add for esbuild to enable/disable package.json generation (#15777) (7ebca51)
- core: add --quiet option to suppress generate output (#15802) (0370794)
- core: show task graph of commands (#15440) (2cc949e)
- devkit: provide better error messaging when attempting to use a FsTree instance after changes are committed to disk. (#15780) (247e8a2)
- react-native: add IntelliJ to react native and expo welcome page (#15744) (0cb817b)
- testing: add --port flag (#15486) (d1ddd52)
- web: remove hard dependencies on cypress, rollup, jest, and linter (#15797) (e772ee2)
- vite: ts-node register paths in vite (#15629) (d3a85e5)
- nextjs: deprecate proxy config option for server executor (#15855) (e611a0b)
- storybook: add configureStaticServe option (#15688) (b3dd65a)
- testing: add static serve target for e2e tests in CI (#15808) (b124b97)
- vite: add outfile for build executor (#15002) (#15845) (64017a2)
- core: set interactive true for create-nx-workspace (#15863) (24cb81d)
- core: optimize npm pruning path elevation function (#15880) (1f935a7)
- core: refactor most of js graph work into its own folder (#15365) (8cf8f18)
- react-native: update @react-native-community/cli to 10.2.1 (#15738) (04b6ddb)
- repo: add nightly tests for several node versions (#15908) (ae3a55f)
- testing: add cypress-e2e-configuration generator (#15736) (78fb3b9)
- node: add --framework=none to create-nx-workspace for Node projects (#15929) (874b6a5)