15.8.0 (2023-02-28)
Bug Fixes
- core: listing plugin capabilities causes issues when returning null (#15308) (031005f)
- core: nx affected should not differ if in child directory (#15304) (22970b8)
- core: nx connect should work for encapsulated repos (#15310) (94d2162)
- core: replace require(path/posix) for better node compatibility range (#15307) (1975181)
- angular: bump generated rxjs version (#15054) (0385682)
- core: run migrations with sync host (#15010) (3eeb4a3)
- js: don't read dependency package.json if it doesn't exist (#15037) (497a90e)
- react: add override to class component render() method (#13743) (15d5acd)
- storybook: dont touch config if is already using new schema (#15056) (3d89a02)
- storybook: make v7 generator ignore uiFramework (#15023) (a364dab)
- vite: explicitly export type instead of a value from d.ts files (#15029) (8ce0b3c)
- angular: handle projects without name in angular cli adapter (#15089) (2011e29)
- angular: support large buffers in angular cli adapter (#15082) (a1a1cda)
- angular: use sync host when generating code with angular cli schematics (#15137) (891e7e6)
- angular: write config correctly when using the angular cli adapter (#15133) (61e28c6)
- core: fix setting of the interactive env var (#15084) (2a76e20)
- core: misc encapuslated mode fixes (#15075) (804cb95)
- core: normalize project config paths to properly match them when combining them (#15149) (3b056e5)
- core: nx plugin cache should load new plugins (#15072) (e575c49)
- js: do not generate tsconfig.base.json when creating standalone projects (#15099) (71fd015)
- misc: isCI should return a boolean (2899b3a)
- node: support custom import paths based on tsconfig when building node apps (#15154) (a45d52e)
- nx-plugin: local plugin execution should work with ts-node (#15066) (6ff04d5)
- react: install @nrwl/webpack when migrating (#15062) (bb51e98)
- webpack: add babelUpwardRootMode (#15061) (5d54f71)
- webpack: restore supporting a configuration array (#14977) (2a77436)
- angular: add routes correctly (#15171) (0f95773)
- angular: allow boolean usage of the prompts (#15083) (e053e06)
- bundling: libs generated with
@nrwl/js:lib --bundler rollup
should build (#15179) (73bc2e1) - core: fix lock file parsing issues (#15052) (f71865f)
- core: generator prompt should not throw in encapsulated mode (#15182) (902f644)
- core: target project locator should handle node:module imports (#15104) (3b5adfd)
- core: workspaceRoot/node_modules/.bin should be in path during
nx exec
(#15165) (7a1bc34) - detox: Update rn and expo buildTargets (#15073) (828eff7)
- js: default build should work when rollup is selected (#14971) (eb977bf)
- js: refactor ensurePackage (#15074) (fa6e8ea)
- linter: check for source package.json on banTransitiveDependencies (#15169) (bacd875)
- misc: remove generator should not warn of nested projects on windows for non-nested-project (#15162) (356ce90)
- react: fix skipRemotes in moduleFederationDevServer (#14172) (ba73775)
- core: Fix issue when no scripts are found in package.json (#15160) (bde61d8)
- core: handle positional args correctly for run command (#15193) (57c0b7b)
- core: param prompts should not accept empty string for required properties (#15157) (cddfa09)
- core: remove unused logic around ng cli (#15178) (02091ca)
- js: generate correct build options for rollup bundler; by defaul… (#15184) (2f4f287)
- react: do not install webpack and jest when cra-to-nx is using vite (#15194) (ca087ed)
- react: fix typo in cra-to-nx (#15183) (da579ac)
- core: generate prompts should not fail due to bad schema (#15201) (ba6cc33)
- core: improve running migrations for older workspaces (#15174) (096905c)
- core: prevent duplicated migration prompts (#15202) (e54ee0a)
- angular: make webpack-browser executor watch changes correctly in incremental builds setups (#15222) (b488f64)
- angular: ngrx should attach to parent routes correctly (#15221) (88199e5)
- angular: show actionable error when component resource is not found in ng-packagr executors (#15217) (12fff86)
- bundling: copy initial assets correctly in watch mode for esbuild (#15230) (53a1c42)
- core: add hash to external nodes while parsing lock-file (#15218) (8579ce5)
- core: do not expect each package to have hoisted version (#15229) (3be23e0)
- core: nx list should work as expected in encapsulated repo (#15200) (8a58cdd)
- js: use .swcrc for swcrc path for swc lib (#15205) (281881d)
- node: use shorter run-commands options for docker-build (#15224) (c08823a)
- node: use shorthand run-commands for docker build (#15231) (65b1cdd)
- react: do not overwrite package.json
start
script (#15091) (00c858e) - react: typo in next.config.js__tmpl__ (#15210) (bf7ae6d)
- react: update types for "@nrwl/react/plugins/webpack" for projec… (#15235) (d8f9f32)
- testing: automatically enable coverage with --coverage flag for vitest (#15204) (5bc73d3)
- testing: use root preset for snapshot config changes first (#15237) (8c7a27f)
- core: building project graphs is broken for Windows (#15257) (0b30f1f)
- core: change error handling threshold on create-nx-workspace (#15176) (eede1ab)
- core: ignored directories should never contain projects (#15242) (a815be5)
- bundling: allow transitive external packages to be specified tha… (#15289) (17e6bde)
- core: do not add typescript in new empty repos (#15163) (3d4f590)
- core: nx migrate should not prompt if on CI server (#15256) (0a9c200)
- core: remove logs on missing hoisted package (#15295) (729ff7e)
- devkit: ensure readTargetOptions is compatible with nx supported range (#15296) (50c0dac)
- js: update migration to point to 15.8.0 instead of 15.8.1 (#15303) (430afe3)
- linter: init should succeed if project has null targets (#15255) (a60bfc2)
- misc: fix description for @nrwl/workspace:fix-configuration (#15302) (ee3413b)
- react-native: fix the android error for react-native-config (#15290) (0f313e5)
Features
- angular: add option for custom path to manifest file (#15053) (f913b90)
- core: add interactive env var (#14994) (40deb00)
- core: move tsconfig.base.json to @nrwl/js:init (#14467) (a97212b)
- angular: prompt users for standalone components in application (#14987) (1e6a4f8)
- core: add a command to run tasks imperatively (9a18f68)
- core: add full dependency information to project graph file dependencies (#14893) (8d4855d)
- core: migrate command can succeed if no migrations.json using flag --if-exists (#14578) (0f92f52)
- core: support collecting migrations excluding the already applied ones (#14968) (cde7cf9)
- core: use the native hasher by default (#15071) (7d80f25)
- misc: support ts 4.9 (#14899) (3a98c6d)
- node: add support for workspace libs when not bundling (#15069) (40007a1)
- node: create fastify setup closer to what fastify-cli creates (#15096) (bce05ae)
- nx-plugin: add lint option for the e2e generator (#15140) (b8e6679)
- react-native: run-android support --active-arch-only flag (#15050) (b7272e3)
- webpack: update less to v4.1.3 (#15048) (0c230c8)
- devkit: add method to read installed Nx version (#14669) (e91e2c5)
- graph: enable task graph error tooltips (#15076) (19edd02)
- angular: support Angular 15.2 (#14953) (9efcf04)
- storybook: csf3 stories generator (#15192) (6c059ea)
- testing: jest 29 support (#14701) (8a97b43)
- angular: add option to enable/disable cors for file-server (#15220) (f2faf22)
- angular: support ngrx 15.3 (#15226) (f9564e0)
- misc: add the ability to vary parallel between tasks runner invocations (825ba04)
- react: update React packages and types (#15300) (346f5f9)