npm nx 15.3.0

latest releases: 19.0.0-rc.1, 19.0.0-canary.20240504-fd5ea92, 19.0.0-rc.0...
17 months ago

15.3.0 (2022-12-06)

Bug Fixes

  • angular: add server ready message to remote server (#13497) (4e672b2)
  • angular: add support for devRemotes in module-federation-dev-ssr (#13500) (2d021a1)
  • angular: add workaround for MF SSR (#13372) (883b61b)
  • angular: bump angular-eslint to v15 (#13282) (356204f)
  • angular: checks for targets existence before attempting to iterate them (#13287) (328c547)
  • angular: correctly assign env var (#13549) (6e8a1c6)
  • angular: don't set the workspaceLayout when migrating an angular cli workspace to nx (#13546) (59a6a9e)
  • angular: e2e test should correctly fail (#13373) (062698a)
  • angular: ensure apps/libs layout is created when migrating from angular cli to nx monorepo layout (#13577) (2dd2eea)
  • angular: fix imports into nx from ng-add (#13645) (2c81904)
  • angular: fix Karma test runner config (#13293) (e3d8b2c)
  • angular: fix root-project support for Angular (#13534) (22e70d6)
  • angular: local imports in webpack-dev-server custom config (#13156) (e971ffb)
  • angular: make server build depend on browser build (#13467) (11b224f)
  • angular: port should be added to serve-ssr for remote (#13399) (1a23203)
  • angular: remove karma test.ts file from generation (#13356) (a0d01b6)
  • angular: respect the provided version when running make-angular-cli-faster (f16f53b)
  • angular: setup-ssr environments file replacements should be removed (#13244) (b88dc35)
  • angular: setup-ssr should output correct outpathPath for server build (#13243) (e041223)
  • angular: should support filereplacements for apps that already have them (#13247) (b4fb074)
  • angular: standalone angular projects with karma should function (#13626) (b4db6e8)
  • angular: update make-angular-cli-faster version map with angular 15 (#13297) (da2b77a)
  • angular: use correct ready state for ssr bootstrap (#13437) (fd1e478)
  • angular: use jest-preset-angular 12.2.3 #13259 (#13468) (e3a19f4)
  • angular: use the browserTarget to calculate project deps for buildable libs support in the dev server (#13275) (1830669)
  • bundling: add a vite specific readme for react libs when using vite (#13590) (790b0de)
  • bundling: add type for bundler option to enable autocomplete prompt (#13384) (020795c)
  • bundling: enable hmr by default for Vite dev-server (#13647) (8a74e62)
  • bundling: file replacement for vite (#13255) (e4092aa)
  • bundling: fix exclude entries for .lib.swcrc file to exclude spe… (#13319) (1b3abbd)
  • bundling: hide newProject from vite config gen (#13592) (edad5ef)
  • bundling: if bundler is vite unitTestRunner is vitest (#13436) (871f618)
  • bundling: pass nxext options to our executor (#13587) (d5f834a)
  • bundling: place files in the right folders for React Vite apps (#13443) (8103290)
  • bundling: place files in the right folders for Web Vite apps (#13464) (19a6da3)
  • bundling: remove default values from executors (#13444) (b84f239)
  • bundling: remove extraneous logs from @nrwl/vite:build executor (#13479) (9d5a45d)
  • bundling: remove the vue options from vite gen (#13221) (ab93817)
  • bundling: remove wrong doc and preset wc use vite (#13536) (432d235)
  • bundling: run dev-server in development mode and hmr on by default (#13352) (2a7ccb6)
  • bundling: set rootDir to the project root when bundling with rollup (#13407) (5aaba51)
  • core: add peerDependenciesMeta to PackageJson model (#13537) (92df716)
  • core: deduce layout directory (fe062f4)
  • core: detect angular cli workspace correctly (#13574) (59a7af2)
  • core: disallow edges to the root project (#13359) (2d74f4c)
  • core: escape scripts with delimiters for nx exec (#13451) (1c70ac9)
  • core: fix configuration option for affected:build|test|e2e (#13487) (a1bac90)
  • core: fix invalid path in e2e print-affected test (#13285) (41c320c)
  • core: fix nx init for non monorepos (7762edd)
  • core: fix showing help for executors (#13393) (2c13661)
  • core: generated package json should not include implicit deps (#13402) (07584fd)
  • core: generated package.json should not include duplicates and optional peer deeps (#13438) (a95b91d)
  • core: give root version priority when mapping npm packages (#13552) (490e945)
  • core: negative patterns do not work for root project (db85c62)
  • core: prevent peer deps from ending up as dev deps in create package json (#13502) (1a3cc51)
  • core: set the right project graph node type for e2e project with name e2e (#13410) (7be73d1)
  • core: use multiselect prompts for array properties (#13270) (3af70fc)
  • core: use node_modules/.cache/nx as default for projectGraphCac… (#13470) (19acffa)
  • devkit: change name schema order in project.json (#13409) (f0fc786)
  • expo: ensure schema files pass the linter rule (#13433) (649e954)
  • graph: project edge tooltips should appear (#13344) (2d758af)
  • graph: restore behavior of proximity buttons (#13608) (76536fd)
  • linter: align reportUnusedDisableDirectives default value (#13284) (2772fab)
  • linter: ensure projectRootMappings exist when running eslint directly (#13432) (9703515)
  • linter: standalone projects should be detectable with eslint (#13435) (05d0bf1)
  • misc: add configuration option to print-affected (#13422) (3653e59)
  • misc: adjust prompt for standalone react to not include cypress (#13601) (7b76d17)
  • misc: axios import breaks when using npx (19018fc)
  • misc: do not set includeScript during nx init (ad201d5)
  • misc: fix move and remove to be not reliant on workspace layout (#13607) (9453a75)
  • misc: fix tsconfig file includes (61d7d74)
  • misc: handle the case where --directory=libs (54c2169)
  • misc: nx init should allow overriding the version of nx (ee65e6a)
  • misc: only warn about ng completion not supported when trying to set up the completion (4196ad3)
  • misc: readd readme to workspace creation (#13329) (a243e80)
  • misc: rework create-nx-workspace command to show standalone presets (dd2c372)
  • misc: use given name for creating standalone workspaces (#13516) (27a48df)
  • nextjs: check validity of Nx context in withNx plugin (#13358) (dc16468)
  • nx-plugin: ensure project has eslint available before adding lint checks for migrations.json(#13327) (90f2791)
  • nxdev: external related docs link (#13263) (fe99206)
  • nxdev: fix link in how-project-graph-is-built (#13632) (b71b28e)
  • nxdev: show related recipes (#13254) (19ead43)
  • react-native: skipPackageJson was being ignored (#13513) (5c10f1c)
  • react: add missing style preprocessors when using Vite (#13600) (67c7822)
  • react: clean-up after dependency removal from @nrwl/react (#13563) (5b7dba1)
  • react: fix path to CT tsconfig (#13177) (3e2b8d9)
  • react: generate lib with correct imports in vite.config.ts (#13419) (70fa4b9)
  • react: generate new libs with @nrwl/rollup:rollup instead of @nr… (#13526) (08689b0)
  • react: set bundler for preset app (#13338) (1b85e20)
  • storybook: ensure storybook before calling util in angular (#13599) (2eb8650)
  • storybook: inform user vite is used if project uses vite (#13499) (f545b29)
  • storybook: proper detection of e2e project existence (#13635) (b959109)
  • storybook: re-enable storybook tests (#13313) (5bacaf3)
  • storybook: remove polyfill.ts from tsconfig (#13322) (13602c3)
  • storybook: remove webpack from vite and install webpack if npm (#13631) (8560453)
  • testing: add include option for vitest to only look in src (#13392) (993d38d)
  • testing: fix jest paths for root directory (#13520) (804fb19)
  • testing: generate appropriate files when unitTestRunner is vitest without specifying vite as the bundler (#13594) (214c6a3)
  • testing: handle cypress-project generation for standalone projects (#13602) (6f8a849)
  • testing: only target files in src/* directory for component testing (#13604) (ddc2dca)
  • testing: remove jest.config.ts from vitest setups (#13586) (dbc673d)
  • testing: rename cy 10 migration to 11 (#13646) (5d910c0)
  • testing: web and react application fixes for vitest's insourceTests (#13447) (f0f60fb)
  • vite: apps packagejson copy (#13553) (3edfc5d)
  • vite: remove default for hmr from schema.json (#13654) (7d329c0)
  • vite: take into account configuration for build mode (#13655) (01b3ebd)
  • vite: update nx.json for vitest (#13606) (32f60f1)

Features

  • angular: add --ssr flag to remote generator (#13370) (2471768)
  • angular: add a preset to generate a workspace with a single app at the root (70e43cd)
  • angular: add backwards compat support for karma (#13582) (1d4900d)
  • angular: add backwards compat support to add-linting (#13570) (43644ac)
  • angular: add backwards compat support to init generator (#13548) (0db1b48)
  • angular: add backwards compat support to setup-tailwind generator (#13569) (d3b3af2)
  • angular: add backwards support to component (#13583) (0187000)
  • angular: add migration for ngrx 15 (#13498) (f25e03d)
  • angular: add module-federation-dev-ssr builder (#13496) (0ce6735)
  • angular: add ssr flag to host generator (#13398) (d908521)
  • angular: add static-server target to ssr mf remote (#13440) (9469dba)
  • angular: add support to component and karma project generator for nested projects (#13380) (61f6e2d)
  • angular: host mf should use module-federation-dev-ssr for serve-ssr (#13510) (183e3c1)
  • angular: log a warning when running make-angular-cli-faster with older or incompatible versions (#13591) (6b8e42a)
  • angular: rename default ngrx-selector names to match ngrx-standard (#13475) (a4a8d9d)
  • angular: support angular 14 with application (#13575) (3180427)
  • bundling: add more options to vite executors (#13299) (4af3141)
  • bundling: remove assets option from vite build (#13441) (5af4ae0)
  • bundling: vite generators (#13158) (f394608)
  • core: add daemon watcher filters (#13229) (3f2fa6c)
  • core: add includeProjectDependents as a option for file watching (#13424) (db3499d)
  • core: add nx exec command (#13212) (76c237b)
  • core: add shorthand for nx run-commands (#13139) (61c3b0e)
  • core: enable linter for angular standalone (#13430) (9f50535)
  • core: enable linter on root projects (#13347) (110b5f2)
  • core: move createPackageJson to nx (#13315) (f0c18f5)
  • core: move runtime-lint-utils to eslint plugin (#13222) (ab6f62a)
  • core: optimize project graph file mapping (#13249) (de44bf8)
  • core: run tasks with no dependencies in topological order (#13294) (1842d19)
  • core: support bitbucket pipelines in ci generator (#13240) (5045206)
  • core: support nested structure for cra-to-nx (#13253) (590a3dc)
  • core: use createProjectFileMappings in TargetProjectLocator (#13268) (bd4f4a2)
  • expo: upgrade expo to 47 (#13609) (7ad7aa6)
  • graph: enable task graph (#13343) (17514d2)
  • js: use the daemon watcher instead of parcel/watcher (#13413) (8bfc0b5)
  • linter: add .eslintrc to json-like migratable configs (#13396) (0bd7685)
  • linter: replace createReactEslintJson with extendReactEslintJson (#13431) (9a0db48)
  • linter: support new config format for eslint discovery (#13395) (3fe5df7)
  • misc: add support for angular cli workspaces to nx init (#13404) (f448477)
  • misc: assume repo and app names are the same for standlone presets (8f2fb24)
  • misc: derive workspace layout dynamically (16fd437)
  • misc: do not generate tsconfig.base.json for simple standalone … (#13605) (91c19f5)
  • misc: nx init should work on non-monorepo projects (661bea4)
  • react-native: upgrade react-native to 0.70.6 (#13277) (cd1e12a)
  • react: add --bundler=none option for React lib generator if the… (#13511) (5d0f50e)
  • react: add CRA support to "nx init" (#13488) (a9ac43b)
  • react: add minimal flag (#13446) (662f541)
  • react: add SSR suppoprt to host generator for module federation (#13416) (6c59cbb)
  • react: add SSR support to React apps (#13234) (23e4fc7)
  • react: add Vite bundler option for buildable libraries (#13382) (a63a25d)
  • react: add withModuleFederationForSSR function (#13276) (8be2980)
  • react: default to Vite when converting from CRA to Nx (#13473) (f2c5eba)
  • react: experimental workspace preset uses vite (#13323) (a2cf352)
  • react: remove unnecessary dependencies from @nrwl/react (#13525) (cded83b)
  • react: update package versions (#13300) (ade6668)
  • react: use "nx exec" when running cra-to-nx for standalone work… (#13460) (78758a1)
  • storybook: for nested projects (#13314) (2614452)
  • storybook: generate config for vite (#13381) (2d860ea)
  • testing: add vitest generators (#13301) (02e22de)
  • testing: support root project generation for jest (#13353) (74bd0bb)
  • vite: use the project's tsconfig.json to configure plugins rath… (#13408) (bf32321)

Don't miss a new nx release

NewReleases is sending notifications on new releases.