Compare commits

..

1922 Commits

Author SHA1 Message Date
Max Kless c6bf6414ce feat(graph): write nx-console e2e tests for the new tooltip functionality 2023-08-09 16:45:58 +02:00
Max Kless 395c3562d0 cleanup(graph): remove unused var 2023-08-09 10:26:15 +02:00
Max Kless 5a2ea09d9b cleanup(graph): improve graph e2e test 2023-08-09 10:02:41 +02:00
Max Kless 9c5873c9fa fix(graph): adjust implementation to upstream changes 2023-08-09 09:50:19 +02:00
Max Kless 47d4eb8eb8 feat(graph): add e2e test to test expanded task inputs 2023-08-09 09:29:23 +02:00
Max Kless ad9344152f feat(graph): add task tooltip e2e test 2023-08-09 09:29:23 +02:00
Max Kless 491966b6e3 feat(graph): expand task inputs and display them in the UI 2023-08-09 09:29:20 +02:00
Jonathan Cammisuli cda123802f fix(core): update test to use ProjectGraphBuilder + createTaskGraph 2023-08-08 20:59:17 -04:00
Jonathan Cammisuli 9690aea0a8 fix(core): change the way we gather inputs for the graph view 2023-08-08 14:55:09 -04:00
FrozenPandaz 6a1164f7ae chore(core): update unit tests 2023-08-08 14:50:13 -04:00
Jonathan Cammisuli 0ce7acdf77 fix(core): change the way we gather inputs for the graph view 2023-08-08 14:16:59 -04:00
Jonathan Cammisuli 137ba06499 fix(core): revert changes to run-command 2023-08-08 11:27:07 -04:00
Jonathan Cammisuli 5df932b108 fix(core): review changes 2023-08-07 14:11:40 -04:00
Jonathan Cammisuli 62e75edd24 fix(core): update unit test 2023-08-07 14:11:40 -04:00
Jonathan Cammisuli 2145117b24 feat(core): add task inputs to task graph for graph view 2023-08-07 14:11:40 -04:00
Jonathan Cammisuli a42cabccf9 feat(core): gather task inputs 2023-08-07 14:11:39 -04:00
Isaac Mann e57d42cf09 docs(core): update plugin stats (#18491) 2023-08-07 12:54:41 -04:00
Juri bb76d01942 docs(core): fix shell formatting which got broken due to style update 2023-08-04 22:32:20 +02:00
Juri 232a2d4861 docs(core): add nx overview video to Nx docs 2023-08-04 22:32:20 +02:00
Altan Stalker 543e9e30c5 chore(repo): bump nx-cloud to 16.3.0-beta.7 (#18493) 2023-08-04 11:22:02 -04:00
Emily Xiong ed300d5f82 feat(testing): prompt e2eTestRunner playwright (#18203) 2023-08-04 11:14:59 -04:00
Katerina Skroumpelou c0d3aa5697 chore(testing): try catch the pm command detection (#18486) 2023-08-04 14:59:20 +00:00
Jason Jean 622e0e0ec8 fix(core): add target options for .nx nx.json (#18476) 2023-08-04 10:25:20 -04:00
Miroslav Jonaš 35656432e6 fix(linter): fix messages on deps checks (#18484) 2023-08-04 10:08:41 -04:00
Miroslav Jonaš bdbc1113d5 docs(nx-dev): add recipe for yarn pnp (#18460) 2023-08-04 15:09:53 +02:00
Miroslav Jonaš 23fab0553a fix(react): fix babel core migration (#18485) 2023-08-04 13:32:39 +02:00
Remy 14fab26056 fix(esbuild): don't overwrite plugins in esbuildOptions (#18461) 2023-08-04 13:47:51 +03:00
Isaac Mann 914cb1d779 docs(core): update grammar (#18466) 2023-08-04 00:06:34 +02:00
Craigory Coppola 1a1cb4f2dc feat(core): expand support for projectRoot token to include project.json (#18302) 2023-08-03 17:44:09 -04:00
Craigory Coppola c175fc3138 fix(misc): move --useDotNxInstallation to yargs config (#18475) 2023-08-03 17:09:16 -04:00
Miroslav Jonaš 4fe0bd61cc feat(linter): update eslint to 8.46.0 (#18474) 2023-08-03 19:59:43 +00:00
Miroslav Jonaš b3174587a9 fix(react): add babel/core when babel/preset-react is preset (#18462) 2023-08-03 21:33:56 +02:00
Isaac Mann 7b6b40390e fix(nx-dev): fix horizontal scrollbar (#18469) 2023-08-03 21:02:31 +02:00
Craigory Coppola 1861d6e45f fix(core): report should not include non-plugin packages as local plugins (#18306) 2023-08-03 15:00:29 -04:00
Emily Xiong 6b43833d2c chore(core): move relativeCwd out of workspaces (#18229) 2023-08-03 13:36:28 -04:00
Jakub Nabrdalik 64492ece8c feat(angular): use provideRouter for standalone remote apps (#18468) 2023-08-03 17:50:56 +01:00
Katerina Skroumpelou e9d50af945 feat(misc): embeddings script and list sources in ai response (#18455) 2023-08-03 18:51:31 +03:00
Steven Rathbauer 0c0e61e122 docs(nx-cloud): update github actions nx-cloud example (#18368) 2023-08-03 11:49:10 -04:00
Miroslav Jonaš 5634d556a5 fix(linter): ensure package detection works in PnP (#18394) 2023-08-03 11:32:36 -04:00
Emily Xiong 24b1ab5463 feat(react): add playwright to e2eTestRunner option (#18200) 2023-08-03 17:16:35 +02:00
Isaac Mann f1a90bfd1c feat(nx-dev): plugin quality indicators (#18426) 2023-08-03 17:15:05 +02:00
Katerina Skroumpelou bf5111c342 fix(vite): do not set default target (#18454) 2023-08-03 15:14:33 +03:00
Katerina Skroumpelou ccad52e93c feat(nx-dev): when feedback button is pressed hide buttons (#18141) 2023-08-03 15:05:52 +03:00
FrozenPandaz 50a145bb64 chore(misc): publish 16.7.0-beta.1 2023-08-02 22:28:20 -04:00
Caleb Ukle 9fdf14b89c docs(core): add astro recipe (#18277) 2023-08-02 16:09:34 -05:00
Emily Xiong d892a297db fix(detox): fix detox to work with yarn pnp (#18444) 2023-08-02 16:52:08 -04:00
Caleb Ukle 5e51cd6eb5 fix(testing): playwright plugin clean up (#18447) 2023-08-02 16:14:17 -04:00
Caleb Ukle 1dcb80d447 feat(angular): add playwright to e2eTestRunner option (#18163) 2023-08-02 11:59:00 -04:00
Caleb Ukle b5305604cd docs(testing): add playwright overview page (#18357) 2023-08-02 10:07:01 -05:00
Colum Ferry 5be931cd53 docs(core): add solid stack recipe (#18418) 2023-08-02 15:37:51 +01:00
Colum Ferry ea5efb9e4c docs(core): add qwik stack recipe (#18152) 2023-08-02 15:03:57 +01:00
Caleb Ukle 697754dfaa fix(testing): check if target exists before adding target for jest (#18327) 2023-08-02 09:49:41 -04:00
Isaac Mann e5fd0d5581 fix(nx-dev): generate all open graph images (#18433) 2023-08-02 08:56:08 -04:00
John White f02d230626 fix(angular): update getComponentsInfo to filter null values (#18431) 2023-08-02 11:13:46 +01:00
merrick kirby 510e03d714 fix(expo): Correct schema for export executor (#18085) 2023-08-02 13:13:03 +03:00
MaxKless d5ceca9499 feat(graph): add more graph to editor communication (#18315) 2023-08-02 11:39:53 +02:00
Juri 054a371aab docs(core): random improvements on core section of docs 2023-08-02 09:17:09 +02:00
FrozenPandaz bda5165266 chore(misc): publish 16.7.0-beta.0 2023-08-01 18:24:30 -04:00
Jason Jean 842cf7aa11 feat(core): make processing typescript dependencies in rust the default (#18398) 2023-08-01 18:19:52 -04:00
Nicholas Cunningham 3ae657cad3 fix(core): update e2e tsconfig extends to be mapped to the correct root tsconfig (#18408) 2023-08-01 17:18:07 -04:00
Jonathan Cammisuli ce2c6d60e7 fix(core): provide taskGraph for every task calculation (#18410) 2023-08-01 16:59:58 -04:00
Isaac Mann 8c723380a7 docs(core): rename enforce project boundaries (#18421) 2023-08-01 11:36:28 -04:00
Jack Hsu d63d3573c4 feat(js): add generateExportsField and additionalEntryPoints options to update exports field when building with tsc/swc (#18319) 2023-08-01 09:23:48 -06:00
Katerina Skroumpelou 90e4e7e7de fix(storybook): do not set default host as localhost (#18419) 2023-08-01 18:20:29 +03:00
Caleb Ukle 27923fd2d8 feat(web): add playwright e2eTestRunner option (#18284) 2023-08-01 10:53:06 -04:00
Jack Hsu e78575badc feat(nextjs): add playwright as an option for e2e testing (#18281) 2023-08-01 10:51:51 -04:00
Isaac Mann 3313c7619a docs(core): add stack example recipes (#18118) 2023-08-01 10:18:51 -04:00
Isaac Mann 430c4d3240 docs(core): mixing package-based and integrated (#18076) 2023-08-01 09:58:51 -04:00
Igor Loskutov a5d6a293aa fix(core): esbuild generateLockfile according to docs (#18413) 2023-08-01 16:29:38 +03:00
Adam Tavener 48deaec60f fix(web): next server pass custom hostname to startup port check (#18123) 2023-08-01 15:52:19 +03:00
Juri b8a6621e29 fix(webpack): fix babel config path resolution
closed #18404
2023-08-01 14:31:29 +02:00
Miroslav Jonaš cd6c8d373a fix(nextjs): fix build for yarn pnp (#18387) 2023-08-01 13:55:57 +02:00
Ben McCann fd6bccddff docs(storybook): use ESM for Storybook configs (#18380) 2023-08-01 10:46:28 +00:00
Katerina Skroumpelou 67bd9d7b62 chore(graph): update the syntax of the stories (#18188) 2023-08-01 10:11:07 +03:00
iceThief 662e595eb7 docs(core): fix yargs documentation of "nx show" (#18381) 2023-07-31 23:46:36 -05:00
Juri Strumpflohner cf7d2ebb44 docs(core): fix typo in code fence 2023-07-31 22:00:24 +02:00
Juri 9610fdd90c feat(nx-dev): update terminal markdown embeds 2023-07-31 21:49:46 +02:00
Juri 05cbce0de8 docs(nx-dev): add video and terminal output cmps 2023-07-31 21:49:46 +02:00
Tony Ganchev 7d07a70d1c docs(misc): Fixing version mismatch in CONTRIBUTING (#18268)
Co-authored-by: Tony Ganchev <tganchev@vmware.com>
2023-07-31 15:41:35 -04:00
Victor Savkin 6615d5beb8 chore(repo): update nx-cloud to 16.2.0 2023-07-31 14:25:53 -04:00
Jason Jean aa2df9f417 chore(misc): temporarily disable failing e2e test (#18406) 2023-07-31 14:01:56 -04:00
Leosvel Pérez Espinosa 3359249977 fix(angular): update magic-string dependency (#18389) 2023-07-31 11:06:58 -04:00
Jason Jean 8d5a16004d chore(repo): re-enable macos e2e caching (#18382) 2023-07-31 11:05:48 -04:00
Jack Hsu 8adee8ec9e feat(testing): set playwright to public and restrict exports (#18275) 2023-07-31 10:49:05 -04:00
Igor Loskutov 9c7ded0b1a feat(linter): support path wildcards in enforce-module-boundaries autofix (#18316) 2023-07-31 16:18:00 +02:00
Jack Hsu dcefa4a6ad feat(core): add convert-to-monorepo generator to convert from standalone projects (#18245) 2023-07-31 10:17:08 -04:00
Tony Ganchev 30c3e9925a feat(linter): Support --print-config feature of ESLint (#18260) 2023-07-31 16:11:21 +02:00
Muthaiyan Mani 554bea7a4c docs(nx-dev): fix route link typo (#18360) 2023-07-31 09:09:42 -04:00
FrozenPandaz d02a8dbf06 chore(misc): publish 16.6.0 2023-07-31 08:21:56 -04:00
Juri dcecb6f46a docs(core): cleanup youtube tags 2023-07-31 11:19:07 +02:00
Juri ee93657c3b docs(core): update video for generators 2023-07-31 11:19:07 +02:00
Juri 47b3d49bb0 feat(nx-dev): update youtube cmp to allow caption 2023-07-31 11:19:07 +02:00
Jason Jean 989f7f8f92 chore(repo): update nx to 16.6.0-beta.8 (#18356) 2023-07-29 10:39:53 -04:00
FrozenPandaz d1d06349e7 chore(misc): publish 16.6.0-beta.8 2023-07-28 16:06:54 -04:00
Jason Jean 80c470ac7f fix(core): do not error when hashing executors which are local plugins (#18372) 2023-07-28 20:00:59 +00:00
Miroslav Jonaš 63521d7e13 fix(js): ensure compile swc uses current package manager (#18321) 2023-07-28 21:43:40 +02:00
Miroslav Jonaš fdd9c24a2a fix(storybook): support pnp with storybook package (#18343) 2023-07-28 21:43:25 +02:00
Juri 9732188eee docs(core): fix localhost link on intro page 2023-07-28 21:40:30 +02:00
Caleb Ukle dbd61b5d9a fix(react-native): update generated jest config coverage dir (#18366) 2023-07-28 11:40:52 -05:00
FrozenPandaz 6afe0a7c20 chore(misc): publish 16.6.0-beta.7 2023-07-28 12:26:09 -04:00
Jason Jean 3eba026e39 fix(core): fix performance of hashing external dependencies up front (#18359) 2023-07-28 12:23:14 -04:00
Juri 4304a451cc docs(core): disable Stackblitz for now as those examples don't work with the latest version 2023-07-28 18:18:15 +02:00
Emily Xiong d65736e125 feat(detox): upgrade @config-plugins/detox to 6 (#18345) 2023-07-28 11:39:16 -04:00
Jack Hsu cfeb697895 Revert "fix(nextjs): builder should work with pnp" (#18367) 2023-07-28 11:00:21 -04:00
Jason Jean 0fd8859c37 fix(js): resolve imports as native node apis before npm modules (#18358) 2023-07-28 10:33:40 -04:00
Max Kless 35e95f0c53 docs(misc): update nx console talk description 2023-07-28 16:18:18 +02:00
Katerina Skroumpelou e06b9e0954 docs(storybook): interaction tests updated documentation 2023-07-28 15:59:58 +02:00
Juri 90574e5a21 docs(angular): add video-links to angular tutorial 2023-07-28 15:53:47 +02:00
Leosvel Pérez Espinosa bd71ce35a4 fix(js): fix misc issues in tsc batch executor (#18363) 2023-07-28 14:44:35 +01:00
Juri 3c13d291df docs(react): add video-link sections for the React standalone docs 2023-07-28 15:21:29 +02:00
Juri 461ec19505 feat(nx-dev): add video-link component 2023-07-28 15:21:29 +02:00
Juri 1e30d43f7a docs(react): video and other improvements on tutorial 2023-07-28 15:21:29 +02:00
Miroslav Jonas 205b6fec10 fix(nx-dev): enable nx logo on docs to navigate to home 2023-07-28 11:16:03 +02:00
Miroslav Jonas 48000a5044 docs(nx-dev): remove reference commands 2023-07-28 11:15:07 +02:00
Miroslav Jonaš f4b7ec2c0d fix(linter): ensure tslint converter works with pnp (#18323) 2023-07-28 11:09:07 +02:00
Jack Hsu eb392109f7 fix(linter): do not report obsolete devDependencies since they are not used in production files (#18353) 2023-07-28 09:05:39 +02:00
Jack Hsu 661efa913d feat(bundling): generate matching d.ts files for rollup (#18342) 2023-07-28 09:04:26 +02:00
Jack Hsu 4c2f98ebf9 fix(js): generate correct standalone setup (#18355) 2023-07-27 19:18:39 -04:00
FrozenPandaz 9aad21dbfb chore(misc): publish 16.6.0-beta.6 2023-07-27 17:48:20 -04:00
Jason Jean b25d5b0637 fix(core): deterministically hash external nodes (#18354) 2023-07-27 17:45:09 -04:00
Miroslav Jonaš 4a541418bb fix(repo): fix silent yarn run on e2e for berry (#18340) 2023-07-27 20:39:26 +02:00
Jason Jean e4d23383f5 fix(core): fix dep outputs hashing (#18331) 2023-07-27 14:33:08 -04:00
Mike Gregson 36dae70fb0 feat(vite): add v8 coverage support to vitest generator (#18114) 2023-07-27 12:49:56 -05:00
Jack Hsu 2dc6656f4b fix(bundling): add missing main export for @nx/vite (#18344) 2023-07-27 11:34:03 -04:00
Miroslav Jonaš 423a68b70e fix(core): improve yarn tarball detection (#18335) 2023-07-27 11:10:06 -04:00
Miroslav Jonaš d02950bb1b feat(repo): enable custom version publish on e2e (#18341) 2023-07-27 16:21:33 +02:00
Miroslav Jonaš 1363baea28 fix(nextjs): builder should work with pnp (#18325) 2023-07-27 15:54:23 +02:00
Koen Van Geert 01ef42bc44 fix(react): timeout after 20 min waiting for remote (#18099)
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2023-07-27 09:44:56 -04:00
Miroslav Jonaš 736a3ac11e fix(react): fix mfe dev server for yarn pnp (#18338) 2023-07-27 15:35:09 +02:00
Colum Ferry b5b75332e4 fix(core): eslint dep check rule should check prereleases correctly (#18317) 2023-07-27 12:15:26 +00:00
Jason Jean f113bea262 Revert "chore(repo): update nx to 16.6.0-beta.5 (#18309)" (#18333) 2023-07-26 17:49:39 -04:00
Miroslav Jonaš aa557a029c fix(core): shell script invocation should use yarn for berry (#18326) 2023-07-26 16:42:11 -04:00
Jason Jean 2b67959972 fix(core): fix migration and warn for invalid outputs (#18310) 2023-07-26 16:39:22 -04:00
Jonathan Cammisuli eef0bd563d chore(core): reenable glob tests (#18320) 2023-07-26 12:08:21 -04:00
Miroslav Jonaš c599d2fca4 fix(angular): ensure ssr invokation uses current package manager (#18322) 2023-07-26 17:41:31 +02:00
Jason Jean 1dadb3d772 chore(repo): update nx to 16.6.0-beta.5 (#18309) 2023-07-25 18:16:42 -04:00
Craigory Coppola 901b70a4fe chore(nx-plugin): add examples for generators (#17346) 2023-07-25 18:15:26 -04:00
Leosvel Pérez Espinosa 7d1a44bc57 chore(misc): remove usage of deprecated updateBuildableProjectDepsInPackageJson option (#18305) 2023-07-25 17:36:32 -04:00
Juri bdcec6de55 feat(nx-dev): github star widget 2023-07-25 23:32:07 +02:00
Jack Hsu 810b584c33 fix(js): generate ts standalone project with better import path (#18197) 2023-07-25 16:35:29 -04:00
Craigory Coppola 54dcc0f8be chore(repo): update codeowners for package.json (#18278) 2023-07-25 16:30:59 -04:00
FrozenPandaz aab868aa0c chore(misc): publish 16.6.0-beta.5 2023-07-25 13:46:12 -04:00
Craigory Coppola a80abbf2c9 fix(nx-plugin): don't generate cli property in migrations.json (#18304) 2023-07-25 12:51:11 -04:00
Jason Jean 2dda1914b5 chore(core): remove globForProjectFiles (#18288) 2023-07-25 12:47:26 -04:00
Victor Savkin b2763e1cc9 chore(repo): update nx-cloud to 16.2.0-beta.0 (#18301) 2023-07-25 11:56:42 -04:00
Miroslav Jonaš bc85c544eb fix(nx-dev): update plugins home page redirect-rules 2023-07-25 17:50:03 +02:00
Emily Xiong 2f59796ac0 chore(core): move calculateDefaultProjectName out of workspaces (#18225) 2023-07-25 11:27:54 -04:00
Juri Strumpflohner 0957a99215 chore(repo): increase Verdaccio fail limits (#18286) 2023-07-25 11:12:14 -04:00
Jonathan Cammisuli b6db266c9e fix(core): handle complex glob patterns within rust (#18242) 2023-07-25 11:11:22 -04:00
Thiago Resende e6c67e41ec chore(react): remove swcLoaderVersion import in application generator (#18041) 2023-07-25 09:51:08 -04:00
Miroslav Jonas e05ca1fd2f fix(nx-dev): fix rebase 2023-07-25 15:09:46 +02:00
Miroslav Jonas 3105203248 fix(nx-dev): fix missing link 2023-07-25 15:09:46 +02:00
Miroslav Jonas b08c7e02f5 docs(nx-dev): reorder menu items 2023-07-25 15:09:46 +02:00
Miroslav Jonas a8bc69b61e docs(nx-dev): extract example repos 2023-07-25 15:09:46 +02:00
Miroslav Jonas 09b70521e7 docs(nx-dev): make recipes to nx section 2023-07-25 15:09:46 +02:00
Miroslav Jonas 42a06b67d2 feat(nx-dev): restructure recipes 2023-07-25 15:09:46 +02:00
MaxKless f8068b7cf6 feat(graph): add clickable project edge file links in nx console (#18113) 2023-07-25 11:10:25 +02:00
Miroslav Jonaš 7aee21afd1 feat(nx-dev): increase contrast of borders on light theme (#18294) 2023-07-25 01:34:51 -07:00
Miroslav Jonaš ee7880c32e feat(nx-dev): rename plugins to extending nx (#18273) 2023-07-24 12:26:05 -07:00
Jack Hsu 14b3f42900 feat(testing): update generated Playwright test and config (#18282) 2023-07-24 15:13:34 -04:00
Rares Matei 7567a65975 docs(nx-cloud): update nx cloud deployment command (#18193) 2023-07-24 16:40:49 +01:00
Miroslav Jonaš cd3472da22 fix(nx-dev): fix official plugin badge background (#18274) 2023-07-24 08:17:09 -07:00
Miroslav Jonaš 331707d6eb docs(nx-dev): make more concepts submenu (#18266) 2023-07-24 14:20:48 +00:00
Miroslav Jonaš 999c2b5eee docs(nx-dev): move changelog to main menu (#18269) 2023-07-24 15:10:40 +02:00
Miroslav Jonaš b5e6787a98 feat(nx-dev): remove unnecessary breadcrumbs (#18270) 2023-07-24 15:10:15 +02:00
Miroslav Jonas cb89b9ae17 docs(nx-dev): make packages and devkit from references 2023-07-24 14:22:04 +02:00
Miroslav Jonas 2fc3e2e485 docs(nx-dev): move plugin features under core features 2023-07-24 14:13:24 +02:00
Emily Xiong 21d3c5e63c chore(core): move hasNxJson out of Workspaces (#18222) 2023-07-21 17:46:12 -04:00
Caleb Ukle 9199444f48 fix(testing): update playwright tsconfig.base.json/entrypoint (#18227) 2023-07-21 17:10:11 -04:00
Emily Xiong 2e6592c533 fix(devkit): use Workspace in devkit for backwards compatibility (#18246) 2023-07-21 16:54:30 -04:00
Emily Xiong 8407d7aedf feat(testing): add lint target for playwright (#18233) 2023-07-21 11:48:40 -04:00
Katerina Skroumpelou b311cbf8e3 fix(storybook): un-deprecate cypress specs generation (#18236) 2023-07-21 18:09:09 +03:00
Emily Xiong 1861c931d6 feat(nx-plugin): create cli in packages folder (#18234) 2023-07-21 10:20:04 -04:00
Emily Xiong 717a8dd027 chore(core): move readNxJson out of Workspaces (#18127) 2023-07-21 10:07:34 -04:00
Juri Strumpflohner e12e9bb9dd docs(core): update link for migration video (#18235) 2023-07-21 11:00:25 +02:00
Craigory Coppola c2c06c12c3 fix(core): remove old example and help text from show remnants (#18228) 2023-07-20 18:15:52 -04:00
Berend de Boer 0f1c9d9e98 chore(misc): nx plugin submission nx-sst (#18173)
Co-authored-by: Berend de Boer <bdeboer@deloitte.co.nz>
2023-07-20 18:15:19 -04:00
Jason Jean 49a95800bc chore(core): clean up task hasher spec (#18230) 2023-07-20 17:45:16 -04:00
Juri 2cf039783a docs(core): add video explaining nx migrate 2023-07-20 22:07:47 +02:00
Jonathan Cammisuli eecbde52a5 fix(core): check if socketMessenger is null before using (#18116) 2023-07-20 14:52:21 -04:00
MaxKless 835972277c fix(graph): increase dropdown indicator padding (#18146) 2023-07-20 14:46:11 -04:00
Denis Frenademetz c3d4bfe9f0 fix(core): do not cache external dependency hashes if they are not fully resolved (#18020) 2023-07-20 14:22:24 -04:00
Caleb Ukle b7fb3ea8ad fix(testing): add playwright secondary entrypoint for preset (#18202) 2023-07-20 12:42:51 -04:00
Katerina Skroumpelou 4ef66f4afd fix(core): improve error handling for getting metadata during file wa… (#18223) 2023-07-20 16:34:58 +00:00
Katerina Skroumpelou d942e7b5fb fix(storybook): make sure skipLibCheck is true (#18212) 2023-07-20 18:17:13 +03:00
Jack Hsu c97a8ac63b feat(js): bump babel versions (#18220) 2023-07-20 11:04:16 -04:00
Miroslav Jonaš 0ab8cd4b4c cleanup(nx-plugin): remove unused imports (#18221) 2023-07-20 14:50:59 +00:00
Katerina Skroumpelou d1e295ec40 cleanup(storybook): add more tests for interaction tests generators (#18219) 2023-07-20 17:44:59 +03:00
Miroslav Jonaš f4f4eb66e2 feat(linter): add dependency-checks to buildable lib generator (#18015) 2023-07-20 10:28:20 -04:00
Jonathan Cammisuli fef5b65b45 fix(core): migrate old invalid glob syntax in target outputs (#18191) 2023-07-20 10:04:01 -04:00
Miroslav Jonaš c4e56858b0 fix(nx-dev): make sure all redirects are used (#18214) 2023-07-20 15:41:33 +02:00
Jason Jean a988be0bae chore(repo): update nx to 16.6.0-beta.4 (#18196) 2023-07-20 12:29:28 +02:00
Jonathan Cammisuli fb0f1f0ec8 fix(core): correctly output created and update events for the watcher on macos (#18186)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-07-19 18:05:52 -04:00
Jack Hsu 28df2057fd chore(repo): replace dep check script with new lint rule (#18060) 2023-07-19 17:07:52 -04:00
Altan Stalker b73f980756 chore(misc): bump nx-cloud to 16.1.1 (#18201) 2023-07-19 20:38:55 +00:00
Leosvel Pérez Espinosa ca5e673a80 feat(misc): add alternative implementation to calculate buildable dependencies using the task graph (#18125) 2023-07-19 15:11:13 -04:00
Jack Hsu 4d5509bd04 docs(misc): update intro page to clarify tutorial links 2023-07-19 20:40:40 +02:00
Caleb Ukle 3e86e42537 fix(testing): run playwright from workspaceRoot (#18195) 2023-07-19 14:37:00 -04:00
Caleb Ukle 4ffc68e18b feat(testing): add playwright e2e preset (#18194) 2023-07-19 13:07:43 -05:00
Caleb Ukle 8d118160e9 feat(testing): add option/QoL improvements to playwright (#18190) 2023-07-19 10:59:43 -05:00
Miroslav Jonaš d9a95b64de fix(core): use package.json version in yarn parser when node_modules are unavailable (#18121) 2023-07-19 17:51:49 +02:00
Emily Xiong 48d4927068 fix(react-native): fix tsc app (#18124) 2023-07-19 11:27:43 -04:00
Miroslav Jonaš 2c1d4bac96 fix(core): run ensurePackage with node_modules for yarn berry (#18144) 2023-07-19 10:50:32 -04:00
Miroslav Jonas 2dc12acf0c fix(nx-dev): fix project config reference headlines 2023-07-19 16:46:38 +02:00
Katerina Skroumpelou 29a9f8eba8 feat(storybook): interaction tests generators for angular (#18166) 2023-07-19 17:42:13 +03:00
Miroslav Jonas 34cde20426 fix(nx-dev): add missing redirects 2023-07-19 16:36:18 +02:00
Miroslav Jonas 7280cb0f72 fix(nx-dev): fix broken redirects after nesting tutorials 2023-07-19 16:36:18 +02:00
Katerina Skroumpelou ab11815041 feat(storybook): update storybook to 7.1 (#18183) 2023-07-19 16:56:06 +03:00
Rares Matei 3fcd84aed4 chore(misc): update nxcloud CI config (#18178) 2023-07-19 15:03:42 +02:00
FrozenPandaz b1a9ae7ce7 chore(misc): publish 16.6.0-beta.4 2023-07-18 18:31:11 -04:00
Jason Jean e2f1c92e03 feat(js): introduce rust-based typescript dependency processor (#17976)
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2023-07-18 18:26:43 -04:00
Emily Xiong d4f0e304b4 chore(core): move isNxGenerator out of workspaces (#18097) 2023-07-18 18:12:15 -04:00
Juri Strumpflohner 3a29699210 docs(nx-dev): updated conf schedule (#18171) 2023-07-18 17:53:45 -04:00
Benjamin Cabanes d0eb029819 fix(nx-dev): hide toc on reference pages (#18136) 2023-07-18 14:05:56 -07:00
Jack Hsu 36cd6b0485 fix(core): generate npm preset correctly (#18164) 2023-07-18 14:27:14 -04:00
Miroslav Jonaš 21bf6cd0a2 fix(core): ensure graph creation keeps dep type in worker mode (#18156) 2023-07-18 11:53:11 -04:00
Colum Ferry 3fefbaf468 feat(angular): add esbuild incremental build builder (#17991) 2023-07-18 15:36:19 +01:00
Jack Hsu 0040520bb0 feat(core): merge None and TS stacks into one since they are both for TS/JS projects (#18108) 2023-07-18 09:42:07 -04:00
Juri 8d160b277e docs(core): improve visibility of CNW command on intro page 2023-07-18 11:01:47 +02:00
Jack Hsu b07d24ef42 feat(js): create package.json with proper defaults (#18091)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2023-07-18 08:53:18 +02:00
Victor Savkin 57b2a76007 fix(misc): stat collector filters out version 16 (#18149) 2023-07-17 16:15:14 -04:00
MaxKless 59f696c85b cleanup(misc): remove outdated run-e2e-tests targets (#18147) 2023-07-17 15:05:39 -04:00
Jack Hsu e2c0abc1a7 fix(js): run build in watch mode when specified for faster recompile time (#18145) 2023-07-17 14:48:32 -04:00
Emily Xiong 699a20ca03 feat(react-native): upgrade react-native to 0.72 (#17810) 2023-07-17 13:07:46 -04:00
Caleb Ukle 6529be96cf feat(vite): add tsconfig paths resolution plugin (#17844) 2023-07-17 15:42:12 +00:00
Isaac Mann ce42f04ae6 docs(core): recipe standalone to integrated 2023-07-17 17:38:34 +02:00
Altan Stalker 74338d1178 docs(misc): clarify bitbucket token/username setup 2023-07-17 17:30:57 +02:00
Miroslav Jonaš 10fc4dd4d8 fix(core): ensure proper yarn version detection even for nested projects (#18052) 2023-07-17 10:35:18 -04:00
Jonathan Cammisuli 187842e14c fix(core): write file directly instead of using fs-extra.outputFileSync (#18129) 2023-07-17 10:01:50 -04:00
Craigory Coppola 2fa248d4f5 fix(misc): update invalid main field in @nrwl/eslint-plugin-nx package.json (#17974) 2023-07-17 08:41:35 -04:00
FrozenPandaz cd8c61d7a3 chore(misc): publish 16.6.0-beta.3 2023-07-14 18:14:54 -04:00
Jason Jean 2a14d4c2d6 chore(repo): update nx to 16.6.0-beta.2 (#18054) 2023-07-14 14:49:44 -04:00
Emily Xiong e5e561d648 feat(testing): add playwright configuration generator (#18013) 2023-07-14 12:17:10 -04:00
Leosvel Pérez Espinosa d489de59e0 fix(core): do not duplicate output of tasks executed in batch mode (#18084) 2023-07-14 11:41:07 -04:00
Leosvel Pérez Espinosa 178975c96b docs(misc): replace mention of old @nx/node:package with @nx/js:tsc (#18102) 2023-07-14 11:36:27 -04:00
Juri 435778c42a docs(core): add video embed for module boundaries 2023-07-14 17:31:34 +02:00
Aaron Chen 2cbad1a610 docs(misc): update react-standalone.md
update the file path in the doc from `modules/products/src/lib/product-list.tsx` to `modules/products/src/lib/product-list/product-list.tsx`.
2023-07-14 17:28:48 +02:00
Lars Gyrup Brink Nielsen b195e910c6 docs(nx-dev): fix broken link in workspace-lint deprecation 2023-07-14 17:24:55 +02:00
Jonathan Cammisuli 5221cba645 chore(core): improve watch e2e test for macos (#18086) 2023-07-14 10:50:55 -04:00
Katerina Skroumpelou 2a888ad2df fix(storybook): install core-js for non-vite libs (#18115) 2023-07-14 17:44:36 +03:00
Jonathan Cammisuli b61373a30f fix(core): remove fatal: no path specified logs from daemon (#18117) 2023-07-14 10:44:05 -04:00
Leosvel Pérez Espinosa 4f9f04fb96 docs(js): add docs about @nx/js:tsc batch execution (#18071) 2023-07-14 08:41:40 +01:00
Emily Xiong 1c6a359130 chore(core): copy isNxExecutor out of Workspaces class (#17996) 2023-07-14 01:55:42 -04:00
Katerina Skroumpelou 6ccbbbc98f feat(nx-dev): new page for ai docs (#18025) 2023-07-13 10:30:01 -04:00
Juri Strumpflohner e657de8583 docs(core): improve formatting & visibility for daemon disabling options (#18105) 2023-07-13 10:06:37 -04:00
FrozenPandaz c3d31711b7 chore(misc): publish 16.6.0-beta.2 2023-07-13 09:54:25 -04:00
Katerina Skroumpelou e545db7da9 fix(storybook): change storybook tsconfig path in eslint file too (#18101) 2023-07-13 10:19:24 +00:00
Katerina Skroumpelou 4bba066d57 feat(react): interaction tests story generator (#18082) 2023-07-13 13:06:04 +03:00
Leosvel Pérez Espinosa 6ce7fc57ed fix(misc): prompt for workspace name when creating it using nx init (#18079) 2023-07-13 08:22:09 +01:00
Jack Hsu ae773d547e fix(linter): skip verifying deps of deps by default in package.json (#18058) 2023-07-12 20:59:36 -04:00
Caleb Ukle da2674ded6 Revert "feat(testing): update jest to v29.6.1 (#18061)" (#18096) 2023-07-12 17:00:05 -05:00
Colum Ferry 77bb4b7429 feat(angular): add support for TS Module Federation Config #15739 (#17876) 2023-07-12 16:14:52 +01:00
Katerina Skroumpelou 58e1f233cf feat(storybook): interaction testing init generator (#18051) 2023-07-12 18:02:12 +03:00
C. T. Lin c364207f3e fix(core): use concat in buildAllWorkspaceFiles to avoid Maximum call stack size exceeded (#18065) 2023-07-12 06:57:17 -04:00
Nicholas Cunningham 7bd4d61b8c docs(angular): Update example app URL (#18056) 2023-07-12 12:11:14 +02:00
FrozenPandaz cf9f5cbe6a chore(misc): publish 16.6.0-beta.1 2023-07-11 16:55:10 -04:00
Caleb Ukle 2128f8e3e2 feat(testing): add @nx/playwright plugin (#17975) 2023-07-11 16:47:56 -04:00
Jonathan Cammisuli 460e469617 fix(core): remove throttle from watch (#18077) 2023-07-11 16:46:00 -04:00
Caleb Ukle 90172c579c feat(testing): update jest to v29.6.1 (#18061) 2023-07-11 16:15:33 -04:00
Jason Jean bcb3251ef5 fix(core): fix project configuration typings (#18073) 2023-07-11 15:00:51 -04:00
Victor Savkin 1bc58c997d feat(core): throw an error when unknown local cache source 2023-07-11 14:43:09 -04:00
Leosvel Pérez Espinosa 95a2256a34 feat(misc): deprecate executor options to generate package.json for libraries (#17923) 2023-07-11 15:28:03 +00:00
Leosvel Pérez Espinosa 8be6558700 fix(misc): fix migrations updating target options to consider target defaults (#18064) 2023-07-11 11:21:24 -04:00
Leosvel Pérez Espinosa 5c98726627 cleanup(bundling): fix esbuild e2e test case (#17890) 2023-07-11 10:29:20 -04:00
Ethan Lowry 9aadae6a5d docs(misc): fix misleading typo in docs for Incremental Builds (#18067) 2023-07-11 08:39:50 -04:00
Miroslav Jonaš 7a9a60324d cleanup(core): remove obsolete versions from workspace (#17984) 2023-07-10 13:59:07 -04:00
Rares Matei 5d734b747b docs(nx-cloud): update release notes (#17992) 2023-07-10 17:40:40 +01:00
Chi Ma e25582780a fix(core): add missing perf_hooks import in tasks-runner/cache (#18043) 2023-07-10 10:48:44 -04:00
Leosvel Pérez Espinosa 92926b9346 fix(core): handle undefined target defaults (#18044) 2023-07-10 10:41:59 -04:00
Leosvel Pérez Espinosa a08cb91891 fix(angular): explicitly depend on find-cache-dir to avoid npm resolution conflict (#18049) 2023-07-10 09:41:10 -04:00
Leosvel Pérez Espinosa d10aeb49ac fix(js): post-process skipped tasks by the ts compiler in tsc batch implementation (#17938) 2023-07-10 14:30:25 +01:00
Leosvel Pérez Espinosa d905e36fb7 docs(angular): add info for angular 16.1.0 in version compatibility matrix docs (#17993) 2023-07-10 14:15:04 +01:00
Leosvel Pérez Espinosa 7c642e6dd5 docs(misc): fix typo in nx usage at enterprises doc (#17959) 2023-07-10 09:13:57 -04:00
Katerina Skroumpelou 878955b50d fix(storybook): dont throw if no project-level tsconfig (#18027) 2023-07-10 12:03:57 +01:00
Julius Osokinas 6bf3dc91ad feat(vite): server executor https prop as object (#18048)
Co-authored-by: Julius Osokinas <julius.osokinas@kevin.eu>
2023-07-10 13:42:59 +03:00
Jack Hsu 38fa586b78 feat(testing): rename jest-project generator to "configuration" generator for consistency in naming (#18006) 2023-07-07 16:17:41 -04:00
FrozenPandaz 5a7ffb93c9 chore(misc): publish 16.6.0-beta.0 2023-07-07 16:10:00 -04:00
Jason Jean c04053b4e9 fix(core): parse project configs only in js (#18009) 2023-07-07 16:06:44 -04:00
Nicholas Cunningham b1f19e3e91 fix(nextjs): Update @types/react version for yarn resolution (#18028) 2023-07-07 13:39:17 -06:00
Jack Hsu 24e45d494f feat(bundling): rename esbuild-project, rollup-project, and webpack-project generators to "configuration" generators for consistency in naming (#18003) 2023-07-07 13:59:41 -04:00
Emily Xiong 8d5cfcc2b3 fix(js): restore registry for only localhost (#17999) 2023-07-07 13:44:25 -04:00
Jack Hsu 9940a0c544 feat(testing): renamed cypress-e2e-configuration to configuration to maintain consistency between plugins (#17998) 2023-07-07 12:43:29 -04:00
Miroslav Jonaš d0c37727c5 fix(core): ensure yarn runs install with correct version (#17997) 2023-07-07 09:19:04 -04:00
Katerina Skroumpelou 21007d8922 fix(storybook): properly identify file as story (#18016) 2023-07-07 11:48:28 +03:00
Katerina Skroumpelou 3edbe49fa2 fix(storybook): optional chain .length in utils (#18001) 2023-07-07 08:33:46 +00:00
Jack Hsu 3fdc66dd69 feat(vite): pin Vite version range to patch releases only to avoid conflicts with Angular (#18010) 2023-07-07 10:47:03 +03:00
Miroslav Jonaš 5af5e6ca91 docs(linter): add documentation on dependency-checks rule (#17962) 2023-07-06 21:01:49 -04:00
Isaac Mann b40f0bea99 docs(core): changelog for 16.5.0 (#18004) 2023-07-06 12:57:39 -04:00
Miroslav Jonaš 601c65241b chore(repo): bump versions of ci images (#17969) 2023-07-06 12:18:53 -04:00
Nathan Walker ccd195d60a fix(js): remove duplicate alias (#17978) 2023-07-06 09:20:02 -04:00
Isaac Mann e60702f428 feat(nx-dev): anchor links to version instead of timestamp 2023-07-06 15:12:53 +02:00
Isaac Mann 0f9cece641 feat(nx-dev): changelog anchor links to each version 2023-07-06 15:12:53 +02:00
Leosvel Pérez Espinosa 64765eb313 feat(misc): change updateBuildableProjectDepsInPackageJson option default value to false (#17920) 2023-07-06 09:06:48 +01:00
Jack Hsu c6a0615fa5 fix(js): add watchIgnore and runBuildTargetDependencies options to speed up build (#17953) 2023-07-05 14:50:53 -04:00
Isaac Mann a4b9a8c879 docs(core): fix formatting 2023-07-05 20:04:34 +02:00
Isaac Mann 4ee6ed1f98 docs(core): set env vars from the command line
Co-authored-by: Muhamed Karajic <muhamedkarajic96@gmail.com>
2023-07-05 20:04:34 +02:00
Colum Ferry 8c9ad0da69 fix(bundling): update the browsers for es5 terser check (#17784) 2023-07-05 17:10:25 +01:00
Juri 4691d841a2 docs(devkit): improve structure and fix some typos 2023-07-05 18:09:40 +02:00
Colum Ferry c64f26ef3c fix(angular): automatically skip remotes not in the current workspace #17473 (#17497) 2023-07-05 16:57:40 +01:00
Isaac Mann fc58ef45d6 docs(core): fix wording in update dependencies page (#17968) 2023-07-05 11:51:42 -04:00
Miroslav Jonaš 28a071f243 fix(js): ignore dependencies from non-index root files for create-package-json (#17930) 2023-07-05 17:47:49 +02:00
Vergil Penkov d42d2f46fb fix(core): add license information for native packages (#17964) 2023-07-05 10:43:57 -04:00
Denis Frenademetz 65adb94bf6 fix(core): ensure external dependency hashes are resolved in a deterministic way (#17926) 2023-07-05 10:42:58 -04:00
FrozenPandaz eaebcc34f9 chore(misc): publish 16.5.0 2023-07-05 09:34:28 -04:00
Juri 093922812f docs(core): add some more info about the "why" of the automated update 2023-07-05 15:15:14 +02:00
Zayd Krunz 446539a5ac docs(core): readability fix in caching doc
Improved readability
2023-07-05 14:52:30 +02:00
Zayd Krunz 088018a846 docs(core): fixes minor typo in getting started (#17901)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2023-07-05 14:50:48 +02:00
Miroslav Jonas 3a8810318b docs(nx-dev): move azure recipe to CI section 2023-07-05 14:41:25 +02:00
Isaac Mann 62f37fa0ee docs(core): changelog redirect (#17855) 2023-07-05 08:34:34 -04:00
Rares Matei 91aa32161b docs(nx-cloud): ami deplopyment docs (#17865) 2023-07-05 08:29:35 -04:00
Denis Frenademetz 47d23c8436 fix(js): js:node executor resolves main.js and build options correctly (#17884)
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2023-07-05 10:10:15 +00:00
Miroslav Jonaš 6d7ce43826 docs(nx-dev): fix link titles to Advanced Update Process (#17941) 2023-07-05 11:46:00 +02:00
Jason Jean 7c76888cf0 chore(repo): update nx to 16.5.0-beta.3 (#17952) 2023-07-05 01:11:29 +00:00
Miroslav Jonaš b093306f9d feat(linter): bump typescript-eslint to 5.60.1 (#17916) 2023-07-04 16:30:58 -04:00
Nicholas Cunningham 50ee9904e1 fix(nextjs): Respect CLI output path when provided (#17947) 2023-07-04 13:58:13 -06:00
Miroslav Jonas a3999c64d9 docs(nx-dev): rename menu items for getting started 2023-07-04 21:17:19 +02:00
Jason Jean 90584d3164 fix(core): ignore root projects for project inference (#17949) 2023-07-04 12:57:28 -04:00
FrozenPandaz b9d30fa0f4 chore(misc): publish 16.5.0-beta.3 2023-07-04 10:56:19 -04:00
Miroslav Jonaš 8f0ec5cb39 feat(testing): add test-setup.ts to ignored prod inputs (#17918) 2023-07-04 10:20:54 -04:00
Colum Ferry 749bc5bee4 chore(angular): check for main.js instead of index.html (#17937) 2023-07-04 15:59:33 +02:00
Juri Strumpflohner 0bf020698a docs(core): add root-level example to top-level run tasks docs page (#17705) 2023-07-04 15:58:23 +02:00
Miroslav Jonaš e9dd37271c chore(repo): bump version of circleci/node orb (#17944) 2023-07-04 15:57:23 +02:00
Miroslav Jonaš b41ca210fe docs(nx-dev): nest 5 minute tutorials under getting started (#17897) 2023-07-04 15:17:49 +02:00
Miroslav Jonaš 388611854f Revert "fix(nextjs): set localhost as hostname default (#17856)" (#17931) 2023-07-04 00:19:18 +02:00
Colum Ferry 9eaa240b4d feat(angular): add --bundler flag for applications (#17919) 2023-07-03 16:22:37 +01:00
Miroslav Jonaš 55c0a168cf fix(linter): apply missing deps fix in a single patch for deps check (#17924) 2023-07-03 16:29:15 +02:00
Miroslav Jonaš a70e1a8bc0 fix(linter): ensure no trailing commas on deps-check obsolete package fix (#17915) 2023-07-03 14:42:02 +02:00
Miroslav Jonaš 6b82a2ff59 feat(linter): allow banning of deep/secondary paths (#17755) 2023-07-03 14:41:45 +02:00
Isaac Mann 50d01d1567 docs(core): fix nx-cloud pricing reference (#17861) 2023-06-30 20:28:27 -04:00
Jason Jean 240a38cf59 chore(repo): update nx to 16.5.0-beta.2 (#17867) 2023-06-30 18:38:04 -04:00
Jason Jean 9ffa90f737 feat(repo): allow testing publish workflow manually without real publ… (#17754) 2023-07-01 00:32:29 +02:00
FrozenPandaz efdf140459 chore(misc): publish 16.5.0-beta.2 2023-06-30 16:09:42 -04:00
Jason Jean 15904616df fix(core): fix project file map for root projects (#17894) 2023-06-30 16:04:18 -04:00
Miroslav Jonaš 3d77b4d40e fix(linter): create-package-json should omit non-npm and ignored packages (#17883) 2023-06-30 16:00:45 -04:00
Eric Yancey Dauenhauer 576262bb03 feat(linter): allow globs in onlyDependOnLibsWithTags eslint-plugin configuration option (#17530)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2023-06-30 21:17:12 +02:00
Jack Hsu 9bb60a7fc6 fix(js): ignore watch errors when a process is already killed on Windows (#17891) 2023-06-30 15:10:43 -04:00
Jack Hsu b7d283bced fix(js): skip watcher if --watch=false for node executor (#17887) 2023-06-30 15:10:24 -04:00
Emily Xiong 0608318449 fix(nx-dev): skip docs for private package (#17843) 2023-06-30 14:32:52 -04:00
Yannick 88c655f5a9 fix(nextjs): set localhost as hostname default (#17856) 2023-06-30 09:26:36 -06:00
Leosvel Pérez Espinosa 4d76d0c626 fix(js): normalize tsconfig paths used as correlation keys in batch implementation (#17888) 2023-06-30 15:57:19 +01:00
Leosvel Pérez Espinosa fced370fe4 fix(angular): normalize path in move generator (#17877) 2023-06-30 11:08:49 +01:00
Nicholas Cunningham 3008be1e7a fix(nextjs): Running nx build --configuration=development should not throw an error (#17866) 2023-06-29 21:18:50 -04:00
FrozenPandaz ee9c6cbd84 chore(misc): publish 16.5.0-beta.1 2023-06-29 16:29:57 -04:00
Miroslav Jonaš cfe1fa044f fix(core): fix lockfile remapping for yarn berry with aliases (#17853) 2023-06-29 16:22:07 -04:00
Jonathan Cammisuli fc4b6a8f31 fix(core): improve error message when native binaries are not found for a supported platform (#17817) 2023-06-29 16:21:27 -04:00
Jonathan Cammisuli 9579404525 fix(core): remove check for taskGraph equality (#17862) 2023-06-29 12:21:25 -04:00
Leosvel Pérez Espinosa b70c7f4802 fix(core): pin @yarnpkg/parsers version to avoid dropping support for node.js v16 (#17860) 2023-06-29 14:47:04 +00:00
Leosvel Pérez Espinosa 08a2108e86 docs(misc): fix broken image paths (#17854) 2023-06-29 14:52:57 +01:00
MaxKless 4d4269d4c1 docs(misc): remove outdated nx console docs concerning running tasks (#17851) 2023-06-29 14:20:16 +02:00
Isaac Mann 126a19ff0b docs(core): finish changelog (#17840) 2023-06-28 21:05:19 -04:00
Caleb Ukle 7d15e0c350 chore(repo): bump webpack version (#17836) 2023-06-28 19:54:38 +00:00
Craigory Coppola 199d6217c1 feat(core): load environment variables from configuration name (#17335) 2023-06-28 14:18:01 -04:00
Leosvel Pérez Espinosa 03ffa422be fix(core): fix race condition in task scheduler (#17837) 2023-06-28 11:48:55 -04:00
Jason Jean cbb2ca2819 chore(repo): update nx to 16.5.0-beta.0 (#17826) 2023-06-28 11:48:02 -04:00
Leosvel Pérez Espinosa 20d45bbdf1 fix(angular): process only angular projects in migration (#17833) 2023-06-28 16:19:49 +01:00
Austin Fahsl 5e51bf4041 chore(misc): patch lerna 6.6.2 to catch additional publish conflicts (#17809) 2023-06-28 10:27:40 -04:00
Leosvel Pérez Espinosa 7055c724dc fix(misc): fix misc issues with move generators (#17814) 2023-06-28 10:26:45 -04:00
Jason Jean c0508e38e3 fix(core): fix workspace validation for implicitDependencies that are… (#17825) 2023-06-28 09:29:56 -04:00
Craigory Coppola 6588ff9faf fix(core): point to daemon logs when daemon closes unexpectedly (#17827) 2023-06-28 09:29:46 -04:00
Jens Bodal a55c27c83f Update how-caching-works.md: .gitignore and .nxignore affect how fileset caching works (#17831) 2023-06-28 09:09:31 -04:00
Emily Xiong 2941ddc6a2 fix(nx-plugin): pass in e2e project name create package preset (#17824) 2023-06-27 19:53:58 +00:00
Craigory Coppola f2d7dcb331 fix(core): cli option --graph should work with scoped package names (#17820) 2023-06-27 15:53:06 -04:00
FrozenPandaz 376d656cfc chore(misc): publish 16.5.0-beta.0 2023-06-27 15:19:15 -04:00
Caleb Ukle 8a63d38f42 feat(testing): bump cypress to latest for angular CT (#17788)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-06-27 14:50:21 -04:00
Nicholas Cunningham bd7157bb83 fix(nextjs): Custom server should run on fresh apps without errors (#17806) 2023-06-27 16:33:04 +00:00
Leosvel Pérez Espinosa d4d48fbbd4 feat(storybook): update storybook version to ^7.0.24 (#17818) 2023-06-27 16:26:34 +01:00
Colum Ferry ec15b4e13f docs(repo): add remix recipe (#17756) 2023-06-27 16:26:06 +01:00
Isaac Mann c00e2f3f6e docs(core): update deprecation messages (#17804) 2023-06-27 11:22:20 -04:00
Jonathan Cammisuli a4c92d8fff feat(core): set rust watcher as default (#17728) 2023-06-27 11:16:25 -04:00
Jonathan Cammisuli d3272108c9 feat(core): use rust utilities for caching operations (#17638) 2023-06-27 11:08:22 -04:00
Jack Hsu 77ca8d7c33 feat(nextjs): allow withNx to be used with other executors such as run-commands (#17819) 2023-06-27 10:24:26 -04:00
Caleb Ukle 836cd34ce7 feat(testing): add --force-exit to jest executor (#17790) 2023-06-26 17:06:55 -05:00
Isaac Mann 37eda46460 docs(core): workspace-lint cli links to web (#17807) 2023-06-26 17:07:59 -04:00
Craigory Coppola c6ad657c9f fix(misc): prevent unexpected targets from root package.json when setting up root project (#17805) 2023-06-26 17:07:11 -04:00
Jason Jean 38101fdbf0 fix(core): fix globbing in rust (#17803) 2023-06-26 16:40:26 -04:00
Joe Walton a995940b19 feat(vite): allow passing multiple test files to vite:test (#17496)
Co-authored-by: Caleb Ukle <caleb.ukle+github@pm.me>
2023-06-26 15:31:04 -05:00
Craigory Coppola c4b7a1f9d8 docs(core): fixup outdated nx show example (#17710) 2023-06-26 16:08:38 -04:00
Isaac Mann 8f563d32ec docs(core): workspace-lint deprecation (#17799) 2023-06-26 15:17:06 -04:00
Nicholas Cunningham 47c95ae5d4 fix(nextjs): KeepAliveTimeout arg (#17801) 2023-06-26 12:57:16 -06:00
Rivaldi Putra 71974ca135 docs(core): add pnpm command for storybook plugin (#17768) 2023-06-26 21:32:30 +03:00
Caleb Ukle e1db93c1b8 fix(webpack): use correct version for migration (#17789) 2023-06-26 21:30:30 +03:00
Nicholas Cunningham fc0ef3570e docs(nextjs): Update nextjs docs since --root was removed (#17796) 2023-06-26 13:35:53 -04:00
Jack Hsu fdf755584f fix(nextjs): update workspace libs setup in weback config (#17795) 2023-06-26 12:26:52 -04:00
Nicholas Cunningham cf08214889 fix(nextjs): For serve executor keepAliveTimeout should be camelCased (#17792) 2023-06-26 10:03:31 -06:00
Isaac Mann 2382c91894 docs(core): list deprecations in changelog (#17761) 2023-06-26 11:28:21 -04:00
Caleb Ukle 77430cbf4c fix(webpack): sync webpack version to @nx/webpack (#17707) 2023-06-26 14:14:18 +00:00
Leosvel Pérez Espinosa 9195111d74 fix(nest): do not overwrite tsconfig files with undefined in migration (#17783) 2023-06-26 09:47:25 -04:00
Katerina Skroumpelou e58cc798a5 feat(storybook): move tsconfig one level up (#17749) 2023-06-26 16:25:52 +03:00
Jack Hsu 9c0c30edb4 fix(bundling): separate image and font resources so they do not conflict (#17763) 2023-06-26 09:18:27 -04:00
Steven Rathbauer b736992968 fix(storybook): fix 6.1.0 migration to prevent wiping out eslintrc (#17753) 2023-06-26 11:22:54 +03:00
FrozenPandaz ae698a7274 chore(misc): publish 16.4.0 2023-06-23 15:24:58 -04:00
Isaac Mann cbdb0fb39b docs(angular): why split angular.json 2023-06-23 21:14:07 +02:00
Isaac Mann c349a6422f docs(angular): nx and angular cli guide update 2023-06-23 21:14:07 +02:00
Jason Jean d729fcff16 fix(misc): update semver dependency (#17759) 2023-06-23 14:58:37 -04:00
Nicholas Cunningham 1d937b08a1 fix(nextjs): Respect --nextAppDir when passed during CNW (#17733) 2023-06-23 12:58:25 -06:00
Isaac Mann 30a4926eec feat(nx-dev): site map (#17743) 2023-06-23 14:56:55 -04:00
Jason Jean c780e07ea5 chore(repo): update nx to 16.4.0-beta.16 (#17739) 2023-06-23 13:20:45 -04:00
Miroslav Jonaš 170546cff9 fix(core): fix mixed lock file keys for yarn berry (#17752) 2023-06-23 18:38:55 +02:00
Miroslav Jonaš e9dc24cf0e fix(core): do not pass undefined to hasher (#17747) 2023-06-23 12:00:35 -04:00
FrozenPandaz 720cf9de01 chore(misc): publish 16.4.0-beta.16 2023-06-23 11:08:26 -04:00
Caleb Ukle 62651a52dc feat(nest): add v10 migrations for tsconfig & CacheModule (#17741) 2023-06-23 09:50:17 -05:00
Leosvel Pérez Espinosa 5fa6e487eb fix(storybook): update json correctly in migration (#17750) 2023-06-23 14:49:31 +00:00
Jonathan Cammisuli 727590aa7c chore(core): increase freebsd mem, and remove dist from copying (#17751) 2023-06-23 10:29:51 -04:00
Miroslav Jonaš ef8c4ed095 feat(linter): add rule for dependency checking (#17581) 2023-06-23 10:26:44 -04:00
Colum Ferry 1891addc09 fix(react): mf should consider ssl when setting remote urls #16989 (#17746) 2023-06-23 14:15:32 +01:00
Nicholas Cunningham 61faa558bb fix(nextjs): Custom server generator root undefined (#17738) 2023-06-23 10:42:21 +03:00
Jason Jean d3ff61c0f1 chore(misc): publish 16.4.0-beta.15 2023-06-23 01:58:55 -04:00
Jason Jean 512b8ba911 fix(js): fix yarn3 verdaccio setup (#17742) 2023-06-22 23:27:59 -04:00
Leosvel Pérez Espinosa f176f213fb fix(core): store command runs in the correct cache directory (#17732) 2023-06-22 18:05:19 -04:00
Gustavo Perdomo 6cb159e9f7 feat(nest): added es2021 support for nest generators (#17726)
Co-authored-by: Caleb Ukle <caleb.ukle+github@pm.me>
2023-06-22 16:38:54 -05:00
FrozenPandaz 796c91c34b chore(misc): publish 16.4.0-beta.14 2023-06-22 17:08:50 -04:00
Jack Hsu 16b9b20af4 feat(react): update types for react, react-dom, and react-is (#17727) 2023-06-22 14:51:41 -04:00
FrozenPandaz a9bcd6ac8e chore(misc): publish 16.4.0-beta.11 2023-06-22 14:51:16 -04:00
FrozenPandaz 2570b78a82 Revert "chore(misc): publish 16.4.0-beta.11"
This reverts commit 1e8de7a00e.
2023-06-22 14:47:36 -04:00
Jonathan Cammisuli 7455271632 fix(core): install npm via pkg for freebsd (#17735) 2023-06-22 14:47:01 -04:00
Victoria Hu 09deeef328 fix(react): mf remote name incorrect with directory option (#17430)
Co-authored-by: vhu@twilio.com <Huli4946145>
2023-06-22 14:30:53 -04:00
Jeremiah Snee e21077f815 fix(webpack): update withNx mainFields ordering to support tree-shaking (#17599) 2023-06-22 14:30:44 -04:00
Evan Gillogley 162b144467 fix(bundling): add skipTypeField back for rollup executor (#17629) 2023-06-22 14:30:35 -04:00
FrozenPandaz 1e8de7a00e chore(misc): publish 16.4.0-beta.11 2023-06-22 11:36:56 -04:00
Jason Jean 6bc0c6c18a fix(core): fix batch mode not streaming outputs (#17717) 2023-06-22 11:35:20 -04:00
Jason Jean c08d943077 fix(js): fix yarn setup to work with yarn3 (#17716) 2023-06-22 11:07:05 -04:00
Juri d8df22df39 docs(react): update standalone tutorial 2023-06-22 16:27:18 +02:00
Colum Ferry fffd84c3aa fix(react): ssr should serve correctly and e2e should function (#17725) 2023-06-22 14:51:41 +01:00
Leosvel Pérez Espinosa 1fcba1a43a feat(angular): support angular v16.1 (#17155) 2023-06-22 14:45:31 +01:00
Leosvel Pérez Espinosa 09e5b03e52 fix(core): determine workspace type when creating workspace passing "angular" or "react" as preset (#17724) 2023-06-22 09:31:45 -04:00
Leosvel Pérez Espinosa 17c8ca6e06 fix(angular): ensure ngrx runtime utils are available for testing (#17721) 2023-06-22 10:01:53 +00:00
MaxKless 3f0bdddfdd fix(misc): mark name as required for ci-workflow generator (#17551) 2023-06-22 09:33:05 +00:00
Craig Rodrigues 1e0105f9c4 chore(repo): change "Command prompt" to "Command Palette" (#17650) 2023-06-21 17:54:16 -04:00
Craigory Coppola 8fdd68c4c1 fix(core): handle null plugin module when import fails for nx list (#17711) 2023-06-21 17:50:27 -04:00
Emily Xiong e440b44f42 feat(nx-plugin): enable createPackageName prompt (#17646) 2023-06-21 17:15:54 -04:00
Jason Jean b7d05a0318 feat(nx-plugin): update e2e tests to use local-registry and be simpler (#17639) 2023-06-21 17:04:56 -04:00
Craigory Coppola db3763e4c5 chore(repo): update forbidden pr labels (#17715) 2023-06-21 16:20:53 -04:00
Emily Xiong c3e08b3809 chore(testing): change e2e setup to use @nx/js (#17679) 2023-06-21 15:23:16 -04:00
Benjamin Cabanes 19ec1de5d9 fix(nx-dev): set conf logo to support both themes (#17714) 2023-06-21 15:19:02 -04:00
Jack Hsu 335c2d5160 fix(js): detect helpers correctly when pnpm external nodes are suffixed with version (#17694) 2023-06-21 14:16:52 -04:00
Juri 99265e404b feat(nx-dev): update Nx Conf website 2023-06-21 20:10:31 +02:00
Colum Ferry 6305e7f497 fix(bundling): check for browserslist when setting terser ecma #17620 (#17708) 2023-06-21 18:00:05 +00:00
Rares Matei e9f4f8a556 docs(nx-cloud): update release notes (#17701) 2023-06-21 13:54:55 -04:00
Leosvel Pérez Espinosa d31eb50580 cleanup(js): improve the tsc executor batch implementation (#17503) 2023-06-21 13:43:49 -04:00
Colum Ferry f35a4ac5c6 feat(nest): add migrations to nest 10 #17681 (#17685) 2023-06-21 18:33:24 +01:00
Caleb Ukle f3f74068ea fix(testing): update default webpack config for react CT (#17562) 2023-06-21 11:41:33 -04:00
Caleb Ukle f74ff4bddc fix(testing): deprecate cypress tsconfig option (#17165) 2023-06-21 11:40:25 -04:00
Miroslav Jonaš 5af50b966e fix(core): fix externalDependencies schema type (#17699) 2023-06-21 09:47:58 -04:00
Miroslav Jonaš 53a37d47e2 fix(core): ensure correct package name matching when parsing pnpm lock file (#17613) 2023-06-21 09:47:02 -04:00
Colum Ferry e01df1cb58 docs(core): update node matrix compat (#17703) 2023-06-21 13:24:40 +01:00
Miroslav Jonaš 1a7577ee1b docs(core): replace run-commands with command in new input reference (#17700) 2023-06-21 08:10:54 -04:00
Colum Ferry 7b86ac9f17 fix(core): run-commands should not parse strings as numbers (#17670) 2023-06-20 18:20:24 -04:00
Jason Jean 62628ab009 fix(core): filter batches of outputs changes properly (#17697) 2023-06-20 22:11:50 +00:00
Isaac Mann 30c57fd311 docs(core): add new champions (#17678) 2023-06-20 14:39:59 -04:00
Craig Rodrigues 6dd652095c chore(node): fix update-16-3-1-update-executor description (#17649) 2023-06-20 10:56:41 -04:00
Caleb Ukle 0be5d3d9b9 docs(node): add recipes for various databases w/ node (#17110) 2023-06-20 09:28:39 -05:00
Leosvel Pérez Espinosa 2503249901 docs(angular): simplify tailwind css recipes for angular projects (#17684) 2023-06-20 15:02:34 +01:00
Colum Ferry 99739179c7 chore(react): remove unnecessary type cast (#17689) 2023-06-20 08:50:42 -05:00
Colum Ferry c46f0259af fix(core): windows filePaths should be handled in findProjectForPath (#17688) 2023-06-20 09:46:32 -04:00
Emily Xiong 238ad4aa24 fix(js): detect port before setup npm and yarn (#17680) 2023-06-20 09:34:38 -04:00
Jonathan Cammisuli 337a871a08 fix(core): get the client env when calculating the task hash in the daemon (#17677) 2023-06-20 09:33:26 -04:00
Jonathan Cammisuli 71409eaed4 fix(core): do not build the project graph in nx report if there's no native support (#17604) 2023-06-20 09:30:38 -04:00
Jack Hsu 2c47bba937 fix(core): prune project graph after affected nodes are found to avoid errors (#17675) 2023-06-19 15:43:42 -04:00
CHC b34da2ca42 fix(docs): update url for fastify (#17669) 2023-06-19 14:10:59 -04:00
Miloš Lajtman ef5813a7b7 fix(linter): improve error message for forbidden imports of lazy-loaded libs (#17635)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2023-06-19 17:33:15 +02:00
Mateusz 5a7d6dbf50 docs(storybook): fix broken link to storybook package in README (#17648) 2023-06-19 14:59:05 +03:00
Miroslav Jonaš 1fda800b33 fix(core): ignore nested node_module paths for findProjectOfResolvedModule in TargetProjectLocator (#17630) 2023-06-18 13:58:08 +02:00
FrozenPandaz d2bde0605c chore(misc): publish 16.4.0-beta.10 2023-06-16 16:36:10 -04:00
Craigory Coppola f5c6ee5488 fix(core): cli option --graph should open graph ui by default (#17644) 2023-06-16 16:31:12 -04:00
Jason Jean 909d973af7 chore(repo): update nx to 16.4.0-beta.9 (#17641) 2023-06-16 16:29:44 -04:00
Juri Strumpflohner 9d0505ab1c docs(nextjs): move next+vercel deployment guide to the deployment section (#17640) 2023-06-16 14:48:32 -04:00
Juri e2217a9350 docs(core): fix typos 2023-06-16 13:23:14 -04:00
Katerina Skroumpelou 36838d6211 fix(js): node executor should always log error (#17622) 2023-06-16 16:45:05 +00:00
Nicholas Cunningham bfe8e47d23 fix(nextjs): cleanup old options for server executor (proxyConfig) (#17626) 2023-06-16 12:00:17 -04:00
Jack Hsu bb88dd934a fix(testing): set jsdom as the default vitest environment when calling the generator programmatically (#17632) 2023-06-16 10:46:13 -04:00
FrozenPandaz b7fbc25d5b chore(misc): publish 16.4.0-beta.9 2023-06-16 09:47:10 -04:00
Emily Xiong 7baad04ea5 feat(nx-plugin): add verdaccio to create package e2e (#17566) 2023-06-16 09:45:52 -04:00
Hermes Ferreira 93b123a326 fix(nextjs): do not append workspaceRoot twice to tsConfigPath (#17611) 2023-06-16 09:41:04 -04:00
Jason Jean 2b8d776c21 chore(repo): update nx to 16.4.0-beta.8 (#17606) 2023-06-15 20:02:04 -04:00
FrozenPandaz a6589ab111 chore(misc): publish 16.4.0-beta.8 2023-06-15 16:39:13 -04:00
Jason Jean 00d07b1109 fix(core): dedupe project files in rust (#17618) 2023-06-15 16:36:33 -04:00
Nicholas Cunningham a546d5f737 fix(nextjs): Support importing json files inside next.config.js (#17623) 2023-06-15 12:49:47 -06:00
Katerina Skroumpelou 58a85d94bc feat(node): remove node:node executor (#17615) 2023-06-15 20:38:48 +03:00
Nicholas Cunningham 7e85063031 fix(web): e2e unit test nightly failing (#17617) 2023-06-15 10:33:00 -06:00
Leosvel Pérez Espinosa 50751387eb feat(react): bump emotion packages versions (#17614) 2023-06-15 16:42:40 +01:00
Colum Ferry a25d1fca47 fix(testing): component testing generator should trust user to provide valid build target (#17600) 2023-06-15 10:37:04 +01:00
Dmitriy Stepanenko f8ea4b6117 docs(node): fix misspelled netlify generator command (#17576) 2023-06-14 18:04:55 -04:00
FrozenPandaz 847d3a45b6 chore(misc): publish 16.4.0-beta.7 2023-06-14 15:51:12 -04:00
FrozenPandaz 196b6bba07 Revert "chore(misc): publish 16.4.0-beta.7"
This reverts commit a73a073cac.
2023-06-14 15:50:46 -04:00
Jason Jean ebb739a0d7 chore(repo): fix publishing workflow for freebsd again (#17603) 2023-06-14 15:48:26 -04:00
FrozenPandaz a73a073cac chore(misc): publish 16.4.0-beta.7 2023-06-14 15:15:53 -04:00
FrozenPandaz d2aa896323 Revert "chore(misc): publish 16.4.0-beta.7"
This reverts commit 768abb0d59.
2023-06-14 15:11:20 -04:00
Jason Jean 51c119334d chore(repo): fix publishing workflow for freebsd (#17602) 2023-06-14 15:09:06 -04:00
FrozenPandaz 768abb0d59 chore(misc): publish 16.4.0-beta.7 2023-06-14 13:46:22 -04:00
Emily Xiong a545090b1a feat(vite): upgrade vite to 4.3.9 (#17579) 2023-06-14 13:44:31 -04:00
Jonathan Cammisuli 18f95a99ad feat(core): build project file map with rust (#17472)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-06-14 13:42:34 -04:00
Emily Xiong 8d33ab67a7 chore(testing): always log e2e nx-release error (#17534) 2023-06-14 13:00:43 -04:00
Katerina Skroumpelou 4ff5596a22 fix(vite): enable remaining e2e (#17593) 2023-06-14 12:54:53 -04:00
Jason Jean dc545d2f40 chore(core): updated cache tests to not use affected (#17583) 2023-06-14 12:46:17 -04:00
Katerina Skroumpelou c8dc4d8f9a fix(core): ensure its file before reading (#17597) 2023-06-14 19:23:46 +03:00
Caleb Ukle f18d50ca0c fix(core): handle string and array parserOptions.project values (#17500) 2023-06-14 12:21:34 -04:00
Miroslav Jonaš a21ab98ca8 fix(linter): fix relative path detection (#17592) 2023-06-14 12:18:44 -04:00
Colum Ferry 76b7d61592 fix(react): component test regex should not use global (#17548) 2023-06-14 16:27:19 +01:00
Peter Jokumsen 73ab23f381 chore(core): fix list typo (#17582) 2023-06-14 09:15:52 -04:00
Katerina Skroumpelou be8867d654 fix(vite): enable e2e tests (#17577) 2023-06-14 08:01:26 -04:00
Katerina Skroumpelou ea349998fa chore(vite): remove unused deps (#17585) 2023-06-14 08:01:06 -04:00
Jack Hsu a19fbb1ddb feat(js): add preset for TS standalone workspace (#17467) 2023-06-13 14:32:06 -04:00
Jack Hsu 8d5ef222cc feat(testing): add support for additional environment options when generating vite config (#17560) 2023-06-13 13:30:52 -04:00
Katerina Skroumpelou 0374db54fd chore(vite): undo test logs and re-enable tests (#17573) 2023-06-13 15:48:49 +00:00
Katerina Skroumpelou 7abcb816b5 feat(react): update types to match react version (#17571) 2023-06-13 11:25:23 -04:00
Katerina Skroumpelou 3fe126944e docs(misc): fix link to edit page (#17569) 2023-06-13 17:35:15 +03:00
Katerina Skroumpelou 7f15660c07 feat(vite): update packages to latest versions (#17515) 2023-06-13 16:00:05 +03:00
Jason Jean 2d47f1bdbe chore(repo): remove override for nx version (#17561) 2023-06-12 17:32:15 -04:00
Miroslav Jonaš 26538097f3 fix(core): ensure createPackageJson does not override existing config (#17471) 2023-06-12 20:59:39 +02:00
Jason Jean 81a499a7eb chore(repo): update nx to 16.4.0-beta.4 (#17536) 2023-06-12 14:30:08 -04:00
Jack Hsu ec48f61142 fix(bundling): update esbuild project generator to support standalone… (#17558) 2023-06-12 13:39:17 -04:00
Jack Hsu edf0b1ce20 feat(js): add setup-build generator for JS packages (#17523) 2023-06-12 12:38:26 -04:00
FrozenPandaz 6eda3ff725 chore(misc): publish 16.4.0-beta.6 2023-06-12 11:59:10 -04:00
Jason Jean 5fc4238b28 fix(core): properly hash tasks that depend on outputs of other tasks … (#17556) 2023-06-12 11:57:21 -04:00
Miroslav Jonaš aaf35e75b2 docs(linter): document flat config option (#17520) 2023-06-12 17:33:52 +02:00
Jack Hsu 35ed04741d fix(js): add support for waitUntilTargets back (#17553) 2023-06-12 09:38:47 -05:00
Nicholas Cunningham 478fb8ba56 fix(js): Ensure runTimeArgs are not ignored (#17527) 2023-06-12 08:28:38 -06:00
Colum Ferry 860d82a640 fix(angular): find module from options should support full path #17547 (#17550) 2023-06-12 15:22:35 +01:00
Miroslav Jonaš 18c1be8b86 docs(core): add example for external dependencies input (#17521) 2023-06-12 15:07:54 +02:00
Emily Xiong a8aeda9ad4 feat(react-native): upgrade react native to version 0.71.10 (#17535) 2023-06-12 08:18:46 -04:00
Leosvel Pérez Espinosa e39ee11bcb fix(angular): fix @angular-eslint/* package updates to consider angular installed version (#17526) 2023-06-12 09:30:44 +01:00
Juri 0e88b12d4a docs(angular): embed Angular Standalone tutorial video 2023-06-11 22:07:54 +02:00
Juri Strumpflohner a6936d2d2f docs(nx-plugin): remove TOC from plugins overview page (#17543) 2023-06-11 10:14:13 -04:00
Jason Jean 94aa566dda chore(misc): publish 16.4.0-beta.5 2023-06-10 13:51:12 -04:00
Jason Jean d1c1c1a611 fix(core): fix logic for determining if task can be hashed upfront (#17540) 2023-06-10 13:43:30 -04:00
Isaac Mann 7e030d5df2 docs(angular): tailwind get started section 2023-06-10 14:49:28 +02:00
Isaac Mann 27a0675663 docs(core): fix more concepts link 2023-06-10 14:41:52 +02:00
FrozenPandaz 82c14a87a7 chore(misc): publish 16.4.0-beta.4 2023-06-09 16:48:19 -04:00
Jason Jean 83895e4573 fix(core): properly hash tasks that depend on outputs of other tasks (#17512) 2023-06-09 16:46:11 -04:00
Jack Hsu 9fa9fda61d fix(bundling): support BABEL_ENV over NODE_ENV for babel config (#17529) 2023-06-09 16:26:43 -04:00
Brian Vanderbusch 51cadbd4df fix generator command (#17502) 2023-06-09 12:58:10 -04:00
Emily Xiong fc42b7b7ff fix(testing): fix windows e2e storage ENOENT (#17506) 2023-06-09 12:31:30 -04:00
Katerina Skroumpelou bf2c42c31e feat(core): update stylus to latest version (#17519) 2023-06-09 09:11:04 -06:00
Katerina Skroumpelou 899240046b fix(vite): properly find projectRoot (#17517) 2023-06-09 09:07:32 -06:00
Nicholas Cunningham cb1bd5e9e5 fix(nextjs): Update @nx/next to be a devDependency (#17510) 2023-06-09 08:13:59 -06:00
Jack Hsu 20359e77a6 fix(js): mark importPath option as important since it is required for publishable libs (#17509) 2023-06-09 10:21:12 +03:00
Jason Jean 8dcbd84dbe chore(repo): update nx to 16.4.0-beta.3 (#17508) 2023-06-08 16:21:34 -04:00
Isaac Mann c92f61267f docs(core): add recipes sections (#17445) 2023-06-08 14:57:49 -04:00
Jason Jean 332f6605ae chore(repo): set lerna npmClient to pnpm when necessary (#17505) 2023-06-08 14:17:20 -04:00
Benjamin Cabanes 32ef811cc4 docs(nx-dev): update nx-cloud swagger link (#17507) 2023-06-08 17:59:11 +00:00
FrozenPandaz d7f500985b chore(misc): publish 16.4.0-beta.3 2023-06-08 11:42:27 -04:00
Leosvel Pérez Espinosa 152cf00e55 fix(core): avoid terminal flickering when doing dynamic rendering 2023-06-08 10:38:10 -04:00
Luca Becker 26e3e16cb9 chore(vite): remove typo in the comment / documentation (#17488) 2023-06-08 09:54:47 -04:00
Leosvel Pérez Espinosa 2d87f77217 fix(core): match tasks by id in run-many terminal output lifecycles (#17460) 2023-06-08 09:50:13 -04:00
Benjamin Cabanes f0be962ae5 feat(nx-dev): update changelog ui (#17075) 2023-06-08 09:49:32 -04:00
Miroslav Jonaš ec4e85773d feat(core): add dependentTasksOutputFiles input (#17314) 2023-06-08 09:45:07 -04:00
Katerina Skroumpelou b953565bc2 feat(vite): add type check to vite builder (#17487) 2023-06-08 15:57:51 +03:00
Juri 99b79fe93d docs(angular): rewrite Angular standalone tutorial 2023-06-08 14:09:46 +02:00
Katerina Skroumpelou 1c478aedfd feat(storybook): generate ts config files by default (#17490) 2023-06-08 11:37:09 +01:00
Vinícius Neto a9f8cc61fa feat(vite): add incremental builds support to Vite plugin build executor (#17433)
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2023-06-08 10:07:57 +03:00
Jack Hsu f55241bc7d docs(bundling): fix a typo causing tabs to not render correctly (#17470) 2023-06-07 14:57:00 -04:00
Jason Jean e6cf2e67cf chore(repo): update nx to 16.4.0-beta.2 (#17468) 2023-06-07 14:42:13 -04:00
Juri 3580e4f1b9 feat(nx-dev): add stackblitz button embed for markdown files 2023-06-07 20:38:25 +02:00
Jack Hsu 0fc8053c74 docs(bundling): updated webpack and rollup executor examples (#17466) 2023-06-07 18:31:13 +00:00
FrozenPandaz abb2678056 chore(misc): publish 16.4.0-beta.2 2023-06-07 12:42:01 -04:00
Katerina Skroumpelou 481926421d fix(storybook): correctly identify if uses vite-based framework (#17465) 2023-06-07 19:31:39 +03:00
Emily Xiong 075ac2545d chore(repo): change e2e to use verdaccio executor (#17347) 2023-06-07 12:26:43 -04:00
Katerina Skroumpelou 417ac38759 fix(js): dont ignore args option on node executor (#17463) 2023-06-07 18:15:53 +03:00
Johannes Handke 05fb178fc4 fix(core): fix pnpm lockfile parsing in v6.1 (#17407) 2023-06-07 17:10:45 +02:00
Katerina Skroumpelou d5aca8bdf2 feat(webpack): bump css-minimizer-webpack-plugin version to latest (#17456) 2023-06-07 18:03:35 +03:00
Rares Matei 4e3cdcb598 docs(nx-cloud): update release notes (#17462) 2023-06-07 10:09:55 -04:00
Katerina Skroumpelou 392366f0fd fix(js): pass buildTargetOptions in executor (#17459) 2023-06-07 08:12:00 -04:00
Katerina Skroumpelou 3cb7b8f70d fix(storybook): add all Storybook CLI options to schema (#17358) 2023-06-07 09:52:14 +03:00
Isaac Mann e693642c35 docs(core): update preset link (#17153) 2023-06-06 16:22:25 -04:00
Jack Hsu 08339ee49f feat(js): do not generate root babel.config.json for babel projects (#17289) 2023-06-06 15:45:33 -04:00
Richard Roozenboom 5c7db06508 fix(core): increase interval attempts for daemon server available on … (#16813) 2023-06-06 14:14:18 -04:00
enemvi 020af3267d docs(repo): fix typo (#17414) 2023-06-06 10:11:06 -04:00
Yuri Pieters d26d0f45d6 fix(js): use export type for exports from schema.d.ts files (#17392)
Co-authored-by: Yuri Pieters <yuri.pieters@anaplan.com>
2023-06-06 09:51:11 -04:00
Lars Gyrup Brink Nielsen f1db759755 docs(core): add example run-many commands filtering on specific tags (#17254) 2023-06-06 08:37:53 -04:00
Sahil Purav 3997d3f5fd fix(webpack): micro-frontend dev builds in React are not working in S… (#17403)
Co-authored-by: Sahil Purav <sahil5684@gmail.com>
2023-06-06 10:02:43 +03:00
Miroslav Jonaš f14c51e690 feat(core): lazy load lock file processing dependencies (#17299) 2023-06-05 18:08:21 -04:00
Leosvel Pérez Espinosa b6cdf9d975 feat(js): add initial/experimental batch execution implementation for tsc executor (#17287) 2023-06-05 17:18:52 -04:00
Jack Hsu fe27b87327 docs(misc): ignore dependency on @nx/next and @nx/jest since they are not the workspace packages (#17423) 2023-06-05 15:58:32 -04:00
Jack Hsu bbb64f8ca4 feat(bundling): Add support to rollup for babelUpwardRootMode" (#17422)" (#17427) 2023-06-05 15:57:23 -04:00
Nicholas Cunningham 334ed07037 docs(nextjs): Add examples for executors (#17116) 2023-06-05 11:10:37 -06:00
Nicholas Cunningham 1b7cb39e83 fix(nextjs): Update package.json build scripts (#17424) 2023-06-05 10:01:08 -06:00
Jack Hsu 1bba7490a1 Revert "[Do not merge]: feat(bundling): Add support to rollup for babelUpwardRootMode" (#17422) 2023-06-05 15:45:28 +00:00
Jack Hsu b8cfbcc625 fix(node): apply migration patch to 16.0.0 and 14.7.6 migrations as well (#17419) 2023-06-05 11:31:50 -04:00
Emily Xiong 1bc7965278 feat(expo): add submit executor (#17372) 2023-06-05 10:59:01 -04:00
Nicholas Cunningham 2d76993e68 [Do not merge]: feat(bundling): Add support to rollup for babelUpwardRootMode (#17292) 2023-06-05 10:52:32 -04:00
Lorenz Henk 6980cf7505 docs(core): fix typo (#17405) 2023-06-05 09:26:28 -04:00
Jason Jean 1c4fb934b6 chore(misc): publish 16.4.0-beta.1 2023-06-02 17:40:00 -04:00
Caleb Ukle ca38a2390b fix(testing): resolve full paths to vite configs for vitest (#17396) 2023-06-02 16:32:32 -05:00
Emily Xiong aa6b6394bb fix(react-native): fix pod install to not throw error on stderr (#17382) 2023-06-02 17:08:19 -04:00
Isaac Mann afd3cfd8c0 docs(core): deprecate npmScope (#17321) 2023-06-02 17:07:43 -04:00
Isaac Mann 47b8c6009d chore(core): fix workspace-lint typo (#17393) 2023-06-02 17:06:41 -04:00
Jonathan Cammisuli 81ad49f898 feat(core): remove node hashing implementation (#17338)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2023-06-02 16:30:37 -04:00
Nicholas Cunningham 02d9486cb3 fix(nextjs): Update Next.js page generator to support app/ router (#17394) 2023-06-02 12:55:21 -06:00
Isaac Mann cd9f04109e docs(core): expand json examples (#17388) 2023-06-02 14:39:34 -04:00
Nicholas Cunningham 8f771e023b fix(node): When serving using js:node executor NODE_ENV should not be undefined (#17375) 2023-06-02 13:56:40 -04:00
Mario Beltrán a0b41eba3e docs(linter): fix scoped plugin name (#16885)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2023-06-02 13:39:54 -04:00
Mohammad Outadi 70420100e1 docs(core): update enforce-project-boundaries.md (#16188)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2023-06-02 13:18:21 -04:00
Camille TJHOA 5647c7ece5 docs(core): fix example of custom/ejected github workflow (#17177) 2023-06-02 12:48:06 -04:00
Katerina Skroumpelou 6d147b61c4 fix(storybook): re-enable x-prompt and remove custom handling (#17360) 2023-06-02 12:35:35 -04:00
James Henry 8a7f79f036 fix(core): do not ship source maps with nx packages (#17389) 2023-06-02 12:31:00 -04:00
Colum Ferry a775325b22 fix(angular): dynamic host should not generate webpack.prod.config.js (#17385) 2023-06-02 16:33:31 +01:00
Craigory Coppola 6c843532aa fix(core): reorganize global installation check for better clarity (#17373) 2023-06-02 09:47:46 -04:00
Roy Ling e8375f254b docs(misc): fixed wrong project.json examples (#17141) 2023-06-02 09:01:15 -04:00
Rares Matei 6d86742f9d docs(nx-cloud): add community edition migration notes (#17384) 2023-06-02 08:14:09 -04:00
Craigory Coppola 63f85a19fe feat(core): deprecate print-affected and affected:graph (#17341) 2023-06-01 23:15:46 +00:00
Jason Jean 28bca77f47 chore(react): disable failing nx init cra e2e test (#17379) 2023-06-01 18:48:33 -04:00
Rares Matei 7ca22adce5 docs: update nx private cloud release notes (#17377) 2023-06-01 19:44:04 +00:00
Victor Savkin 1da4da91c9 chore(repo): update to 16.4.0-beta.0 2023-06-01 14:53:04 -04:00
Victor Savkin c2112a0727 chore(misc): publish 16.4.0-beta.0 2023-06-01 14:07:38 -04:00
Jonathan Cammisuli a978ad3094 feat(core): rust based watcher (#16915) 2023-06-01 14:00:27 -04:00
Lucas Vieira f5e52dbcbf chore(core): nx plugin submission @nxlv/python (#17365) 2023-06-01 13:10:51 -04:00
Craigory Coppola a33e75e4d8 feat(core): add --affected flag to nx graph (#17340) 2023-06-01 11:24:18 -04:00
Leosvel Pérez Espinosa cd0b76d950 fix(angular): do not overwrite ng-packagr version if already installed (#17353) 2023-06-01 15:23:16 +01:00
Leosvel Pérez Espinosa c68b4bfb47 fix(js): do not overwrite supported typescript version (#17350) 2023-06-01 15:22:53 +01:00
Victor Savkin 29dc4bd6d0 chore(misc): publish 16.3.1 2023-06-01 10:11:37 -04:00
Victor Savkin 9047db4340 fix(core): export a function to create a projectFileMap from project graph 2023-06-01 10:10:25 -04:00
Daniel Glejzner fac7edc0a3 Shared docs fix (#17323) 2023-06-01 07:47:25 -04:00
Jack Hsu 51ff8627d4 fix(node): extend @nx/node:webpack migration to all targets (#17337) 2023-05-31 15:59:04 -04:00
Jack Hsu 2fe5a43799 docs(core): update terminal prompts for tutorials to match new options (#17325) 2023-05-31 14:29:56 -04:00
Victor Savkin 103353a446 chore(misc): publish 16.3.0 2023-05-31 12:24:03 -04:00
Jonathan Cammisuli b0e3a1df4d fix(core): use windowsHide for hashRuntime 2023-05-31 12:16:37 -04:00
Jack Hsu 5afe34e5d3 fix(core): change "minimal" stack to "none" 2023-05-31 12:00:20 -04:00
Itrulia dfa19f51a2 fix(js): postProcessInlinedDependencies throwing error on movePackage (#16127) 2023-05-31 15:45:34 +00:00
Jonathan Cammisuli 346c1f7e95 fix(core): add @monodon/rust back to the plugins array (#17332) 2023-05-31 11:40:35 -04:00
Jonathan Cammisuli c4db74d6c2 fix(core): add watcherOptions to server-process.json watcher 2023-05-31 11:33:46 -04:00
Victor Savkin 48d1c89a23 fix(misc): revert the check to investigate the perf 2023-05-31 11:01:41 -04:00
Victor Savkin 7154c87037 fix(misc): do not check against the global version on npm 2023-05-31 10:52:27 -04:00
Zachary Morgan b0732e1554 @nx/react:library - Add simpleName option to remove dir name from generated file names (#17226) 2023-05-31 10:28:23 -04:00
MaximSagan 825190674c fix(webpack): support webworker (#17136) (#17137)
Co-authored-by: Max Sagan - Yieldbroker <max.sagan@yieldbroker.com>
2023-05-31 10:03:27 -04:00
Caleb Ukle 21f642a6f9 fix(testing): normalize path for react CT spec generator (#17221) 2023-05-31 08:51:23 -05:00
Victor Savkin 465831db10 chore(misc): publish 16.3.0-beta.15 2023-05-31 08:55:39 -04:00
Victor Savkin e2477ce8d1 chore(misc): publish 16.3.0-beta.14 2023-05-31 08:54:51 -04:00
Victor Savkin 208ba110f7 chore(misc): publish 16.3.0-beta.13 2023-05-31 08:53:44 -04:00
Jack Hsu 231b9dfd61 fix(core): remove extraneous appName prompts for Node standalone in CNW; remove invariant check for determining stack 2023-05-31 08:41:51 -04:00
Emily Xiong 72b0f55605 feat(js): add location none to verdaccio executor (#17319) 2023-05-31 08:37:24 -04:00
Leosvel Pérez Espinosa 646f79f4d2 fix(angular): loosen package updates requirements (#17317) 2023-05-31 11:04:55 +01:00
Jason Jean adf598ac5e chore(misc): publish 16.3.0-beta.14 2023-05-30 18:19:10 -04:00
Jack Hsu a722302caf feat(misc): rework create-nx-workspace prompts (#17230) 2023-05-30 18:13:42 -04:00
Miroslav Jonaš 97c3bef658 chore(core): add load yaml function (#17300) 2023-05-30 16:50:04 -04:00
Jason Jean 7dc9151837 chore(misc): publish 16.3.0-beta.13 2023-05-30 16:02:43 -04:00
Jonathan Cammisuli bba78eef46 feat(core): compile native code for freebsd (#17313) 2023-05-30 15:56:30 -04:00
Nicholas Cunningham 02c19cb652 fix(node): Nightly failures (#17320) 2023-05-30 13:43:44 -06:00
Emily Xiong 43144237f9 fix(core): set verdaccio for authToken with location (#17318) 2023-05-30 14:51:30 -04:00
Emily Xiong 631a948ded feat(react): add swc as compiler option for react vite (#17224) 2023-05-30 14:06:50 -04:00
Leosvel Pérez Espinosa 7c9ec7241e docs(core): fix wrong option name in watch command examples (#17298) 2023-05-30 13:33:55 -04:00
Leosvel Pérez Espinosa ceeb2a6017 fix(core): handle nx package with version range in migrate command (#17304) 2023-05-30 12:38:16 -04:00
Emily Xiong b7410e61bb chore(repo): change workspace to use verdaccio executor (#17280) 2023-05-30 12:34:19 -04:00
Jack Hsu a7c6d5aadb fix(nextjs): adjust generated CSS-in-JS to match latest Next.js recommendations (#17294) 2023-05-30 12:12:39 -04:00
Dmitriy Stepanenko 911f753763 fix(js): should check for all possible prettierrc formats before creating a default one (#17157) 2023-05-30 11:11:44 -04:00
Colum Ferry 2865b8d3db fix(js): log config file errors correctly (#17311) 2023-05-30 16:01:45 +01:00
Aaron Brewer aa13649acb chore(core): nx plugin submission @spaceribs/nx-betterer (#17290) 2023-05-30 10:58:44 -04:00
Leosvel Pérez Espinosa 6a3af4b5a6 feat(angular): add option to ngrx-root-store generator to set up the store devtools (#17303) 2023-05-30 15:10:54 +01:00
Jack Hsu c8a264a932 fix(react): update .swcrc with plugin for CSS-in-JS solution when SWC is used for apps (#17295) 2023-05-30 08:33:08 +03:00
Jonathan Cammisuli 4398932d0e fix(core): do not destructure potential null value in watch callback 2023-05-29 14:27:29 -04:00
Victor Savkin b12586551b chore(misc): publish 16.3.0-beta.12 2023-05-29 14:26:49 -04:00
Victor Savkin 6c90c53bd2 feat(core): add more perf logging to make troubleshooting perf issue easier 2023-05-29 14:24:55 -04:00
Nicholas Cunningham 923e6d8b42 fix(js): set node_env when building with esbuild (#17251) 2023-05-29 10:25:15 -06:00
Craigory Coppola f01cdca79d fix(js): sourcemaps should work with js:node executor (#17261) 2023-05-29 11:08:11 -04:00
Jack Hsu 7dd8fb615e feat(nextjs): add babel root-mode option to withNx plugin (#17286) 2023-05-29 08:57:41 -06:00
Noriyuki Shinpuku 0d48d4d746 fix(nextjs): fix custom server templates (#17266) 2023-05-29 14:09:59 +03:00
Craigory Coppola 79086f76e5 chore(core): fix e2e for nx show (#17268) 2023-05-27 12:45:28 -04:00
Victor Savkin 13ba79e83c fix(core): fix incremental graph updates 2023-05-27 08:12:48 -04:00
Craigory Coppola 8efb67a549 chore(repo): reenable documentation check in CI (#17256) 2023-05-26 18:33:16 -04:00
Craigory Coppola 471616b04d feat(core): add matching support to inputs projects (#17255) 2023-05-26 18:32:53 -04:00
Craigory Coppola d0421e7aae chore(repo): add pipelines reviewers to codeowners (#17259) 2023-05-26 18:08:21 -04:00
Jack Hsu 9881efa4dc feat(nextjs): remove the "root" option from Next.js build executor since it can be inferred (#17248) 2023-05-26 19:08:02 +00:00
Victor Savkin ac417301e8 fix(react): use pipe output capture 2023-05-26 14:54:44 -04:00
Jack Hsu 3634abb3fc feat(js): allow root js lib project to be generated (#17245) 2023-05-26 12:11:10 -04:00
Daniel Glejzner 88c53443ee docs(testing): fix Invalid link for use-executor-configurations in all other places 2023-05-26 17:17:08 +02:00
Daniel Glejzner 3344d10d28 docs(testing): fix Invalid link in the @nx/cypress:cypress#environment-variables page 2023-05-26 17:17:08 +02:00
Juri 158cc4756d docs(core): increase run syntax svg 2023-05-26 16:51:17 +02:00
Juri a7876e9a18 feat(core): update generated readme for new Nx workspaces 2023-05-26 16:51:04 +02:00
Craigory Coppola 39f745955b chore(repo): swap most codeowners rules to use reviewer groups (#17223) 2023-05-26 10:09:09 -04:00
Leosvel Pérez Espinosa 99afe117d6 fix(core): handle empty scripts in nx init (#17238) 2023-05-26 10:05:24 -04:00
Katerina Skroumpelou 8b964b74c6 chore(misc): update @svgr/ packages (#17212) 2023-05-26 15:31:48 +03:00
Katerina Skroumpelou 89999932c1 fix(storybook): update and enable e2e test for standalone (#17217) 2023-05-26 13:51:01 +03:00
Victor Savkin 1efde20650 chore(repo): update to 16.3.0-beta.8 2023-05-25 16:35:52 -04:00
Victor Savkin 1b21c824ec chore(misc): publish 16.3.0-beta.8 2023-05-25 15:49:03 -04:00
Victor Savkin b721649889 feat(js): do not invoke explicit dependency analysis when not files to analyze 2023-05-25 15:47:03 -04:00
Miroslav Jonas a9f1d3aca4 fix(core): cleanup task hasher 2023-05-25 13:26:16 -04:00
Miroslav Jonas 42ffa7c882 fix(core): optimize task hasher speed when dealing with external nodes 2023-05-25 13:26:16 -04:00
Miroslav Jonas 0dfe6fc48a fix(core): use version range check for yarn tarball packages 2023-05-25 13:23:17 -04:00
Banst 339ae95785 chore(core): nx plugin submission @loft-orbital/terraform (#16935) 2023-05-25 12:07:04 -04:00
Jack Hsu d8eb998fb4 docs(misc): revert to external redirect rules file (#17203) 2023-05-25 11:44:23 -04:00
Caleb Ukle 26313f1e38 feat(testing): support cypress reporterOptions as objects (#17149) 2023-05-25 11:37:16 -04:00
Caleb Ukle 15ea10ef71 fix(testing): make sure new tsconfig exists before adding ref (#17147) 2023-05-25 11:36:21 -04:00
Emily Xiong be2ccb802e feat(js): add verdaccio executor (#16928) 2023-05-25 11:10:16 -04:00
Chris Beatty fd6794f0ec feat(core): limit on-screen choices for list-type generator prompts (#17198) 2023-05-25 10:58:49 -04:00
Caleb Ukle 2ed8bbf24a feat(testing): add --randomize flag for jest (#17148) 2023-05-25 10:57:26 -04:00
Jack Hsu 47de95e790 fix(nextjs): set NX_NEXT_DIR when running next server (#17205) 2023-05-25 08:51:24 -06:00
Jack Hsu 45a01710aa fix(nextjs): support config files with dots in filename (#17204) 2023-05-25 08:49:28 -06:00
MaxKless f8b4f91f37 chore(react): mark application generator as required (#17218) 2023-05-25 10:36:42 -04:00
Katerina Skroumpelou 636b9115e9 feat(vite): add cssCodeSplit in build options (#17213) 2023-05-25 14:07:51 +00:00
Jack Hsu 7cc67a3557 fix(react): use fork for module-federation-dev-server so processes are cleaned up correctly (#17194) 2023-05-25 15:38:14 +03:00
Juri 18720ece11 docs(core): add some more details to the run concept docs 2023-05-25 13:39:44 +02:00
Emily Xiong 4b5ebc85b2 fix(react): fix typings for generated redux files (#17171) 2023-05-24 21:28:51 -04:00
Isaac Mann 13c2b7a06f docs(core): add champions (#17197)
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
2023-05-24 20:36:14 -04:00
Craigory Coppola 5b028e4b7a fix(angular): export a default module for require calls (#17189) 2023-05-24 19:06:08 -04:00
Nicholas Cunningham 3c77bd77ef fix(nextjs): Generate an unstyled component when --style=none (#17196) 2023-05-24 18:59:01 -04:00
William Sedlacek c57f7b825d fix(core): handle multiple messages (#17199) 2023-05-24 18:26:09 -04:00
Craigory Coppola c9ec7d0f04 fix(core): update package-manager utils to normalize yarn-path when migrating (#17088) 2023-05-24 17:15:14 -04:00
Craigory Coppola d030a21d37 feat(misc): allow patterns matching for dev remotes and skip remotes (#17185) 2023-05-24 16:12:37 -04:00
Craigory Coppola 6d586dd78f fix(devkit): return null for ESM dependencies instead of throwing error in ensurePackage (#17195) 2023-05-24 15:45:44 -04:00
Jack Hsu fe4682a0e7 fix(web): use 127.0.0.1 loopback address when checking if a port is open (#17192) 2023-05-24 15:28:48 -04:00
Juri 05f114fef5 docs(core): fix multi-target cmd for dte example 2023-05-24 20:56:37 +02:00
Jack Hsu 56c7d38f0f chore(repo): update to nx 16.3.0-beta.6 (#17190) 2023-05-24 14:49:44 -04:00
Victor Savkin 3e86ffcd78 chore(misc): publish 16.3.0-beta.7 2023-05-24 14:38:20 -04:00
Victor Savkin f3d269e3f5 feat(core): retrieve file data from the daemon 2023-05-24 14:35:56 -04:00
Victor Savkin c8d245189b chore(misc): publish 16.3.0-beta.6 2023-05-24 11:55:55 -04:00
Jack Hsu 1fd7836a81 fix(nextjs): kill Next.js server when parent process exits 2023-05-24 11:54:03 -04:00
Colum Ferry a29afe98b2 chore(core): add tests for ng cli adapter methods (#16940) 2023-05-24 11:32:39 -04:00
Jayden Park 60dda1af51 fix(core): consistent pnpm lockfile v6 version parsing (#17135)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2023-05-24 17:30:45 +02:00
Miroslav Jonaš fc38dc1542 fix(storybook): increase e2e test timeouts (#17176) 2023-05-24 15:00:09 +02:00
Jack Hsu c97502af3a feat(react): run remote serve in parallel to speed up server startup (#17112) 2023-05-24 08:57:47 -04:00
Leosvel Pérez Espinosa 8f6fcf23e5 feat(core): expose the task graph in the executor context (#17111) 2023-05-24 08:50:41 +01:00
Craigory Coppola 5ef9ea68cd feat(core): add a variety of usages for nx show (#17073) 2023-05-23 18:07:37 -04:00
Craigory Coppola f95f8c4b69 fix(core): tree should not be changed after committed to disk in migrations (#17071) 2023-05-23 17:07:08 -04:00
Victor Savkin d20c2d8492 chore(repo): update the version of nx 2023-05-23 16:24:21 -04:00
Victor Savkin 11bb99316d chore(misc): publish 16.3.0-beta.5 2023-05-23 15:43:04 -04:00
Jack Hsu b6361738a4 fix(nextjs): support relative imports in next.config.js (#17127) 2023-05-23 14:34:12 -04:00
Craigory Coppola 9e3596abe5 chore(repo): add script for license check (#17166) 2023-05-23 13:47:10 -04:00
Emily Xiong 623ef1dcf6 feat(react): upgrade react-router-dom to 6.11.2 (#17078) 2023-05-23 10:02:21 -04:00
Leosvel Pérez Espinosa 25328b3ac9 fix(core): do not create empty graph when it is not cached (#17139) 2023-05-23 08:23:19 +01:00
Caleb Ukle eeec109125 chore(repo): add set-shas step for macos (#17154) 2023-05-22 15:16:51 -05:00
Leosvel Pérez Espinosa fff3a25734 fix(angular): avoid duplicating RouterModule.forChild import (#17144) 2023-05-22 15:55:54 +01:00
Daniel Glejzner 561a79d3cd docs(angular): fix broken github link with app example 2023-05-22 15:49:05 +02:00
Colum Ferry 28df4181ae fix(web): file watcher should only watch files in its project #17085 (#17113) 2023-05-22 09:25:26 +01:00
Victor Savkin 78b709e2d3 chore(repo): update to 16.3.0-beta.4 2023-05-20 13:14:31 -04:00
Victor Savkin e6ddc5a525 chore(misc): publish 16.3.0-beta.4 2023-05-20 10:34:54 -04:00
Victor Savkin 8b1907afc4 fix(core): clone project graph during incremental update 2023-05-20 10:32:57 -04:00
Juri cdd4cedb08 docs(core): adjust image paths 2023-05-20 10:04:47 -04:00
Victor Savkin d4438cd2d5 chore(misc): publish 16.3.0-beta.3 2023-05-19 16:39:54 -04:00
Victor Savkin 3d347d2ff2 chore(misc): publish 16.3.0-beta.2 2023-05-19 16:39:54 -04:00
Victor Savkin 8a0dcafe2b chore(repo): update to 16.3.0-beta.0 2023-05-19 16:39:54 -04:00
Emily Xiong b0b531a870 fix(react-native): fix android keystore not generated correctly (#17074) 2023-05-19 14:40:45 -04:00
Caleb Ukle 4896126c32 fix(web): provide free port to http-server (#16917) 2023-05-19 11:55:10 -05:00
Jack Hsu 34bdc4f5b2 chore(repo): re-enable cypress test for Next.js (#17109) 2023-05-19 09:36:24 -04:00
Jack Hsu c9cd67ea76 fix(repo): add missing lsof package needed to kill ports 2023-05-19 09:21:41 -04:00
Juri 3472897dad feat(nx-dev): add watch to automatically sync docs to nx-dev when developing locally 2023-05-19 09:15:48 -04:00
Caleb Ukle 7ab303f26d chore(testing): skip nextjs ct/e2e test (#17087) 2023-05-18 16:22:17 -04:00
Jack Hsu 15e21be9ac docs(misc): fix postcss.config.js to not depend on cwd (#17094) 2023-05-18 15:34:47 -04:00
AgentEnder faba24995d fix(core): pnpm should not error when fetching migrations with install 2023-05-18 14:48:03 -04:00
AgentEnder d786fae2d0 fix(core): correct require path when pulling in ngcli adapter for generators 2023-05-18 14:47:54 -04:00
Nicholas Cunningham 8ce9606a5b feat(nextjs): Add --turbo support (#17069) 2023-05-18 11:17:00 -06:00
Katerina Skroumpelou 9fc99c6c18 fix(vite): register tsconfig paths for vitest (#17047) 2023-05-18 11:13:02 -04:00
Victor Savkin 127281b460 chore(misc): publish 16.3.0-beta.1 2023-05-17 15:25:44 -04:00
Colum Ferry 4106b3455b docs(node): node-standalone should be listed not node-server (#17062) 2023-05-17 15:24:06 -04:00
Victor Savkin 1670986b82 fix(core): fix projectFileMap access in plugins 2023-05-17 15:23:26 -04:00
Victor Savkin 74c5ad3306 chore(misc): publish 16.3.0-beta.0 2023-05-17 11:39:52 -04:00
Victor Savkin 0848031dd9 feat(core): move task hashing into daemon 2023-05-17 11:37:57 -04:00
Juri Strumpflohner 70f7c653d5 feat(nx-dev): add changelog page (#16952) 2023-05-17 15:27:33 +00:00
Nicholas Cunningham 3d76d95b29 feat(nextjs): Use next.js cli for build and serve targets (#16896) 2023-05-17 11:09:11 -04:00
Victor Savkin 7de80ddb62 chore(misc): publish 16.2.1 2023-05-17 10:44:39 -04:00
Victor Savkin 6f9c58caca chore(misc): publish 16.2.0 2023-05-17 09:34:12 -04:00
Jack Hsu 3b107b9b0c chore(repo): update nx to 16.2.0-beta.3 2023-05-17 09:31:51 -04:00
Juri 71e8cb2776 docs(node): update serverless deployment recipes 2023-05-17 15:01:33 +02:00
Victor Savkin 6622883dee chore(misc): publish 16.2.0-beta.3 2023-05-16 22:29:35 -04:00
AgentEnder ae6e90c86d fix(misc): workspaces using nx wrapper do not contain a package.json, so don't read the scope from it 2023-05-16 22:27:56 -04:00
Chris McLeod be267a7cd9 fix(react): do not require webpackConfig for cypress component testing (#16966)
Co-authored-by: Loïc BERTRAND <loic.bert.marcel@gmail.com>
2023-05-16 21:53:09 +00:00
Juri Strumpflohner 7919668b68 fix(nx-dev): copy command when using the terminal fence (#17055) 2023-05-16 21:21:31 +00:00
Victor Savkin ed0136b121 chore(misc): publish 16.2.0-beta.2 2023-05-16 15:08:34 -04:00
Loïc BERTRAND 8931f0b66b fix(react-native): remove unknown command for build-ios (#17052) 2023-05-16 13:07:18 -04:00
Craigory Coppola cac64d7a8b chore(repo): setup internal testing utils structure (#17043) 2023-05-16 11:34:10 -04:00
Craigory Coppola c7a6b4ba6c fix(core): nx init should setup default base correctly (#17050) 2023-05-16 10:56:19 -04:00
AgentEnder 343edf5745 fix(misc): ensure outputs prefaced by workspaceRoot after transfom 2023-05-16 10:39:25 -04:00
Jack Hsu cf1a2d5bf2 fix(nextjs): undo migration to Next.js 13.4 (#17049) 2023-05-16 08:22:15 -06:00
Katerina Skroumpelou 98665953a6 fix(devkit): uppercase constant name correct transformation (#17046) 2023-05-16 09:30:55 -04:00
Craigory Coppola 88b263bf7c docs(core): add callout for older global nx installations (#17032) 2023-05-16 09:27:10 -04:00
Jack Hsu 826befa22d fix(web): undo core-js removal (#17048) 2023-05-16 09:19:02 -04:00
Paul Coroneos 1e4f4952f6 docs(testing): fix dynmamic typo. closes 17044 (#17045) 2023-05-16 07:52:12 -05:00
FrozenPandaz 79fa3fb0ea chore(misc): publish 16.2.0-beta.1 2023-05-15 17:25:19 -04:00
Craigory Coppola a81b90b692 fix(misc): migration for run-commands output-path should handle null … (#17040) 2023-05-15 17:23:41 -04:00
Craigory Coppola b02d169758 feat(nx-plugin): generated generators should have a named export (#17036) 2023-05-15 17:15:14 -04:00
Craigory Coppola 4d8137fa15 chore(repo): bump @types/node to latest v18 release (#17035) 2023-05-15 17:06:40 -04:00
Jason Jean 7df855054a fix(core): use right deprecated schema option (#17038) 2023-05-15 17:04:59 -04:00
FrozenPandaz f7ba85e8ec chore(misc): publish 16.2.0-beta.0 2023-05-15 16:45:34 -04:00
Jason Jean 6b928bc250 feat(js): refactor usages of npmScope (#16947) 2023-05-15 16:06:24 -04:00
Leosvel Pérez Espinosa 9b4ba3af4d fix(core): normalize path in tree when accessing recorded changes (#17016) 2023-05-15 15:54:36 -04:00
Victor Savkin 428b0c9ad6 fix(angular): read angularjson from the dir provided by the angular cli 2023-05-15 14:20:15 -04:00
Emily Xiong 541981172c feat(react-native): upgrade react-native to version 0.71.8 (#16997) 2023-05-15 14:19:57 -04:00
Jason Jean c2ce8f817a fix(misc): change wording on legacy package pages (#17030) 2023-05-15 14:03:20 -04:00
Leosvel Pérez Espinosa 5141c9f9d6 fix(core): add missing await when processing task for batches (#17027) 2023-05-15 13:49:38 -04:00
Jack Hsu 7aff48d3d2 fix(core): normalize workspace name before creating directory so it matches what downstream generators expect (#17028) 2023-05-15 12:56:41 -04:00
Emily Xiong 8533314792 fix(react-native): add checks for storybook migration (#17029) 2023-05-15 11:49:22 -04:00
Miroslav Jonaš f5ae9958ef feat(core): add commandExternalDependencies hash input (#16916)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-05-15 11:30:17 -04:00
Leosvel Pérez Espinosa 6ebfbbe8ba feat(core): log a note after an interactive migration run with skipped package updates (#16802) 2023-05-15 10:56:46 -04:00
Colum Ferry ee269b9bb2 docs(repo): typo fix on nx enterprise (#17022) 2023-05-15 08:24:15 -04:00
Isaac Mann f104d2514a docs(core): update Santosh contact info (#17007) 2023-05-15 08:23:30 -04:00
Todd Baert c34853d2d1 docs(core): document all/none for rollup external (#17005) 2023-05-15 13:21:38 +03:00
Isaac Mann 881067bbd2 fix(linter): import from .tsx file lint fix now works correctly (#16995) 2023-05-13 15:53:44 -04:00
Craigory Coppola b20e906f00 feat(core): add --affected to show only affected projects (#16970) 2023-05-13 01:48:35 -04:00
Craigory Coppola c71027fbfb fix(core): set max listeners to avoid warning when running high numbers of parallel tasks (#16993) 2023-05-12 20:22:51 -04:00
Craigory Coppola b2470de56c feat(core): ability to save task graph to a file when running --graph (#16350) 2023-05-12 18:50:11 -04:00
Craigory Coppola 31010b0c37 cleanup(misc): remove console.log in workspace generator migration spec file (#17001) 2023-05-12 18:33:50 -04:00
Craigory Coppola 729a5498bc chore(repo): setup hook to notify on package lock changes (#16972) 2023-05-12 18:30:39 -04:00
Craigory Coppola 024193fb5b feat(core): add error when root project would be '.' (#16999) 2023-05-12 18:27:26 -04:00
Jack Hsu 95421c6945 feat(nextjs): update Next.js to 13.4.1 and default to App Router for new apps (#16948) 2023-05-12 16:09:20 -04:00
Isaac Mann 0aa3e45e2e docs(core): add manfred steyer as nx champion (#16994) 2023-05-12 19:47:39 +00:00
passbyval 8460c63bd6 fix(core): prevent breaking error when registering transpiler (#16929) 2023-05-12 14:22:59 -04:00
Jason Jean f00c0295e4 Revert "feat(core): support third-party packages for surgical hashTar… (#16987) 2023-05-12 14:08:12 -04:00
Craigory Coppola b8e9f3daf8 docs(core): add example for affected by tags (#16986) 2023-05-12 13:25:21 -04:00
Jack Hsu 25e8439b20 feat(react): remove deprecated code (#16981) 2023-05-12 17:00:46 +00:00
Isaac Mann eec95b1932 docs(core): community page (#16922) 2023-05-12 17:00:36 +00:00
Miroslav Jonaš 504a639e2e fix(core): resolve nx against command root if workspace not provided (#16859) 2023-05-12 12:22:21 -04:00
hi2u 55d40c0105 fix(node): build-esbuild-options.ts code-generated "exactMatch" prope… (#16655) 2023-05-12 15:16:41 +00:00
Emily Xiong e8c31d7ac7 fix(react): fix react windows e2e tests (#16959) 2023-05-12 11:09:46 +03:00
Jason Jean ad8099a764 chore(repo): install necessary babel runtime to run unit tests (#16965) 2023-05-11 17:38:24 -04:00
Miroslav Jonaš b55aa8f80c feat(core): support third-party packages for surgical hashTarget hashing (#16903) 2023-05-11 17:18:06 -04:00
Miroslav Jonaš 9d74b586c4 feat(core): include entire external node dependency tree in hash (#16926) 2023-05-11 17:17:15 -04:00
Nicholas Cunningham 539ed5f49e fix(react): fix windows style paths when generating with --directory (#16961) 2023-05-11 15:07:01 -06:00
Benjamin Cabanes cf0aa591a1 fix(react): add ts extension to tailwindcss utility glob (#16971) 2023-05-11 17:01:37 -04:00
Jack Hsu dc7122984e feat(js): improve @nx/js:node executor to be more resilient to many file change events (#16924) 2023-05-11 16:31:52 -04:00
Jack Hsu 7878b46630 chore(misc): add core codeowners to generated cli doc files (#16968) 2023-05-11 16:08:39 -04:00
Caleb Ukle dfd51634f3 fix(testing): prevent ct and e2e generators overwriting configs (#16651) 2023-05-11 12:19:16 -04:00
Miroslav Jonaš d1ad58e5d0 fix(graph): fix outdated imports to nx graph (#16954) 2023-05-11 11:49:36 -04:00
Jason Jean 92b63969fd chore(repo): add convert-source-map package (#16955) 2023-05-11 11:49:27 -04:00
Juri Strumpflohner 2341a42f77 chore(repo): add 1hr cache to verdaccio uplink (#16894) 2023-05-11 11:48:53 -04:00
Colum Ferry d0c6f5d317 feat(angular): deprecate ngrx generator (#16953) 2023-05-11 16:21:53 +01:00
Colum Ferry 392312f847 fix(react): extracting the tsconfig base should also copy existing paths (#16936) 2023-05-11 15:08:52 +00:00
Katerina Skroumpelou 2e16017fd8 feat(repo): add test e2e build scripts in package.json (#16951) 2023-05-11 10:51:48 -04:00
Leosvel Pérez Espinosa f2e48e429a feat(angular): update ngrx packages to v16 (#16763) 2023-05-11 09:46:18 -04:00
Austin Burdine d853ba2081 fix(core): fix handling of simple dependsOn target string (#16932) 2023-05-11 08:50:50 -04:00
Colum Ferry e59c930ff9 feat(angular): add ngrx root store generator (#16811) 2023-05-11 08:38:21 -04:00
Leosvel Pérez Espinosa 279154436a chore(angular): improve script to scaffold new angular version support (#16938) 2023-05-11 12:33:02 +01:00
Craigory Coppola 09525e8b30 fix(misc): nx version should report global version outside of an nx repo (#16918) 2023-05-10 18:09:19 -04:00
Craigory Coppola 548f8d7fb1 feat(misc): migrate nx:run-commands outputPath property to outputs array (#16785) 2023-05-10 17:02:15 -04:00
Craigory Coppola 48ce6724a4 chore(repo): fix import in replace-e2e-executor for lint checks (#16923) 2023-05-10 17:57:36 +00:00
Jack Hsu 7246a34526 chore(nextjs): add lint rule to make sure relative imports or imports of nx packages are disallowed (#16895) 2023-05-10 13:52:08 -04:00
Miroslav Jonaš d26f26a98b fix(core): provide more info for "findOriginalKeys is not a function" errors (#16883) 2023-05-10 11:41:49 -04:00
Miroslav Jonaš e481cd5461 fix(core): ensure yarn findOriginalKeys matches mixed aliases (#16886) 2023-05-10 11:38:57 -04:00
Miroslav Jonaš 846320a6b9 chore(repo): enable enforce-module-boundaries on nx repo (#16864) 2023-05-10 11:35:33 -04:00
Leosvel Pérez Espinosa 284fedab46 fix(angular): improve prefix handling across generators (#16913) 2023-05-10 15:18:20 +00:00
Jack Hsu 20f25bfe1c fix(js): use valid file paths on Windows when executing program (#16911) 2023-05-10 08:22:28 -06:00
Jack Hsu c9d73d2a5f fix(nextjs): read serverActions config safely (#16909) 2023-05-10 08:21:11 -06:00
Leosvel Pérez Espinosa 1e891f5f59 cleanup(angular): remove call to wrapAngularDevkitSchematic in testing util (#16907) 2023-05-10 12:56:07 +01:00
Leosvel Pérez Espinosa caefe8f509 cleanup(angular): rearrange validation helper function (#16906) 2023-05-10 12:55:51 +01:00
Leosvel Pérez Espinosa bdfb10db0a fix(angular): warn in ng-packagr executors when finding conflicting package export conditions (#16905) 2023-05-10 12:55:35 +01:00
Miroslav Jonaš 6aac7ba04b fix(repo): ignore failed daemon reset on e2e tests (#16902) 2023-05-10 08:34:09 +00:00
Jason Jean ec22b7e540 fix(devkit): catch errors resolving configs while formatting files (#16872) 2023-05-09 16:19:36 -04:00
Jack Hsu 854b180013 fix(nextjs): inline dev-only dependencies and add e2e test to catch issues (#16890) 2023-05-09 13:28:52 -04:00
Emily Xiong 8347e61810 fix(react-native): fix buildable react native library (#16749) 2023-05-09 12:52:36 -04:00
Miroslav Jonaš c9a7cd8b01 fix(core): fix version report when version is missing (#16888) 2023-05-09 16:35:30 +00:00
Emily Xiong 942350810e fix(expo): fix expo detox test (#16779) 2023-05-09 12:28:52 -04:00
Miroslav Jonaš ae5cdcb86e fix(core): keep all explicit dependencies in the graph (#16576) 2023-05-09 11:39:48 -04:00
Caleb Ukle 50ad516278 feat(testing): add --strict flag for jest-preset-angular test env opts (#16467) 2023-05-09 15:07:21 +00:00
Caleb Ukle 5743f158ba fix(js): info about jest global setup/teardown + swc (#16681) 2023-05-09 10:40:45 -04:00
Emily Xiong ad77b91526 fix(expo): update package.json eas build scripts to fix eas build (#16742) 2023-05-09 10:29:30 -04:00
Miroslav Jonaš c8688a6d4d fix(repo): remove outdated caching config from CI (#16796) 2023-05-09 10:11:48 -04:00
Caleb Ukle ad841c9048 docs(repo): update docs/schemas to use nx scoped packages - nx labs (#16865) 2023-05-09 08:30:52 -05:00
Colum Ferry 54eb7be765 feat(angular): add ngrx feature store generator (#16806) 2023-05-09 09:31:15 +01:00
Colum Ferry 6728bbbc98 fix(angular): handle ngrx imports for apps that do not migrate to config file (#16812) 2023-05-09 09:31:03 +01:00
Leosvel Pérez Espinosa 7d42d887e3 fix(angular): update import paths relative to app config file location in migration extracting the config (#16863) 2023-05-09 09:30:40 +01:00
Leosvel Pérez Espinosa cc9e650cd8 fix(misc): ensure workspace directory is normalized correctly (#16855) 2023-05-08 17:39:36 -04:00
Jason Jean 318b1cf584 feat(nx-plugin): replace @nx/plugin:e2e with @nx/jest:jest (#16866) 2023-05-08 16:10:30 -04:00
Miroslav Jonaš 1e8e84777c fix(nextjs): increase timeout on styles e2e test (#16800) 2023-05-08 14:45:08 -04:00
Leosvel Pérez Espinosa 67a5e8e823 feat(angular): update jest-preset-angular to support angular v16 (#16852) 2023-05-08 13:38:49 -04:00
Leosvel Pérez Espinosa d02c2cbfe7 feat(storybook): update storybook packages to support typescript v5 (#16853) 2023-05-08 13:37:31 -04:00
Jack Hsu dc911051aa fix(nextjs): withNx works with production build (#16867) 2023-05-08 12:53:56 -04:00
Katerina Skroumpelou a081233b85 docs(storybook): link storybook autodocs guide (#16860) 2023-05-08 18:31:53 +03:00
Miroslav Jonaš 62fb39de02 fix(linter): support directories for relative path fix (#16854) 2023-05-08 16:57:10 +02:00
James Henry 7920fb6a20 feat(linter): allow ESLint Flat Config to be opted into manually (#16858) 2023-05-08 18:56:48 +04:00
Joe Walton 402a00f841 feat(vite): add option to generate a package.json to build executor (#16428) 2023-05-08 17:43:10 +03:00
Richard Roozenboom ceabe46e89 docs(core): update link to nrwl/nx-incremental-large-repo (#16862) 2023-05-08 09:25:55 -04:00
John White 0654776106 fix(core): migrate using yarn when nxJson has another package manager configured (#16844) 2023-05-07 16:09:13 -04:00
Nicholas Cunningham 832fa71488 fix(react): bump migration version (#16822) 2023-05-06 14:32:11 -06:00
Marwan Fikrat 878df9a618 feat(core): add skipTypeCheck option to rollup plugin options (#16710) 2023-05-06 04:44:50 -07:00
Craigory Coppola 842c41232d feat(core): allow using project patterns rather than just project names with nx watch (#16768) 2023-05-05 16:47:38 -04:00
Jason Jean 152f2081eb chore(core): add repo information to native packages (#16826) 2023-05-05 16:27:43 -04:00
Jason Jean 514e4fa0ab fix(devkit): fix issue replacing package dependencies in malformed pa… (#16823) 2023-05-05 16:01:36 -04:00
Craigory Coppola 95594d21f7 fix(misc): make Nx 16 migration safer when treee throws an exception (#16782) 2023-05-05 15:46:09 -04:00
Craigory Coppola c7ce767298 feat(repo): add CI check for valid codeowners patterns (#16729) 2023-05-05 15:45:55 -04:00
FrozenPandaz fa25a47614 chore(misc): publish 16.1.1-beta.0 2023-05-05 15:26:27 -04:00
Jack Hsu 88615152fb fix(nextjs): enable Next.js 13.4 support (#16819) 2023-05-05 14:57:21 -04:00
Craigory Coppola 5b94159901 fix(core): obey nx.json package manager property (#16777) 2023-05-05 14:50:28 -04:00
Nicholas Cunningham 4750a1daa4 fix(react): remove outdated packages (#16786) 2023-05-05 14:42:43 -04:00
Craigory Coppola 83cbba2049 fix(devkit): ensure ignore has been initialized in visitNotIgnoredFiles (#16820) 2023-05-05 14:20:57 -04:00
Craigory Coppola c4e51edee4 fix(misc): update URL to point to live page for plugin registry (#16817) 2023-05-05 14:15:57 -04:00
Vinit Neogi d0873529e0 cleanup(misc): add types to getVersion function (#16677) 2023-05-05 14:14:15 -04:00
Jack Hsu 38c6376adf docs(core): update Next.js version to 13.3.4 (#16818) 2023-05-05 17:58:13 +00:00
James Henry c9d649e57c chore(core): enable provenance and update lerna usage (#16814) 2023-05-05 13:20:05 -04:00
Leosvel Pérez Espinosa d83184db0d fix(core): handle schema property with const value (#16797) 2023-05-05 13:11:03 -04:00
AgentEnder 53cc465322 chore(core): add re-exports for lerna 2023-05-05 12:51:22 -04:00
AgentEnder 6c00f922ae chore(core): reorganize nx-commands and cli implementation 2023-05-05 12:51:22 -04:00
Isaac Mann 258b6df8b6 docs(core): plugin section (#16314) 2023-05-05 12:37:06 -04:00
Craigory Coppola f0a1c33fb2 fix(core): match all occurences when substituting tokens in targetDef… (#16783) 2023-05-05 11:42:10 -04:00
Leosvel Pérez Espinosa 1d8be1c999 fix(core): register task timings correctly in task profiling life cycle (#16801) 2023-05-05 11:00:46 -04:00
Miroslav Jonaš c55630b4d6 feat(repo): enable daemon for nightly tests (#16808) 2023-05-05 10:59:40 -04:00
Miroslav Jonaš 747050e4a8 fix(repo): fix nightly registry failing on windows (#16804) 2023-05-05 10:57:07 -04:00
Katerina Skroumpelou 32c176c359 docs(storybook): rearrange docs and more some to deprecated (#16805) 2023-05-05 10:53:46 -04:00
Hisam Fahri 402ccbf182 fix(react): add app directory in the default tailwind.config.js (#16656) 2023-05-05 15:51:15 +03:00
Leosvel Pérez Espinosa 0b02e98d46 docs(angular): update nx and angular version compatibility matrix with angular 16 (#16695) 2023-05-05 12:18:05 +01:00
Emily Xiong 575c6a152f feat(react): support allowJs customization in the rollup executor (#16789) 2023-05-05 12:23:59 +03:00
Jack Hsu 8d35edac39 fix(nextjs): add workspace dependencies to transpilePackages automatically (#16774) 2023-05-04 18:08:34 -04:00
Craigory Coppola c15c4ddfe0 fix(misc): ignore more binary formats during migration (#16784) 2023-05-04 18:04:55 -04:00
Jonathan Kolberg 1c791dbd8e feat(node): allow executing esm compiled scripts (#10414) 2023-05-04 22:02:31 +00:00
FrozenPandaz dfae1bf35a chore(misc): publish 16.1.0 2023-05-04 14:41:01 -04:00
FrozenPandaz b59a0a1760 chore(misc): publish 16.1.0-rc.1 2023-05-04 13:11:39 -04:00
Leosvel Pérez Espinosa c13cb3cc78 fix(angular): sync migration generators for angular v16 target versions (#16773) 2023-05-04 13:09:41 -04:00
Katerina Skroumpelou 6c46ad8b61 chore(vite): update vite version (#16198) 2023-05-04 17:06:15 +00:00
Leosvel Pérez Espinosa 80464ac8af fix(nest): fix invalid nestjs versions (#16771) 2023-05-04 17:01:36 +00:00
Miroslav Jonaš 05ee74e9fd cleanup(core): extract print-affected test to clean workspace to avoid pollution from other tests (#16756) 2023-05-04 11:45:24 -04:00
Jason Jean 137b743855 fix(misc): restore using legacy-peer-deps for npm installs (#16767) 2023-05-04 11:32:23 -04:00
Colum Ferry 22dd46a6c3 chore(repo): update bug template to ask user's OS (#16726) 2023-05-04 11:13:35 -04:00
Miroslav Jonaš b7b04a7e43 fix(core): ensure safe removal of folders on daemon reset (#16766) 2023-05-04 11:12:18 -04:00
Katerina Skroumpelou 17e6db5568 feat(storybook): deprecate v6 support (#16650) 2023-05-04 18:02:18 +03:00
Jack Hsu 66addbfa81 fix(nextjs): with stylus and less support (#16764) 2023-05-04 08:32:44 -06:00
Miroslav Jonaš 68ae304cda fix(repo): fix windows nightly runs (#16765) 2023-05-04 10:29:45 -04:00
Colum Ferry 8484a8ea16 fix(angular): ssr distFolder path should be more correctly defined (#16758) 2023-05-04 12:26:04 +01:00
Miroslav Jonaš e328bfa90a feat(linter): support custom build targets for buildability check (#16743) 2023-05-04 13:13:38 +02:00
Juri Strumpflohner 5f7b68cf22 docs(nx-dev): update banner to point to Nx 16 release (#16759) 2023-05-04 13:01:02 +02:00
Miroslav Jonaš 82431fa975 docs(core): add example of custom/ejected github workflow (#16739) 2023-05-04 12:59:28 +02:00
Katerina Skroumpelou 83ed247b1f fix(storybook): ignore nx storybook plugin from sb eslint (#16725) 2023-05-04 12:58:41 +02:00
Caleb Ukle 3307188975 chore(repo): always log error for runCommandUntil (#16748) 2023-05-04 13:31:15 +03:00
Miroslav Jonaš 2163d720e6 feat(core): bump version of @nrwl/ci workflow (#16724) 2023-05-04 12:13:02 +02:00
Colum Ferry 0a81c64560 fix(angular): update ngrx parent description to give better info about standalone api usage (#16755) 2023-05-04 11:11:06 +01:00
Colum Ferry b526e1d600 fix(angular): update component module error message to suggest standalone (#16754) 2023-05-04 11:10:53 +01:00
Jason Jean 01769bc5ff chore(repo): update nx to 16.1.0-rc.0 (#16750) 2023-05-03 20:51:53 -04:00
Jack Hsu f8fe2a1753 fix(testing): do not error when no vite config is found (#16746) 2023-05-03 18:28:01 -06:00
Jason Jean 112a77ce0a feat(core): remove tasks-runner-v2 from @nx/workspace (#16751) 2023-05-03 23:46:18 +00:00
FrozenPandaz 8cc64baf95 chore(misc): publish 16.1.0-rc.0 2023-05-03 18:06:28 -04:00
Jason Jean 9bdf22f413 fix(core): use legacy peer deps during migrate process (#16745) 2023-05-03 17:56:48 -04:00
Jason Jean 5b99313722 fix(angular): generate applications with zone.js 0.13.0 (#16747) 2023-05-03 17:53:02 -04:00
Jason Jean 3788723bd2 fix(js): default to analyzing source code and package.json (#16737) 2023-05-03 17:05:45 -04:00
Craigory Coppola a8aeca46f8 fix(misc): use generated directory path as cwd rather than attempting to rederive it (#16740) 2023-05-03 16:47:26 -04:00
Craigory Coppola 2d6ea2b9da fix(misc): sort plugin names when displaying them (#16702) (#16734) 2023-05-03 20:34:59 +00:00
Leosvel Pérez Espinosa 203a874ddb feat(angular): update angular 16 packages to stable versions (#16732) 2023-05-03 16:02:42 -04:00
Emily Xiong 58e23b121a feat(react-native): upgrade @storybook/react-native to 6.5 (#16670) 2023-05-03 20:09:28 +03:00
nosaku a8783c65d5 fix(core): convert extension to lowercase before comparing extension (#16727) 2023-05-03 12:34:25 -04:00
Colum Ferry c2e88ad6a7 fix(angular): throw error when no parent module found (#16728) 2023-05-03 16:39:54 +01:00
FrozenPandaz 6c221eae40 chore(misc): publish 16.1.0-beta.0 2023-05-03 11:37:56 -04:00
Emily Xiong 30a79071de feat(expo): upgrade expo to 48.0.15 (#16701) 2023-05-03 11:07:16 -04:00
Leosvel Pérez Espinosa f45aa076da feat(angular): support angular v16 (#15592) 2023-05-03 11:02:07 -04:00
Leosvel Pérez Espinosa 9c3698982b fix(angular): add jasmine-marbles with a version compatible with installed rxjs version in migration (#16717) 2023-05-03 15:36:14 +01:00
Jack Hsu 1e7aa39a9f fix(bundling): handle projects without targets in esbuild thirdParty migration (#16712) 2023-05-03 08:35:20 -06:00
deroude e291c9c79b fix(expo): expo generator on windows (#16703)
Co-authored-by: Valentin Raduti <valentin@thedotin.ro>
2023-05-03 09:53:31 -04:00
Leosvel Pérez Espinosa ae89df9482 fix(angular): do not wrap bootstrap call when setting up ssr in workspaces with angular >= 15.2.0 (#16714) 2023-05-03 10:58:01 +01:00
Emily Xiong 68c262d933 fix(react): fix external npm packages for rollup (#16713) 2023-05-03 11:41:20 +03:00
Jack Hsu db862cf691 docs(misc): update @nrwl/rspack references to @nx/rspack (#16705) 2023-05-02 19:31:22 -04:00
Craigory Coppola 7b56a8cbf3 fix(devkit): formatFiles should work when writing initial prettierrc in generator (#16711) 2023-05-02 19:18:45 -04:00
Jason Jean fa55ca4f5f fix(devkit): use the old package dependency version for new package (#16709) 2023-05-02 18:01:20 -04:00
Craigory Coppola ef63dcb69b feat(core): support matching projects specifiers in dependsOn (#16675) 2023-05-02 17:00:12 -04:00
Craigory Coppola d084e678bd fix(core): task runner parallel should read from taskRunnerOptions (#16707) 2023-05-02 16:59:21 -04:00
Zachary DeRose ccf67594b5 docs(core): updating rescope (#16704) 2023-05-02 15:26:10 -04:00
Nicholas Cunningham 8dec11ecbe fix(node): ensure that bundlers for node is webpack/esbuild (#16702) 2023-05-02 13:43:26 -04:00
Craigory Coppola a425f5b7d5 feat(misc): list should link to nx.dev/community for more plugins (#16673) 2023-05-02 12:47:50 -04:00
Craigory Coppola e164d50f92 feat(core): support specific project dependency in dependsOn with string syntax (#16674) 2023-05-02 16:12:30 +00:00
Leosvel Pérez Espinosa 4be6f7401c fix(angular): clean up ssr main.server.ts generation (#16699) 2023-05-02 16:19:56 +01:00
Colum Ferry a8b219088d docs(angular): add quotes for running devRemote #16608 (#16700) 2023-05-02 16:01:40 +01:00
Nicholas Cunningham 0e4fe4488d docs(core): fix deprecation message so that it shows correctly that @nrwl is being deprecated instead of @nx (#16698) 2023-05-02 10:36:34 -04:00
Dominik Pieper c2541ad66d chore(core): nx plugin change (#16694) 2023-05-02 10:12:04 -04:00
James Henry 32cbab7d26 fix(core): only modify angular.json on read when @nx/angular is present (#16693) 2023-05-02 15:22:22 +04:00
Craigory Coppola 4e97ee94e1 fix(misc): show proper messaging when generating a workspace generator (#16683) 2023-05-01 18:05:38 -04:00
Craigory Coppola 2381dd3cf6 fix(devkit): ensurePackage should obey npmrc and yarnrc.yml (#16652) 2023-05-01 17:28:12 -04:00
Caleb Ukle 179930fe18 fix(testing): add --quiet cypress executor option (#16680) 2023-05-01 16:49:33 -04:00
Vinit Neogi 13aaa20cd9 fix(core): add support for .mts and .mjs files when creating pro… (#16679) 2023-05-01 16:47:32 -04:00
Jason Jean 96fca453b4 fix(core): improve touched projects locator performance (#16682) 2023-05-01 16:46:26 -04:00
Jason Jean 9de97d0cfe fix(misc): publish legacy readmes (#16678) 2023-05-01 15:47:03 -04:00
Juri Strumpflohner c51e6d5b42 cleanup(nx-dev): remove debug logs (#16654) 2023-05-01 14:55:53 -04:00
Craigory Coppola e7229d1442 fix(core): cmd window flickers on save when on windows (#16671) 2023-05-01 11:12:52 -04:00
khalilou88 dbeeaa4ee3 chore(core): nx plugin submission @jnxplus/nx-quarkus-maven (#16329) 2023-05-01 10:50:13 -04:00
Craigory Coppola db1b5ddb0d fix(repo): local registry is not available during issue-notifier script (#16669) 2023-05-01 10:07:29 -04:00
Juri 85ddd8b7d1 fix(core): have child process exit properly in case of error 2023-04-29 00:26:32 +02:00
Craigory Coppola 22c0047b63 fix(core): prefer NX_TASKS_RUNNER over NX_RUNNER (#16618) 2023-04-28 16:50:48 -04:00
Caleb Ukle ebcc4363d0 fix(testing): fix react CT w/ vite and dependant projects (#16475) 2023-04-28 16:40:04 -04:00
Caleb Ukle a3875cc873 docs(testing): add example of extending CT preset (#16641) 2023-04-28 16:30:04 -04:00
Isaac Mann 0b39480f63 docs(core): remove ci var from gitlab example (#16604) 2023-04-28 16:15:18 -04:00
Emily Xiong 341f7649ce fix(core): preserve deps in package.json for nx init react (#16528) 2023-04-28 16:01:01 -04:00
Craigory Coppola ebd6d2f0b6 fix(core): empty exclude pattern should not result in error (#16645) 2023-04-28 15:56:40 -04:00
Craigory Coppola 7287ab55de fix(core): nx report should not display duplicate packages (#16647) 2023-04-28 15:55:10 -04:00
Miroslav Jonaš 23cc160a04 fix(testing): ensure e2e cypress can use 4200 port in the test (#16646) 2023-04-28 15:51:34 -04:00
Nicholas Cunningham 36c162cf62 fix(react): Fix .module css being generated when --globalCss is passed (#16648) 2023-04-28 13:31:23 -06:00
Benjamin Cabanes 0739bbb51e feat(nx-dev): change code-fences and code-output styles (#16649) 2023-04-28 15:06:38 -04:00
Leosvel Pérez Espinosa 38be28814d feat(testing): update cypress to support angular 16 (#16611) 2023-04-28 13:51:14 -05:00
Emily Xiong 828f77a543 fix(react-native): fix react native npm preset (#16624) 2023-04-28 14:34:39 -04:00
Jason Jean 08ecd81e61 fix(core): fix nx migrate to the same version (#16626) 2023-04-28 14:32:32 -04:00
Miroslav Jonaš f138a34675 fix(core): ensure stale dependencies are pruned in graph (#16533) 2023-04-28 13:08:05 -04:00
Jack Hsu a7c4009d28 fix(nextjs): show a warning when user uses emotion with appDir layout (#16636) 2023-04-28 12:41:09 -04:00
Stefano Formicola 920352215c docs(react-native): fix typo in build-ios schema.json (#16620)
Co-authored-by: Stefano Formicola <stefano.formicola@cloudacademy.com>
2023-04-28 12:32:06 -04:00
Miroslav Jonaš db43ea1033 docs(linter): fix outdated rule name for enforce-module-boundaries (#16637) 2023-04-28 11:58:46 -04:00
Jason Jean feef6472c5 fix(js): do not depend on nx for typescript utils (#16642) 2023-04-28 11:57:32 -04:00
Leosvel Pérez Espinosa 6e745f8542 fix(angular): do not run migration generator bumping angular cli version when update is skipped (#16643) 2023-04-28 11:12:46 -04:00
Jonathan Cammisuli deee934799 fix(core): include more binary extensions (#16639) 2023-04-28 15:05:04 +00:00
MaxKless 341c916304 feat(bundling): add esbuild migration to correctly set thirdParty option (#16640) 2023-04-28 16:48:17 +02:00
Dmitriy Stepanenko 94300fe5b5 feat(vite): throw an error if vite config is not found at provided path (#16600) 2023-04-28 09:20:33 -05:00
Miroslav Jonaš d8f9af8354 fix(repo): fix broken npm-audit after pnpm migration (#16631) 2023-04-28 09:51:14 -04:00
Jack Hsu b3d07a8293 fix(node): default webpack build to not perform default optimizations for Node (#16625) 2023-04-27 22:59:22 +00:00
Leosvel Pérez Espinosa 95c0fad6bf docs(angular): replace ng add usage with nx init --integrated for integrated migration (#16248) 2023-04-27 18:49:04 -04:00
Leosvel Pérez Espinosa 13a35bfb89 docs(misc): expose nx init command flags in docs and the terminal help (#16433) 2023-04-27 18:20:36 -04:00
Isaac Mann afa5eb59fa docs(core): document the @nrwl => @nx rescope (#16403)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-04-27 18:14:59 -04:00
FrozenPandaz f537a4caeb chore(misc): publish 16.0.0 2023-04-27 17:57:25 -04:00
Altan Stalker 9a14ae435f chore: update nx-cloud to 16.0.5 (#16623) 2023-04-27 16:32:54 -04:00
FrozenPandaz 7660cf6ec0 chore(misc): publish 16.0.0-rc.1 2023-04-27 16:06:16 -04:00
Jason Jean c2a0ef0794 chore(repo): change more references from @nrwl to @nx (#16621) 2023-04-27 15:59:17 -04:00
Jason Jean abc505551a chore(repo): update nx to 16.0.0-rc.0 (#16598) 2023-04-27 14:21:04 -04:00
James Henry b1e3545caa fix(core): do not strip additional angular.json properties (#16615) 2023-04-27 14:09:47 -04:00
Jason Jean 24b2dee8d9 feat(core): remove tasks runner v2 (#16616) 2023-04-27 13:49:16 -04:00
Jason Jean 9ed96a1d23 fix(linter): do not replace legacy package in binary files (#16617) 2023-04-27 13:48:34 -04:00
Craigory Coppola 68f019e0ef chore(core): add missing formatFiles call to migration (#16614) 2023-04-27 13:11:25 -04:00
Ashley Hunter fbf8d9c99f feat(js): adding simpleName option to library generator (#16025) 2023-04-27 11:28:34 -04:00
Caleb Ukle 43a7d770fa cleanup(testing): rename cypress-component-project to cypress-component-configuration (#16382) 2023-04-27 11:19:32 -04:00
Isaac Mann f91920d31e docs(core): make migrate latest more prominent (#16596) 2023-04-27 11:17:34 -04:00
Miroslav Jonaš f004e22b7c fix(repo): replace remaining instances of yarn with pnpm (#16571) 2023-04-27 11:16:42 -04:00
Colum Ferry 9d71c718f0 fix(react): skip DefinePlugin for SSR (#16612) 2023-04-27 15:15:08 +00:00
Victor Savkin 9753acb727 fix(core): handle nested gitignores in the filewatcher 2023-04-27 10:52:32 -04:00
Ashley Hunter 2be25eb45c feat(nest): adding simpleName option to library generator (#16024) 2023-04-27 14:38:31 +00:00
Juri Strumpflohner e3c50a9a48 docs(nx-dev): add ProductHunt banner (#16607) 2023-04-27 15:30:42 +02:00
Zachary DeRose 5e2bf07908 docs(core): fixing some references to old architect terminology (#16424)
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
2023-04-27 08:28:53 -04:00
fyodorovandrei 6dd1385eca feat(react): refactor util getModuleFederationConfig to avoid to pass function to determinate the remote url (#16488)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-04-27 08:22:17 -04:00
Miroslav Jonaš 0947eb46f5 fix(repo): run nightly e2e with pnpm (#16602) 2023-04-27 11:09:28 +02:00
FrozenPandaz 19e34df1cd chore(misc): publish 16.0.0-rc.0 2023-04-26 22:07:53 -04:00
Jason Jean eb425b6ffe fix(angular): fix the imports of @angular-devkit/architect/node for n… (#16595) 2023-04-26 22:06:06 -04:00
Jason Jean 7b0f96b1ba feat(nx-plugin): simplify generated plugin code (#16590) 2023-04-26 18:38:04 -04:00
Jonathan Cammisuli 010ddeeadb feat(core): update nx schema to include more tasksRunnerOptions options (#16591) 2023-04-26 18:23:18 -04:00
Craigory Coppola 0add1a1e4c fix(core): use nx@next when migrating to next (#16557) 2023-04-26 18:16:17 -04:00
Jason Jean d0e6e1fc2d chore(repo): replace yarn comment with pnpm (#16594) 2023-04-26 18:08:16 -04:00
Isaac Mann ae48f04311 fix(nx-dev): toc width (#16592) 2023-04-26 17:44:34 -04:00
Altan Stalker 4406ce0a29 docs(nx-cloud): update azure pipelines example from issue feedback (#16593) 2023-04-26 17:42:55 -04:00
Colum Ferry f34fec319f fix(core): deprecate mf utils from devkit public api (#16574) 2023-04-26 17:36:09 -04:00
Craigory Coppola ac64773ffa feat(core): update dependsOn configuration to use dependencies property (#16584) 2023-04-26 17:11:26 -04:00
Jack Hsu 38c3221e1f fix(misc): add a migration to update or remove references to @nrwl/web/babel (#16581) 2023-04-26 17:06:48 -04:00
Elian ☕️ 2b6a42512a docs(core): replace broken link in tutorial (#16158)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2023-04-26 16:53:50 -04:00
Altan Stalker 7263b48b48 fix(core): improve docker detection with cgroup (#16589) 2023-04-26 16:53:15 -04:00
Jason Jean 8fa1712ab4 chore(repo): rescope nx-dev and graph libraries (#16551) 2023-04-26 16:47:47 -04:00
Katerina Skroumpelou 44654251bd feat(vite): allow setting of build target (#16588) 2023-04-26 16:26:26 -04:00
limars874 cab7aacc55 docs(nx-plugin): fixed the uses of the wrong example (#16111) 2023-04-26 16:14:07 -04:00
Liam McAteer 83ada9dcc1 feat(vite): add --testFile argument to @nrwl/vite:test (#16324)
Co-authored-by: Liam McAteer <=>
2023-04-26 15:11:14 -05:00
daiscog 369ee09711 fix(core): fix missing top-level dependencies (#14832) 2023-04-26 15:01:50 -05:00
Dmitriy Stepanenko 2d78de5e1e fix(vite): build executor should not overwrite package.json in dist (#16586) 2023-04-26 19:16:03 +00:00
Emily Xiong e4aad48125 fix(nx-plugin): remove createPackageName prompt for nx plugin (#16585) 2023-04-26 14:49:14 -04:00
Jonathan Cammisuli 37038463ed feat(core): remove git file hasher implementation (#16517) 2023-04-26 13:36:20 -04:00
Katerina Skroumpelou 9c138ffba2 docs(repo): change yarn to pnpm in contributing guide (#16578) 2023-04-26 19:14:18 +02:00
Nicholas Cunningham d5062e722c fix(node): Propagate --bundler when passed via CNW (#16580) 2023-04-26 17:10:21 +00:00
Nicholas Cunningham d24862d358 fix(nextjs): Add debug ability when verbose is passed to build (#16545) 2023-04-26 11:21:13 -04:00
Craigory Coppola 72297506b4 docs(core): add small section explaining difference between outputs and outputPath (#16577) 2023-04-26 11:17:45 -04:00
Philip Fulcher 308dea3b4f docs(misc): update standalone tutorials (#16492)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2023-04-26 09:35:04 -04:00
Colum Ferry 5761aa9bdd docs(angular): show how to add additional webpack plugins with MF (#16572) 2023-04-26 09:32:40 -04:00
Ahmed Elsakaan 4cab83eb99 chore(nextjs): changes application generator tsconfig strict to true (#14855) 2023-04-26 09:14:48 -04:00
Craigory Coppola 0193967b08 fix(nx-plugin): runNxCommand should default to using tmpProjPath as the cwd (#16562) 2023-04-26 01:28:38 -04:00
FrozenPandaz 200cf32733 chore(misc): publish 16.0.0-beta.8 2023-04-25 20:10:15 -04:00
FrozenPandaz fe7d8aacba Revert "chore(misc): publish 16.0.0-beta.8"
This reverts commit d7934d6139.
2023-04-25 20:09:48 -04:00
Jason Jean 240a27bb67 fix(repo): fix publish script's use of pnpm part 2 (#16568) 2023-04-25 20:08:39 -04:00
FrozenPandaz d7934d6139 chore(misc): publish 16.0.0-beta.8 2023-04-25 19:57:44 -04:00
FrozenPandaz c2fe62a8da Revert "chore(misc): publish 16.0.0-beta.8"
This reverts commit a937614f16.
2023-04-25 19:57:15 -04:00
Jason Jean d22b03756a fix(repo): fix publish scripts use of pnpm (#16566) 2023-04-25 19:48:53 -04:00
Conrad Trost 1ce2720d24 docs(misc): update community page nx-plugin links to the current url (#16563)
Co-authored-by: conradtrost <conrad.trost2@7-11.com>
2023-04-25 19:25:25 -04:00
Altan Stalker 7c050369ea docs(nx-cloud): add docs for disable nx cloud connection option in nx.json (#16565) 2023-04-25 19:21:46 -04:00
Craigory Coppola 7acc5da7f7 fix(devkit): handle moving a file back to the spot it was already on disk (#16554) 2023-04-25 18:10:17 -04:00
Craigory Coppola b3b61f596f fix(nx-plugin): make cli schema json migration safer (#16558) 2023-04-25 18:06:19 -04:00
FrozenPandaz a937614f16 chore(misc): publish 16.0.0-beta.8 2023-04-25 18:03:59 -04:00
Miroslav Jonaš 262865841d feat(repo): migrate to pnpm (#16284) 2023-04-25 17:57:36 -04:00
Jason Jean 8329395a7e fix(core): do not replace @nrwl mentions in excluded files anywhere i… (#16555) 2023-04-25 17:55:55 -04:00
Jason Jean c0e5dd99eb fix(devkit): add .pxd and .pxz to binary extensions (#16556) 2023-04-25 17:54:33 -04:00
Philip Fulcher e0600e9cdc docs(nx-cloud): fix links to helm chart repo (#16561) 2023-04-25 15:51:42 -06:00
Miroslav Jonaš d47df3d676 fix(linter): ensure target project locator is using stale graph in IDE (#16534) 2023-04-25 23:50:12 +02:00
Philip Fulcher 3d5b849826 fix(node): use consistent default port (#16491)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2023-04-25 17:49:59 -04:00
Philip Fulcher 555cacd87d fix(js): fix minimal publish script devkit import (#16559) 2023-04-25 15:48:25 -06:00
Philip Fulcher a1819bcadd docs(misc): add scroll to terminal component (#16480) 2023-04-25 15:18:01 -06:00
Jason Jean cba3c48e6c fix(core): do not replace legacy package mentions in binary files (#16547) 2023-04-25 15:31:25 -04:00
Craigory Coppola b374bd342c fix(js): ensure publishable libraries are not marked as private (#16549) 2023-04-25 15:07:37 -04:00
Xinan 440a85c18b fix(webpack): web app in default nx config not working with @aws-sdk (#15962) 2023-04-25 15:01:43 -04:00
Jason Jean b42d3f7c2b feat(core): deprecate @nrwl/tao (#16550) 2023-04-25 14:54:29 -04:00
Craigory Coppola 5b0527bc45 fix(nx-plugin): generate example file with .template extension (#16543) 2023-04-25 14:07:57 -04:00
Craigory Coppola b409095475 fix(nx-plugin): cleanup some paths that are strange when root project (#16548) 2023-04-25 14:06:46 -04:00
Philip Fulcher 3fca88c8a6 chore(devkit): remove comment from docblock so it isn't added to docs (#16490)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2023-04-25 13:38:25 -04:00
Jack Hsu ae8c47b75a feat(web): expose cache, compression options for file-server (#16546)
Co-authored-by: Ryan Diehl <rydiehl@cisco.com>
2023-04-25 13:32:46 -04:00
Craigory Coppola f0295faf3f fix(devkit): don't visit files that are ignored by nxignore (#16544) 2023-04-25 13:11:57 -04:00
Tine Kondo 8efccf62c6 chore(repo): add a devcontainer config to ease developer setup (#16302) 2023-04-25 12:45:22 -04:00
Leosvel Pérez Espinosa 85366d5cbe fix(core): handle symbol in migration path and infer angular material and cdk migration type correctly (#16538) 2023-04-25 17:09:30 +01:00
Colum Ferry 4e0df09fac fix(angular): remote static serve target should not watch for changes (#16542) 2023-04-25 15:37:31 +00:00
Emily Xiong 7e64afc7a6 fix(react-native): fix @nrwl/react-native and @nrwl/expo dep conficts (#16524) 2023-04-25 11:28:17 -04:00
Caleb Ukle 87ac061479 fix(nextjs): ignore components in appDir when generating cy files (#16520) 2023-04-25 08:41:39 -06:00
Craigory Coppola c688df69b2 fix(misc): don't generate workspace-generators directory (#16525) 2023-04-24 18:56:22 -04:00
Jason Jean a0d18bb588 chore(repo): replace references to @nrwl in e2e tests (#16441) 2023-04-24 18:48:44 -04:00
Craigory Coppola 5d8839a7dd chore(core): cleanup some code in find-matching-projects (#16523) 2023-04-24 18:37:22 -04:00
FrozenPandaz eb477479bf chore(misc): publish 16.0.0-beta.7 2023-04-24 18:26:44 -04:00
Nicholas Cunningham 4dea8b72fe fix(nextjs): Nightly failures since yarn eagerly reads imports (#16522) 2023-04-24 17:44:35 -04:00
Jason Jean aeb5950183 fix(linter): replace eslint ignore comments during @nrwl -> @nx migra… (#16521) 2023-04-24 17:04:58 -04:00
Craigory Coppola 6c613ce9e8 feat(core): support directory patterns for --projects (#16288) 2023-04-24 17:00:58 -04:00
Craigory Coppola db324007b5 fix(js): throw better error messaging when a dependency is not in the graph (#16510) 2023-04-24 16:50:11 -04:00
Jason Jean 9aa355f8dc fix(bundling): export collections from @nx/vite (#16514) 2023-04-24 16:49:06 -04:00
khalilou88 7388a8ed2b chore(core): nx plugin submission @jnxplus/nx-quarkus-gradle (#16482) 2023-04-24 15:59:03 -04:00
Leosvel Pérez Espinosa dffb3d38e0 fix(misc): safely iterate over package.json scripts in nx init command (#16508) 2023-04-24 15:46:13 -04:00
Jason Jean 26ad8eb142 feat(core): add a monkey-patch for require to use @nx packages instea… (#16511) 2023-04-24 15:05:25 -04:00
Jason Jean 5272e5af6f fix(core): do not replace @nrwl mentions in CHANGELOG.md (#16512) 2023-04-24 19:01:09 +00:00
Emily Xiong cc0d91203e feat(react-native): upgrade react-native to 0.71.7 (#16504) 2023-04-24 14:51:59 -04:00
Caleb Ukle 808b4d10f4 fix(nextjs): do not generate test for appDir page.tsx (#16509) 2023-04-24 13:17:57 -05:00
Miroslav Jonaš a2b117626a chore(detox): add detox to CI but disable broken test (#16503) 2023-04-24 12:25:18 -04:00
Jason Jean 929a08ab95 chore(repo): add debug logging for nx-dev graph (#16507) 2023-04-24 12:19:05 -04:00
Miroslav Jonaš 8519fbc7a6 fix(repo): fix mismatched package manager e2e utils (#16502) 2023-04-24 17:47:14 +02:00
Jack Hsu 786323d5cd fix(nextjs): use require("next") since exports.default is no longer provided (#16497) 2023-04-24 09:14:08 -06:00
Miroslav Jonaš ceab87d29e feat(repo): use @pnpm/exe over pnpm for CI runs (#16495) 2023-04-24 10:40:21 -04:00
Jason Jean 8e8522068a chore(repo): update nx to 16.0.0-beta.6 (#16477) 2023-04-24 14:36:09 +00:00
Katerina Skroumpelou 9bb5d0d7db feat(repo): update storybook to v7 (#16174) (#16289) 2023-04-24 10:11:41 -04:00
Miroslav Jonaš 4d5cc73c9b feat(repo): ignore macos timings for nightly duration report (#16454) 2023-04-24 14:54:37 +02:00
Jonathan Cammisuli b3a8ac3cb8 docs(core): update troubleshoot installation docs (#16446) 2023-04-21 20:12:49 -04:00
Craigory Coppola 0e68441265 fix(core): use located tsconfig name for tsconfig-paths when registering local plugin transpiler (#16476) 2023-04-21 19:26:16 -04:00
Craigory Coppola ddf613c481 fix(misc): create-nx-workspace should display short error messages (#16474) 2023-04-21 21:26:11 +00:00
Craigory Coppola 04a0c7734f fix(misc): create-nx-workspace should work with custom presets on windows (#16473) 2023-04-21 16:53:23 -04:00
Jason Jean b719222d42 chore(misc): publish 16.0.0-beta.6 2023-04-21 16:51:28 -04:00
Jack Hsu bb11fe31bb fix(nextjs): support workspace libs with standalone Next.js app (#16471) 2023-04-21 20:31:37 +00:00
Jack Hsu 564ffaeebd fix(nextjs): remove the need to install @nx/next for production builds (#16469) 2023-04-21 16:13:16 -04:00
Jason Jean a10b6b1290 fix(core): fix cache recalculation (#16468) 2023-04-21 15:56:00 -04:00
Jason Jean dbce22a499 fix(core): fix nx package group to have correct legacy eslint-plugin (#16470) 2023-04-21 19:30:18 +00:00
AgentEnder 6e9d4eccf7 fix(devkit): writing a file inside a deleted directory should undelete it 2023-04-21 15:19:29 -04:00
AgentEnder be768ca19d fix(misc): cleanup migration to workspace-plugin 2023-04-21 15:19:29 -04:00
Caleb Ukle 06a885aca2 feat(next): support nextjs cypress component testing (#16292) 2023-04-21 15:15:28 -04:00
Craigory Coppola 505b5dc004 fix(core): hide message when migrating to a new major and already connected to cloud (#16466) 2023-04-21 15:11:22 -04:00
Nicholas Cunningham f43ac5b633 fix(nextjs): output path for standalone apps (#16465) 2023-04-21 14:13:20 -04:00
Leosvel Pérez Espinosa a421fce019 fix(misc): set default e2e test runner when creating angular and next workspaces (#16464) 2023-04-21 19:08:46 +01:00
Jason Jean 88b9687451 fix(linter): fix legacy linter migrations (#16462) 2023-04-21 13:29:09 -04:00
Craigory Coppola 219ad67e74 fix(nx-plugin): generated root plugin should not have wonky paths (#16445) 2023-04-21 13:25:22 -04:00
Nicholas Cunningham a908ef586a fix(nextjs): Add exclude to root projects e2e tsconfig so that tests will be picked up. (#16459) 2023-04-21 11:52:52 -04:00
Leosvel Pérez Espinosa 258cda37ec fix(angular): build plugin runtime code with ts module option set to esnext (#16448) 2023-04-21 10:55:33 -04:00
Nicholas Cunningham 425124f610 fix(nextjs): add e2e test case for standalone nextjs (#16447) 2023-04-21 10:20:09 -04:00
Jason Jean ff8074bf75 chore(repo): update to nx 16.0.0-beta.5 (#16347) 2023-04-21 10:17:56 -04:00
Colum Ferry ec3c642b29 feat(angular): add migration to remove protractor generator defaults (#16409) 2023-04-21 12:29:02 +01:00
Colum Ferry 14d9a8b034 feat(angular): add migration to remove karma generator defaults (#16400) 2023-04-21 09:56:47 +01:00
Jason Jean 7bef2a6161 chore(core): fix e2e tests for yarn + workspace-create-npm (#16451) 2023-04-21 11:15:10 +03:00
Craigory Coppola 35bda81df2 feat(nx-plugin): slim down generated code when creating a new generator (#16444) 2023-04-20 18:09:28 -04:00
Jack Hsu 8de17ab1e0 feat(web): remove deprecated executors (#16416) 2023-04-20 17:50:31 -04:00
Chris Manning a7c14fca1e fix(core): whitelist registries that support obtaining migration config via 'npm view' (#16423)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2023-04-20 17:40:19 -04:00
Jack Hsu db6e14eca5 fix(react): swapped fragments with <div> so avoid lint warnings for default (#16449) 2023-04-20 17:21:04 -04:00
Craigory Coppola c337998eb9 fix(nx-plugin): don't add tslib if compiling with swc (#16418) 2023-04-20 17:18:38 -04:00
Craigory Coppola 61451a100b fix(core): optional dependencies should be tracked by project graph (#16383) 2023-04-20 17:17:46 -04:00
Craigory Coppola b44dbf9c22 fix(nx-plugin): correct importPath and import updates for migration to local plugins (#16437) 2023-04-20 17:15:48 -04:00
Jack Hsu 0a6d37675c fix(react): use babel-loader when using styled-jsx with rspack (#16443) 2023-04-20 15:35:44 -04:00
FrozenPandaz 04fed26279 chore(misc): publish 16.0.0-beta.5 2023-04-20 15:10:15 -04:00
Jack Hsu 91639605fd feat(react): remove empty <div /> from generated app (#16439) 2023-04-20 14:44:10 -04:00
Nicholas Cunningham 5e0893a38f fix(nextjs): styled-jsx and styled-components should have "use client directive" (#16440) 2023-04-20 12:35:25 -06:00
Jason Jean fb54f67581 feat(nx-plugin): rename @nx/nx-plugin to @nx/plugin (#16422) 2023-04-20 14:35:04 -04:00
Jason Jean 739b4c2924 feat(linter): rename @nx/eslint-plugin-nx to @nx/eslint-plugin (#16420) 2023-04-20 13:25:56 -04:00
Colum Ferry 9f4d02d968 feat(js): update the lib version in base tsconfig to es2020 (#16429) 2023-04-20 18:10:32 +01:00
MaxKless 69e824c2ef docs(core): fix workspace generator callout (#16438) 2023-04-20 12:41:07 -04:00
Nicholas Cunningham 86b674f61f fix(nextjs): make lint generator rootProject aware (#16436) 2023-04-20 10:32:51 -06:00
Miroslav Jonaš bc0bbb0b4b feat(linter): add internal rules to prevent deep nx imports (#16430) 2023-04-20 11:42:55 -04:00
Jack Hsu bef152d94e feat(bundling): remove esbuild 0.16.0 support (#16435) 2023-04-20 08:14:52 -06:00
Victor Savkin b0d4cba79f chore(repo): update nx-cloud to 16.0.0 2023-04-20 10:01:44 -04:00
Katerina Skroumpelou d5441020af docs(storybook): overview adjusted for v7 (#16434) 2023-04-20 14:37:02 +01:00
Leosvel Pérez Espinosa 752a92373b fix(misc): handle packages rescope in nx init flows (#16404) 2023-04-20 15:50:37 +03:00
Katerina Skroumpelou e447f2c4fa fix(storybook): only check existence of storybook before migrating (#16431) 2023-04-20 14:39:05 +03:00
Miroslav Jonaš a51ac58a45 fix(core): do not expect each package to have hoisted version in lockfile (#16393) 2023-04-20 09:16:45 +02:00
Miroslav Jonaš 4a4fc19055 fix(core): enforce fixed versions only for apps with createPackageJson (#16398) 2023-04-20 09:16:32 +02:00
Emily Xiong 840048480f feat(core): update create-nx-plugin to generate cli library (#15994) 2023-04-19 20:36:11 -04:00
Craigory Coppola 16e4061b5d feat(devkit): bump support range to be 15 <= x <= 17 (#16421) 2023-04-19 18:25:41 -04:00
Craigory Coppola fc07794d90 feat(core): remove deprecated affected commands (#16349) 2023-04-19 18:07:56 -04:00
Craigory Coppola a798576e0e fix(misc): pass e2eTestRunner to child preset generator (#16414) 2023-04-19 17:02:34 -04:00
Nicholas Cunningham 338dc64d91 feat(nextjs): Add standalone Nextjs option to react selection when running CNW (#16317) 2023-04-19 15:29:31 -04:00
Emily Xiong 16e115fd7b fix(react-native): log errors for pod install (#16386) 2023-04-19 15:03:36 -04:00
FrozenPandaz 0fc3d4441e chore(misc): publish 16.0.0-beta.4 2023-04-19 14:24:10 -04:00
Craigory Coppola f7ca6e6d82 chore(misc): update migration version for workspace-generator (#16417) 2023-04-19 14:21:30 -04:00
Craigory Coppola b3ca5037e0 fix(core): hide duplicate log entry when displaying generator help (#16353) 2023-04-19 14:12:09 -04:00
Craigory Coppola 9fa6d418b9 fix(misc): mark workspace-lint as deprecated in yargs config (#16385) 2023-04-19 14:06:57 -04:00
Emily Xiong 9c9abaa098 fix(react-native): remove listDevices default value for run-android (#16410) 2023-04-19 14:03:45 -04:00
Craigory Coppola 1743ff10ed feat(core): add migration to update workspace generators to a local plugin (#12700) 2023-04-19 14:03:00 -04:00
Jack Hsu f04f316271 feat(react): add rspack experimental support (#16252) 2023-04-19 14:00:24 -04:00
Jason Jean 1ff450b75a fix(core): fix devkit compatibility (#16413) 2023-04-19 13:43:44 -04:00
Leosvel Pérez Espinosa 6677a9c932 feat(misc): expose nx init command flags (#16287) 2023-04-19 18:32:51 +01:00
Leosvel Pérez Espinosa 5d7ad348e0 feat(testing): bump ts-jest to 29.1.0 to support typescript 5.x (#16401) 2023-04-19 18:22:52 +01:00
Dominik Pieper a8e85dafaf feat(testing): export cypressE2EConfigurationGenerator (#16394) 2023-04-19 12:01:50 -05:00
Caleb Ukle 1ad7e3de48 fix(testing): nullcheck polyfills in ng component testing (#16411) 2023-04-19 16:55:11 +00:00
Katerina Skroumpelou c963393e53 fix(storybook): dont use swc addon on sb7 and format (#16408) 2023-04-19 12:34:38 -04:00
Miroslav Jonaš c8960b733f fix(linter): don't confuse buildable libs for secondary ng entry point (#16367) 2023-04-19 11:13:10 -04:00
FrozenPandaz 27344019a2 chore(misc): publish 16.0.0-beta.3 2023-04-19 11:10:19 -04:00
Jason Jean da158bc47e feat(angular): replace usages of @nrwl with @nx (#16377)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-04-19 10:59:58 -04:00
Jason Jean 76dfc62412 feat(web): replace usages of @nrwl with @nx (#16376) 2023-04-19 10:59:41 -04:00
Jack Hsu 1780aac6a0 feat(react): add @nx/web as a dependency since it is needed by cypress/etc. (#16407) 2023-04-19 10:57:34 -04:00
Jason Jean 52acf07026 fix(angular): fix resolve builder in ngcli adapter (#16375) 2023-04-19 10:40:37 -04:00
Jack Hsu ab609a26d8 fix(js): update swc options so path mappings can work in all environments (#16390) 2023-04-19 10:38:01 -04:00
Katerina Skroumpelou 157b35b5a0 fix(storybook): do not override existing v7 on init (#16405) 2023-04-19 14:33:10 +00:00
Miroslav Jonaš 1b7587f8eb fix(core): do not attempt to remove non-existent package from package.json (#16399) 2023-04-19 10:09:38 -04:00
Katerina Skroumpelou 2e979628b3 fix(storybook): check storybook is installed and not on v7 already (#16402) 2023-04-19 13:30:41 +01:00
Colum Ferry 4446bf749a fix(angular): schematics warning should only occur when run as schematic (#16396) 2023-04-19 11:23:50 +01:00
Colum Ferry 48b356d9c1 fix(angular): throw error when generating component with multiple candidate modules (#16332) 2023-04-19 09:46:13 +01:00
Colum Ferry 0ce1f37943 fix(angular): add component import path correctly to NgModule when flat=false (#16364) 2023-04-19 09:45:36 +01:00
Jason Jean 3d3cc74351 fix(storybook): handle @nrwl packages in storybook installed check (#16380) 2023-04-19 11:01:03 +03:00
Jason Jean c6310e6231 fix(core): fix preset unit tests (#16384) 2023-04-18 19:41:51 -04:00
Craigory Coppola 00f424acc6 feat(nx-plugin): slim down default generated nx-plugin (#16168) 2023-04-18 17:47:06 -04:00
Jason Jean ad805cb73f feat(node): replace usages of @nrwl with @nx (#16379) 2023-04-18 17:17:55 -04:00
Victor Savkin 1a49564d6f docs(nx-dev): remove the time saved guide 2023-04-18 16:35:12 -04:00
Jack Hsu fda18e0dbc feat(js): update @swc/core and @swc/helpers packages (#16372) 2023-04-18 14:57:48 -04:00
Nicholas Cunningham ce4a76a975 feat(nest): Add strict option (#16371) 2023-04-18 12:47:02 -06:00
Katerina Skroumpelou a4ef9596d9 fix(react): install rollup package when generating lib (#16373) 2023-04-18 17:59:16 +00:00
Jason Jean 5a0a4e8d26 feat(repo): replace usages of @nrwl/ with @nx/ in tooling packages (#16351) 2023-04-18 12:15:33 -04:00
Miroslav Jonaš 2dd59c3b57 feat(core): extract js related code from affected and hasher (#16244) 2023-04-18 10:42:05 -04:00
FrozenPandaz 0d7dbbc525 chore(misc): publish 16.0.0-beta.2 2023-04-18 10:33:22 -04:00
Jack Hsu ced3ab9c59 feat(nextjs): add migration for Next.js 13.3.0 (#16370) 2023-04-18 10:26:23 -04:00
Katerina Skroumpelou a7bc1c6635 feat(storybook): added sb7 generator to migrations (#16369) 2023-04-18 17:24:26 +03:00
Jack Hsu 5769256702 docs(nextjs): add a guide for configuring Next.js plugins (#16315) 2023-04-18 08:58:04 -04:00
Jason Jean 0d561ef90a fix(core): fix failing unit test (#16357) 2023-04-17 22:57:08 +00:00
Benjamin Cabanes 739e1ab702 fix(nx-dev): add redirects for new tutorials (#16355) 2023-04-17 18:46:18 -04:00
Jason Jean 4ee1ba56e7 fix(core): replace @nrwl with @nx in nx core packages (#16344) 2023-04-17 17:28:40 -04:00
Jack Hsu df81c0d8d5 feat(misc): update @swc/helpers version to match @swc/core (#16343) 2023-04-17 20:21:12 +00:00
Dmitriy Stepanenko dc98485834 feat(core): add presetVersion flag for the create-nx-workspace (#16303)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-04-17 15:26:12 -04:00
Craigory Coppola 64282949d4 feat(misc): make createWorkspace quieter by default (#16202) 2023-04-17 17:44:13 +00:00
Zack Jackson 81f5603998 fix: federation: dont default to esm (#16011)
Co-authored-by: Beka <bekzatsmov2@gmail.com>
2023-04-17 10:53:55 -04:00
Jonathan Cammisuli fa40367f2f fix(core): use the module name as the name of the nx plugin (#16335) 2023-04-17 10:18:42 -04:00
FrozenPandaz abf534c265 chore(misc): publish 16.0.0-beta.1 2023-04-17 10:16:08 -04:00
FrozenPandaz ecad35ce8f Revert "chore(misc): publish 16.0.0-beta.1"
This reverts commit fab2325e0a.
2023-04-17 10:15:45 -04:00
Jonathan Cammisuli f0cbb84249 fix(core): update @monodon/rust (#16334) 2023-04-17 09:32:11 -04:00
FrozenPandaz fab2325e0a chore(misc): publish 16.0.0-beta.1 2023-04-14 19:58:14 -04:00
Jason Jean 2d195007b0 feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Jason Jean 95f2f80cd3 feat(core): remove @nrwl/workspace:run-commands and @nrwl/workspace:r… (#16298) 2023-04-14 18:06:47 -04:00
Emily Xiong 5f86929f34 chore(react): improve react e2e tests speed (#15997) 2023-04-14 16:43:58 -04:00
Nicholas Cunningham d54f848810 fix(nextjs): Let Next.js handler serve public/ folder (#16318)
Co-authored-by: Louis DeScioli <louis@spatial.io>
2023-04-14 15:38:51 -04:00
Craigory Coppola 2ddf806fa1 chore(repo): move our migrations to 'generators' rather than 'schematics' (#16291) 2023-04-14 15:25:58 -04:00
Caleb Ukle b997ee6cd5 docs(testing): add info about getJestProjects() (#16269) 2023-04-14 14:28:38 -04:00
Jack Hsu 8b48ba9ac2 feat(react): remove standaloneConfig since it does nothing (#16313) 2023-04-14 13:56:57 -04:00
Jack Hsu c3c77d525e feat(nextjs): remove "--server=..." app generator option (#16312) 2023-04-14 13:56:43 -04:00
Isaac Mann 330fe741aa docs(core): env variable pages link to each other (#16258) 2023-04-14 11:37:19 -04:00
Caleb Ukle 26fbd1daa0 fix(testing): support custom workspaceRoot for angular CT (#15485) 2023-04-14 11:35:22 -04:00
LironH 81e1dcd195 docs(core): nx plugin submission nx-size-limit (#16307) 2023-04-14 11:29:59 -04:00
Craigory Coppola 80a2b45a86 chore(repo): update codeowners (#16311) 2023-04-14 11:29:30 -04:00
Caleb Ukle 85b3315b34 chore(misc): update snapshots to latest format (#16276) 2023-04-14 11:29:06 -04:00
Emily Xiong a42cc57354 chore(expo): remove deprecated targets and expo-cli (#16076) 2023-04-14 11:26:29 -04:00
Ali Ataf 3e45445e26 fix(angular): consider app-routing.module.ts when setting up module federation host routes (#16285)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-04-14 15:50:27 +01:00
Craigory Coppola f76dd6e4b9 chore(repo): update codeowners (#16310) 2023-04-14 10:47:29 -04:00
Tine Kondo cd04e95d02 chore(core): nx plugin submission @nxrocks/nx-ktor (#16300) 2023-04-14 10:40:09 -04:00
Leosvel Pérez Espinosa 9a94281eb1 cleanup(misc): consolidate common functionality and messaging across nx init flows (#16283) 2023-04-14 10:36:07 -04:00
Caleb Ukle b15db0663f fix(testing): use jest v29 deps in @nrwl/jest (#16256) 2023-04-14 10:17:19 -04:00
Craigory Coppola 5da650abb1 fix(core): run-many doesn't strip quotes surrounding target names (#16211) 2023-04-13 17:55:25 -04:00
Craigory Coppola bd63cbfad6 fix(core): migrate should read both generators and schematics (#16294) 2023-04-13 17:52:35 -04:00
Philip Fulcher 561c82ee5b chore(repo): pin xstate versions (#16297) 2023-04-13 15:51:08 -06:00
Jack Hsu 73227515ed feat(nextjs): add composePlugins util when using multiple plugins (#16296) 2023-04-13 15:41:17 -06:00
Jonathan Cammisuli 4aa8fe08cf docs(core): add native modules troubleshooting tips (#16290) 2023-04-13 15:35:59 -04:00
Craigory Coppola de520d00c5 feat(nx-plugin): remove cli property from generators and executors schema.json file (#16259) 2023-04-13 12:46:42 -04:00
Craigory Coppola 5080f2fc81 feat(core): remove support for targetDependencies (#16101) 2023-04-13 12:30:24 -04:00
Victor Savkin 1fb9edc460 feat(core): support both @nrwl/nx-cloud and nx-cloud 2023-04-13 10:59:31 -04:00
Jonathan Cammisuli cfaf6496f3 feat(core): add hasher implementation info in nx report (#16261) 2023-04-13 09:58:11 -04:00
Leosvel Pérez Espinosa 9658fb1ad6 docs(core): improve nx init description (#16245) 2023-04-13 09:57:05 -04:00
Leosvel Pérez Espinosa 7cff8dcf55 cleanup(angular): remove make-angular-cli-faster package (#15489) 2023-04-13 08:31:13 +01:00
Jason Jean afcf7ba19f feat(core): remove usage of --legacy-peer-deps (#16271) 2023-04-12 16:31:46 -04:00
Colum Ferry dc8711d817 cleanup(core): remove testing utils (#16274) 2023-04-12 21:03:10 +01:00
Miroslav Jonaš cafb49ac84 feat(core): remove @nrwl/workspace:lib (#16122) 2023-04-12 15:28:09 -04:00
Colum Ferry 169b950fc6 cleanup(core): deprecate and remove Rules from workspace (#16112) 2023-04-12 14:54:45 -04:00
Jack Hsu 5628969400 fix(storybook): add correct v7 packages when generating storybook configuration (#16272) 2023-04-12 14:43:03 -04:00
Miroslav Jonaš e6f6fc14a9 fix(js): report createGlobPatternsForDependencies errors on tailwind (#16266) 2023-04-12 12:47:08 -04:00
Leosvel Pérez Espinosa 856296431d cleanup(react): remove cra-to-nx package (#15556) 2023-04-12 16:43:49 +00:00
Jason Jean d2f855502a Revert "feat(repo): update storybook to v7 (#16174)" (#16264) 2023-04-12 11:46:56 -04:00
Leosvel Pérez Espinosa e5b48ac956 cleanup(misc): remove add-nx-to-monorepo package (#15498) 2023-04-12 16:41:17 +01:00
Miroslav Jonaš cdc0906132 feat(linter): update @typescript-eslint/* to 5.58.0 (#16250) 2023-04-12 17:40:40 +02:00
Craigory Coppola f13ea45599 docs(core): correct environment variable for NX_TASK_TARGET_PROJECT (#16236) 2023-04-12 11:10:46 -04:00
Jack Hsu 0578116fbf feat(nextjs): update to Next.js 13.3.0 (#16130) 2023-04-12 10:47:44 -04:00
Katerina Skroumpelou 393434eee3 docs(bundling): rspack schema docs update (#16249) 2023-04-12 17:45:16 +03:00
Leosvel Pérez Espinosa 4b327161f9 feat(misc): add --integrated option to nx init command (#16148) 2023-04-12 15:17:04 +01:00
Nicholas Cunningham 63d02304d0 fix(nextjs): clean up favicon & remove unnecessary property (#16233) 2023-04-12 08:34:12 -04:00
Emily Xiong 3eede1c7de feat(react): deprecate styl from react and next for 17 (#16135) 2023-04-12 08:23:13 -04:00
Leosvel Pérez Espinosa c8a2f50f36 feat(angular): remove deprecated simpleModuleName option from library generator (#16219) 2023-04-12 10:35:51 +01:00
Katerina Skroumpelou c4d9a5bd5c feat(repo): update storybook to v7 (#16174) 2023-04-12 09:16:00 +01:00
Matt Lewis 98b4aa6561 fix(core): correctly pass resolved compilerOptions to ts-node (#16240) 2023-04-11 21:06:36 -04:00
Craigory Coppola 5b74232de0 chore(repo): migrate to 16.0.0-beta.0 (#16234) 2023-04-11 18:07:14 -04:00
Isaac Mann 83b05a6e2f docs(core): split angular migrate guide (#15807) 2023-04-11 12:25:39 -07:00
FrozenPandaz 1e31d4726f chore(misc): publish 16.0.0-beta.0 2023-04-11 12:05:50 -04:00
Isaac Mann 64c35a6f8a docs(core): task dependencies with single project (#16204) 2023-04-11 12:00:39 -04:00
Miroslav Jonaš afb37c8691 fix(core): respect analyzePackageJson for processProjectGraph (#16220) 2023-04-11 11:40:07 -04:00
Craigory Coppola 1df2d68d6d fix(core): deleted projects should not be in cached graph (#16210) 2023-04-11 11:38:58 -04:00
Leosvel Pérez Espinosa e951fc6907 docs(angular): update guide on environment variables usage (#16226) 2023-04-11 16:38:22 +01:00
LongYinan 7625956b20 fix(core): only use native hasher if available (#16197) 2023-04-11 11:26:28 -04:00
sun0day d0211cb102 chore(core): improve nx/tree unit test coverage (#14746) 2023-04-11 11:14:57 -04:00
Miroslav Jonaš 00247064bd fix(repo): add CODEOWNERS to prettier ignore list (#16224) 2023-04-11 11:08:49 -04:00
Miroslav Jonaš 7c5c36de5c fix(repo): fix codeowners (#16218) 2023-04-11 08:44:04 -04:00
Dmitry Marcautan 432e07440e fix(misc): shared deps that rely on default configuration are filtered out (#16193)
Co-authored-by: Dmitry Marcautan <dmitry.marcautan@infopulse.com>
2023-04-11 13:51:13 +03:00
Miroslav Jonaš 98501aa56b fix(repo): cache nightly node_modules per run to avoid stale graph (#16216) 2023-04-11 12:15:50 +02:00
Juri 149ad5ab17 docs(core): update nx architecture diagram version 2023-04-10 15:53:46 -04:00
Victor Savkin 4d01b61c7b fix(core): update links shown after create-nx-workspace 2023-04-10 15:35:51 -04:00
Caleb Ukle 3f4d010ac3 fix(node): update ts-jest config for jest 29 (#16201) 2023-04-10 13:51:26 -05:00
Victor Savkin 2bc33f14d7 docs(core): use -t and -p instead of --targets and --projects 2023-04-10 13:30:17 -04:00
Craigory Coppola f2f6e356a7 feat(core): allow dependsOn to accept a single project dependency (#16100) 2023-04-10 13:12:16 -04:00
Juri 7989facc85 docs(core): what is Nx 2023-04-10 13:05:41 -04:00
Dom Talbot 9690c0bb7c chore(core): nx plugin submission nx-ngrok (#16043) 2023-04-09 10:51:37 -04:00
Katerina Skroumpelou 6889f933f2 fix(core): split nightly e2e target (#16176) 2023-04-07 17:03:37 +02:00
Caleb Ukle 9ba8444930 fix(testing): merge reporter/coverage values from vite config (#16165) 2023-04-07 11:22:10 +03:00
Jason Jean 601a64dc20 feat(core): remove @nrwl/cli (#16129) 2023-04-06 16:26:16 -04:00
Jason Jean 99fafa5d1a feat(testing): remove deperecated @nrwl/cypress/plugins/preprocessor (#16170) 2023-04-06 16:21:10 -04:00
Caleb Ukle 083f4f12c8 fix(testing): correctly error with jest.mock for invalid filepaths (#15445) 2023-04-06 15:10:47 -04:00
Florian Guitton 454344b1ef feat(core): add support for tags with (print-)affected(:*) and run-many (#10085)
Co-authored-by: AgentEnder <craigorycoppola@gmail.com>
2023-04-06 14:45:09 -04:00
Beka 8bc89bbb08 docs(core): fix module federation config example (#15349) 2023-04-06 16:08:28 +00:00
Rick nagual 7a4adf5893 fix(react-native): add aliasFields to handle replaced files in browser env (#16106) 2023-04-06 11:42:51 -04:00
Katerina Skroumpelou f36d65c2ef feat(storybook): make v7 default (#16159) 2023-04-06 11:39:03 -04:00
Craigory Coppola 2887596099 fix(core): don't show global version warning when Nx is invoked by itself (#16102) 2023-04-06 11:35:08 -04:00
Craigory Coppola ad6ec996f4 feat(core): error when a project graph plugin fails (#16095) 2023-04-06 11:25:35 -04:00
Miroslav Jonaš e81bdd4c1e fix(repo): enable mac tests on nightly and fix CI (#16150) 2023-04-06 16:54:20 +02:00
Miroslav Jonaš f34564c2f8 feat(core): deprecate implicitDependency in nx.json (#16084) 2023-04-06 10:50:24 -04:00
Miroslav Jonaš b3a3f2a724 fix(core): ensurePackage fails on pnpm workspaces (#16002) 2023-04-06 10:47:15 -04:00
Miroslav Jonaš 443d45d74d feat(core): add support for pnpm v8 (#15925) 2023-04-06 10:41:35 -04:00
Miroslav Jonaš e58a05986d feat(repo): report time of runs (#16115) 2023-04-06 10:38:36 -04:00
Miroslav Jonaš aaa1113ab0 fix(core): fix "migrate-to-inputs" migration (#16145) 2023-04-06 10:35:30 -04:00
Caleb Ukle 5afb5fc8fd fix(testing): allow removing projects in standalone apps (#16093) 2023-04-06 10:30:09 -04:00
Leosvel Pérez Espinosa e9f97f87e9 fix(angular): fix migrations cli type and use @angular-devkit/build-angular to determine ng devkit version (#16157) 2023-04-06 10:02:34 -04:00
Miroslav Jonaš 00ed85dc2f fix(core): fix broken command-line unit test (#16152) 2023-04-06 08:25:59 -04:00
Miroslav Jonaš cb5a7d8d35 fix(repo): use lerna command in e2e with yarn --silent (#16155) 2023-04-06 13:51:50 +02:00
Leosvel Pérez Espinosa c53d9c325c chore(repo): update yarn package cache key to invalidate existing cache with node_modules (#16144) 2023-04-06 07:48:57 +00:00
Attila Csanyi 8c1b20326a docs(core): use proper NX_FILE_CHANGES env variable (#15999) 2023-04-05 18:05:22 -04:00
Mike Pham f14aac629f fix(core): fix parallel cli argument not default to 3 when not specified (#13837) 2023-04-05 17:53:24 -04:00
Nicholas Cunningham 18e965d2ef feat(nextjs): add support for experimental appDir (#16132) 2023-04-05 14:07:46 -06:00
Jack Hsu a8b8ea91f2 docs(react): fix references to old --preset=react option (#16137) 2023-04-05 15:16:05 -04:00
Leosvel Pérez Espinosa 74f81c2759 chore(repo): do not store node_modules in pipeline cache (#16131) 2023-04-05 20:30:34 +02:00
Caleb Ukle 8b4e5f6616 fix(testing): prevent loop w/ Cypress watch & Vite processor (#16099) 2023-04-05 12:07:04 -04:00
Jason Jean 775f65130d fix(misc): fix docs for nx watch --includeDependentProjects (#16026) 2023-04-05 11:29:19 -04:00
Caleb Ukle f03e903ee9 docs(testing): remove debug section in jest overview (#16124) 2023-04-05 11:14:53 -04:00
Juri Strumpflohner 6f747f9a5c chore(repo): add Juri to nx-dev codeowners (#16119) 2023-04-05 10:56:33 -04:00
Benjamin Cabanes ee1f7c13dd feat(nx-dev): add markdoc title card component (#16098) 2023-04-05 09:14:09 -04:00
Colum Ferry 44c5471dce fix(angular): host and remote app generation with directory (#16113) 2023-04-05 14:13:07 +01:00
Nicholas Cunningham ce308d3d2e docs(node): Add recipe for deploying AWS Lambda in Node.js (#16103) 2023-04-05 08:34:06 -04:00
Leosvel Pérez Espinosa fa349ac784 docs(angular): fix wrong link to angular cli migration docs in plugin overview page (#16110) 2023-04-05 09:52:48 +01:00
Leosvel Pérez Espinosa a0fb3c705e cleanup(angular): consolidate name and path normalization for component, directive and pipe generators (#16108) 2023-04-05 09:50:46 +01:00
Craigory Coppola 18c016bb06 fix(core): don't error if lock file not present when precomputing js dependencies (#16094) 2023-04-04 17:36:58 -04:00
Nicholas Cunningham 9e12953362 docs(node): Add recipe for deploying serverless functions to Netlify (#16068) 2023-04-04 14:20:07 -06:00
Jack Hsu 807884c91d feat(bundling): add support for esbuild.config.js file (#16092) 2023-04-04 19:16:32 +00:00
Benjamin Cabanes e11e5d1929 docs(nx-cloud): update screenshots and information (#15984) 2023-04-04 13:29:53 -04:00
Jack Hsu cfbdde9108 chore(node): increase timeout for Node server e2e test (#16088) 2023-04-04 13:17:27 -04:00
Jack Hsu 2f87661ea2 chore(repo): use --silent when running through yarn to avoid unexpected strings (#16089) 2023-04-04 13:16:52 -04:00
Nicholas Cunningham c02ec9f1f7 fix(js): remove thirdParty default so that package.json will be generated by default (#16015) 2023-04-04 10:53:22 -04:00
Schmale97 36367569f6 fix(esbuild): don't set outfile or outdir if already defined (#14636) 2023-04-04 10:43:38 -04:00
Craigory Coppola 63e67bf142 fix(devkit): tree.children should support writes to directories that have the same name as their parent (#16074) 2023-04-04 09:41:31 -04:00
Rares Matei cd2f41a110 docs(private-cloud): standalone image updates (#16067)
Co-authored-by: Altan Stalker <altan@nrwl.io>
2023-04-04 14:12:10 +01:00
Leosvel Pérez Espinosa 341f573630 cleanup(angular): use generators instead of wrapped ng cli schematics (#16082) 2023-04-04 13:57:26 +01:00
Leosvel Pérez Espinosa 74633f535c fix(angular): fix path handling and validate standalone option in pipe generator (#16080) 2023-04-04 11:28:38 +01:00
Leosvel Pérez Espinosa 29f5326b80 cleanup(angular): update component generator to be more consistent with similar generators (#16078) 2023-04-04 09:12:57 +00:00
Colum Ferry e71d0156b1 feat(angular): export some utils as public api #15669 (#16056) 2023-04-04 09:16:57 +01:00
Jay Bell 6e86866867 feat(core): allow local execution transpiler overriding with env var (#16037) 2023-04-03 22:22:15 -04:00
Craigory Coppola 8092df31e2 fix(core): should not throw 'unable to resolve nx/package.json' (#16072) 2023-04-03 19:25:34 -04:00
Jack Hsu fc459c2928 docs(misc): add Deno deployment recipes (#16066) 2023-04-03 17:34:23 -04:00
Emily Xiong fdbdd989b3 chore(expo): disable expo install e2e tests (#16073) 2023-04-03 20:35:42 +00:00
Benjamin Cabanes 86c256740e docs(nx-cloud): remove side-by-side usage for code (#16065) 2023-04-03 11:49:07 -07:00
Craigory Coppola f0353ea19c chore(repo): exclude closed issues from total count in weekly report (#16070) 2023-04-03 13:26:50 -04:00
Benjamin Cabanes b9c901b58e feat(nx-dev): display toc for smaller viewport sizes (#16061) 2023-04-03 12:15:30 -04:00
Jonathan Cammisuli 762dd1dc21 chore(docs): Add docs for Nx Console telemetry (#16062) 2023-04-03 11:46:37 -04:00
Jack Hsu ea34e88473 chore(nextjs): increase test timeout to avoid intermittent failure (#16059) 2023-04-03 09:26:54 -06:00
Miroslav Jonaš 89d0b8bf6f fix(linter): support ESM js imports in ast utils (#16049) 2023-04-03 10:57:01 -04:00
Dmytro Holysh c3ba5ab66f fix(core): anyOf should validate if at least 1 condition passes (#14769)
Co-authored-by: AgentEnder <craigorycoppola@gmail.com>
2023-04-03 10:50:43 -04:00
Miroslav Jonaš db0fd2f453 feat(repo): add brew cache to preinstall step on nightly (#16048) 2023-04-03 10:36:20 -04:00
Damian Bielecki 40470f19a7 chore(misc): @ns3/nx-playwright community plugin submission (#16008) 2023-04-03 10:33:05 -04:00
Colum Ferry ed6524cbe5 cleanup(js): move assets to js package (#15955) 2023-04-03 10:24:14 -04:00
Miroslav Jonaš 37547bdd33 chore(core): improve create-nx-workspace e2e tests (#16060) 2023-04-03 10:20:01 -04:00
Miroslav Jonaš 7bb8f21b81 chore(repo): remove obsolete root-lint from ci (#16052) 2023-04-03 10:18:23 -04:00
Miroslav Jonaš 45a1a6e9c7 fix(core): fix NX_PERF_LOGGING toggles (#16054) 2023-04-03 10:16:11 -04:00
Colum Ferry c0d95a7b01 fix(misc): allow npmScope to be single @ (#16053) 2023-04-03 10:15:10 -04:00
Leosvel Pérez Espinosa 675a5a9c87 feat(misc): bump tsquery dependency version (#16050) 2023-04-03 10:11:45 -04:00
Katerina Skroumpelou c91c365fa2 fix(storybook): v7 gen docs and install react deps (#16057) 2023-04-03 13:50:53 +00:00
Leosvel Pérez Espinosa bf9542a150 fix(angular): validate standalone option in the directive generator (#16051) 2023-04-03 12:01:20 +01:00
Leosvel Pérez Espinosa 9b60863b7b fix(angular): fix path and selector handling in directive generator (#16017) 2023-04-03 09:50:47 +01:00
Leosvel Pérez Espinosa 1d955d3e18 docs(angular): remove leftovers references to the deleted file-server executor (#16010) 2023-04-03 09:27:53 +01:00
Juri Strumpflohner 059447b2fb fix(nx-dev): adjust tab cmp spacing (#16027) 2023-04-02 16:49:39 -04:00
Craigory Coppola 6ba60a0d2f feat(repo): add recently closed count to issues tracker (#16018) 2023-03-31 17:53:48 -04:00
Craigory Coppola 6e7234c1aa feat(nx-plugin): reuse utilities from create-nx-workspace for create-nx-plugin (#15743) 2023-03-31 17:23:21 -04:00
Jason Jean 39646cfa9a feat(core): allow referencing other packages to specify implementations for executors + generators (#15987) 2023-03-31 17:22:34 -04:00
Jack Hsu bfea455e64 fix(bundling): add missing @babel/core dependency to @nrwl/webpack (#16023) 2023-03-31 16:37:14 -04:00
Craigory Coppola 778400b1cf fix(misc): create-nx-workspace should show some stdout if stderr empty on error (#16020) 2023-03-31 16:27:37 -04:00
Juri Strumpflohner 0833f028a2 docs(nx-dev): remove the "Nx" header and point "Home" to the docs entry page (#16019) 2023-03-31 18:44:03 +00:00
Jack Hsu 65dcb9faad docs(node): add recipe for deploying server to Fly.io (#16013) 2023-03-31 13:44:48 -04:00
Miroslav Jonaš 30f993e57e fix(core): support yarn berry patches in pruned lock file (#15993) 2023-03-31 19:30:29 +02:00
Benjamin Cabanes d9c55aa17c feat(nx-dev): add table of content for documents (#15910) 2023-03-31 12:24:45 -04:00
Luka Furlan 3af649dc3f feat(node): Added E2E project generation option to NestJs app generator (#14805) 2023-03-31 12:20:03 -04:00
FrozenPandaz c60dd8b2f0 chore(misc): publish 15.9.2 2023-03-31 11:23:38 -04:00
Leosvel Pérez Espinosa 4eb7cc7bf1 fix(misc): skip formatting files in nested generator calls (#15961) 2023-03-31 11:22:18 -04:00
Leonardo Guarnieri de Bastiani ba93808a2e fix(detox): typo at buildTarget (#15787) 2023-03-31 11:17:21 -04:00
Jack Hsu 47c671cc4c fix(bundling): pass tsConfig from project when --bundle=false so the correct file is applied (#16006) 2023-03-31 11:12:38 -04:00
Leosvel Pérez Espinosa ad37d779d7 fix(angular): use @nrwl/web:file-server in serve-static targets (#16009) 2023-03-31 11:11:41 -04:00
Miroslav Jonaš 26ad1f6997 fix(repo): increase timeouts until we improve tests (#16007) 2023-03-31 11:06:53 -04:00
Miroslav Jonaš d28c799d61 chore(repo): change to new circleci mac resource class (#16004) 2023-03-31 11:01:49 -04:00
Leosvel Pérez Espinosa 3b22c0cb60 docs(nx-dev): update typedoc version (#15898) 2023-03-31 11:00:06 -04:00
Leosvel Pérez Espinosa 5c33797040 fix(misc): filter shared libraries by import name in module federation helpers (#15980) 2023-03-31 15:45:28 +01:00
Rick nagual a404595be6 fix(react-native): fix pnpm module resolver (#15956) 2023-03-31 10:37:26 -04:00
Ashley Hunter 5211382b96 fix(nextjs): adding "none" style option to next component generator (#15990) 2023-03-31 10:36:57 -04:00
Leosvel Pérez Espinosa 77f2d0ac17 fix(angular): generate ngrx code using rxjs operators from rxjs/operators when workspace has rxjs <7.2.0 (#15977) 2023-03-31 09:51:46 +01:00
Leosvel Pérez Espinosa 6eca9b6c66 fix(core): fix handling of legacy angular versions in nx init (#16000) 2023-03-31 09:50:10 +01:00
Victor Savkin 64b44d3dfb chore(repo): update nx-cloud to 15.3.4 2023-03-30 20:56:15 -04:00
FrozenPandaz 5c3b9976e3 chore(misc): publish 15.9.1 2023-03-30 19:01:29 -04:00
Jason Jean 9723859902 fix(web): add migration for dropped dependencies (#15991) 2023-03-30 22:45:11 +00:00
Craigory Coppola 5d51ed9be5 fix(misc): create-nx-workspace errors should display properly (#15988) 2023-03-30 18:27:36 -04:00
FrozenPandaz d24d850494 chore(misc): publish 15.9.0 2023-03-30 14:51:24 -04:00
Benjamin Cabanes 85aed9e8e4 chore(core): add new nx-cloud logo (#15979) 2023-03-30 12:34:58 -04:00
Miroslav Jonaš 482a77d9ba fix(repo): remove command from the output to match test (#15950) 2023-03-30 11:38:50 -04:00
Jack Hsu 9f395e8169 fix(react): add missing dependencies (#15976) 2023-03-30 09:32:33 -06:00
Juri Strumpflohner ae69ec9dc8 fix(bundling): sourcemaps setting (#15981) 2023-03-30 11:23:46 -04:00
Jay Bell d47d3f125d fix(webpack): configure terser plugin with non-deprecated options for… (#15968) 2023-03-30 11:07:47 -04:00
Jack Hsu 96da56d22f fix(nextjs): ensure requred Next.js packages are always added to generated package.json (#15965) 2023-03-30 09:07:14 -06:00
Craigory Coppola 3575028055 feat(core): version option should display global and local installation separately (#15911) 2023-03-30 10:18:47 -04:00
Craigory Coppola 62c2ebee68 fix(core): hidden executor and generator options shouldn't be displayed in help text (#15967) 2023-03-30 10:18:00 -04:00
Miroslav Jonaš 0cd03005c3 fix(repo): add more granular timeout to nightly runs (#15945) 2023-03-30 12:44:36 +02:00
Katerina Skroumpelou 393949c65f docs(bundling): rspack executor mode (#15963) 2023-03-30 11:01:13 +03:00
Ashley Hunter c30269e952 fix(storybook): install correct dependencies on storybook init when no framework specified (#15966) 2023-03-30 11:00:49 +03:00
Jason Jean 6c453f4ea0 chore(repo): update nx to 15.9.0-rc.1 (#15939) 2023-03-29 17:25:14 -04:00
FrozenPandaz 5d1a02b95d chore(misc): publish 15.9.0-rc.2 2023-03-29 15:37:07 -04:00
Jack Hsu cd16ec3a9e chore(repo): add Cypress cache to top-level install job (#15959) 2023-03-29 15:00:35 -04:00
Colum Ferry 6221cdae45 cleanup(angular): remove devkit schematics from ensured package (#15902) 2023-03-29 16:55:46 +01:00
Jason Jean afdf5ea4ae fix(angular): handle projects with no targets in angular migration (#15940) 2023-03-29 15:41:34 +00:00
Jack Hsu 874b6a5e49 feat(node): add --framework=none to create-nx-workspace for Node projects (#15929) 2023-03-29 11:27:25 -04:00
Colum Ferry defa3505d7 cleanup(angular): remove dep on schematics angular (#15878) 2023-03-29 15:26:36 +01:00
Miroslav Jonaš e4db34a021 fix(node): ensure node e2e test uses unique port to avoid port clashes (#15951) 2023-03-29 10:19:02 -04:00
Miroslav Jonaš 18c8e70e05 fix(web): ensure unique port is used for file server tests (#15952) 2023-03-29 15:59:59 +02:00
Leosvel Pérez Espinosa 986a8c44d8 cleanup(angular): increase e2e test case timeout to account for slower windows runs (#15958) 2023-03-29 14:55:54 +01:00
Leosvel Pérez Espinosa 75f6b98ea8 fix(angular): allow skiping formatFiles in component generator when called from another generator (#15953) 2023-03-29 11:17:52 +01:00
Miroslav Jonaš 65f7fcabbc fix(react): ensureCypressInstallation on e2e tests (#15949) 2023-03-29 11:25:53 +02:00
Katerina Skroumpelou 9e9623e309 fix(storybook): increase timeout of flaky test (#15947) 2023-03-29 09:18:08 +00:00
Leosvel Pérez Espinosa d20bf770ef fix(angular): prevent nested calls to formatFiles in generators (#15946) 2023-03-29 09:46:51 +01:00
Ashley Hunter 8fd5bcf937 fix(react): setParserOptionsProject option should be respected (#15937) 2023-03-29 11:33:02 +03:00
FrozenPandaz c4a23881bf chore(misc): publish 15.9.0-rc.1 2023-03-28 18:52:29 -04:00
Jason Jean 44d090d332 fix(core): fix project graph analysis (#15941) 2023-03-28 18:45:28 -04:00
Miroslav Jonaš 89893b6dd2 fix(repo): switch CI to use pnpm v7 (#15904) 2023-03-28 17:22:36 -04:00
FrozenPandaz 31ab8cc9ec chore(misc): publish 15.9.0-rc.0 2023-03-28 16:25:23 -04:00
Craigory Coppola 814f5b13e8 chore(repo): fix issue delta collection (#15936) 2023-03-28 15:58:57 -04:00
Leosvel Pérez Espinosa 091978bca5 fix(angular): prevent inserting a leading comma in NgModule properties (#15933) 2023-03-28 14:57:44 -04:00
Jason Jean 8cf8f18c1c feat(core): refactor most of js graph work into its own folder (#15365) 2023-03-28 14:57:06 -04:00
Jack Hsu 16b3fa0931 chore(repo): cache Cypress install for nightly tests to avoid "Cypress binary is missing" errors (#15934) 2023-03-28 20:37:43 +02:00
Leosvel Pérez Espinosa 9dbc90d45e cleanup(angular): consolidate and improve e2e-angular-core tests (#15726) 2023-03-28 12:53:33 -04:00
Isaac Mann db20f655d9 docs(core): bad callout in project config page (#15930) 2023-03-28 12:31:07 -04:00
Leosvel Pérez Espinosa c41bbb2f19 docs(angular): suggest the correct ngrx router state serializer in data persistence docs (#15921) 2023-03-28 12:08:59 -04:00
Miroslav Jonaš ae3a55fbf7 feat(repo): add nightly tests for several node versions (#15908) 2023-03-28 15:33:49 +00:00
Miroslav Jonaš 15f6714ab0 docs(linter): add docs on checkDynamicDependenciesExceptions flag (#15885) 2023-03-28 17:04:13 +02:00
Benjamin Cabanes 6749701ed2 fix(nx-dev): add misc style corrections (#15909) 2023-03-28 10:31:39 -04:00
Leosvel Pérez Espinosa 26c864ae6f fix(angular): add angular cache dir to .prettierignore (#15923) 2023-03-28 11:40:32 +01:00
Leosvel Pérez Espinosa b4eef17707 docs(angular): add buildable and publishable libs generation examples in library generator docs (#15922) 2023-03-28 09:52:37 +00:00
Philip Fulcher 74fed92729 fix(graph): fix display of task graph in docs (#15913) 2023-03-27 18:06:46 -04:00
Craigory Coppola 67c6f25025 chore(repo): use dawidd6/action-download-artifact rather than actions/download-artifact for issues scraper (#15917) 2023-03-27 18:05:50 -04:00
Jason Jean 4a55ee9a33 fix(js): run prettier with default options when theres no prettierrc (#15888) 2023-03-27 18:00:24 -04:00
Craigory Coppola 9cdc584dad chore(repo): ensure cache file directory exists during issues scraping (#15916) 2023-03-27 17:45:50 -04:00
Craigory Coppola 77d4089397 chore(repo): use continue-on-error for issue-notifier (#15915) 2023-03-27 17:35:22 -04:00
Craigory Coppola b03d630d57 chore(repo): issues report should still work when no artifact found (#15914) 2023-03-27 17:18:20 -04:00
Craigory Coppola 117868ca3f chore(repo): swap to artifacts rather than cache for issues data (#15912) 2023-03-27 17:10:56 -04:00
Katerina Skroumpelou 4e2b07e179 fix(storybook): improve and simplify e2e tests (#15734) 2023-03-27 15:42:52 +00:00
Miroslav Jonaš 1f935a7361 feat(core): optimize npm pruning path elevation function (#15880) 2023-03-27 11:15:35 -04:00
Miroslav Jonaš 15e29b2a3e fix(linter): remove outdated e2e test check (#15899) 2023-03-27 11:13:10 -04:00
Colum Ferry e96f72b2f5 cleanup(angular): add workaround for schematic usage warning (#15901) 2023-03-27 14:58:45 +00:00
Katerina Skroumpelou b94b669035 fix(storybook): proper user prompts for config generator (#15860) 2023-03-27 10:44:10 -04:00
Miroslav Jonaš eec6041220 fix(repo): add missing git config on nightly for lerna e2e (#15900) 2023-03-27 15:22:39 +02:00
Colum Ferry 597832e88f fix(angular): use @nrwl/web:file-server (#15849) 2023-03-27 09:42:53 +01:00
Caleb Ukle 78fb3b9a4f feat(testing): add cypress-e2e-configuration generator (#15736) 2023-03-24 17:53:47 -04:00
Colum Ferry 18c2d80fe0 docs(angular): add serve target usage #15756 (#15877) 2023-03-24 19:13:15 +00:00
Miroslav Jonaš aee6ece6f8 chore(repo): disable gh workflows for forks (#15887) 2023-03-24 15:03:50 -04:00
Victor Savkin ac7fbbd121 docs(misc): minor changes in dte docs 2023-03-24 13:32:13 -04:00
Emily Xiong 04b6ddb596 feat(react-native): update @react-native-community/cli to 10.2.1 (#15738) 2023-03-24 12:51:35 -04:00
FrozenPandaz 7a07b23de5 chore(misc): publish 15.9.0-beta.11 2023-03-24 11:37:02 -04:00
Jason Jean a8f77df6f1 fix(core): fix bin path (#15883) 2023-03-24 11:35:54 -04:00
Leosvel Pérez Espinosa 20434787a3 cleanup(misc): remove internal rootProject flag from generators that can derive it (#15834) 2023-03-24 13:54:49 +00:00
FrozenPandaz 2c13d4ae3d chore(misc): publish 15.9.0-beta.10 2023-03-23 21:50:51 -04:00
Jason Jean 65be9fcb30 chore(repo): update nx to 15.9.0-beta.9 (#15865) 2023-03-23 17:58:48 -04:00
Emily Xiong 24cb81d9ba feat(core): set interactive true for create-nx-workspace (#15863) 2023-03-23 16:38:39 -04:00
Victor Savkin f384c738a1 chore(repo): update nx-cloud to 15.3.2 2023-03-23 15:17:06 -04:00
Jack Hsu 884c20009f fix(nextjs): deference symlinks when copying public folder to dist (#15862) 2023-03-23 18:09:47 +00:00
Leosvel Pérez Espinosa 7c9b66e24b fix(misc): cleanup deps to support pnpm v7 in create-nx-workspace (#15859) 2023-03-23 11:41:07 -06:00
FrozenPandaz f1dc152024 chore(misc): publish 15.9.0-beta.9 2023-03-23 13:32:51 -04:00
Jack Hsu b3200fb7c4 fix(nextjs): set correct distDir when running production server through Nx (#15861) 2023-03-23 16:57:10 +00:00
Emily Marigold Klassen 8af80de3e7 fix(core): resolve some strip-source-code bugs (#15840) 2023-03-23 11:55:54 -04:00
Jonathan Cammisuli 5712abe670 Revert "fix(core): use relative paths for socket path (#10896)" (#15857) 2023-03-23 15:18:49 +00:00
Jack Hsu e611a0bab7 feat(nextjs): deprecate proxy config option for server executor (#15855) 2023-03-23 09:14:17 -06:00
Craigory Coppola 7d61ae238b fix(misc): prevent --quiet and --verbose from both being true (#15836) 2023-03-23 10:47:43 -04:00
Jack Hsu 7a48214438 fix(nextjs): add missing express dependencies to next plugin (#15854) 2023-03-23 10:15:14 -04:00
Katerina Skroumpelou 64017a27ba feat(vite): add outfile for build executor (#15002) (#15845)
Co-authored-by: Leng, Errong <eleng@bestbuycanada.ca>
2023-03-23 08:13:25 -04:00
Katerina Skroumpelou 750a978b27 fix(storybook): show e2e error only if configureCypress is true (#15832) 2023-03-23 11:11:46 +00:00
Jack Hsu e904e04611 fix(nextjs): add missing style deps for less and stylus (#15839) 2023-03-22 22:05:18 +00:00
Jack Hsu a10628057a chore(repo): add to scripts/depcheck codeowners (#15837) 2023-03-22 17:49:06 -04:00
Caleb Ukle b3dd65adbc feat(storybook): add configureStaticServe option (#15688) 2023-03-22 17:38:32 -04:00
Jack Hsu b124b97c36 feat(testing): add static serve target for e2e tests in CI (#15808) 2023-03-22 18:53:02 +00:00
Colum Ferry 6100064db9 cleanup(angular): add versions util (#15829) 2023-03-22 18:39:08 +00:00
Miroslav Jonaš 4bf652d2e7 fix(node): fix standalone linter setup (#15681) 2023-03-22 14:17:40 -04:00
FrozenPandaz e744f0429f chore(misc): publish 15.9.0-beta.8 2023-03-22 14:14:45 -04:00
Miroslav Jonaš 8cd410a361 fix(core): fix broken path elevation in npm lockfile pruning (#15833) 2023-03-22 14:06:10 -04:00
Jack Hsu c7e49c564a fix(nextjs): produce correct next.config.js file for production server (#15824) 2023-03-22 14:03:09 -04:00
Victor Savkin 5e5a3f7487 chore(repo): update to nx-cloud 15.3.1 2023-03-22 12:35:13 -04:00
Craigory Coppola ac209831ce chore(repo): add github action to prevent merging PRs that are not ready yet (#15822) 2023-03-22 15:25:00 +00:00
Jason Jean b230af225d chore(repo): add ora as a dependency (#15810) 2023-03-22 11:23:46 -04:00
Katerina Skroumpelou d3a85e5450 feat(vite): ts-node register paths in vite (#15629) 2023-03-22 11:02:39 -04:00
Colum Ferry 939f2be750 cleanup(angular): remove duplicated v14 code for application (#15821) 2023-03-22 14:37:00 +00:00
Colum Ferry 1db5fb82b9 cleanup(angular): remove duplicated code for add-linting (#15818) 2023-03-22 14:36:40 +00:00
Colum Ferry ec1d8e1bf9 cleanup(angular): remove v14 folder for init (#15816) 2023-03-22 14:36:22 +00:00
Colum Ferry 44478fb57e cleanup(angular): add warning to schematic usage of generators (#15815) 2023-03-22 11:34:44 +00:00
Colum Ferry 4dbe6a5d5b cleanup(angular): replace wrapAngularDevkitSchematics for component (#15791) 2023-03-22 10:22:19 +00:00
FrozenPandaz 7cb3a3f333 chore(misc): publish 15.9.0-beta.7 2023-03-21 20:36:44 -04:00
Craigory Coppola 0370794e63 feat(core): add --quiet option to suppress generate output (#15802) 2023-03-21 19:53:21 -04:00
Craigory Coppola 6834b658f7 fix(nx-plugin): allow some customization when running nx-plugins (#15438) 2023-03-21 18:35:55 -04:00
Jason Jean 2cc949e2f1 feat(core): show task graph of commands (#15440)
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2023-03-21 18:08:31 -04:00
Craigory Coppola 1e48f6aa22 fix(core): use a main function inside nx.ts to avoid future hoisting issues (#15806) 2023-03-21 16:39:23 -04:00
Craigory Coppola 247e8a2b8a feat(devkit): provide better error messaging when attempting to use a FsTree instance after changes are committed to disk. (#15780) 2023-03-21 16:24:24 -04:00
Emily Xiong a5d12584a1 bugfix(expo): update expo 48.0.6 to use react-native 0.71.4 (#15804) 2023-03-21 15:12:47 -04:00
Jason Jean 28096b8cf6 fix(core): move the daemon stop log out of client (#15783) 2023-03-21 15:04:55 -04:00
Emily Xiong 0cb817b37f feat(react-native): add IntelliJ to react native and expo welcome page (#15744) 2023-03-21 11:37:38 -06:00
Jack Hsu e772ee22bd feat(web): remove hard dependencies on cypress, rollup, jest, and linter (#15797) 2023-03-21 11:46:12 -04:00
Jack Hsu 63cdddfa11 fix(nextjs): handle buildable libs correctly (#15795) 2023-03-21 11:21:02 -04:00
Jack Hsu 7ebca5107e feat(bundling): add for esbuild to enable/disable package.json generation (#15777) 2023-03-21 08:48:16 -04:00
Colum Ferry f10ecc1c8e chore(angular): disable flaky ssr test (#15788) 2023-03-21 10:39:07 +00:00
arjunyel 148f543126 docs(core): use latest for create-nx-workspace (#15518) 2023-03-20 20:31:26 -04:00
Craigory Coppola 52bdab91e4 chore(repo): let lock-threads comb through older issues, so it can get caught up (#15784) 2023-03-20 18:04:16 -04:00
Jason Jean 9c7e67ba6f fix(angular): format files after angular jest migration (#15779) 2023-03-20 17:38:53 -04:00
Jack Hsu 7d9352eb1a fix(bundling): respect --sourcemap option for esbuild (#15778) 2023-03-20 16:46:58 -04:00
Caleb Ukle d1ddd523c2 feat(testing): add --port flag (#15486) 2023-03-20 14:18:46 -04:00
FrozenPandaz 57f97180d4 chore(misc): publish 15.9.0-beta.6 2023-03-20 14:14:14 -04:00
Colum Ferry 2b566df59d cleanup(angular): replace wrapAngularDevkitSchematics for Web Worker (#15769)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-03-20 17:52:56 +00:00
Leosvel Pérez Espinosa fa8ede1b4b cleanup(angular): add unit tests coverage for generating a minimal application (#15693) 2023-03-20 16:00:37 +00:00
Leosvel Pérez Espinosa e9b5181696 cleanup(angular): remove tsconfig.spec.json handling from application generator (#15731) 2023-03-20 10:56:23 -04:00
Miroslav Jonaš 9ef2dd90dd feat(linter): add override for noImportsOfLazyLoadedLibraries (#15670) 2023-03-20 15:24:15 +01:00
Miroslav Jonaš a868bce63b fix(node): align proxy port with default api port (#15754) 2023-03-20 15:16:10 +01:00
Colum Ferry ccf938af69 cleanup(angular): replace wrapAngularDevkitSchematics in library generator (#15714) 2023-03-20 14:01:04 +00:00
Miroslav Jonaš bcca1f591a chore(repo): optimize nightly report for better readability (#15766) 2023-03-20 13:54:19 +01:00
Leosvel Pérez Espinosa cf690c655b cleanup(storybook): fix nested layout e2e test case (#15768) 2023-03-20 12:08:45 +00:00
Leosvel Pérez Espinosa f2fb4c85cf fix(angular): fix wrong tsconfig option name in webpack-dev-server implementation (#15765) 2023-03-20 09:45:28 +00:00
Leosvel Pérez Espinosa a91513d961 fix(angular): do not set angularCompilerOptions in e2e tsconfig when generating an app (#15729) 2023-03-20 09:43:27 +00:00
Jonathan Cammisuli 84075c3a85 fix(core): misc daemon fixes (#15472) 2023-03-19 21:10:53 -04:00
Katerina Skroumpelou 61fb737fba fix(storybook): enable e2e tests (#15709)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2023-03-19 15:29:46 +01:00
Craigory Coppola 7740bb17ce fix(core): add warning if running on an outdated global install (#15443) 2023-03-18 00:52:32 -04:00
FrozenPandaz 02cd5f9445 chore(misc): publish 15.9.0-beta.5 2023-03-17 18:17:28 -04:00
Philip Fulcher 144b1e5e0b chore(graph): remove e2e-graph-client from e2e-matrix (#15732) 2023-03-17 18:16:11 -04:00
Jason Jean 4d9df3d9cb fix(js): do not run prettier when we can run formatFiles (#15740) 2023-03-17 17:32:37 -04:00
Jason Jean 9885ec3199 fix(misc): do not create apps libs for standalone presets (#15741) 2023-03-17 15:48:43 -04:00
Emily Xiong 32198c2e8e chore(testing): speed up react-native and expo e2e tests (#15644) 2023-03-17 14:47:10 -04:00
Caio Oliveira fd11334600 fix(core): combine serial and parallel execution + forward sigint to child process (#13885)
Co-authored-by: AgentEnder <craigorycoppola@gmail.com>
2023-03-17 11:49:21 -04:00
Jason Jean 616f0f0617 fix(core): start path to supporting esm modules (#15684) 2023-03-17 11:30:38 -04:00
Emily Xiong 129cbedc66 feat(core): add entry file for create-nx-workspace (#15610) 2023-03-17 11:30:06 -04:00
Jason Jean b1be092bd4 chore(core): fix angular preset snapshots (#15730) 2023-03-17 11:29:06 -04:00
Lewis Smith f60f8cdc53 fix(core): use relative paths for socket path (#10896)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2023-03-17 10:50:04 -04:00
Craigory Coppola 0af052b18c feat(core): add support for NX_DEFAULT_PROJECT env variable (#15549) 2023-03-17 10:37:15 -04:00
Caleb Ukle 1bca34777a fix(testing): use es2016 for jest-preset-angular projects (#15646) 2023-03-17 10:32:30 -04:00
Jason Jean 1338e5e37e chore(repo): update nx to 15.9.0-beta.4 (#15711) 2023-03-17 10:23:53 -04:00
Colum Ferry d1d69e230c cleanup(angular): replace usage of wrapAngularDevkitSchematics for application (#15698)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2023-03-17 08:34:15 +00:00
FrozenPandaz a52e609101 chore(misc): publish 15.9.0-beta.4 2023-03-16 19:43:26 -04:00
Jason Jean 1e27759bba fix(core): fix NX_TASK_TARGET_CONFIGURATION being set to 'null' (#15725) 2023-03-16 22:39:44 +00:00
Jason Jean 4b9865c187 fix(react): fix next import (#15724) 2023-03-16 15:38:48 -06:00
Craigory Coppola 9791f31c34 fix(core): nx migrate should accept tags other than latest and next for community packages (#15673) 2023-03-16 16:41:21 -04:00
Caleb Ukle 041d3b6565 chore(repo): update codeowners for CT and linter (#15722) 2023-03-16 16:39:29 -04:00
FrozenPandaz 4b41eb7028 chore(misc): publish 15.9.0-beta.3 2023-03-16 16:17:35 -04:00
Jason Jean 583ee1f348 fix(react): print next prod server error in verbose mode (#15721) 2023-03-16 16:00:10 -04:00
Emily Xiong bf88c22bd6 bugfix(react-native): fix the ios 2nd run failed (#15704) 2023-03-16 15:17:02 -04:00
Jason Jean 9a2ce4a86b chore(repo): add more people to approve package.json (#15712) 2023-03-16 14:18:10 -04:00
Leosvel Pérez Espinosa 41dc26c098 chore(repo): sync lock file (#15720) 2023-03-16 14:16:05 -04:00
Richard Versteeg c95b27d80a feat(core): make task runner selection configurable through env variable (#14529) 2023-03-16 14:12:46 -04:00
Colum Ferry 7812f41994 feat(angular): remove protractor (#15627) 2023-03-16 12:38:04 -04:00
Colum Ferry 942f984231 cleanup(angular): use our own pipe for scam-pipe (#15717) 2023-03-16 16:11:52 +00:00
Colum Ferry 5ac7243d4a cleanup(angular): use our own directive for scam-directive (#15715) 2023-03-16 16:11:32 +00:00
Katerina Skroumpelou 5e88d1d7d1 docs(storybook): improve docs around migration and react/angular (#15706) 2023-03-16 17:07:40 +02:00
Craigory Coppola c8208de587 chore(repo): bump lock-threads to hourly until it catches up (#15713) 2023-03-16 10:48:06 -04:00
Miroslav Jonaš c6904619aa fix(angular): fix e2e tests to support pnpm v7 (#15587) 2023-03-16 12:22:22 +01:00
Miroslav Jonaš 10a69b7d0f docs(linter): add API information for enforce-module-boundaries (#15678) 2023-03-16 09:11:00 +00:00
FrozenPandaz 567024e107 chore(misc): publish 15.9.0-beta.2 2023-03-15 18:19:03 -04:00
Miroslav Jonaš 85cd9546a3 feat(repo): improve yarn install caching for nightly (#15683) 2023-03-15 18:13:55 -04:00
Craigory Coppola cc68012978 fix(core): wildcard implicit dependency should support scoped project names (#15699) 2023-03-15 18:11:36 -04:00
Nicholas Cunningham be81405a84 fix(nextjs): refactor how webpack config is loaded with nextjs (#15650)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-03-15 18:07:19 -04:00
Miroslav Jonaš 1b448d21be fix(repo): update @monodon/rust to 1.1.1 (#15695) 2023-03-15 12:00:37 -04:00
FrozenPandaz 0ef06e4af7 chore(misc): publish 15.9.0-beta.1 2023-03-15 11:16:10 -04:00
Philip Fulcher cc8907bb13 chore(graph): reducing flakiness of tests (#15680) 2023-03-15 10:36:35 -04:00
Leosvel Pérez Espinosa 76ec6f9e0f fix(angular): throw error for invalid project name in withModuleFederation helper (#15694) 2023-03-15 14:14:00 +00:00
Craigory Coppola 9897cbeb9a fix(core): apply nxignore after gitignore (#15679) 2023-03-15 09:53:25 -04:00
Leosvel Pérez Espinosa 2e88414d87 cleanup(angular): set up projects in unit tests to avoid missing .gitignore noisy logs (#15691) 2023-03-15 11:09:45 +00:00
Leosvel Pérez Espinosa 8f2830c939 cleanup(angular): remove unused index from schema options using default source projectName (#15672) 2023-03-15 09:22:30 +00:00
Craigory Coppola 72d64b66b0 fix(core): clear line escape code shouldn't erase prefix in output (#15674) 2023-03-15 02:34:43 +00:00
Craigory Coppola cd3d316af4 fix(core): prevent running arbitrary code when attempting to detect plugin capabilities (#15676) 2023-03-15 01:56:37 +00:00
FrozenPandaz b2a467bcb2 chore(misc): publish 14.9.0-beta.1 2023-03-14 20:22:10 -04:00
Miroslav Jonaš 5a9274e57e chore(repo): fix nightly message format (#15663) 2023-03-14 18:08:02 -04:00
Craigory Coppola a950719c71 fix(core): help text shouldn't include .js file extensions on windows (#15677) 2023-03-14 16:29:50 -04:00
Katerina Skroumpelou 5e0cb7cf59 docs(storybook): include note for older name of flag (#15662) 2023-03-14 19:11:26 +00:00
tko39 87a6b3054e fix(misc): cli - case in drive letters - windows (#15643) 2023-03-14 15:08:41 -04:00
Katerina Skroumpelou 8e838b5aac fix(vite): configuration docs and optional chain targets (#15655) 2023-03-14 19:56:04 +02:00
Jason Jean 63eced7fca fix(core): include target and configuration being run in env variables (#15668) 2023-03-14 13:44:33 -04:00
Colum Ferry 9cd28583f6 feat(angular): add pipe generator (#15659) 2023-03-14 17:16:32 +00:00
Leosvel Pérez Espinosa ca8d24b3d4 fix(angular): set projectName as the default source for relevant generators (#15664) 2023-03-14 16:38:35 +00:00
Miroslav Jonaš 425c13448b fix(core): handle missing package version on lockfile parsing (#15648) 2023-03-14 17:20:59 +01:00
Iza Ledzka cd512c47f3 docs(detox): fix typo for script to run test for android in release mode (#15665) 2023-03-14 11:59:21 -04:00
Martin Kapal a491b3522f feat(misc): add a link to Nx Console for IntelliJ on React & Angular Nx welcome page (#15617) 2023-03-14 15:56:30 +00:00
Isaac Mann 10a7e7d3a6 docs(core): escape wildcard in shell (#15395) 2023-03-14 11:47:14 -04:00
Leosvel Pérez Espinosa 87833b913e cleanup(misc): add known preset dependencies before generating it (#15459) 2023-03-14 11:46:45 -04:00
William Neely 46bc6af3c2 fix(misc): move generator should null-check cypress props (#15436) 2023-03-14 11:43:25 -04:00
Colum Ferry 481899ce9f feat(angular): add directive generator (#15630) 2023-03-14 15:31:49 +00:00
Jason Jean 636a74b62a fix(misc): handle standalone repos when removing nested projects (#15609) 2023-03-14 11:30:49 -04:00
Zachary DeRose 5add52bebf fix(core): only perform pattern matching if file input doesn't exist (#15640) 2023-03-14 11:27:25 -04:00
Richard Roozenboom 19eb9efe32 chore(core): nx plugin submission @rbnx/webdriverio (#15649) 2023-03-14 11:25:11 -04:00
Miroslav Jonaš 3f4ba6d2af fix(core): fix invalid yarn parser dependencies grouping key (#15647) 2023-03-14 11:21:58 -04:00
Miroslav Jonaš 8a0398d744 fix(core): ignore missing modules.yaml during postinstall (#15660) 2023-03-14 11:20:41 -04:00
Denis Frenademetz ebdb193f0e feat(core): use inputs to determine package dependencies (#13966) 2023-03-14 11:02:00 -04:00
Craigory Coppola 9acd7757ae fix(core): negative implicit dependencies should exclude statically detected dependencies (#15546) 2023-03-14 09:49:50 -04:00
Leosvel Pérez Espinosa e2a27039c0 fix(misc): filter out deps early based on shared config from module federation (#15654) 2023-03-14 11:34:49 +00:00
Jiby Jose 5937597b74 fix(core): fix pnpm hoisted dependencies resolution with hoisted node-linker (#15594) 2023-03-14 12:01:35 +01:00
Leosvel Pérez Espinosa db682bf7d6 fix(angular): resolve browserTarget options correctly in webpack-dev-server (#15638) 2023-03-14 09:45:27 +00:00
Craigory Coppola 41f094aadf feat(nx-plugin): plugin presets can now be standalone (#15601) 2023-03-13 18:58:03 -04:00
Miroslav Jonaš 7450e724b7 feat(repo): add new flag for verbose e2e logging (#15541) 2023-03-13 17:30:21 +00:00
Jason Jean 7bdeac9400 chore(repo): update nx to 15.9.0-beta.0 (#15636) 2023-03-13 13:19:15 -04:00
Emily Xiong a364252c61 fix(expo): fix expo build-list executor and update examples (#15574) 2023-03-13 13:09:37 -04:00
Leosvel Pérez Espinosa 467be2011d cleanup(misc): unset NODE_ENV=test when running craco in e2e tests (#15632) 2023-03-13 14:38:45 +00:00
Miroslav Jonaš bdc14d787e chore(repo): remove outdated NX_NATIVE_HASHER flag (#15628) 2023-03-13 10:20:19 -04:00
Miroslav Jonaš 5ca2d398b5 chore(repo): ensure correct flags for nightly e2e (#15538) 2023-03-13 13:07:01 +01:00
Miroslav Jonaš 3d76f052f1 feat(repo): make granular slack notifications when E2E tests fail (#15462) 2023-03-13 14:36:08 +04:00
Katerina Skroumpelou 3d29a3001c docs(webpack): react lib does not generate with webpack (#15591) 2023-03-13 11:54:53 +02:00
Ethan Pursley ae6dc6b91d fix(vite): add configuration option for emptyOutDir (#15619) 2023-03-13 11:53:24 +02:00
Emily Xiong b7beb99fe2 fix(expo): fix expo run-ios command (#15582) 2023-03-10 14:15:41 -05:00
Emily Xiong e61759335d feat(react-native): upgrade react native to 0.71.4 (#15599) 2023-03-10 13:58:18 -05:00
FrozenPandaz e3e87f57fd chore(misc): publish 15.9.0-beta.0 2023-03-10 13:20:29 -05:00
Colum Ferry 80f3d03d1d feat(core): move string utils to devkit (#15479) 2023-03-10 13:15:47 -05:00
Colum Ferry c3a58e9c1d feat(core): move forEachExecutorOptions to devkit (#15547) 2023-03-10 17:04:10 +00:00
Leosvel Pérez Espinosa 46b3767303 fix(angular): misc fixes in some generator schemas (#15602) 2023-03-10 16:19:55 +00:00
Leosvel Pérez Espinosa 6c9a0e399c fix(angular): sync missing schema changes in builders (#15600) 2023-03-10 16:15:30 +00:00
Colum Ferry 5b8a663016 cleanup(angular): convert ng cli migrations to nx devkit (#15590) 2023-03-10 15:54:38 +00:00
Miroslav Jonaš e55882f2fc chore(linter): combine tests to reduce total duration (#15596) 2023-03-10 10:52:18 -05:00
Katerina Skroumpelou 2e3e32cf30 feat(storybook): update to v7.0.0-rc (#15584) 2023-03-10 09:56:32 -05:00
Miroslav Jonaš 79256f3d36 chore(linter): fix deprecated ts overloads in e2e tests (#15585) 2023-03-10 08:23:12 -06:00
Katerina Skroumpelou c7525b4c34 fix(storybook): better detection of failed migrations (#15588) 2023-03-10 11:53:32 +00:00
Leosvel Pérez Espinosa 79f88dc7ef cleanup(angular): remove --preserve-angular-cli-layout flag from ng-add generator (#15490) 2023-03-10 09:53:33 +00:00
Leosvel Pérez Espinosa 29be9dbaee cleanup(misc): redirect to nx init when running cra-to-nx (#15568) 2023-03-10 10:19:03 +02:00
Jason Jean ad12ab2ed3 fix(core): shutdown the daemon when it is invalid (#15550) 2023-03-10 01:33:54 -05:00
Jack Hsu d5261fa556 docs(bundling): updating rspack overview and add app generator (#15581) 2023-03-09 19:51:39 -05:00
Jason Jean 5b4015ad89 Revert "chore(misc): update lerna to 6.5.1" (#15578) 2023-03-09 19:25:34 -05:00
Caleb Ukle a67baaa66e fix(nx-plugin): run jest 29 migrations for @nrwl/nx-plugin:e2e (#15551) 2023-03-09 18:02:33 -05:00
Jack Hsu d7a008ff5e docs(bundling): add rspack to docs (#15545) 2023-03-09 18:00:17 -05:00
Miroslav Jonaš 4c9a2ee368 fix(repo): disable long running manual dispatch (#15575) 2023-03-09 17:13:01 -05:00
Victor Savkin 43f21bb7c4 chore(repo): update nx-cloud to 15.2.0 2023-03-09 17:08:28 -05:00
Colum Ferry 361ddb1b0f feat(js): move buildable libs to js (#15558) 2023-03-09 16:36:50 -05:00
Austin Fahsl c447106eea chore(misc): update lerna to 6.5.1 (#15482) 2023-03-09 16:31:39 -05:00
Leosvel Pérez Espinosa 346334935a fix(core): add missing await when migrating monorepo to nx (#15554) 2023-03-09 16:27:21 -05:00
Zachary DeRose 4a8b7ed264 fix(core): interactive migrations should be prompt when necessary (#15572) 2023-03-09 16:03:41 -05:00
Jack Hsu 24b82edbed feat(core): move prettier init logic from @nrwl/workspace to @nrwl/js (#15501) 2023-03-09 16:01:19 -05:00
Katerina Skroumpelou a0e00c85fc fix(core): refactor the logging logic in e2e tests (#15548) 2023-03-09 15:13:32 -05:00
Katerina Skroumpelou 16ad3086be fix(js): libraries should be buildable by default (#15533) 2023-03-09 14:20:19 -05:00
Katerina Skroumpelou eebadef0e6 fix(storybook): fix the path to the template file (#15565) 2023-03-09 18:36:27 +00:00
Leosvel Pérez Espinosa 83f47aa7fc cleanup(core): inline cra migration logic into nx init (#15555) 2023-03-09 17:05:03 +00:00
Emily Xiong 1dec047cc4 docs(expo): update docs and examples for expo (#15474) 2023-03-09 11:08:33 -05:00
Leosvel Pérez Espinosa 85b1f9f150 chore(repo): add code owners for nx init angular migration e2e tests (#15557) 2023-03-09 10:19:14 -05:00
Leosvel Pérez Espinosa 3670f20fdb cleanup(angular): fix unit tests setup so peer deps are not installed with ensurePackage (#15560) 2023-03-09 15:18:04 +00:00
Craigory Coppola 803de0d8be chore(core): updates to nx wrapper and naming (#15552) 2023-03-09 08:38:41 -05:00
Colum Ferry 2ab66dd410 cleanup(angular): remove karma generation support (#15419) 2023-03-09 11:28:31 +00:00
Colum Ferry 98001cc489 cleanup(core): move ast utils to js (#15540) 2023-03-08 18:30:29 -05:00
Colum Ferry 14dd8e1e27 feat(angular): move replaceAppNameWithPath to Angular (#15493)
Co-authored-by: Michael Ziluck <michael@ziluck.com>
2023-03-08 18:28:14 -05:00
Colum Ferry c82ba4e9d4 feat(js): add getSourceNodes to nrwl/js package (#15497) 2023-03-08 18:27:07 -05:00
Leosvel Pérez Espinosa 47c9a7e148 cleanup(misc): redirect to nx init when running add-nx-to-monorepo (#15534) 2023-03-08 18:25:49 -05:00
Leosvel Pérez Espinosa 111ebace3f cleanup(core): inline monorepo migration logic into nx init (#15496) 2023-03-08 18:24:30 -05:00
Leosvel Pérez Espinosa abae7283a3 cleanup(angular): redirect to nx init when running make-angular-cli-faster (#15531) 2023-03-08 18:18:33 -05:00
Emily Marigold Klassen ac9c7e9308 fix(core): issue with registering file dependencies (#15523) 2023-03-08 18:06:08 -05:00
Nicholas Cunningham 0383fa6017 Add e2e tests for nest (#15522) 2023-03-08 11:53:31 -07:00
Jack Hsu a69f8abdf9 fix(node): add default build configuration (#15542) 2023-03-08 12:32:29 -05:00
Leosvel Pérez Espinosa f7367ff0e9 fix(angular): prevent updating unchanged projects when syncing changes to the wrapped tree (#15503) 2023-03-08 17:14:53 +00:00
Nicholas Cunningham 79f5fc3108 feat(node): add nestjs support to node app plugin (#15484) 2023-03-08 11:42:09 -05:00
Miroslav Jonaš 216b961be9 chore(repo): add additional scope to codeowners (#15539) 2023-03-08 11:36:18 -05:00
Katerina Skroumpelou 634f362beb cleanup(storybook): only add storybook to inputs if not there (#15470) 2023-03-08 17:06:32 +02:00
Colum Ferry 5d19b53abc cleanup(js): move createGlobPatternsForDependencies to js (#15466) 2023-03-07 18:16:19 -05:00
Leosvel Pérez Espinosa e1a2c98556 cleanup(core): inline angular cli nested project migration logic into nx init (#15396) 2023-03-07 18:08:10 -05:00
Jason Jean fca1f97ab7 Revert "feat(repo): use pnpm v7 for ci" (#15515) 2023-03-07 18:05:10 -05:00
Caleb Ukle 3a4b108dd8 feat(web): add a generator to add @nrwl/web:file-server target (#15434) 2023-03-07 13:09:57 -06:00
Jack Hsu 47fd3a2d54 feat(core): move checkAndCleanWithSemver to devkit (#15505) 2023-03-07 13:19:46 -05:00
James Henry d0c38b39e7 chore(devkit): fix root when unit testing generators wrapped as schematics (#15506) 2023-03-07 13:06:24 -05:00
Leosvel Pérez Espinosa bfdd2eb5b5 fix(angular): respect cli config and schematics defaults in ng cli adapter (#15510) 2023-03-07 16:53:21 +00:00
Colum Ferry e358849362 docs(core): update deprecated version number (#15491) 2023-03-07 11:41:31 -05:00
Miroslav Jonaš 5d69c4e68d fix(core): catch all lock file parsing/pruning errors and provide fallback (#15158)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2023-03-07 11:20:27 -05:00
Miroslav Jonaš bb34fb0a30 docs(core): update deployment via ci docs (#15504) 2023-03-07 17:13:23 +01:00
Miroslav Jonaš 3d47ef7e1f chore(repo): fix invalid e2e folders (#15507) 2023-03-07 17:13:09 +01:00
Miroslav Jonaš c38ffc9177 feat(repo): use pnpm v7 for ci (#15460) 2023-03-07 11:03:32 -05:00
Miroslav Jonaš 8d3f2bdc17 fix(core): use smarter hoisting of npm packages (#15502) 2023-03-07 11:00:26 -05:00
cbl980226 fc75166f96 fix(misc): ci workflow generator use correct default branch (#15487)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2023-03-07 14:47:26 +00:00
Colum Ferry 14f0f38ee1 cleanup(angular): remove deep import to nrwl/workspace for getNewProjectName (#15494) 2023-03-07 12:19:25 +00:00
Colum Ferry e394220e10 cleanup(angular): import deduceDefaultBase from nx (#15495) 2023-03-07 11:00:17 +00:00
Michael Ziluck 06501e68d0 docs(react): fix grammatical issue with a vs an (#15478) 2023-03-06 19:30:06 -05:00
Jack Hsu d7cd1538e5 fix(bundling): default Node scriptType to CommonJS since it has the widest compatibility (#15483) 2023-03-06 21:45:33 +00:00
Jack Hsu b74fc1b66f chore(repo): add entry for react-native in CODEOWNERS (#15481) 2023-03-06 13:59:56 -05:00
Colum Ferry 8744698a01 feat(devkit): move runTasksInSerial to devkit (#15467) 2023-03-06 13:55:44 -05:00
Jason Jean ffac350e27 fix(core): properly diff json from the merge-base (#15476) 2023-03-06 13:54:20 -05:00
Miroslav Jonaš 7d25c69579 chore(core): fix nx relative paths (#15465) 2023-03-06 12:38:47 -05:00
Colum Ferry 047f2f5e43 cleanup(angular): remove upgrade-module generator (#15418) 2023-03-06 11:57:23 -05:00
Miroslav Jonaš 088a236306 chore(repo): temporarily disabling flaky next test (#15473) 2023-03-06 10:49:47 -05:00
Emily Xiong 6c93378530 feat(react-native): upgrade react-native to 0.71.3 (#15401) 2023-03-06 10:31:00 -05:00
Emily Xiong 67e41da79e feat(expo): upgrade expo to 48 (#15400) 2023-03-06 10:30:44 -05:00
Miroslav Jonaš 82d499c492 feat(repo): use caching for pnpm workspaces in e2e tests (#15461) 2023-03-06 16:20:19 +01:00
Leosvel Pérez Espinosa 02a450e3bb fix(core): ensure correct $schema path is generated when adding project configuration (#15463) 2023-03-06 14:46:26 +00:00
Leosvel Pérez Espinosa fba34ca997 fix(angular): fix rxjs package updates and ensure peer deps are installed before other migrations (#15458) 2023-03-06 10:22:54 +00:00
Katerina Skroumpelou 7d52fc77ff docs(react): buildable lib generation docs (#15422) 2023-03-05 20:00:41 -05:00
Alex Pshul bb13465a09 chore(core): nx plugin submission [@nxazure/func] (#15453) 2023-03-05 16:54:32 -05:00
Craigory Coppola 1eee5f04b5 Revert "fix(core): add warning if running on an outdated global insta… (#15442) 2023-03-03 21:12:28 -05:00
Nicholas Cunningham 9cec533c52 chore(core): Update cacheable message for multiselect (#15161) 2023-03-03 22:22:10 +00:00
Craigory Coppola 9b5b83c3f4 chore(repo): format issue report date a bit nicer (#15439) 2023-03-03 17:09:10 -05:00
Craigory Coppola e773bdbb79 fix(core): add warning if running on an outdated global installation (#15408) 2023-03-03 16:56:48 -05:00
Craigory Coppola 4a53ace70d fix(core): nx migrate should work in encapsulated Nx repos (#15338) 2023-03-03 15:45:42 -05:00
Jason Jean 17a0d2c085 fix(core): do not return a default project when nxJson is undefined (#15432) 2023-03-03 15:35:44 -05:00
Phillip Barta 8c1d035b0b feat(js): added a minimal option to the library generator (#13561) 2023-03-03 19:32:57 +00:00
Jason Jean c956435133 fix(misc): restore tsconfig utils as deprecated in @nrwl/workspace (#15409) 2023-03-03 13:38:21 -05:00
Leosvel Pérez Espinosa 5e12d053a9 fix(testing): fix generated testMatch pattern in jest config to support windows (#15415) 2023-03-03 13:30:32 -05:00
Katerina Skroumpelou 95c832ae91 chore(misc): remove import of nonexistent file on graph storybook (#15383) 2023-03-03 11:50:07 -05:00
Jonathan Cammisuli b0ab036ae4 fix(core): handle .nxignore properly for the native hasher (#15420) 2023-03-03 10:28:58 -05:00
Colum Ferry fb282a48b0 cleanup(angular): remove downgrade-module generator (#15417) 2023-03-03 15:22:35 +00:00
Katerina Skroumpelou 808ca1215c chore(core): rearrange e2e utils (#15421) 2023-03-03 15:22:23 +00:00
Katerina Skroumpelou 399b8a46ec docs(storybook): csf3 stories update (#15423) 2023-03-03 10:08:57 -05:00
Katerina Skroumpelou b84125f9dd fix(js): integrate buildable bundler and compiler options (#15376) 2023-03-03 09:56:57 -05:00
Daniel Grant 18f668fe14 docs(core): add cache troubleshooting case (#14433) 2023-03-03 09:47:34 -05:00
Isaac Mann 6dee75f08c docs(angular): forwarding generators to angular (#15394) 2023-03-03 09:42:13 -05:00
Colum Ferry fde0abf998 cleanup(angular): prune angular migrations (#15416) 2023-03-03 13:41:15 +00:00
Binyamin Yawitz a7738caa70 fix(node) executor bug on Windows (#15368) 2023-03-02 20:05:36 -06:00
Isaac Mann a5a64cd5be docs(core): nx.json extends property (#15393) 2023-03-02 19:59:36 -05:00
Altan Stalker 7df4b2237b docs(core): add note that access tokens must match for dte (#15402) 2023-03-02 19:58:34 -05:00
Deniz Etkar bf94c21114 docs(core): a link typo in the Angular standalone tutorial (#15233) 2023-03-02 19:57:59 -05:00
Caleb Ukle 456391ee34 fix(testing): type the jest nx preset (#15404) 2023-03-02 22:57:05 +00:00
Miroslav Jonaš 9a014c792c fix(core): plugin should not override existing external nodes (#15219) 2023-03-02 17:53:20 -05:00
David Burns 2abfa72bbd chore(core): nx plugin submission @nightwatch/nx (#13401) 2023-03-02 17:47:45 -05:00
Dom Talbot a91d7750c2 chore(core): nx plugin submission nx-mesh (#14438) 2023-03-02 17:43:14 -05:00
Miloš Lajtman a43a99bea5 fix(core): use globbing also for workspace file patterns without '*' (#11298) 2023-03-02 17:30:12 -05:00
Victor Savkin 311dbd079c chore(repo): update repo to use nx-cloud@15.2.0-beta.5 2023-03-02 16:33:09 -05:00
Craigory Coppola a4a9c27637 fix(nx-plugin): e2e utils should work (#15397) 2023-03-02 16:20:45 -05:00
Caleb Ukle 76fcf7a319 fix(web): update snapshots from vite tsconfig changes (#15398) 2023-03-02 15:56:34 -05:00
Craigory Coppola e72f993149 feat(repo): add github action to periodically check issue counts (#15392) 2023-03-02 14:54:12 -05:00
Craigory Coppola 8941063f6e feat(repo): automatically lock closed issues after 30 days of inactivity (#15253) 2023-03-02 14:32:59 -05:00
Caleb Ukle 2e449da177 fix(vite): add missing types for tsconfigs (#15260) 2023-03-02 13:25:57 -06:00
Craigory Coppola bf08714ad5 fix(core): standardize chunking elements passing to cli (#15322) 2023-03-02 14:17:37 -05:00
Isaac Mann 8268207472 docs(nx-cloud): clarify encryption docs (#15391) 2023-03-02 18:33:49 +00:00
Isaac Mann 43f7a39fe4 docs(core): last successful commit in Azure (#15321)
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
2023-03-02 13:07:40 -05:00
Isaac Mann 9c7c69415e docs(react): add missing async in code example (#15387) 2023-03-02 13:07:24 -05:00
Isaac Mann abd51a3258 chore(repo): update CODEOWNERS setting (#15382) 2023-03-02 13:01:39 -05:00
Ruben Casas c05425104e fix(react): fixes library type not passed to the module federation conf (#15385) 2023-03-02 19:49:01 +02:00
Jason Jean 66f498ac8a fix(devkit): allow ensured packages to resolve from workspace node_mo… (#15386) 2023-03-02 12:45:36 -05:00
Craigory Coppola 0aff9dcd5b fix(core): last project should be visible in nx show projects (#15335) 2023-03-02 10:39:58 -05:00
Emily Xiong 3ef5406fb8 chore(testing): reduce create-workspace --preset=npm e2e time (#15239) 2023-03-02 10:38:18 -05:00
Jack Hsu aaed63ba18 fix(core): mark package.json dependencies as static (#15381) 2023-03-02 10:17:42 -05:00
Jason Jean 65aac8ea17 fix(js): fix parsing link dependencies in yarn (#15364) 2023-03-02 10:16:33 -05:00
Katerina Skroumpelou 4f8a6fc538 docs(storybook): migrate-7 version availability (#15375) 2023-03-02 10:11:03 -05:00
Benjamin Cabanes 814aee56d2 docs(core): remove outdated documents (#15254) 2023-03-02 09:42:16 -05:00
Jason Jean 7aac67c783 fix(core): handle file renames properly for affected (#15340) 2023-03-01 18:59:36 -05:00
Craigory Coppola c9244d2536 fix(core): encapsulated nx repos should invoke wrapper when invoked via npx or global install (#15337) 2023-03-01 16:05:31 -05:00
Isaac Mann 2791444b56 docs(core): update affected:apps new command (#15327) 2023-03-01 15:32:16 -05:00
Miroslav Jonaš e767fa4e2a fix(linter): ensure ast file detection supports tsx files (#15345) 2023-03-01 15:14:02 -05:00
Jack Hsu b7ef261182 fix(bundling): use a range rather than ^ for vitest peer dependency … (#15362) 2023-03-01 12:27:56 -07:00
Miroslav Jonaš f6dd44145f fix(repo): improve nightly workflow setup (#15358) 2023-03-01 13:46:39 -05:00
Katerina Skroumpelou df4efc281f feat(storybook): version 7 automigrate integration (#15136) 2023-03-01 13:41:51 -05:00
Benjamin Cabanes 872dcc8547 chore(core): fix browserslist typo (#15309) 2023-03-01 12:25:33 -05:00
Katerina Skroumpelou 3d4e542823 fix(vite): root for running the builder (#15359) 2023-03-01 19:12:11 +02:00
Chau Tran c981ac2e0d fix(js): handle swcrc path mappings if specified (#15328) 2023-03-01 10:05:56 -07:00
Nicholas Cunningham b40c9fa88f fix(node): lint generator aware that app is root (#15355) 2023-03-01 16:54:47 +00:00
Isaac Mann 82170c85d8 docs(core): reference minimatch library (#15317) 2023-03-01 11:23:32 -05:00
Isaac Mann 572f1e85af docs(core): remove IE 11 (#15325) 2023-03-01 11:22:30 -05:00
Isaac Mann 0366eeaab6 docs(core): update buildable project deps description (#15331) 2023-03-01 11:22:09 -05:00
Isaac Mann eab1479f48 docs(core): add note to restart ts server (#15334) 2023-03-01 11:21:46 -05:00
Jonathan Cammisuli b87f838e9a fix(core): inline source maps for local nx plugins (#15336) 2023-02-28 17:24:34 -05:00
Caleb Ukle cd8daa913d docs(testing): clarify apps & libs can be component tested (#15261) 2023-02-28 15:43:02 -06:00
Caleb Ukle 2d2804b0c1 fix(testing): only install dependency for the desired --testEnvironment (#15244) 2023-02-28 16:38:01 -05:00
Caleb Ukle e8f19d8cb0 fix(testing): walk all project deps to check if CT project is used in buildTarget (#15252) 2023-02-28 16:33:46 -05:00
Caleb Ukle c099f79d09 docs(testing): add info about setupNodeEvents for more customizations (#15262) 2023-02-28 16:14:00 -05:00
Victor Savkin 1c6b80a927 docs(misc): fix a typo 2023-02-28 15:17:27 -05:00
Victor Savkin fc8f038cef docs(misc): fix a typo 2023-02-28 15:14:20 -05:00
Victor Savkin bdc7a2ca5a docs(misc): remove a misleading sentence 2023-02-28 15:08:59 -05:00
Victor Savkin 5ee6fdbf36 docs(misc): minor rewording 2023-02-28 14:56:52 -05:00
Victor Savkin 1f0954bd3f chore(repo): update nx-cloud to 15.2.0-beta.2 2023-02-28 14:19:11 -05:00
FrozenPandaz e05c5c4d61 chore(misc): publish 15.8.1 2023-02-28 14:14:18 -05:00
FrozenPandaz fad9516a08 chore(misc): publish 15.8.0 2023-02-28 13:18:24 -05:00
Jason Jean 1726f2f1a4 chore(repo): update nx to 15.8.0-beta.9 (#15329) 2023-02-28 13:16:00 -05:00
FrozenPandaz 8d236a2e71 Revert "chore(misc): publish 15.8.0"
This reverts commit d21eb1d896.
2023-02-28 13:05:04 -05:00
Jason Jean 1d8ff47dc8 Revert "chore(repo): update nx to 15.8.0-beta.8" (#15323) 2023-02-28 12:07:33 -05:00
FrozenPandaz d21eb1d896 chore(misc): publish 15.8.0 2023-02-28 11:50:57 -05:00
Craigory Coppola 94d2162dc8 fix(core): nx connect should work for encapsulated repos (#15310) 2023-02-28 11:40:19 -05:00
Jason Jean 9c09e95cd1 chore(repo): update nx to 15.8.0-beta.8 (#15311) 2023-02-28 11:28:41 -05:00
Craigory Coppola 031005fe22 fix(core): listing plugin capabilities causes issues when returning null (#15308) 2023-02-28 10:53:54 -05:00
Craigory Coppola 1975181c20 fix(core): replace require(path/posix) for better node compatibility range (#15307) 2023-02-27 18:43:50 -05:00
Craigory Coppola 22970b8d6b fix(core): nx affected should not differ if in child directory (#15304) 2023-02-27 17:28:31 -05:00
Jason Jean 92610fe4b6 chore(repo): update nx to 15.8.0-beta.7 (#15293) 2023-02-27 17:24:06 -05:00
FrozenPandaz 521a404cb1 chore(misc): publish 15.8.0-beta.8 2023-02-27 17:16:25 -05:00
Victor Savkin ad26b55672 cleanup(misc): remove unused imports 2023-02-27 16:07:58 -05:00
Craigory Coppola a60bfc224e fix(linter): init should succeed if project has null targets (#15255) 2023-02-27 16:06:17 -05:00
Craigory Coppola 0a9c2000c3 fix(core): nx migrate should not prompt if on CI server (#15256) 2023-02-27 16:05:17 -05:00
Craigory Coppola ee3413b517 fix(misc): fix description for @nrwl/workspace:fix-configuration (#15302) 2023-02-27 16:03:09 -05:00
Jack Hsu 430afe3529 fix(js): update migration to point to 15.8.0 instead of 15.8.1 (#15303) 2023-02-27 15:59:42 -05:00
Mitchell 7668b7f4b7 docs(webpack): fix withWeb plugin generateIndexHtml option description (#15197) 2023-02-27 14:55:36 -05:00
Emily Xiong 0f313e51ff fix(react-native): fix the android error for react-native-config (#15290) 2023-02-27 14:39:09 -05:00
Jack Hsu 346f5f9f0b feat(react): update React packages and types (#15300) 2023-02-27 14:27:09 -05:00
Miroslav Jonaš 729ff7eac2 fix(core): remove logs on missing hoisted package (#15295) 2023-02-27 18:57:27 +01:00
FrozenPandaz ade2026570 chore(core): fix build 2023-02-27 12:45:02 -05:00
Leosvel Pérez Espinosa 50c0dac986 fix(devkit): ensure readTargetOptions is compatible with nx supported range (#15296) 2023-02-27 12:11:02 -05:00
Jason Jean 3d4f590c07 fix(core): do not add typescript in new empty repos (#15163)
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2023-02-27 12:08:36 -05:00
Victor Savkin 825ba04015 feat(misc): add the ability to vary parallel between tasks runner invocations 2023-02-27 12:07:26 -05:00
Jack Hsu 17e6bdedc7 fix(bundling): allow transitive external packages to be specified tha… (#15289) 2023-02-27 09:52:06 -07:00
MaxKless c153918b24 docs(misc): update overview of nx console on main page and integrate with editors page (#15238)
Co-authored-by: Ben <3447705+bcabanes@users.noreply.github.com>
2023-02-27 17:01:55 +01:00
Victor Savkin 3195fe06e4 docs(core): typo in the task pipelines guide 2023-02-26 15:40:50 -05:00
Jason Jean 84fedf36e0 Revert "chore(repo): update nx to 15.8.0-beta.6" (#15274) 2023-02-26 12:39:15 -05:00
Benjamin Cabanes bdb454d28e chore(nx-dev): throw error if no dependency found when expected (#15272) 2023-02-26 10:02:26 -05:00
Jason Jean 3c50474f40 chore(repo): update nx to 15.8.0-beta.6 (#15247) 2023-02-26 02:26:53 -05:00
FrozenPandaz 3982f44bb4 chore(misc): publish 15.8.0-beta.7 2023-02-25 20:59:37 -05:00
Jonathan Cammisuli 24452aac70 chore(core): delete local .node files before publish (#15268) 2023-02-25 20:54:57 -05:00
Mayfield 0b30f1fce7 fix(core): building project graphs is broken for Windows (#15257) 2023-02-25 19:03:51 -05:00
Victor Savkin 15019cfcec docs(nx-cloud): add a missing command in the guide on setting up a k8s cluster 2023-02-24 21:42:10 -05:00
Victor Berchet 510b2b595a cleanup(core): fix file names (#15245) 2023-02-24 17:20:57 -05:00
Miroslav Jonaš eede1abf35 fix(core): change error handling threshold on create-nx-workspace (#15176)
Co-authored-by: AgentEnder <craigorycoppola@gmail.com>
2023-02-24 17:11:54 -05:00
Victor Savkin 892dbe8134 chore(repo): upgrade nx-cloud to 15.2.0-beta.1 2023-02-24 16:17:15 -05:00
Craigory Coppola a815be56ef fix(core): ignored directories should never contain projects (#15242) 2023-02-24 16:14:41 -05:00
Benjamin Cabanes 2f09cf4e3e chore(nx-dev): split markdown rendering & upgrade markdoc (#15232) 2023-02-24 14:49:00 -05:00
FrozenPandaz 5fa5f551c8 chore(misc): publish 15.8.0-beta.6 2023-02-24 13:35:47 -05:00
Caleb Ukle 8c7a27f3da fix(testing): use root preset for snapshot config changes first (#15237) 2023-02-24 12:11:31 -06:00
Jonathan Cammisuli 0a8c5db482 docs(core): update watch recipe to include windows env (#15240) 2023-02-24 12:59:33 -05:00
Colum Ferry f9564e0610 feat(angular): support ngrx 15.3 (#15226) 2023-02-24 12:44:36 -05:00
Jack Hsu d8f9f32e7a fix(react): update types for "@nrwl/react/plugins/webpack" for projec… (#15235) 2023-02-24 18:43:29 +02:00
Craigory Coppola 17d898af73 chore(repo): add wildcard rule to codeowners (#15236) 2023-02-24 11:19:56 -05:00
Miroslav Jonaš 3be23e021d fix(core): do not expect each package to have hoisted version (#15229) 2023-02-24 11:19:44 -05:00
Blake Petersen bf7ae6df6c fix(react): typo in next.config.js__tmpl__ (#15210) 2023-02-24 11:17:28 -05:00
Caleb Ukle 5ddd657a42 chore(repo): enable cypress in CI (#15155) 2023-02-24 11:16:19 -05:00
Ondřej Staněk 00c858ee27 fix(react): do not overwrite package.json start script (#15091)
Co-authored-by: Ondrej Stanek <ondrej@ostan.cz>
2023-02-24 11:11:52 -05:00
Jason Jean 52a62a4866 chore(core): disable js code analysis when typescript is not installed (#15211) 2023-02-24 11:09:55 -05:00
Miroslav Jonaš 8579ce5d96 fix(core): add hash to external nodes while parsing lock-file (#15218) 2023-02-24 10:59:39 -05:00
Jack Hsu 53a1c427e4 fix(bundling): copy initial assets correctly in watch mode for esbuild (#15230) 2023-02-24 10:54:08 -05:00
Chau Tran 65b1cdd5e3 fix(node): use shorthand run-commands for docker build (#15231) 2023-02-24 15:49:29 +00:00
Colum Ferry 88199e5653 fix(angular): ngrx should attach to parent routes correctly (#15221) 2023-02-24 15:26:03 +00:00
Caleb Ukle 5bc73d345c fix(testing): automatically enable coverage with --coverage flag for vitest (#15204) 2023-02-24 08:59:45 -06:00
Isaac Mann a0186de55f docs(core): node server video (#15203) 2023-02-24 09:27:40 -05:00
Rafael Mestre 0b44520557 docs(core): add documentation for x-dropdown generator option (#15225) 2023-02-24 09:27:10 -05:00
Jack Hsu c08823abb9 fix(node): use shorter run-commands options for docker-build (#15224) 2023-02-24 09:16:55 -05:00
Leosvel Pérez Espinosa b488f6483a fix(angular): make webpack-browser executor watch changes correctly in incremental builds setups (#15222) 2023-02-24 14:10:47 +00:00
Chau Tran 281881d268 fix(js): use .swcrc for swcrc path for swc lib (#15205) 2023-02-24 08:55:47 -05:00
Colum Ferry f2faf22790 feat(angular): add option to enable/disable cors for file-server (#15220) 2023-02-24 12:01:52 +00:00
Leosvel Pérez Espinosa 12fff86d29 fix(angular): show actionable error when component resource is not found in ng-packagr executors (#15217) 2023-02-24 10:20:10 +00:00
Craigory Coppola 8a58cdd2d6 fix(core): nx list should work as expected in encapsulated repo (#15200) 2023-02-24 02:55:33 +00:00
FrozenPandaz 6b0b30ed40 chore(misc): publish 15.8.0-beta.5 2023-02-23 19:18:44 -05:00
Leosvel Pérez Espinosa e54ee0a0a6 fix(core): prevent duplicated migration prompts (#15202) 2023-02-23 18:47:16 -05:00
Craigory Coppola ba6cc33893 fix(core): generate prompts should not fail due to bad schema (#15201) 2023-02-23 16:04:51 -05:00
Caleb Ukle 8a97b43eb1 feat(testing): jest 29 support (#14701) 2023-02-23 14:30:47 -06:00
Leosvel Pérez Espinosa 096905cbcb fix(core): improve running migrations for older workspaces (#15174) 2023-02-23 15:09:28 -05:00
FrozenPandaz 8d9603f0e8 chore(misc): publish 15.8.0-beta.4 2023-02-23 14:02:01 -05:00
Nicholas Cunningham 6d499047dd docs(node): change Node Tutorial to Node Server Tutorial (#15180) 2023-02-23 10:59:22 -07:00
Nicholas Cunningham bde61d89dc fix(core): Fix issue when no scripts are found in package.json (#15160) 2023-02-23 10:04:26 -07:00
Colum Ferry 9efcf044c9 feat(angular): support Angular 15.2 (#14953) 2023-02-23 11:56:41 -05:00
Craigory Coppola cddfa094c5 fix(core): param prompts should not accept empty string for required properties (#15157) 2023-02-23 11:55:51 -05:00
Jack Hsu ca087edfa5 fix(react): do not install webpack and jest when cra-to-nx is using vite (#15194) 2023-02-23 15:47:58 +00:00
Leosvel Pérez Espinosa 57c0b7bcd4 fix(core): handle positional args correctly for run command (#15193) 2023-02-23 15:33:07 +00:00
Jason Jean da579aced3 fix(react): fix typo in cra-to-nx (#15183) 2023-02-23 10:14:16 -05:00
Colum Ferry 02091ca5f4 fix(core): remove unused logic around ng cli (#15178) 2023-02-23 15:12:13 +00:00
Katerina Skroumpelou 6c059eab7d feat(storybook): csf3 stories generator (#15192) 2023-02-23 15:11:41 +00:00
Katerina Skroumpelou ceb6ff346d docs(vite): fix example for dts plugin (#15190) 2023-02-23 10:07:23 -05:00
Chau Tran 2f4f28760f fix(js): generate correct build options for rollup bundler; by defaul… (#15184) 2023-02-23 10:01:15 -05:00
MaxKless 16023ea679 docs(core): add docs for new x-priority option (#15187) 2023-02-23 09:28:24 -05:00
Katerina Skroumpelou d35c75fa53 chore(storybook): remove typecast if not viteFinal (#15189) 2023-02-23 14:06:07 +02:00
FrozenPandaz cbf33c4786 chore(misc): publish 15.8.0-beta.3 2023-02-22 18:58:05 -05:00
Jason Jean fa6e8ea987 fix(js): refactor ensurePackage (#15074) 2023-02-22 18:47:40 -05:00
Craigory Coppola 73bc2e1c91 fix(bundling): libs generated with @nrwl/js:lib --bundler rollup should build (#15179) 2023-02-22 17:05:04 -05:00
Craigory Coppola 902f644697 fix(core): generator prompt should not throw in encapsulated mode (#15182) 2023-02-22 21:58:10 +00:00
Jason Jean 23de5b7982 chore(devkit): cleanup exports in nx-reexports file (#15164) 2023-02-22 12:49:25 -05:00
Nicholas Cunningham eb977bfd6c fix(js): default build should work when rollup is selected (#14971) 2023-02-22 10:32:26 -07:00
Oliver Hoffmann 828eff7a55 fix(detox): Update rn and expo buildTargets (#15073) 2023-02-22 10:33:56 -05:00
Colum Ferry 0f95773560 fix(angular): add routes correctly (#15171) 2023-02-22 15:17:11 +00:00
Ronaldo Maciel ba7377595f fix(react): fix skipRemotes in moduleFederationDevServer (#14172)
Co-authored-by: rsmaciel <rsmaciel@rederecord.com.br>
2023-02-22 16:45:26 +02:00
Miroslav Jonaš bacd875904 fix(linter): check for source package.json on banTransitiveDependencies (#15169) 2023-02-22 15:18:30 +01:00
Miroslav Jonaš e0b3e01ba6 chore(repo): add James as codeowner on linter (#15170) 2023-02-22 14:35:16 +01:00
Craigory Coppola e91e2c5b93 feat(devkit): add method to read installed Nx version (#14669) 2023-02-22 00:54:54 +00:00
Craigory Coppola 7a1bc34890 fix(core): workspaceRoot/node_modules/.bin should be in path during nx exec (#15165) 2023-02-22 00:48:07 +00:00
Colum Ferry e053e06679 fix(angular): allow boolean usage of the prompts (#15083) 2023-02-21 19:04:54 -05:00
Craigory Coppola 3b5adfdf67 fix(core): target project locator should handle node:module imports (#15104) 2023-02-21 18:15:39 -05:00
Craigory Coppola 356ce90fb1 fix(misc): remove generator should not warn of nested projects on windows for non-nested-project (#15162) 2023-02-21 18:15:35 -05:00
Philip Fulcher 19edd02967 feat(graph): enable task graph error tooltips (#15076) 2023-02-21 22:02:07 +00:00
Miroslav Jonaš f71865f68f fix(core): fix lock file parsing issues (#15052) 2023-02-21 16:51:00 -05:00
FrozenPandaz 5a67ea3e0f chore(misc): publish 15.8.0-beta.2 2023-02-21 16:16:40 -05:00
Victor Savkin 9a18f68851 feat(core): add a command to run tasks imperatively 2023-02-21 15:03:57 -05:00
titan-ron 6796bce5fb docs(nx-plugin): fix typo of generate nx-plugin example (#15143) 2023-02-21 14:01:42 -05:00
Samuel Fernández 0f92f52d9d feat(core): migrate command can succeed if no migrations.json using flag --if-exists (#14578)
Co-authored-by: AgentEnder <craigorycoppola@gmail.com>
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-21 13:24:08 -05:00
Leosvel Pérez Espinosa cde7cf9a50 feat(core): support collecting migrations excluding the already applied ones (#14968) 2023-02-21 17:54:36 +00:00
Jack Hsu a45d52e9e6 fix(node): support custom import paths based on tsconfig when building node apps (#15154) 2023-02-21 12:49:49 -05:00
Colum Ferry 19bfd8ef6a cleanup(testing): ensure cypress installed for comp tests (#15147) 2023-02-21 17:33:50 +00:00
Leosvel Pérez Espinosa 61e28c63c3 fix(angular): write config correctly when using the angular cli adapter (#15133) 2023-02-21 17:31:09 +00:00
Altan Stalker f8d49951b5 docs(core): explicitly mention installing the Github app in cloud VCS docs (#15152) 2023-02-21 11:25:44 -05:00
Miroslav Jonaš 8d4855de61 feat(core): add full dependency information to project graph file dependencies (#14893) 2023-02-21 10:39:44 -05:00
Shai Reznik 00828fd615 chore(core): nx plugin submission qwik-nx (#15145) 2023-02-21 10:24:03 -05:00
Leosvel Pérez Espinosa 3b056e51f5 fix(core): normalize project config paths to properly match them when combining them (#15149) 2023-02-21 10:23:19 -05:00
Benjamin Cabanes 580459bccb chore(nx-dev): add back padding bottom for cards (#15151) 2023-02-21 10:22:27 -05:00
Katerina Skroumpelou ba90186628 docs(webpack): explain babelUpwardRootMode option (#15132) 2023-02-21 08:47:46 -05:00
Leosvel Pérez Espinosa 891e7e6d67 fix(angular): use sync host when generating code with angular cli schematics (#15137) 2023-02-21 09:02:03 +00:00
Dmitriy Stepanenko b8e66790a6 feat(nx-plugin): add lint option for the e2e generator (#15140) 2023-02-20 17:00:14 -05:00
Colum Ferry 576bec2553 chore(misc): fix failing test (#15131) 2023-02-20 12:36:04 -05:00
Katerina Skroumpelou b934edc3dc chore(storybook): remove old change-storybook-targets generator (#15126) 2023-02-20 16:43:54 +00:00
Katerina Skroumpelou 929bece2fb docs(storybook): reorder guides and refine config guide (#15128) 2023-02-20 16:43:37 +00:00
Jack Hsu bce05aebd8 feat(node): create fastify setup closer to what fastify-cli creates (#15096) 2023-02-18 15:23:56 +00:00
Jack Hsu 71fd015f3d fix(js): do not generate tsconfig.base.json when creating standalone projects (#15099)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-17 20:43:03 -05:00
Craigory Coppola 804cb95dff fix(core): misc encapuslated mode fixes (#15075) 2023-02-17 23:31:39 +00:00
Craigory Coppola 6ff04d5a9b fix(nx-plugin): local plugin execution should work with ts-node (#15066) 2023-02-17 22:25:30 +00:00
Jonathan Cammisuli 7d80f25833 feat(core): use the native hasher by default (#15071) 2023-02-17 17:17:03 -05:00
Craigory Coppola e575c49c3e fix(core): nx plugin cache should load new plugins (#15072) 2023-02-17 16:17:03 -05:00
Colum Ferry 1e6a4f8e65 feat(angular): prompt users for standalone components in application (#14987) 2023-02-17 20:44:10 +00:00
Victor Savkin 2899b3abfb fix(misc): isCI should return a boolean 2023-02-17 15:17:54 -05:00
Jonathan Cammisuli bae35db0db chore(repo): update @monodon/rust to 1.0.0 (#15095) 2023-02-17 15:13:44 -05:00
Stefano Formicola b7272e33cd feat(react-native): run-android support --active-arch-only flag (#15050)
Co-authored-by: Stefano Formicola <stefano.formicola@cloudacademy.com>
2023-02-17 14:28:19 -05:00
Jonathan Cammisuli 4f45212303 chore(core): nx plugin submission @monodon/rust (#15094) 2023-02-17 13:39:46 -05:00
Jack Hsu 40007a1d53 feat(node): add support for workspace libs when not bundling (#15069) 2023-02-17 17:56:55 +00:00
Colum Ferry 2a76e20d67 fix(core): fix setting of the interactive env var (#15084)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2023-02-17 17:31:48 +00:00
Leosvel Pérez Espinosa 3a98c6d3ab feat(misc): support ts 4.9 (#14899) 2023-02-17 17:23:05 +00:00
Katerina Skroumpelou 5d54f71398 fix(webpack): add babelUpwardRootMode (#15061) 2023-02-17 17:09:57 +00:00
Leosvel Pérez Espinosa 2011e29dc3 fix(angular): handle projects without name in angular cli adapter (#15089) 2023-02-17 15:27:45 +00:00
Leosvel Pérez Espinosa a1a1cdaf4a fix(angular): support large buffers in angular cli adapter (#15082) 2023-02-17 15:17:29 +00:00
MaxKless 861bad90d8 cleanup(react): replace misnamed x-priority:hidden values (#15087) 2023-02-17 17:04:50 +02:00
Katerina Skroumpelou 5c0a3f925f chore(react): skipFormat true when generating app in test (#15086) 2023-02-17 10:01:21 -05:00
James Henry 7372d0bfed docs(nx-dev): improve docs for special syntax in nx.json (#15085) 2023-02-17 14:03:46 +00:00
Phillip Barta 6751958143 cleanup(webpack): remove unused dependency webpack-merge (#15047) 2023-02-17 13:40:53 +02:00
Phillip Barta 0c230c8f8b feat(webpack): update less to v4.1.3 (#15048) 2023-02-17 13:40:41 +02:00
Phillip Barta 428391e124 cleanup(bundling): replace fs-extra.removeSync() with fs.rmSync() (#15051) 2023-02-17 13:40:27 +02:00
Katerina Skroumpelou bb51e98190 fix(react): install @nrwl/webpack when migrating (#15062) 2023-02-17 13:33:18 +02:00
Dan Roujinsky 2a77436118 fix(webpack): restore supporting a configuration array (#14977) 2023-02-17 13:33:07 +02:00
FrozenPandaz 347d6dd920 chore(misc): publish 15.8.0-beta.1 2023-02-16 18:03:39 -05:00
Jan Krüger 15d5acd120 fix(react): add override to class component render() method (#13743) 2023-02-16 15:36:12 -07:00
Altan Stalker ff085425ca docs(core): update k8s setup guide (#15067) 2023-02-16 18:21:44 +00:00
Rares Matei fd1f7b7cfb docs(nx-cloud): update private cloud release notes (#15065) 2023-02-16 13:08:37 -05:00
Emily Xiong a97212b601 feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
Colum Ferry f913b905a1 feat(angular): add option for custom path to manifest file (#15053)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-02-16 16:12:20 +00:00
Leosvel Pérez Espinosa 3eeb4a3e4d fix(core): run migrations with sync host (#15010) 2023-02-16 10:44:08 -05:00
Katerina Skroumpelou 3d89a02bea fix(storybook): dont touch config if is already using new schema (#15056) 2023-02-16 17:33:25 +02:00
Leosvel Pérez Espinosa 0385682dbb fix(angular): bump generated rxjs version (#15054) 2023-02-16 15:30:18 +00:00
Colum Ferry 40deb00035 feat(core): add interactive env var (#14994) 2023-02-16 08:54:59 -05:00
Craigory Coppola 497a90edce fix(js): don't read dependency package.json if it doesn't exist (#15037) 2023-02-16 08:38:29 -05:00
Katerina Skroumpelou a364dabcd3 fix(storybook): make v7 generator ignore uiFramework (#15023) 2023-02-16 11:21:03 +00:00
Phillip Barta 8748660705 cleanup(core): replace fs-extra.removeSync() with fs.rmSync() (#15007) 2023-02-16 04:31:20 -05:00
Leosvel Pérez Espinosa cf6bd75339 chore(repo): add granular scope for angular shared docs (#14984) 2023-02-16 04:30:28 -05:00
Dmitriy Stepanenko 8ce0b3cdc7 fix(vite): explicitly export type instead of a value from d.ts files (#15029) 2023-02-16 10:25:42 +02:00
Isaac Mann fd6f427997 docs(core): standalone tutorial cards in 3 columns (#15027) 2023-02-15 21:11:24 -05:00
FrozenPandaz ae5d6e5c48 chore(misc): publish 15.8.0-beta.0 2023-02-15 18:30:58 -05:00
Jason Jean 48571b6443 chore(storybook): fix failing snapshot test (#15036) 2023-02-15 17:59:53 -05:00
Miroslav Jonaš 9b51f6b0aa fix(linter): add node_modules to linter ignore patterns (#14980) 2023-02-15 17:06:18 -05:00
Craigory Coppola 56289555fc feat(core): nx report should support encapsulated installs (#15032) 2023-02-15 16:29:31 -05:00
Josef Bredreck b0f68aa0d7 feat(misc): package.json output cosmetics (#14938) 2023-02-15 15:34:58 -05:00
Phillip Barta 92747011ff cleanup(core): use existing readJson function and remove extra dependency (#15006) 2023-02-15 15:33:23 -05:00
Craigory Coppola 91546e43ac feat(core): nx migrate should support encapsulated installations (#15001) 2023-02-15 19:38:08 +00:00
William Sedlacek f479de7d76 fix(core): support decorators in local executor and generator runs (#15025) 2023-02-15 13:42:13 -05:00
Katerina Skroumpelou 7e1ffc0d6b fix(storybook): dont fail migration if stories array is missing (#15017) 2023-02-15 16:17:14 +00:00
Leosvel Pérez Espinosa 3bb87eac3f fix(misc): fix moving a project into a subfolder (#14988) 2023-02-15 16:05:07 +00:00
Isaac Mann 76d9f8bdc7 docs(core): node-server standalone tutorial (#14627) 2023-02-15 10:51:05 -05:00
Colum Ferry 73cd931441 docs(angular): add a callout for usage with Tailwind with Module Federation #14970 (#15009) 2023-02-15 15:50:18 +00:00
Phillip Barta 673fff6dfb cleanup(webpack): replace fs-extra.removeSync() with fs.rmSync() and remove dependency fs-extra (#15008) 2023-02-15 17:07:07 +02:00
William Sedlacek 8db4673a67 fix(linter): ng-package.json format (#14996) 2023-02-15 12:36:08 +01:00
Katerina Skroumpelou 1b64e17d4e fix(storybook): v7 vite settings docs remove rootMain (#14992) 2023-02-15 13:10:28 +02:00
CallMe AsYouFeel bd2a1aea03 feat(bundling): make rollup executor return outfile for node executor (#14989) 2023-02-15 13:08:43 +02:00
Nicholas Cunningham ba19dc00ac fix(js): remove plugins from esbuild will be done as a feature (#14997) 2023-02-14 18:55:30 -05:00
Craigory Coppola 46b6a710c0 feat(core): support encapsulated nx install (#14705) 2023-02-14 23:46:06 +00:00
Craigory Coppola 24e87e6cc4 feat(core): allow loading env vars by target and configuration (#14998) 2023-02-14 22:24:08 +00:00
Craigory Coppola d7c8e03b5e fix(core): local plugins should work under yarn workspaces (#14995) 2023-02-14 16:49:06 -05:00
Miroslav Jonaš 8165459568 feat(linter): add support for full regexes in tag matching (#14982) 2023-02-14 11:55:24 -05:00
Miroslav Jonaš b583f89095 fix(core): skip peer deps from devDependencies on createPackageJson (#14958) 2023-02-14 11:50:09 -05:00
Colum Ferry 041121e420 docs(angular): fix the description of the standalone components option (#14950) 2023-02-14 11:16:30 -05:00
Emily Xiong 032efc2cfb fix(angular): ensure peer deps are installed when initializing the plugin (#14906)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-02-14 11:07:51 -05:00
Jason Jean 3c13444aa8 chore(repo): update nx to 15.7.0-beta.6 (#14975) 2023-02-14 10:40:24 -05:00
Victor Savkin ea440ae33a fix(core): correctly set default configuration name for dependent tasks 2023-02-14 10:17:09 -05:00
JKapitein 3032c7592b fix(core): do not always use yarn as package manager in the gitlab ci t… (#14978) 2023-02-14 15:35:18 +01:00
Katerina Skroumpelou bff786962b fix(vite): set root and path on dts plugin (#14964) 2023-02-14 12:08:46 +00:00
Leosvel Pérez Espinosa 391457585f docs(core): update nx migrate advance recipe with optional package updates handling (#14824) 2023-02-14 00:04:27 -05:00
Leosvel Pérez Espinosa 9cb6005d0a docs(angular): update migration from angular cli docs to reflect angular 14 support on latest nx (#14774) 2023-02-14 00:04:17 -05:00
Leosvel Pérez Espinosa f6ec64d735 docs(angular): update nx and angular versions compatibility matrix with angular v14 support in latest nx (#14734) 2023-02-14 00:04:05 -05:00
Leosvel Pérez Espinosa 3aa20d7d43 docs(core): document --interactive flag for the migrate command (#14837) 2023-02-14 00:02:28 -05:00
MaxKless 20b66fc750 fix(core): sort --help output by flag priority (#14869) 2023-02-13 23:56:23 -05:00
Isaac Mann 916b67824c docs(core): fix broken link (#14976) 2023-02-13 22:01:56 -05:00
4880 changed files with 238718 additions and 266428 deletions
+57 -68
View File
@@ -5,76 +5,69 @@ version: 2.1
# -------------------------
orbs:
nx: nrwl/nx@1.6.1
node: circleci/node@5.0.2
rust: circleci/rust@1.6.0
browser-tools: circleci/browser-tools@1.4.0
# -------------------------
# DEFAULTS
# EXECUTORS
# -------------------------
machine:
pre:
- mkdir ~/.cache/yarn
- mkdir ~/.cache/Cypress
- mkdir ~/Library/Caches/Homebrew
- mkdir /usr/local/Homebrew
dependencies:
cache_directories:
- ~/.cache/yarn
- ~/.cache/Cypress
- /usr/local/Homebrew
- ~/Library/Caches/Homebrew
override:
- yarn install
- brew install
defaults: &defaults
working_directory: ~/repo
# -------------------------
# EXECUTORS
# -------------------------
executors:
linux:
<<: *defaults
docker:
- image: cimg/rust:1.66.1-browsers
- image: cimg/rust:1.70.0-browsers
resource_class: medium+
macos:
<<: *defaults
resource_class: macos.x86.medium.gen2
macos:
xcode: &_XCODE_VERSION '13.0.0'
xcode: '14.2.0'
# -------------------------
# COMMANDS
# -------------------------
commands:
run-yarn-install:
run-pnpm-install:
parameters:
os:
type: string
steps:
- restore_cache:
name: Restore Yarn Package Cache
name: Restore pnpm Package Cache
keys:
- node-deps-{{ arch }}-v1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
- node-deps-{{ arch }}-v3-{{ checksum "pnpm-lock.yaml" }}
- when:
condition:
equal: [<< parameters.os >>, linux]
steps:
- run:
name: Install pnpm package manager (linux)
command: |
npm install --prefix=$HOME/.local -g @pnpm/exe@8.3.1
- when:
condition:
equal: [<< parameters.os >>, macos]
steps:
- run:
name: Install pnpm package manager (macos)
command: |
npm install -g @pnpm/exe@8.3.1
- run:
name: Install dependencies
command: yarn install --prefer-offline --frozen-lockfile --non-interactive --cache-folder ~/.cache/yarn
name: Install Dependencies
command: |
pnpm install --frozen-lockfile
- save_cache:
name: Save Yarn Package Cache
key: node-deps-{{ arch }}-v1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
name: Save pnpm Package Cache
key: node-deps-{{ arch }}-v3-{{ checksum "pnpm-lock.yaml" }}
paths:
- node_modules
- ~/.cache/yarn
- ~/.pnpm-store
- ~/.cache/Cypress
install-pnpm:
steps:
- run:
name: Install PNPM
command: npm install --prefix=$HOME/.local -g pnpm@6.32.4
- node_modules
setup:
parameters:
@@ -108,19 +101,13 @@ commands:
equal: [<< parameters.os >>, linux]
steps:
- run:
command: sudo apt-get install -y ca-certificates
command: |
sudo apt-get update
sudo apt-get install -y ca-certificates lsof
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- node/install:
# Use LTS version
node-version: ''
- run-yarn-install:
- run-pnpm-install:
os: << parameters.os >>
- when:
condition:
equal: [<< parameters.os >>, linux]
steps:
- install-pnpm
# -------------------------
# JOBS
@@ -145,10 +132,10 @@ jobs:
GIT_COMMITTER_NAME: Test
NX_E2E_CI_CACHE_KEY: e2e-circleci-<< parameters.os >>
SELECTED_PM: << parameters.pm >>
NX_E2E_RUN_CYPRESS: 'false'
NX_VERBOSE_LOGGING: 'true'
NX_E2E_RUN_E2E: 'true'
NX_VERBOSE_LOGGING: 'false'
NX_NATIVE_LOGGING: 'false'
NX_PERF_LOGGING: 'false'
NX_NATIVE_HASHER: 'true'
steps:
- run:
name: Configure git metadata (needed for lerna smoke tests)
@@ -158,12 +145,12 @@ jobs:
- run:
name: Set dynamic nx run variable
command: |
echo "export NX_RUN_GROUP=\"run-group-<< parameters.os >>-$CIRCLE_WORKFLOW_ID\";" >> $BASH_ENV
echo "export NX_CI_EXECUTION_ENV=\"<< parameters.os >>\";" >> $BASH_ENV
- setup:
os: << parameters.os >>
- run:
name: Agent
command: npx nx-cloud start-agent
command: pnpm nx-cloud start-agent
no_output_timeout: 60m
# -------------------------
@@ -173,23 +160,23 @@ jobs:
executor: linux
environment:
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux
NX_VERBOSE_LOGGING: 'true'
NX_VERBOSE_LOGGING: 'false'
NX_DAEMON: 'true'
NX_PERF_LOGGING: 'false'
NX_NATIVE_HASHER: 'true'
NX_NATIVE_LOGGING: 'false'
steps:
- run:
name: Set dynamic nx run variable
command: |
echo "export NX_RUN_GROUP=\"run-group-linux-$CIRCLE_WORKFLOW_ID\";" >> $BASH_ENV
echo "export NX_CI_EXECUTION_ENV=\"linux\";" >> $BASH_ENV
- setup:
os: linux
- nx/set-shas:
main-branch-name: 'master'
- run: npx nx-cloud start-ci-run --stop-agents-after="e2e"
- run: pnpm nx-cloud start-ci-run --stop-agents-after="e2e"
- run:
name: Check Documentation
command: npx nx documentation --no-dte
command: pnpm nx documentation --no-dte
no_output_timeout: 20m
- run:
name: Run Checks/Lint/Test/Build
@@ -197,18 +184,18 @@ jobs:
command: |
pids=()
npx nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD &
pnpm nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD &
pids+=($!)
npx nx run-many -t root-lint check-imports check-commit check-lock-files depcheck --parallel=1 --no-dte &
pnpm nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte &
pids+=($!)
yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
pnpm nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
pids+=($!)
yarn nx affected --target=test --base=$NX_BASE --head=$NX_HEAD --parallel=1 &
pnpm nx affected --target=test --base=$NX_BASE --head=$NX_HEAD --parallel=1 &
pids+=($!)
(yarn nx affected --target=build --base=$NX_BASE --head=$NX_HEAD --parallel=3 &&
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-storybook,e2e-storybook-angular --parallel=1) &
(pnpm nx affected --target=build --base=$NX_BASE --head=$NX_HEAD --parallel=3 &&
pnpm nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --parallel=1) &
pids+=($!)
for pid in "${pids[@]}"; do
@@ -221,22 +208,24 @@ jobs:
executor: macos
environment:
NX_E2E_CI_CACHE_KEY: e2e-circleci-macos
NX_DAEMON: 'true'
NX_DAEMON: 'false' # TODO: set to true after #18410
NX_PERF_LOGGING: 'false'
NX_NATIVE_HASHER: 'true'
SELECTED_PM: 'npm' # explicitly define npm for macOS tests
NX_SKIP_NX_CACHE: 'true' # TODO: Remove after #18410
steps:
- run:
name: Set dynamic nx run variable
command: |
echo "export NX_RUN_GROUP=\"run-group-macos-$CIRCLE_WORKFLOW_ID\";" >> $BASH_ENV
echo "export NX_CI_EXECUTION_ENV=\"macos\";" >> $BASH_ENV
- setup:
os: macos
- rust/install
- nx/set-shas:
main-branch-name: 'master'
- run:
name: Run E2E Tests for macOS
# FIXME: remove --exclude=e2e-detox once we have a fix for the detox tests
command: |
npx nx run-many -t e2e-macos --parallel=1 --exclude=e2e-detox
pnpm nx affected -t e2e-macos --parallel=1 --base=$NX_BASE --head=$NX_HEAD
no_output_timeout: 45m
# -------------------------
+28
View File
@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "NxDevContainer",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
"features": {
"ghcr.io/devcontainers/features/rust:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// 4211 = nx graph port
"forwardPorts": [4211],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install",
"customizations": {
"vscode": {
"extensions": ["nrwl.angular-console"]
}
}
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
+1
View File
@@ -0,0 +1 @@
node_modules
+46 -5
View File
@@ -5,17 +5,58 @@
"node": true
},
"ignorePatterns": ["**/*.ts"],
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": [],
"plugins": ["@typescript-eslint", "@nx"],
"extends": ["plugin:storybook/recommended"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off"
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-restricted-imports": ["error", "create-nx-workspace"],
"@typescript-eslint/no-restricted-imports": [
"error",
{
"patterns": [
{
"group": ["nx/src/plugins/js*"],
"message": "Imports from 'nx/src/plugins/js' are not allowed. Use '@nx/js' instead"
}
]
}
],
"storybook/no-uninstalled-addons": [
"error",
{
"ignore": ["@nx/react/plugins/storybook"]
}
]
},
"overrides": [
{
"files": ["**/executors/**/schema.json", "**/generators/**/schema.json"],
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {}
},
{
"files": ["**/executors/**/schema.json", "**/generators/**/schema.json"],
"rules": {
"@nrwl/nx/workspace/valid-schema-description": "error"
"@nx/workspace/valid-schema-description": "error"
}
},
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"checkDynamicDependenciesExceptions": [".*"],
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
}
]
+11 -2
View File
@@ -1,7 +1,6 @@
name: 🐞 Bug Report
description: This form is to report unexpected behavior in Nx.
labels: ["type: bug"]
labels: [ "type: bug" ]
body:
- type: markdown
attributes:
@@ -54,6 +53,16 @@ body:
label: Failure Logs
description: Please include any relevant log snippets or files here. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: os
attributes:
label: Operating System
description: What Operating System are you using?
options:
- label: macOS
- label: Linux
- label: Windows
- label: Other (Please specify)
- type: textarea
id: additional
attributes:
@@ -5,6 +5,27 @@ _[Please make sure you have read the submission guidelines before posting an PR]
Thanks for submitting your Nx Plugin to our community plugins list. Make sure to follow these steps to ensure that your PR is approved in a timely manner.
## Plugin Requirements
Before you submit your plugin to be listed in our registry, it needs to meet the following requirements:
- Run some kind of automated e2e tests in your repository
- Include `@nx/devkit` as a `dependency` in the plugin's `package.json`
- List a `repository.url` in the plugin's `package.json`
i.e.
```
{
"repository": {
"type": "git",
"url": "https://github.com/nrwl/nx.git",
"directory": "packages/web"
}
}
```
Note: We reserve the right to remove unmaintained plugins from the registry. If the plugins become maintained again, they can be resubmitted to the registry.
## Steps to Submit Your Plugin
- Use the following commit message template: `chore(core): nx plugin submission [PLUGIN_NAME]`
- Update the `community/approved-plugins.json` file with a new entry for your plugin that includes `name`, `url`, `description`:
@@ -21,7 +42,7 @@ Example:
}]
```
Once merged, your will plugin will be available when running the `nx list` command, and will also be available in the Plugin browser on [nx.dev](https://nx.dev)
Once merged, your plugin will be available when running the `nx list` command, and will also be available in the Plugin Registry on [nx.dev](https://nx.dev/extending-nx/registry)
-->
# Community Plugin Submission
+21
View File
@@ -0,0 +1,21 @@
name: Unmergable Labels Check
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
jobs:
do-not-merge:
if: ${{ github.repository_owner == 'nrwl' }}
name: Prevent Merging
runs-on: ubuntu-latest
steps:
- name: Check for label
run: |
echo "${{ toJSON(github.event.*.labels.*.name) }}"
node -e 'const forbidden = ["target: next major version", "pr status: needs tests", "pr status: in-progress", "blocked: needs rebase", "pr status: do not merge"];
const match = ${{ toJSON(github.event.*.labels.*.name) }}.find(l => forbidden.includes(l.toLowerCase()));
if (match) {
console.log("Cannot merge PRs that are labeled with " + match);
process.exit(1)
}'
+548 -95
View File
@@ -6,122 +6,344 @@ on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
env:
CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/.cypress
permissions: {}
jobs:
e2e:
permissions:
contents: read # to fetch code (actions/checkout)
preinstall:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
include:
- os: ubuntu-latest
os-name: ubuntu
- os: macos-latest
os-name: osx
node_version:
- '16'
- 19
- 18
- 16
exclude:
# run just node v18 on macos
- os: macos-latest
node_version: 19
- os: macos-latest
node_version: 16
name: Cache install (${{ matrix.os }}, node v${{ matrix.node_version }})
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PNPM
run: |
npm install -g @pnpm/exe@8.3.1
- name: Set node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
lookup-only: true
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ matrix.node_version }}-${{ github.run_id }}
- name: Install packages
if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile
- name: Homebrew cache directory path
if: ${{ matrix.os == 'macos-latest' }}
id: homebrew-cache-dir-path
run: echo "dir=$(brew --cache)" >> $GITHUB_OUTPUT
- name: Cache Homebrew
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/cache@v3
with:
lookup-only: true
path: ${{ steps.homebrew-cache-dir-path.outputs.dir }}
key: brew-${{ matrix.node_version }}
restore-keys: |
brew-
- name: Cache Cypress
id: cache-cypress
uses: actions/cache@v3
with:
lookup-only: true
path: '${{ github.workspace }}/.cypress'
key: ${{ runner.os }}-cypress
- name: Install Cypress
if: steps.cache-cypress.outputs.cache-hit != 'true'
run: npx cypress install
e2e:
needs: preinstall
permissions:
contents: read
runs-on: ${{ matrix.os }}
timeout-minutes: 90
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
node_version:
- 19
- 18
- 16
package_manager:
- npm
- yarn
- pnpm
packages:
project:
- e2e-angular-core
- e2e-angular-extensions
- e2e-nx-run,e2e-nx-misc,e2e-nx-plugin
- e2e-make-angular-cli-faster
- e2e-jest
- e2e-linter
- e2e-cypress
- e2e-react
- e2e-detox
- e2e-esbuild
- e2e-expo
- e2e-jest
- e2e-js
- e2e-lerna-smoke-tests
- e2e-linter
- e2e-next
- e2e-node
- e2e-web
- e2e-storybook,e2e-storybook-angular
- e2e-workspace-create
- e2e-nx-init
- e2e-nx-misc
- e2e-nx-plugin
- e2e-nx-run
- e2e-react-core
- e2e-react-extensions
- e2e-react-native
# - e2e-detox
- e2e-add-nx-to-monorepo
- e2e-graph-client
exclude:
# exclude react-native and detox from ubuntu
- e2e-web
- e2e-rollup
- e2e-storybook
- e2e-storybook-angular
- e2e-vite
- e2e-webpack
- e2e-workspace-create
- e2e-workspace-create-npm
include:
# os short names
- os: ubuntu-latest
packages: e2e-react-native
# - os: ubuntu-latest
# packages: e2e-detox
# run just npm on macos
os_name: 'Linux'
- os: macos-latest
os_name: 'MacOS'
# test timeouts
- os: ubuntu-latest
os_timeout: 60
- os: macos-latest
os_timeout: 90
# codeowner groups
- project: e2e-angular-core
codeowners: 'S04SS457V38'
- project: e2e-angular-extensions
codeowners: 'S04SS457V38'
- project: e2e-cypress
codeowners: 'S04T16BTJJY'
- project: e2e-detox
codeowners: 'S04TNCNJG5N'
- project: e2e-esbuild
codeowners: 'S04SJ6HHP0X'
- project: e2e-expo
codeowners: 'S04TNCNJG5N'
- project: e2e-jest
codeowners: 'S04T16BTJJY'
- project: e2e-js
codeowners: 'S04SJ6HHP0X'
- project: e2e-lerna-smoke-tests
codeowners: 'S04TNCVEETS'
- project: e2e-linter
codeowners: 'S04SYJGKSCT'
- project: e2e-next
codeowners: 'S04TNCNJG5N'
- project: e2e-node
codeowners: 'S04SJ6HHP0X'
- project: e2e-nx-init
codeowners: 'S04SYHYKGNP'
- project: e2e-nx-misc
codeowners: 'S04SYHYKGNP'
- project: e2e-nx-plugin
codeowners: 'S04SYHYKGNP'
- project: e2e-nx-run
codeowners: 'S04SYHYKGNP'
- project: e2e-react-core
codeowners: 'S04TNCNJG5N'
- project: e2e-react-extensions
codeowners: 'S04TNCNJG5N'
- project: e2e-react-native
codeowners: 'S04TNCNJG5N'
- project: e2e-web
codeowners: 'S04SJ6PL98X'
- project: e2e-rollup
codeowners: 'S04SJ6PL98X'
- project: e2e-storybook
codeowners: 'S04SVQ8H0G5'
- project: e2e-storybook-angular
codeowners: 'S04SVQ8H0G5'
- project: e2e-vite
codeowners: 'S04SJ6PL98X'
- project: e2e-webpack
codeowners: 'S04SJ6PL98X'
- project: e2e-workspace-create
codeowners: 'S04SYHYKGNP'
- project: e2e-workspace-create-npm
codeowners: 'S04SYHYKGNP'
exclude:
# exclude react-native tests from ubuntu
- os: ubuntu-latest
project: e2e-react-native
- os: ubuntu-latest
project: e2e-detox
- os: ubuntu-latest
project: e2e-expo
# exclude non-CNW/Lerna tests from non-LTS node versions
- node_version: 16
project: e2e-angular-core
- node_version: 16
project: e2e-angular-extensions
- node_version: 16
project: e2e-cypress
- node_version: 16
project: e2e-detox
- node_version: 16
project: e2e-esbuild
- node_version: 16
project: e2e-expo
- node_version: 16
project: e2e-jest
- node_version: 16
project: e2e-js
- node_version: 16
project: e2e-linter
- node_version: 16
project: e2e-next
- node_version: 16
project: e2e-node
- node_version: 16
project: e2e-nx-init
- node_version: 16
project: e2e-nx-misc
- node_version: 16
project: e2e-nx-plugin
- node_version: 16
project: e2e-lerna-smoke-tests
- node_version: 16
project: e2e-react-core
- node_version: 16
project: e2e-react-extensions
- node_version: 16
project: e2e-react-native
- node_version: 16
project: e2e-web
- node_version: 16
project: e2e-rollup
- node_version: 16
project: e2e-storybook
- node_version: 16
project: e2e-storybook-angular
- node_version: 16
project: e2e-vite
- node_version: 16
project: e2e-webpack
- node_version: 19
project: e2e-angular-core
- node_version: 19
project: e2e-angular-extensions
- node_version: 19
project: e2e-cypress
- node_version: 19
project: e2e-detox
- node_version: 19
project: e2e-esbuild
- node_version: 19
project: e2e-expo
- node_version: 19
project: e2e-jest
- node_version: 19
project: e2e-js
- node_version: 19
project: e2e-linter
- node_version: 19
project: e2e-next
- node_version: 19
project: e2e-node
- node_version: 19
project: e2e-nx-init
- node_version: 19
project: e2e-nx-misc
- node_version: 19
project: e2e-nx-plugin
- node_version: 19
project: e2e-lerna-smoke-tests
- node_version: 19
project: e2e-react-core
- node_version: 19
project: e2e-react-extensions
- node_version: 19
project: e2e-react-native
- node_version: 19
project: e2e-web
- node_version: 19
project: e2e-rollup
- node_version: 19
project: e2e-storybook
- node_version: 19
project: e2e-storybook-angular
- node_version: 19
project: e2e-vite
- node_version: 19
project: e2e-webpack
# run just npm v18 on macos
- os: macos-latest
package_manager: yarn
- os: macos-latest
package_manager: pnpm
# exclude everything but react-native and detox from macos
- os: macos-latest
packages: e2e-angular-core,e2e-angular-extensions
node_version: 16
- os: macos-latest
packages: e2e-nx-run,e2e-nx-misc,e2e-nx-plugin,e2e-jest,e2e-linter
- os: macos-latest
packages: e2e-cypress
- os: macos-latest
packages: e2e-react
- os: macos-latest
packages: e2e-next
- os: macos-latest
packages: e2e-node
- os: macos-latest
packages: e2e-web
- os: macos-latest
packages: e2e-storybook,e2e-storybook-angular
- os: macos-latest
packages: e2e-workspace-create
- os: macos-latest
packages: e2e-add-nx-to-monorepo
- os: macos-latest
packages: e2e-graph-client
- os: macos-latest
packages: e2e-make-angular-cli-faster
node_version: 19
fail-fast: false
name: ${{ matrix.os-name }}/${{ matrix.package_manager }} - ${{ matrix.packages }}
name: ${{ matrix.os_name }}/${{ matrix.package_manager }}/${{ matrix.node_version }} ${{ join(matrix.project) }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare dir for output
run: mkdir -p outputs
- name: Install PNPM
if: ${{ matrix.package_manager == 'pnpm' }}
uses: pnpm/action-setup@v2
with:
version: 7.1.0
run: |
npm install -g @pnpm/exe@8.3.1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
registry-url: http://localhost:4872
cache: 'pnpm'
- name: Yarn cache directory path
id: yarn-cache-dir-path
shell: bash
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ matrix.os }}-node-${{ matrix.node_version }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ matrix.os }}-node-${{ matrix.node_version }}-yarn-
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ matrix.node_version }}-${{ github.run_id }}
- name: Install packages
run: yarn install --prefer-offline --frozen-lockfile --non-interactive
run: pnpm install --frozen-lockfile
- name: Cleanup
if: ${{ matrix.os == 'ubuntu-latest' }}
@@ -138,7 +360,7 @@ jobs:
- name: Homebrew cache directory path
if: ${{ matrix.os == 'macos-latest' }}
id: homebrew-cache-dir-path
run: echo "::set-output name=dir::$(brew --cache)"
run: echo "dir=$(brew --cache)" >> $GITHUB_OUTPUT
- name: Cache Homebrew
if: ${{ matrix.os == 'macos-latest' }}
@@ -149,6 +371,17 @@ jobs:
restore-keys: |
brew-
- name: Cache Cypress
id: cache-cypress
uses: actions/cache@v3
with:
path: '${{ github.workspace }}/.cypress'
key: ${{ runner.os }}-cypress
- name: Install Cypress
if: steps.cache-cypress.outputs.cache-hit != 'true'
run: npx cypress install
- name: Install applesimutils, reset ios simulators
if: ${{ matrix.os == 'macos-latest' }}
run: |
@@ -156,59 +389,279 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null
xcrun simctl shutdown all && xcrun simctl erase all
- name: Configure git metadata (needed for lerna smoke tests)
run: |
git config --global user.email test@test.com
git config --global user.name "Test Test"
- name: Set starting timestamp
id: before-e2e
run: |
echo "timestamp=$(date +%s)" >> $GITHUB_OUTPUT
- name: Run e2e tests
run: yarn nx run-many --target=e2e --projects="${{ join(matrix.packages) }}" --parallel=1
id: e2e-run
run: pnpm nx run-many -t e2e,e2e-macos -p ${{ matrix.project }}
timeout-minutes: ${{ matrix.os_timeout }}
env:
GIT_AUTHOR_EMAIL: test@test.com
GIT_AUTHOR_NAME: Test
GIT_COMMITTER_EMAIL: test@test.com
GIT_COMMITTER_NAME: Test
NX_E2E_CI_CACHE_KEY: e2e-gha-${{ matrix.os }}-${{ matrix.node_version }}-${{ matrix.package_manager }}
NX_E2E_RUN_CYPRESS: ${{ 'true' }}
NODE_OPTIONS: --max_old_space_size=8192
SELECTED_PM: ${{ matrix.package_manager }}
npm_config_registry: http://localhost:4872
YARN_REGISTRY: http://localhost:4872
NX_VERBOSE_LOGGING: ${{ 'true' }}
NX_E2E_SKIP_BUILD_CLEANUP: ${{ 'true' }}
NX_CACHE_DIRECTORY: ${{ 'tmp' }}
NX_CACHE_DIRECTORY: 'tmp'
NX_E2E_SKIP_BUILD_CLEANUP: 'true'
NX_E2E_RUN_E2E: 'true'
NX_E2E_VERBOSE_LOGGING: 'true'
NX_PERF_LOGGING: 'false'
NX_DAEMON: 'true'
- name: Save matrix config in file
if: ${{ always() }}
id: save-matrix
shell: bash
run: |
before=${{ steps.before-e2e.outputs.timestamp }}
now=$(date +%s)
delta=$(($now - $before))
matrix=$((
echo '${{ toJSON(matrix) }}'
) | jq --argjson delta $delta -c '. + { "status": "${{ steps.e2e-run.outcome}}", "duration": $delta }')
echo "$matrix" > matrix
path=outputs/${{ matrix.os_name}}-${{ matrix.node_version}}-${{ matrix.package_manager}}-${{ matrix.project }}
echo "path=$path" >> $GITHUB_OUTPUT
echo "$matrix" > $path
- name: Upload matrix config
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: outputs
path: ${{ steps.save-matrix.outputs.path }}
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled && failure() }}
uses: mxschmitt/action-tmate@v3.8
timeout-minutes: 15
report-success:
if: ${{ success() && github.repository_owner == 'nrwl' && github.event_name == 'workflow_dispatch' }} # only once it's fixed on manual dispatch
needs: e2e
process-result:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Report success
needs: e2e
outputs:
message: ${{ steps.process-json.outputs.SLACK_MESSAGE }}
proj-duration: ${{ steps.process-json.outputs.SLACK_PROJ_DURATION }}
pm-duration: ${{ steps.process-json.outputs.SLACK_PM_DURATION }}
codeowners: ${{ steps.process-json.outputs.CODEOWNERS }}
steps:
- name: Load outputs
uses: actions/download-artifact@v3
with:
name: outputs
path: outputs
- name: Join and stringify matrix configs
id: combine-json
run: |
combined=$((jq -s . outputs/*) | jq tostring)
echo "combined=$combined" >> $GITHUB_OUTPUT
- name: Make slack outputs
id: process-json
uses: actions/github-script@v6
env:
GITHUB_TOKEN: ${{ github.token }}
with:
script: |
const combined = JSON.parse(${{ steps.combine-json.outputs.combined }});
const failedProjects = combined.filter(c => c.status === 'failure').sort((a, b) => a.project.localeCompare(b.project));
// codeowners
const codeowners = new Set();
failedProjects.forEach(c => {
codeowners.add(c.codeowners);
});
core.setOutput('CODEOWNERS', Array.from(codeowners).join(','));
function trimSpace(res) {
return res.split('\n').map((l) => l.trim()).join('\n');
}
// failed message
let lastProject;
let result = `
\`\`\`
| Failed project | PM | OS | Node |
|--------------------------------|------|-------|------|`;
failedProjects.forEach(matrix => {
const project = matrix.project !== lastProject ? matrix.project : '...';
result += `\n| ${project.padEnd(30)} | ${matrix.package_manager.padEnd(4)} | ${matrix.os_name} | v${matrix.node_version.toString().padEnd(3)} |`
lastProject = matrix.project;
});
result += `\`\`\``;
core.setOutput('SLACK_MESSAGE', trimSpace(result));
function humanizeDuration(num) {
let res = '';
const hours = Math.floor(num / 3600);
if (hours) {
res += `${hours}h `;
}
const mins = Math.floor((num % 3600) / 60);
if (mins) {
res += `${mins}m `;
}
const sec = num % 60;
if (sec) {
res += `${sec}s`
}
return res;
}
// duration message
const timeReport = {};
const pmReport = {
npm: 0,
yarn: 0,
pnpm: 0
};
const macosProjects = ['e2e-detox', 'e2e-expo', 'e2e-react-native'];
combined.forEach((matrix) => {
if (matrix.os_name === 'Linux' && matrix.node_version === 18) {
pmReport[matrix.package_manager] += matrix.duration;
}
if (matrix.os_name === 'Linux' || macosProjects.includes(matrix.project)) {
if (timeReport[matrix.project]) {
if (matrix.duration > timeReport[matrix.project].max) {
timeReport[matrix.project].max = matrix.duration;
timeReport[
matrix.project
].maxEnv = `${matrix.os_name}, ${matrix.package_manager}`;
}
if (matrix.duration < timeReport[matrix.project].min) {
timeReport[matrix.project].min = matrix.duration;
timeReport[
matrix.project
].minEnv = `${matrix.os_name}, ${matrix.package_manager}`;
}
} else {
timeReport[matrix.project] = {
min: matrix.duration,
max: matrix.duration,
minEnv: `${matrix.os_name}, ${matrix.package_manager}`,
maxEnv: `${matrix.os_name}, ${matrix.package_manager}`,
};
}
}
});
// project time report
let resultPkg = `
\`\`\`
| Project | Time |
|--------------------------------|---------------------------|`;
function mapProjectTime(proj, section) {
let res = '';
res += `${humanizeDuration(timeReport[proj][section])}`;
res += ` (${timeReport[proj][section + 'Env']})`
return res;
}
function durationIcon(proj, section) {
if (timeReport[proj][section] < 12 * 60) {
return `${section} ✅`;
}
if (timeReport[proj][section] < 15 * 60) {
return `${section} ❗`;
}
return `${section} ❌`;
}
Object.keys(timeReport).forEach(proj => {
resultPkg += `\n| ${proj.padEnd(30)} | |`;
resultPkg += `\n| ${durationIcon(proj, 'min').padStart(29)} | ${mapProjectTime(proj, 'min').padEnd(25)} |`;
resultPkg += `\n| ${durationIcon(proj, 'max').padStart(29)} | ${mapProjectTime(proj, 'max').padEnd(25)} |`;
});
resultPkg += `\`\`\``;
core.setOutput('SLACK_PROJ_DURATION', trimSpace(resultPkg));
// Print project duration report inline to allow reviewing on manual runs (when no slack message will be sent)
console.log(trimSpace(resultPkg));
let resultPm = `
\`\`\`
| PM | Total time |
|------|-------------|`;
Object.keys(pmReport).forEach(pm => {
resultPm += `\n| ${pm.padEnd(4)} | ${humanizeDuration(pmReport[pm]).padEnd(11)} |`
});
resultPm += `\`\`\``;
core.setOutput('SLACK_PM_DURATION', trimSpace(resultPm));
// Print package manager duration report inline to allow reviewing on manual runs (when no slack message will be sent)
console.log(trimSpace(resultPm));
report-failure:
if: ${{ failure() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: process-result
runs-on: ubuntu-latest
name: Report failure
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v1
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.e2e.result }}
message_format: '{emoji} *{workflow}* {status_message} (last commit <{commit_url}|{commit_sha}>)'
notification_title: '{workflow} has {status_message}'
footer: '<{run_url}|View Run>'
mention_users: 'U01UELKLYF2,U9NPA6C90'
mention_users_when: 'failure,warnings'
status: 'failure'
message_format: '{emoji} Workflow has {status_message} ${{ needs.process-result.outputs.message }}'
notification_title: '{workflow}'
footer: '<{run_url}|View Run> / Last commit <{commit_url}|{commit_sha}>'
mention_groups: ${{ needs.process-result.outputs.codeowners }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
report:
if: ${{ always() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
report-success:
if: ${{ success() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: e2e
runs-on: ubuntu-latest
name: Report status
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v1
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.e2e.result }}
message_format: '{emoji} *{workflow}* {status_message} (last commit <{commit_url}|{commit_sha}>)'
notification_title: '{workflow} has {status_message}'
footer: '<{run_url}|View Run>'
mention_users: 'U01UELKLYF2,U9NPA6C90'
mention_users_when: 'failure,warnings'
message_format: '{emoji} Workflow has {status_message}'
notification_title: '{workflow}'
footer: '<{run_url}|View Run> / Last commit <{commit_url}|{commit_sha}>'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
report-pm-time:
if: ${{ always() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: process-result
runs-on: ubuntu-latest
name: Report duration per package manager
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v2
with:
status: 'skipped'
message_format: '${{ needs.process-result.outputs.pm-duration }}'
notification_title: 'Total duration per package manager (ubuntu only)'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
report-proj-time:
if: ${{ always() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: process-result
runs-on: ubuntu-latest
name: Report duration per package manager
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v2
with:
status: 'skipped'
message_format: '${{ needs.process-result.outputs.proj-duration }}'
notification_title: 'E2E Project duration stats'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
+374 -85
View File
@@ -6,127 +6,416 @@ on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
env:
CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/.cypress
permissions: {}
jobs:
e2e:
permissions:
contents: read # to fetch code (actions/checkout)
preinstall:
runs-on: windows-latest
strategy:
matrix:
node_version:
- '16'
- 19
- 18
- 16
name: Cache install (node v${{ matrix.node_version }})
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8.3.1
run_install: false
- name: Set node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
lookup-only: true
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ matrix.node_version }}-${{ github.run_id }}
- name: Install packages
run: pnpm install --frozen-lockfile
- name: Cache Cypress
id: cache-cypress
uses: actions/cache@v3
with:
lookup-only: true
path: '${{ github.workspace }}/.cypress'
key: windows-cypress
- name: Install Cypress
if: steps.cache-cypress.outputs.cache-hit != 'true'
run: npx cypress install
e2e:
needs: preinstall
permissions:
contents: read
runs-on: windows-latest
strategy:
matrix:
node_version:
- 19
- 18
- 16
package_manager:
- npm
packages:
project:
- e2e-angular-core
- e2e-angular-extensions
- e2e-nx-run,e2e-nx-misc,e2e-nx-plugin
- e2e-cra-to-nx
- e2e-make-angular-cli-faster
- e2e-jest
- e2e-linter
- e2e-cypress
- e2e-react
- e2e-esbuild
- e2e-jest
- e2e-js
- e2e-lerna-smoke-tests
- e2e-linter
- e2e-next
- e2e-node
- e2e-nx-init
- e2e-nx-misc
- e2e-plugin
- e2e-nx-run
- e2e-react-core
- e2e-react-extensions
- e2e-web
- e2e-storybook,e2e-storybook-angular
- e2e-rollup
- e2e-storybook
- e2e-storybook-angular
- e2e-vite
- e2e-webpack
- e2e-workspace-create
- e2e-add-nx-to-monorepo
- e2e-graph-client
- e2e-workspace-create-npm
include:
# codeowner groups
- project: e2e-angular-core
codeowners: 'S04SS457V38'
- project: e2e-angular-extensions
codeowners: 'S04SS457V38'
- project: e2e-cypress
codeowners: 'S04T16BTJJY'
- project: e2e-esbuild
codeowners: 'S04SJ6HHP0X'
- project: e2e-jest
codeowners: 'S04T16BTJJY'
- project: e2e-js
codeowners: 'S04SJ6HHP0X'
- project: e2e-lerna-smoke-tests
codeowners: 'S04TNCVEETS'
- project: e2e-linter
codeowners: 'S04SYJGKSCT'
- project: e2e-next
codeowners: 'S04TNCNJG5N'
- project: e2e-node
codeowners: 'S04SJ6HHP0X'
- project: e2e-nx-init
codeowners: 'S04SYHYKGNP'
- project: e2e-nx-misc
codeowners: 'S04SYHYKGNP'
- project: e2e-plugin
codeowners: 'S04SYHYKGNP'
- project: e2e-nx-run
codeowners: 'S04SYHYKGNP'
- project: e2e-react-core
codeowners: 'S04TNCNJG5N'
- project: e2e-react-extensions
codeowners: 'S04TNCNJG5N'
- project: e2e-web
codeowners: 'S04SJ6PL98X'
- project: e2e-rollup
codeowners: 'S04SJ6PL98X'
- project: e2e-storybook
codeowners: 'S04SVQ8H0G5'
- project: e2e-storybook-angular
codeowners: 'S04SVQ8H0G5'
- project: e2e-vite
codeowners: 'S04SJ6PL98X'
- project: e2e-webpack
codeowners: 'S04SJ6PL98X'
- project: e2e-workspace-create
codeowners: 'S04SYHYKGNP'
- project: e2e-workspace-create-npm
codeowners: 'S04SYHYKGNP'
exclude:
# exclude non-CNW/Lerna tests from non-LTS node versions
- node_version: 16
project: e2e-angular-core
- node_version: 16
project: e2e-angular-extensions
- node_version: 16
project: e2e-cypress
- node_version: 16
project: e2e-esbuild
- node_version: 16
project: e2e-jest
- node_version: 16
project: e2e-js
- node_version: 16
project: e2e-linter
- node_version: 16
project: e2e-next
- node_version: 16
project: e2e-node
- node_version: 16
project: e2e-nx-init
- node_version: 16
project: e2e-nx-misc
- node_version: 16
project: e2e-plugin
- node_version: 16
project: e2e-lerna-smoke-tests
- node_version: 16
project: e2e-react-core
- node_version: 16
project: e2e-react-extensions
- node_version: 16
project: e2e-web
- node_version: 16
project: e2e-rollup
- node_version: 16
project: e2e-storybook
- node_version: 16
project: e2e-storybook-angular
- node_version: 16
project: e2e-vite
- node_version: 16
project: e2e-webpack
- node_version: 19
project: e2e-angular-core
- node_version: 19
project: e2e-angular-extensions
- node_version: 19
project: e2e-cypress
- node_version: 19
project: e2e-esbuild
- node_version: 19
project: e2e-jest
- node_version: 19
project: e2e-js
- node_version: 19
project: e2e-linter
- node_version: 19
project: e2e-next
- node_version: 19
project: e2e-node
- node_version: 19
project: e2e-nx-init
- node_version: 19
project: e2e-nx-misc
- node_version: 19
project: e2e-plugin
- node_version: 19
project: e2e-lerna-smoke-tests
- node_version: 19
project: e2e-react-core
- node_version: 19
project: e2e-react-extensions
- node_version: 19
project: e2e-web
- node_version: 19
project: e2e-rollup
- node_version: 19
project: e2e-storybook
- node_version: 19
project: e2e-storybook-angular
- node_version: 19
project: e2e-vite
- node_version: 19
project: e2e-webpack
fail-fast: false
name: ${{ matrix.packages }}
name: ${{ matrix.project }} (v${{ matrix.node_version }})
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
registry-url: http://localhost:4872
- name: Prepare dir for output
run: mkdir -p outputs
- name: Yarn cache directory path
id: yarn-cache-dir-path
shell: bash
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8.3.1
run_install: false
- name: Cache yarn
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: windows-node-${{ matrix.node_version }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
windows-node-${{ matrix.node_version }}-yarn-
windows-node-${{ matrix.node_version }}-
windows-
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
- name: Install packages
run: yarn install --prefer-offline --frozen-lockfile --non-interactive
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ matrix.node_version }}-${{ github.run_id }}
- name: Run e2e tests
run: yarn nx run-many --target=e2e --projects="${{ join(matrix.packages) }}" --parallel=1
env:
GIT_AUTHOR_EMAIL: test@test.com
GIT_AUTHOR_NAME: Test
GIT_COMMITTER_EMAIL: test@test.com
GIT_COMMITTER_NAME: Test
NX_E2E_CI_CACHE_KEY: e2e-gha-windows-${{ matrix.node_version }}-${{ matrix.package_manager }}
NX_E2E_RUN_CYPRESS: ${{ 'true' }}
NODE_OPTIONS: --max_old_space_size=8192
SELECTED_PM: ${{ matrix.package_manager }}
npm_config_registry: http://localhost:4872
NX_VERBOSE_LOGGING: ${{ 'true' }}
NX_E2E_SKIP_BUILD_CLEANUP: ${{ 'true' }}
NX_CACHE_DIRECTORY: ${{ 'tmp' }}
- name: Install packages
run: pnpm install --frozen-lockfile
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
uses: mxschmitt/action-tmate@v3.8
with:
sudo: false # disable sudo for windows debugging
- name: Cache Cypress
id: cache-cypress
uses: actions/cache@v3
with:
path: '${{ github.workspace }}/.cypress'
key: ${{ runner.os }}-cypress
- name: Install Cypress
if: steps.cache-cypress.outputs.cache-hit != 'true'
run: npx cypress install
- name: Configure git metadata (needed for lerna smoke tests)
run: |
git config --global user.email test@test.com
git config --global user.name "Test Test"
- name: Run e2e tests
id: e2e-run
run: pnpm nx run ${{ matrix.project }}:e2e
shell: bash
timeout-minutes: 120
env:
GIT_AUTHOR_EMAIL: test@test.com
GIT_AUTHOR_NAME: Test
GIT_COMMITTER_EMAIL: test@test.com
GIT_COMMITTER_NAME: Test
NX_E2E_CI_CACHE_KEY: e2e-gha-windows-${{ matrix.node_version }}-${{ matrix.package_manager }}
NODE_OPTIONS: --max_old_space_size=8192
SELECTED_PM: ${{ matrix.package_manager }}
npm_config_registry: http://localhost:4872
NX_CACHE_DIRECTORY: 'tmp'
NX_E2E_SKIP_BUILD_CLEANUP: 'true'
NX_E2E_RUN_E2E: 'true'
NX_E2E_VERBOSE_LOGGING: 'true'
NX_PERF_LOGGING: 'false'
NX_DAEMON: 'true'
- name: Save matrix config in file
if: ${{ always() }}
id: save-matrix
shell: bash
run: |
matrix=$((
echo '${{ toJSON(matrix) }}'
) | jq -c '. + { "status": "${{ steps.e2e-run.outcome}}" }')
echo "$matrix" > matrix
path=outputs/windows-${{ matrix.node_version}}-${{ matrix.package_manager}}-${{ matrix.project }}
echo "path=$path" >> $GITHUB_OUTPUT
echo "$matrix" > $path
- name: Upload matrix config
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: outputs
path: ${{ steps.save-matrix.outputs.path }}
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled && failure() }}
uses: mxschmitt/action-tmate@v3.8
timeout-minutes: 15
with:
sudo: false # disable sudo for windows debugging
process-result:
if: ${{ always() }}
runs-on: ubuntu-latest
needs: e2e
outputs:
message: ${{ steps.process-json.outputs.SLACK_MESSAGE }}
codeowners: ${{ steps.process-json.outputs.CODEOWNERS }}
steps:
- name: Load outputs
uses: actions/download-artifact@v3
with:
name: outputs
path: outputs
- name: Join and stringify matrix configs
id: combine-json
shell: bash
run: |
combined=$((jq -s . outputs/*) | jq tostring)
echo "combined=$combined" >> $GITHUB_OUTPUT
- name: Make slack outputs
id: process-json
uses: actions/github-script@v6
env:
GITHUB_TOKEN: ${{ github.token }}
with:
script: |
const combined = JSON.parse(${{ steps.combine-json.outputs.combined }});
const failedProjects = combined.filter(c => c.status === 'failure').sort((a, b) => a.project.localeCompare(b.project));
// codeowners
const codeowners = new Set();
failedProjects.forEach(c => {
codeowners.add(c.codeowners);
});
core.setOutput('CODEOWNERS', Array.from(codeowners).join(','));
// message
let result = `
*OS* Windows
*Package manager* npm
\`\`\`
| Failed project | Node |
|--------------------------------|------|`;
failedProjects.forEach(matrix => {
result += `\n| ${matrix.project.padEnd(30)} | v${matrix.node_version.toString().padEnd(3)} |`
});
result += `\`\`\``;
const message = result.split('\n').map(l => l.trim()).join('\n');
core.setOutput('SLACK_MESSAGE', message);
report-failure:
if: ${{ failure() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: process-result
runs-on: ubuntu-latest
name: Report failure
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v2
with:
status: 'failure'
message_format: '{emoji} Workflow has {status_message} ${{ needs.process-result.outputs.message }}'
notification_title: '{workflow}'
footer: '<{run_url}|View Run> / Last commit <{commit_url}|{commit_sha}>'
mention_groups: ${{ needs.process-result.outputs.codeowners }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
report-success:
if: ${{ success() && github.repository_owner == 'nrwl' && github.event_name == 'workflow_dispatch' }} # only once it's fixed on manual dispatch
if: ${{ success() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: e2e
runs-on: ubuntu-latest
name: Report success
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v1
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.e2e.result }}
message_format: '{emoji} *{workflow}* {status_message} (last commit <{commit_url}|{commit_sha}>)'
notification_title: '{workflow} has {status_message}'
footer: '<{run_url}|View Run>'
mention_users: 'U01UELKLYF2,U9NPA6C90'
mention_users_when: 'failure,warnings'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
report:
if: ${{ always() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: e2e
runs-on: ubuntu-latest
name: Report status
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ needs.e2e.result }}
message_format: '{emoji} *{workflow}* {status_message} (last commit <{commit_url}|{commit_sha}>)'
notification_title: '{workflow} has {status_message}'
footer: '<{run_url}|View Run>'
mention_users: 'U01UELKLYF2,U9NPA6C90'
mention_users_when: 'failure,warnings'
message_format: '{emoji} Workflow has {status_message}'
notification_title: '{workflow}'
footer: '<{run_url}|View Run> / Last commit <{commit_url}|{commit_sha}>'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
+53
View File
@@ -0,0 +1,53 @@
name: Generate embeddings
on:
schedule:
- cron: "0 5 * * 0,4" # sunday, thursday 5AM
workflow_dispatch:
jobs:
cache-and-install:
if: github.repository == 'nrwl/nx'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run embeddings script
run: pnpm exec nx run tools-documentation-create-embeddings:run-node
env:
NX_NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NX_NEXT_PUBLIC_SUPABASE_URL }}
NX_SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.NX_SUPABASE_SERVICE_ROLE_KEY }}
NX_OPENAI_KEY: ${{ secrets.NX_OPENAI_KEY }}
+69
View File
@@ -0,0 +1,69 @@
name: Issue Statistics
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions:
issues: read
pull-requests: read
jobs:
issues-report:
if: ${{ github.repository_owner == 'nrwl' }}
runs-on: ubuntu-latest
name: Report status
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.2
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'pnpm'
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
lookup-only: true
path: '**/node_modules'
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install packages
run: pnpm install --frozen-lockfile
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2 # Needed since we are downloading artifact from a different workflow run, official actions/download-artifact doesn't support this.
with:
name: cached-issue-data
path: ${{ github.workspace }}/scripts/issues-scraper/cached
search_artifacts: true
continue-on-error: true
- name: Collect Issue Data
id: collect
run: npx ts-node ./scripts/issues-scraper/index.ts
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/upload-artifact@v3
with:
name: cached-issue-data
path: ./scripts/issues-scraper/cached/data.json
- name: Send GitHub Action trigger data to Slack workflow
id: slack
uses: slackapi/slack-github-action@v1.23.0
with:
payload: ${{ steps.collect.outputs.SLACK_MESSAGE }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ISSUES_REPORT_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
+30
View File
@@ -0,0 +1,30 @@
name: "Lock Threads"
on:
schedule:
- cron: "0 0 * * *" # Once a day, at midnight UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: lock
jobs:
action:
if: ${{ github.repository_owner == 'nrwl' }}
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
id: lockthreads
with:
github-token: ${{ github.token }}
issue-inactive-days: "30" # Lock issues after 30 days of being closed
pr-inactive-days: "5" # Lock closed PRs after 5 days. This ensures that issues that stem from a PR are opened as issues, rather than comments on the recently merged PR.
add-issue-labels: "outdated"
issue-comment: >
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
pr-comment: >
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.
+11 -27
View File
@@ -14,13 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- name: Run a security audit
run: npx audit-ci --critical --report-type summary
- name: Install PNPM
run: |
npm install -g @pnpm/exe@8.3.1
- name: Check lock file for invalid hosts
run: npx lockfile-lint -s -n -p yarn.lock -a hosts yarn npm
- name: Run a security audit
run: pnpm dlx audit-ci --critical --report-type summary
# - name: Run Dependency confusion supply chain check
# run: npx snync -d .
@@ -32,30 +34,12 @@ jobs:
name: Report status
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v1
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.audit.result }}
message_format: '{emoji} *{workflow}* {status_message} (last commit <{commit_url}|{commit_sha}>)'
notification_title: '{workflow} has {status_message}'
footer: '<{run_url}|View Run>'
mention_users: 'U01UELKLYF2,U9NPA6C90'
mention_users_when: 'failure,warnings'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
report-success:
if: ${{ success() && github.repository_owner == 'nrwl' && github.event_name == 'workflow_dispatch' }} # only once it's fixed on manual dispatch
needs: audit
runs-on: ubuntu-latest
name: Report success
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ needs.audit.result }}
message_format: '{emoji} *{workflow}* {status_message} (last commit <{commit_url}|{commit_sha}>)'
notification_title: '{workflow} has {status_message}'
footer: '<{run_url}|View Run>'
message_format: '{emoji} Audit has {status_message}'
notification_title: '{workflow}'
footer: '<{run_url}|View Run> / Last commit <{commit_url}|{commit_sha}>'
mention_users: 'U01UELKLYF2,U9NPA6C90'
mention_users_when: 'failure,warnings'
env:
+83 -69
View File
@@ -2,7 +2,9 @@ name: publish
env:
DEBUG: napi:*
NX_RUN_GROUP: ${{ github.run_id }}-${{ github.run_attempt }}
NPM_CONFIG_PROVENANCE: true
on:
workflow_dispatch:
release:
types: [published]
jobs:
@@ -15,9 +17,9 @@ jobs:
- host: macos-latest
target: x86_64-apple-darwin
build: |
yarn nx -- run-many --target=build-native -- --target=x86_64-apple-darwin
pnpm nx run-many --target=build-native -- --target=x86_64-apple-darwin
- host: windows-latest
build: yarn nx -- run-many --target=build-native -- --target=x86_64-pc-windows-msvc
build: pnpm nx run-many --target=build-native -- --target=x86_64-pc-windows-msvc
target: x86_64-pc-windows-msvc
# Windows 32bit (not needed)
# - host: windows-latest
@@ -29,12 +31,12 @@ jobs:
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
set -e &&
yarn --version &&
yarn nx -- run-many --target=build-native -- --target=x86_64-unknown-linux-gnu
pnpm --version &&
pnpm nx run-many --target=build-native -- --target=x86_64-unknown-linux-gnu
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: set -e && yarn nx -- run-many --target=build-native -- --target=x86_64-unknown-linux-musl
build: set -e && pnpm nx run-many --target=build-native -- --target=x86_64-unknown-linux-musl
- host: macos-latest
target: aarch64-apple-darwin
build: |
@@ -43,56 +45,63 @@ jobs:
export CXX=$(xcrun -f clang++);
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
yarn nx -- run-many --target=build-native -- --target=aarch64-apple-darwin
pnpm nx run-many --target=build-native -- --target=aarch64-apple-darwin
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |-
set -e &&
yarn --version &&
yarn nx -- run-many --target=build-native -- --target=aarch64-unknown-linux-gnu
pnpm --version &&
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-gnu
- host: ubuntu-latest
target: armv7-unknown-linux-gnueabihf
setup: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf -y
build: |
yarn nx -- run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
pnpm nx run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
# Android (not needed)
# - host: ubuntu-latest
# target: aarch64-linux-android
# build: |
# yarn nx -- run-many --target=build-native -- --target=aarch64-linux-android
# pnpm nx run-many --target=build-native -- --target=aarch64-linux-android
# - host: ubuntu-latest
# target: armv7-linux-androideabi
# build: |
# yarn nx -- run-many --target=build-native -- --target=armv7-linux-androideabi
# pnpm nx run-many --target=build-native -- --target=armv7-linux-androideabi
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: |-
set -e &&
rustup target add aarch64-unknown-linux-musl &&
yarn nx -- run-many --target=build-native -- --target=aarch64-unknown-linux-musl
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-musl
- host: windows-latest
target: aarch64-pc-windows-msvc
build: yarn nx -- run-many --target=build-native -- --target=aarch64-pc-windows-msvc
build: pnpm nx run-many --target=build-native -- --target=aarch64-pc-windows-msvc
name: stable - ${{ matrix.settings.target }} - node@18
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.2
- name: Setup node
uses: actions/setup-node@v3
if: ${{ !matrix.settings.docker }}
with:
node-version: 18
check-latest: true
cache: yarn
cache: 'pnpm'
- name: Install
uses: dtolnay/rust-toolchain@stable
if: ${{ !matrix.settings.docker }}
with:
targets: ${{ matrix.settings.target }}
- name: Cache cargo
uses: actions/cache@v3
with:
@@ -116,7 +125,7 @@ jobs:
run: yarn config set supportedArchitectures.cpu "ia32"
shell: bash
- name: Install dependencies
run: yarn install
run: pnpm install --frozen-lockfile
timeout-minutes: 30
- name: Setup node x86
uses: actions/setup-node@v3
@@ -124,7 +133,7 @@ jobs:
with:
node-version: 18
check-latest: true
cache: yarn
cache: pnpm
architecture: x86
- name: Build in docker
uses: addnab/docker-run-action@v3
@@ -143,71 +152,76 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: packages/**/*.node
if-no-files-found: error
# build-freebsd:
# runs-on: macos-12
# name: Build FreeBSD
# steps:
# - uses: actions/checkout@v3
# - name: Build
# id: build
# uses: vmactions/freebsd-vm@v0
# env:
# DEBUG: napi:*
# RUSTUP_HOME: /usr/local/rustup
# CARGO_HOME: /usr/local/cargo
# RUSTUP_IO_THREADS: 1
# with:
# envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
# usesh: true
# mem: 3000
# prepare: |
# pkg install -y -f curl node libnghttp2
# curl -qL https://www.npmjs.com/install.sh | sh
# npm install --location=global --ignore-scripts yarn
# curl https://sh.rustup.rs -sSf --output rustup.sh
# sh rustup.sh -y --profile minimal --default-toolchain stable
# export PATH="/usr/local/cargo/bin:$PATH"
# echo "~~~~ rustc --version ~~~~"
# rustc --version
# echo "~~~~ node -v ~~~~"
# node -v
# echo "~~~~ yarn --version ~~~~"
# yarn --version
# run: |
# export PATH="/usr/local/cargo/bin:$PATH"
# pwd
# ls -lah
# whoami
# env
# freebsd-version
# yarn install
# yarn nx -- run-many --target=build-native -- --target=x86_64-unknown-freebsd
# strip -x packages/*/*.node
# rm -rf node_modules
# rm -rf target
# rm -rf .yarn/cache
# - name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
# name: bindings-freebsd
# path: packages/*/*.node
# if-no-files-found: error
build-freebsd:
runs-on: macos-12
name: Build FreeBSD
steps:
- uses: actions/checkout@v3
- name: Build
id: build
uses: vmactions/freebsd-vm@v0
env:
DEBUG: napi:*
RUSTUP_HOME: /usr/local/rustup
CARGO_HOME: /usr/local/cargo
RUSTUP_IO_THREADS: 1
with:
envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
usesh: true
mem: 4096
prepare: |
pkg install -y -f curl node libnghttp2 npm
npm install --location=global --ignore-scripts pnpm
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
export PATH="/usr/local/cargo/bin:$PATH"
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ node -v ~~~~"
node -v
echo "~~~~ pnpm --version ~~~~"
pnpm --version
run: |
export PATH="/usr/local/cargo/bin:$PATH"
pwd
ls -lah
whoami
env
freebsd-version
mkdir -p /Users/runner/work/_temp/_github_workflow
echo "{}" > /Users/runner/work/_temp/_github_workflow/event.json
pnpm install --frozen-lockfile --ignore-scripts
pnpm nx run-many --target=build-native -- --target=x86_64-unknown-freebsd
rm -rf node_modules
rm -rf dist
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: bindings-freebsd
path: packages/**/*.node
if-no-files-found: error
publish:
if: ${{ github.event_name == 'release' && github.repository_owner == 'nrwl' }}
name: Publish
runs-on: ubuntu-latest
permissions:
id-token: write
needs:
# - build-freebsd
- build-freebsd
- build
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.2
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: yarn
cache: 'pnpm'
- name: Install dependencies
run: yarn install
run: pnpm install --frozen-lockfile
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
@@ -219,7 +233,7 @@ jobs:
run: |
git checkout -b publish/$GITHUB_REF_NAME
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
yarn nx-release --local=false $GITHUB_REF_NAME
pnpm nx-release --local=false $GITHUB_REF_NAME
env:
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+4
View File
@@ -1,10 +1,14 @@
on:
schedule:
- cron: "0 0 * * *"
name: Stale Bot workflow
permissions: {}
jobs:
build:
if: ${{ github.repository_owner == 'nrwl' }}
permissions:
issues: write # to close stale issues (actions/stale)
pull-requests: write # to close stale PRs (actions/stale)
+6 -1
View File
@@ -19,13 +19,18 @@ jest.debug.config.js
/graph/client/src/assets/generated-task-graphs
/nx-dev/nx-dev/public/documentation
/nx-dev/nx-dev/public/images/open-graph
/scripts/issues-scraper/cached
# Lerna creates this
CHANGELOG.md
# Next.js
.next
# Angular Cache
.angular
# Local dev files
.env
.bashrc
*.node
*.node
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
changedFiles="$(git diff-tree -r --name-only --no-commit-id $1 $2)"
node ./scripts/notify-lockfile-changes.js $changedFiles
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
node ./scripts/notify-lockfile-changes.js $changedFiles
+4 -4
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
yarn check-lock-files &&
yarn check-commit &&
yarn documentation &&
yarn pretty-quick --check
pnpm check-lock-files &&
pnpm check-commit &&
pnpm documentation &&
pnpm pretty-quick --check
+3 -1
View File
@@ -3,6 +3,7 @@ tmp
/build
node_modules
/package.json
/pnpm-lock.yaml
packages/workspace/src/generators/**/files/**/*.json
packages/angular/src/schematics/**/files/**/*.json
packages/angular/src/migrations/**/files/**/*.json
@@ -12,7 +13,7 @@ packages/express/src/schematics/**/files/**/*.json
packages/nest/src/schematics/**/files/**/*.json
packages/react/src/schematics/**/files/**/*.json
packages/jest/src/schematics/**/files/**/*.json
packages/nx/src/lock-file/__fixtures__/**/*.*
packages/nx/src/plugins/js/lock-file/__fixtures__/**/*.*
packages/**/schematics/**/files/**/*.html
packages/**/generators/**/files/**/*.html
packages/nx/src/native/
@@ -32,3 +33,4 @@ graph/client/src/assets/generated-task-graphs
/.verdaccio/build/local-registry
/dist
/.env
CODEOWNERS
+10 -3
View File
@@ -9,10 +9,14 @@ auth:
uplinks:
npmjs:
url: https://registry.npmjs.org/
cache: true
maxage: 60m
max_fails: 20
fail_timeout: 2m
yarn:
url: https://registry.yarnpkg.com
cache: true
maxage: 60m
max_fails: 20
fail_timeout: 2m
packages:
'@*/*':
@@ -38,4 +42,7 @@ packages:
logs:
type: stdout
format: pretty
level: http
level: warn
publish:
allow_offline: true # set offline to true to allow publish offline
-147529
View File
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
--ignore-engines true
yarnPath .yarn/releases/yarn-1.22.19.cjs
+135 -106
View File
@@ -1,151 +1,180 @@
# Any file not covered by a rule below, will default to Jason + Victor and a few select others.
* @FrozenPandaz @vsavkin
/packages/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
/e2e/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
/scripts/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
/tools/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
package.json @nrwl/nx-core-reviewers
pnpm-lock.yaml @nrwl/nx-core-reviewers
# Docs Site + Graph
/docs/nx-cloud @StalkAltan @rarmatei @isaacplmann @juristr @bcabanes
/docs/shared @bcabanes @isaacplmann @juristr
/docs @nrwl/nx-docs-reviewers
/docs/nx-cloud @StalkAltan @rarmatei @nrwl/nx-docs-reviewers
/graph/** @philipjfulcher @FrozenPandaz @bcabanes
/images/shared @bcabanes @isaacplmann @juristr
/nx-dev/** @bcabanes @isaacplmann
/typedoc-theme @bcabanes @isaacplmann
/images @nrwl/nx-docs-reviewers
/nx-dev/** @nrwl/nx-docs-reviewers
/typedoc-theme @nrwl/nx-docs-reviewers
# Plugin Verticals
## Angular
/docs/generated/packages/angular/** @Coly010 @leosvelperez
/packages/angular/** @Coly010 @leosvelperez
/e2e/angular-core/** @Coly010 @leosvelperez
/e2e/angular-extensions/** @Coly010 @leosvelperez
/packages/make-angular-cli-faster/** @leosvelperez @Coly010
/e2e/make-angular-cli-faster/** @leosvelperez @Coly010
/docs/generated/packages/angular/** @nrwl/nx-angular-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/angular/** @nrwl/nx-angular-reviewers @nrwl/nx-docs-reviewers
/packages/angular/** @nrwl/nx-angular-reviewers
/e2e/angular-core/** @nrwl/nx-angular-reviewers
/e2e/angular-extensions/** @nrwl/nx-angular-reviewers
/packages/angular/plugins/component-testing.ts @nrwl/nx-angular-reviewers @nrwl/nx-testing-tools-reviewers
/packages/angular/src/generators/cypress-component-configuration/** @nrwl/nx-angular-reviewers @nrwl/nx-testing-tools-reviewers
/packages/angular/src/generators/component-test/** @nrwl/nx-angular-reviewers @nrwl/nx-testing-tools-reviewers
## React
/docs/generated/packages/react/** @jaysoo @ndcunningham @mandarini @xiongemi
/docs/generated/packages/next/** @jaysoo @ndcunningham @xiongemi
/docs/shared/packages/react/** @jaysoo @ndcunningham @mandarini @xiongemi
/docs/shared/packages/next/** @jaysoo @ndcunningham @xiongemi
/packages/react/** @jaysoo @ndcunningham @mandarini @xiongemi
/e2e/react/** @jaysoo @mandarini @xiongemi @ndcunningham
/packages/next/** @ndcunningham @jaysoo @xiongemi
/e2e/next/** @ndcunningham @jaysoo @xiongemi
/packages/cra-to-nx/** @jaysoo @xiongemi @mandarini
/e2e/cra-to-nx/** @jaysoo @xiongemi @mandarini @ndcunningham
/docs/generated/packages/react/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/next/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/react/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/next/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/packages/react/** @nrwl/nx-react-reviewers
/e2e/react-core/** @nrwl/nx-react-reviewers
/e2e/react-extensions/** @nrwl/nx-react-reviewers
/packages/next/** @nrwl/nx-react-reviewers
/e2e/next/** @nrwl/nx-react-reviewers
/packages/react/plugins/component-testing/** @nrwl/nx-react-reviewers @nrwl/nx-testing-tools-reviewers
/packages/react/src/generators/cypress-component-configuration/** @nrwl/nx-react-reviewers @nrwl/nx-testing-tools-reviewers
/packages/react/src/generators/component-test/** @nrwl/nx-react-reviewers @nrwl/nx-testing-tools-reviewers
# React Native
/docs/generated/packages/detox/** @xiongemi @jaysoo
/docs/generated/packages/expo/** @xiongemi @jaysoo
/docs/generated/packages/react-native/** @xiongemi @jaysoo
/packages/detox/** @xiongemi @jaysoo
/e2e/detox/** @xiongemi @jaysoo
/packages/expo/** @xiongemi @jaysoo
/e2e/expo/** @xiongemi @jaysoo
/packages/react-native/** @xiongemi @jaysoo
/e2e/react-native/** @xiongemi @jaysoo
/docs/generated/packages/detox/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/expo/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/react-native/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/react-native/** @nrwl/nx-react-reviewers @nrwl/nx-docs-reviewers
/packages/detox/** @nrwl/nx-react-reviewers
/e2e/detox/** @nrwl/nx-react-reviewers
/packages/expo/** @nrwl/nx-react-reviewers
/e2e/expo/** @nrwl/nx-react-reviewers
/packages/react-native/** @nrwl/nx-react-reviewers
/e2e/react-native/** @nrwl/nx-react-reviewers
## Node
/docs/generated/packages/node/** @nartc @ndcunningham @jaysoo
/packages/node/** @nartc @ndcunningham @jaysoo
/packages/express/** @nartc @ndcunningham @jaysoo
/packages/nest/** @nartc @ndcunningham @jaysoo
/e2e/node/** @nartc @ndcunningham @jaysoo
/docs/generated/packages/node/** @nrwl/nx-node-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/nest/** @nrwl/nx-node-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/express/** @nrwl/nx-node-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/node/** @nrwl/nx-node-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/express/** @nrwl/nx-node-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/nest/** @nrwl/nx-node-reviewers @FrozenPandaz @nrwl/nx-docs-reviewers
/packages/node/** @nrwl/nx-node-reviewers
/packages/express/** @nrwl/nx-node-reviewers
/packages/nest/** @nrwl/nx-node-reviewers
/e2e/node/** @nrwl/nx-node-reviewers
## JS
/docs/generated/packages/js/** @nartc @jaysoo @ndcunningham
/docs/generated/packages/web/** @jaysoo @mandarini @ndcunningham
/docs/generated/packages/webpack/** @jaysoo @mandarini @ndcunningham
/docs/generated/packages/esbuild/** @nartc @jaysoo @ndcunningham
/docs/generated/packages/rollup/** @jaysoo @mandarini @ndcunningham
/docs/generated/packages/vite/** @jaysoo @mandarini @ndcunningham
/docs/shared/packages/js/** @nartc @jaysoo @ndcunningham
/docs/shared/packages/web/** @jaysoo @mandarini @ndcunningham
/docs/shared/packages/webpack/** @jaysoo @mandarini @ndcunningham
/docs/shared/packages/esbuild/** @nartc @jaysoo @ndcunningham
/docs/shared/packages/rollup/** @jaysoo @mandarini @ndcunningham
/docs/shared/packages/vite/** @jaysoo @mandarini @ndcunningham
/packages/js/** @nartc @jaysoo @ndcunningham
/e2e/js/** @nartc @jaysoo @ndcunningham
/packages/web/** @jaysoo @mandarini @ndcunningham
/e2e/web/** @jaysoo @mandarini @ndcunningham
/packages/webpack/** @jaysoo @mandarini @ndcunningham
/e2e/webpack/** @jaysoo @mandarini @ndcunningham
/packages/esbuild/** @jaysoo @nartc @ndcunningham
/e2e/esbuild/** @jaysoo @nartc @ndcunningham
/packages/rollup/** @jaysoo @mandarini @ndcunningham
/e2e/rollup/** @jaysoo @mandarini @ndcunningham
/packages/vite/** @jaysoo @mandarini @ndcunningham
/e2e/vite/** @jaysoo @mandarini @ndcunningham
/docs/generated/packages/js/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/web/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/webpack/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/esbuild/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/rollup/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/vite/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/js/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/web/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/webpack/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/esbuild/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/vite/** @nrwl/nx-js-reviewers @nrwl/nx-docs-reviewers
/packages/js/** @nrwl/nx-js-reviewers
/e2e/js/** @nrwl/nx-js-reviewers
/packages/web/** @nrwl/nx-js-reviewers
/e2e/web/** @nrwl/nx-js-reviewers
/packages/webpack/** @nrwl/nx-js-reviewers
/e2e/webpack/** @nrwl/nx-js-reviewers
/packages/esbuild/** @nrwl/nx-js-reviewers
/e2e/esbuild/** @nrwl/nx-js-reviewers
/packages/rollup/** @nrwl/nx-js-reviewers
/e2e/rollup/** @nrwl/nx-js-reviewers
/packages/vite/** @nrwl/nx-js-reviewers
/e2e/vite/** @nrwl/nx-js-reviewers
## Tools
/docs/generated/packages/cypress/** @barbados-clemens @FrozenPandaz
/docs/generated/packages/jest/** @barbados-clemens @FrozenPandaz
/packages/cypress/** @barbados-clemens @FrozenPandaz
/e2e/cypress/** @barbados-clemens @FrozenPandaz
/packages/jest/** @barbados-clemens @FrozenPandaz
/e2e/jest/** @barbados-clemens @FrozenPandaz
/docs/generated/packages/cypress/** @nrwl/nx-testing-tools-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/jest/** @nrwl/nx-testing-tools-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/jest/** @nrwl/nx-testing-tools-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/cypress/** @nrwl/nx-testing-tools-reviewers @nrwl/nx-docs-reviewers
/packages/cypress/** @nrwl/nx-testing-tools-reviewers
/e2e/cypress/** @nrwl/nx-testing-tools-reviewers
/packages/jest/** @nrwl/nx-testing-tools-reviewers
/e2e/jest/** @nrwl/nx-testing-tools-reviewers
/packages/playwright/** @nrwl/nx-testing-tools-reviewers
/e2e/playwright/** @nrwl/nx-testing-tools-reviewers
# Linter
/docs/generated/packages/eslint-plugin-nx/** @meeroslav @FrozenPandaz
/docs/generated/packages/linter/** @meeroslav @FrozenPandaz
/packages/eslint-plugin-nx/** @meeroslav @FrozenPandaz
/packages/linter/** @meeroslav @FrozenPandaz
/e2e/linter/** @meeroslav @FrozenPandaz
/docs/generated/packages/eslint-plugin/** @nrwl/nx-linter-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/linter/** @nrwl/nx-linter-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/linter/** @nrwl/nx-linter-reviewers @nrwl/nx-docs-reviewers
/packages/eslint-plugin/** @nrwl/nx-linter-reviewers
/packages/linter/** @nrwl/nx-linter-reviewers
/e2e/linter/** @nrwl/nx-linter-reviewers
.eslint* @nrwl/nx-linter-reviewers
# Storybook
/docs/generated/packages/storybook/** @mandarini @jaysoo @Coly010
/docs/shared/packages/storybook/** @mandarini @jaysoo @Coly010
/packages/storybook/** @mandarini @jaysoo @Coly010
/e2e/storybook/** @mandarini @FrozenPandaz @Coly010
/e2e/storybook-angular/** @mandarini @Coly010
/docs/generated/packages/storybook/** @nrwl/nx-storybook-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/storybook/** @nrwl/nx-storybook-reviewers @nrwl/nx-docs-reviewers
/packages/storybook/** @nrwl/nx-storybook-reviewers
/e2e/storybook/** @nrwl/nx-storybook-reviewers
/e2e/storybook-angular/** @nrwl/nx-storybook-reviewers
## Devkit
/docs/generated/devkit/** @FrozenPandaz @AgentEnder
/docs/generated/packages/devkit/** @FrozenPandaz @AgentEnder
/packages/devkit/** @FrozenPandaz @AgentEnder
/packages/devkit/index.ts @FrozenPandaz @vsavkin
/docs/generated/devkit/** @nrwl/nx-devkit-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/devkit/** @nrwl/nx-devkit-reviewers @nrwl/nx-docs-reviewers
/packages/devkit/** @nrwl/nx-devkit-reviewers
/packages/devkit/index.js @FrozenPandaz @vsavkin
/packages/devkit/index.d.ts @FrozenPandaz @vsavkin
/packages/devkit/public-api.ts @FrozenPandaz @vsavkin
/packages/devkit/nx.ts @FrozenPandaz @vsavkin
/packages/devkit/src/utils/module-federation @jaysoo @Coly010
# Nx-Plugin
/docs/generated/packages/nx-plugin/** @AgentEnder @FrozenPandaz
/packages/nx-plugin/** @AgentEnder @FrozenPandaz
/e2e/nx-plugin/** @AgentEnder @FrozenPandaz
/docs/generated/packages/plugin/** @nrwl/nx-devkit-reviewers @nrwl/nx-docs-reviewers
/docs/shared/packages/plugin/** @nrwl/nx-devkit-reviewers @nrwl/nx-docs-reviewers
/packages/plugin/** @nrwl/nx-devkit-reviewers
/e2e/plugin/** @nrwl/nx-devkit-reviewers
## Core
/docs/generated/packages/nx/** @vsavkin @FrozenPandaz @AgentEnder
/docs/generated/packages/workspace/** @vsavkin @FrozenPandaz @AgentEnder
/packages/nx/** @vsavkin @FrozenPandaz @AgentEnder
/packages/nx/src/adapter @AgentEnder @leosvelperez
/packages/nx/src/native @vsavkin @FrozenPandaz @Cammisuli
/packages/nx/src/lock-file @meeroslav @FrozenPandaz
/e2e/nx*/** @FrozenPandaz @AgentEnder @vsavkin
/packages/workspace/** @FrozenPandaz @AgentEnder @vsavkin
/e2e/workspace/** @FrozenPandaz @AgentEnder @vsavkin
/e2e/workspace-create/** @FrozenPandaz @vsavkin
/packages/add-nx-to-monorepo/** @vsavkin @FrozenPandaz @AgentEnder
/e2e/add-nx-to-monorepo/** @vsavkin @FrozenPandaz @AgentEnder
/docs/generated/cli/** @nrwl/nx-core-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/nx/** @nrwl/nx-core-reviewers @nrwl/nx-docs-reviewers
/docs/generated/packages/workspace/** @nrwl/nx-core-reviewers @nrwl/nx-docs-reviewers
/packages/nx/** @nrwl/nx-core-reviewers
/packages/nx/src/adapter @nrwl/nx-core-reviewers @leosvelperez
/packages/nx/src/native @nrwl/nx-core-reviewers @nrwl/nx-native-reviewers
/packages/nx/src/plugins/js/lock-file @nrwl/nx-core-reviewers @meeroslav
/packages/nx/src/command-line/init/implementation/angular/** @nrwl/nx-angular-reviewers @nrwl/nx-core-reviewers
/e2e/nx-init/src/nx-init-angular.test.ts @nrwl/nx-angular-reviewers
/packages/nx/src/command-line/init/implementation/react/** @nrwl/nx-react-reviewers
/e2e/nx-init/src/nx-init-react.test.ts @nrwl/nx-react-reviewers
/e2e/nx-init/src/files/cra/** @nrwl/nx-react-reviewers
/e2e/nx*/** @nrwl/nx-core-reviewers
/packages/workspace/** @nrwl/nx-core-reviewers
/e2e/workspace-create/** @nrwl/nx-core-reviewers
/e2e/workspace-create-npm/** @nrwl/nx-core-reviewers
# Misc
/e2e/lerna-smoke-tests/** @vsavkin @JamesHenry
/e2e/utils/** @meeroslav @barbados-clemens @vsavkin
/community @AgentEnder @FrozenPandaz
/e2e/utils/** @meeroslav @nrwl/nx-testing-tools-reviewers @vsavkin @mandarini
/community @nrwl/nx-devkit-reviewers
/CONTRIBUTING.md @FrozenPandaz @isaacplmann
/CODE_OF_CONDUCT.md @FrozenPandaz @isaacplmann
/CODEOWNERS @FrozenPandaz @AgentEnder
# Scripts
/scripts/depcheck @FrozenPandaz @vsavkin
/scripts/documentation @bcabanes @isaacplmann
/scripts/local-registry @FrozenPandaz @vsavkin
/scripts/angular-support-upgrades @Coly010 @leosvelperez
/scripts/documentation @nrwl/nx-docs-reviewers
/scripts/angular-support-upgrades @nrwl/nx-angular-reviewers
# CI
/.circleci/** @meeroslav @vsavkin @FrozenPandaz
/.github/** @meeroslav @vsavkin @FrozenPandaz
/packages/workspace/src/generators/ci-workflow/** @meeroslav @StalkAltan @vsavkin
/.circleci/** @nrwl/nx-pipelines-reviewers
/.github/** @nrwl/nx-pipelines-reviewers
/.husky/** @nrwl/nx-pipelines-reviewers
/packages/workspace/src/generators/ci-workflow/** @nrwl/nx-pipelines-reviewers
# Global Files
project.json @FrozenPandaz @vsavkin
jest.config.ts @barbados-clemens @FrozenPandaz
jest.preset.ts @barbados-clemens @FrozenPandaz
jest.config.ts @nrwl/nx-testing-tools-reviewers @FrozenPandaz
jest.preset.js @nrwl/nx-testing-tools-reviewers @FrozenPandaz
# Overrides - These are applied last, so override any matches above.
docs/generated/manifests/* @nrwl/nrwlians
docs/generated/packages-metadata.json @FrozenPandaz @jaysoo @AgentEnder @nrwl/nx-docs-reviewers
+36 -23
View File
@@ -35,20 +35,35 @@ Source code and documentation are included in the top-level folders listed below
- `scripts` - Miscellaneous scripts for project tasks such as building documentation, testing, and code formatting.
- `tmp` - Folder used by e2e tests. If you are a WebStorm user, make sure to mark this folder as excluded.
## Development Workstation Setup
If you are using `VSCode`, and provided you have [Docker](https://docker.com) installed on your machine, then you can leverage [Dev Containers](https://containers.dev) through this [VSCode extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers), to easily setup your development environment, with everything needed to contribute to Nx, already installed (namely `NodeJS`, `Yarn`, `Rust`, `Cargo`, plus some useful extensions like `Nx Console`).
To do so, simply:
- Checkout the repo
- Open it with VSCode
- Open the [Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) and select "Dev Containers: Open Folder in Container..."
The repo comes with a preconfigured `devcontainer.json` file (located in `.devcontainer/` folder at root), that `VSCode` will automatically use to install the aforementioned tools, inside a Docker image. It will even run `pnpm install` for you, so you can start contributing to Nx right after.
If you open the repo in [Github Codespace](https://github.com/features/codespaces), it will also leverage this config file, to setup the codespace, with the same required tools.
## Building the Project
> Nx uses Rust to build native bindings for Node. Please make sure that you have Rust installed via [rustup.rs](https://rustup.rs)
> If you have VSCode + Docker, this can be automated for you, see [section](#development-workstation-setup) above
After cloning the project to your machine, to install the dependencies, run:
```bash
yarn
pnpm i
```
To build all the packages, run:
```bash
yarn build
pnpm build
```
## Publishing to a local registry
@@ -58,19 +73,16 @@ it can be useful to publish to a local registry.
Check out [this video for a live walkthrough](https://youtu.be/Tx257WpNsxc) or follow the instructions below:
- Run `yarn local-registry start` in Terminal 1 (keep it running)
- Run `pnpm local-registry` in Terminal 1 (keep it running)
- Run `npm adduser --registry http://localhost:4873` in Terminal 2 (real credentials are not required, you just need to
be logged in. You can use test/test/test@test.io.)
- Run `yarn local-registry enable` in Terminal 2
- Run `yarn nx-release 16.0.0 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use the next major
- Run `pnpm nx-release 17.0.0 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use the next major
- Run `cd ./tmp` in Terminal 2
- Run `npx create-nx-workspace@16.0.0` in Terminal 2
- Run `npx create-nx-workspace@17.0.0` in Terminal 2
If you have problems publishing, make sure you use Node 18 and NPM 8.
**NOTE:** After you finish with local testing don't forget to stop the local registry (e.g. closing the Terminal 1) and disabling the local registy using `yarn local-registry disable`. Keeping local registry enabled will change your lock file resolutions to `localhost:4873` on the next `yarn install`. You can also run `yarn local-registry clear` to clean all packages in that local registry.
**NOTE:** To use this newly published local version, you need to make a new workspace or change all of your target packages to this new version, eg: `"@nrwl/cli": "^16.0.0",` and re-run `yarn install` in your testing project.
**NOTE:** To use this newly published local version, you need to make a new workspace or change all of your target packages to this new version, eg: `"nx": "^17.0.0",` and re-run `pnpm i` in your testing project.
### Publishing for Yarn 2+ (Berry)
@@ -78,13 +90,15 @@ Yarn Berry operates slightly differently than Yarn Classic. In order to publish
- Run `yarn set version berry` to switch to latest Yarn version.
- Create `.yarnrc.yml` in root with following contents:
```yml
nodeLinker: node-modules
npmRegistryServer: 'http://localhost:4873'
unsafeHttpWhitelist:
- localhost
```
- Run `yarn local-registry start` in Terminal 1 (keep it running)
- Run `pnpm local-registry` in Terminal 1 (keep it running)
- If you are creating nx workspace outside of your nx repo, make sure to add npm registry info to your root yarnrc (
usually in ~/.yarnrc.yml). The file should look something like this:
@@ -93,13 +107,12 @@ Yarn Berry operates slightly differently than Yarn Classic. In order to publish
'https://registry.yarnpkg.com':
npmAuthToken: npm_******************
yarnPath: .yarn/releases/yarn-3.2.2.cjs
npmRegistryServer: 'http://localhost:4873'
unsafeHttpWhitelist:
- localhost
```
- Run `yarn nx-release --local` in Terminal 2 to publish next minor version. If this version already exists, you can
- Run `pnpm nx-release --local` in Terminal 2 to publish next minor version. If this version already exists, you can
bump the minor version in `lerna.json` to toggle the next minor. The output will report the version of published
packages.
- Go to your target folder (e.g. `cd ./tmp`) in Terminal 2
@@ -126,19 +139,19 @@ nx test jest
To make sure your changes do not break any E2E tests, run:
```bash
nx e2e e2e-cli # or any other project here
nx e2e e2e-vite # or any other project here
```
Running E2E tests can take some time, so it is often useful to run a single test. To run a single suite of tests, run:
```bash
nx e2e e2e-cli -t versions # I often add qqqq to my test name so I can use -t qqqq
nx e2e e2e-vite -t versions # I often add qqqq to my test name so I can use -t qqqq
```
Sometimes tests pass locally but they fail on the CI. To reproduce the CI environment and be able to debug the issue, run:
```bash
NX_VERBOSE_LOGGING=true CI=true SELECTED_PM=pnpm yarn nx e2e e2e-cli --t="should do something is this test"
NX_VERBOSE_LOGGING=true CI=true SELECTED_PM=pnpm pnpm nx e2e e2e-vite --t="should do something is this test"
```
The above command sets verbose logging (this exposes stack traces and underlying errors), sets the defaults to be CI-like and sets Pnpm as the selected package manager.
@@ -147,7 +160,7 @@ The above command sets verbose logging (this exposes stack traces and underlying
To build Nx on Windows, you need to use WSL.
- Run `yarn install` in WSL. Yarn will compile several dependencies. If you don't run `install` in WSL, they will be
- Run `pnpm install` in WSL. Yarn will compile several dependencies. If you don't run `install` in WSL, they will be
compiled for Windows.
- Run `nx affected --target=test` and other commands in WSL.
@@ -184,7 +197,7 @@ corresponding `schema.json` file for the given command.
After adjusting the `schema.json` file, `.md` files for these commands can be generated by running:
```bash
yarn documentation
pnpm documentation
```
This will update the corresponding contents of the `docs` directory. These are generated automatically on push (via
@@ -235,7 +248,7 @@ reproducible scenario gives us wealth of important information without going bac
additional information, such as:
- the output of `nx report`
- `yarn.lock` or `package-lock.json`
- `yarn.lock` or `package-lock.json` or `pnpm-lock.yaml`
- and most importantly - a use-case that fails
A minimal reproduction allows us to quickly confirm a bug (or point out a coding problem) as well as confirm that we are
@@ -261,9 +274,9 @@ Please follow the following guidelines:
- Make sure e2e tests pass (this can take a while, so you can always let CI check those) (`nx affected --target=e2e`)
- Target a specific e2e test with `nx e2e e2e-cypress`
- Make sure you run `nx format`
- Update documentation with `yarn documentation`. For documentation, check for spelling and grammatical errors.
- Update your commit message to follow the guidelines below (use `yarn commit` to automate compliance)
- `yarn check-commit` will check to make sure your commit messages are formatted correctly
- Update documentation with `pnpm documentation`. For documentation, check for spelling and grammatical errors.
- Update your commit message to follow the guidelines below (use `pnpm commit` to automate compliance)
- `pnpm check-commit` will check to make sure your commit messages are formatted correctly
#### Commit Message Guidelines
@@ -300,7 +313,7 @@ The scope must be one of the following:
- graph - anything graph app specific
- expo - anything Expo specific
- express - anything Express specific
- js - anything related to @nrwl/js package or general js/ts support
- js - anything related to @nx/js package or general js/ts support
- linter - anything Linter specific
- nest - anything Nest specific
- nextjs - anything Next specific
@@ -339,4 +352,4 @@ Closes #157
To simplify and automate the process of committing with this format,
**Nx is a [Commitizen](https://github.com/commitizen/cz-cli) friendly repository**, just do `git add` and
execute `yarn commit`.
execute `pnpm commit`.
Generated
+2209 -54
View File
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -1,6 +1,8 @@
[workspace]
members = ['packages/nx']
members = [
'packages/nx'
]
[profile.release]
lto = true
+2 -2
View File
@@ -8,8 +8,8 @@
<div style="text-align: center;">
[![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx)
[![License](https://img.shields.io/npm/l/@nrwl/workspace.svg?style=flat-square)]()
[![NPM Version](https://badge.fury.io/js/%40nrwl%2Fworkspace.svg)](https://www.npmjs.com/@nrwl/workspace)
[![License](https://img.shields.io/npm/l/nx.svg?style=flat-square)]()
[![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx)
[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+87 -52
View File
@@ -4,31 +4,41 @@
"description": "Nx plugin add vitepress project to your workspace",
"url": "https://github.com/Ahryman40k/nx-vitepress/tree/main/packages/nx-vitepress"
},
{
"name": "@nightwatch/nx",
"description": "The NightwatchJS plugin allows your workspace to use the power of NightwatchJS for E2E and Component Testing on Desktop and Mobile",
"url": "https://github.com/nightwatchjs/nightwatch-plugin-nx/"
},
{
"name": "@nxkit/playwright",
"description": "The Playwright plugin allows your workspace to use the power of Playwright end-to-end testing",
"url": "https://github.com/nxkit/nxkit"
},
{
"name": "qwik-nx",
"description": "Get first class support for Qwik inside of Nx monorepos with Qwik optimized custom executors, generators and a vite plugin",
"url": "https://github.com/qwikifiers/qwik-nx"
},
{
"name": "@nxkit/style-dictionary",
"description": "Nx plugin to generate and build Style Dictionary projects inside your Nx workspace",
"url": "https://github.com/nxkit/nxkit"
},
{
"name": "nx-plugins",
"description": "Nx plugin integrations with ESBuild / Vite / Snowpack / Prisma, with derived ESBuild / Snowpack / ... plugins.",
"name": "nx-plugin-vite",
"description": "Nx plugin integrations with Vite.",
"url": "https://nx-plugins.netlify.app/"
},
{
"name": "@codebrew/nx-aws-cdk",
"description": "An Nx plugin for aws cdk develop.",
"url": "https://github.com/codebrewlab/nx-plugins/tree/main/packages/nx-aws-cdk"
},
{
"name": "@ago-dev/nx-aws-cdk-v2",
"description": "An nx plugin for the aws-cdk v2.",
"url": "https://github.com/adrian-goe/nx-aws-cdk-v2"
},
{
"name": "@berenddeboer/nx-sst",
"description": "Nx plugin to generate an SST stack and execute all SST commands.",
"url": "https://github.com/berenddeboer/nx-plugins/tree/main/packages/nx-sst"
},
{
"name": "@rxap/plugin-localazy",
"description": "An Nx plugin for localazy.com upload and download tasks.",
@@ -45,35 +55,25 @@
"url": "https://github.com/Phillip9587/nx-stylelint"
},
{
"name": "@nxtend/ionic-react",
"name": "@nxext/ionic-react",
"description": "An Nx plugin for developing Ionic React applications and libraries",
"url": "https://github.com/nxtend-team/nxtend/tree/main/packages/ionic-react"
"url": "https://github.com/nxext/nx-extensions/tree/main/packages/ionic-react"
},
{
"name": "@nxtend/ionic-angular",
"name": "@nxext/ionic-angular",
"description": "An Nx plugin for developing Ionic Angular applications and libraries",
"url": "https://github.com/nxtend-team/nxtend/tree/main/packages/ionic-angular"
"url": "https://github.com/nxext/nx-extensions/tree/main/packages/ionic-angular"
},
{
"name": "@nxtend/capacitor",
"name": "@nxext/capacitor",
"description": "An Nx plugin for developing cross-platform applications using Capacitor",
"url": "https://github.com/nxtend-team/nxtend/tree/main/packages/capacitor"
},
{
"name": "@nxtend/firebase",
"description": "An Nx plugin for developing applications using Firebase",
"url": "https://github.com/nxtend-team/nxtend/tree/main/packages/firebase"
"url": "https://github.com/nxext/nx-extensions/tree/main/packages/capacitor"
},
{
"name": "@angular-architects/ddd",
"description": "Nx plugin for structuring a monorepo with domains and layers",
"url": "https://github.com/angular-architects/nx-ddd-plugin"
},
{
"name": "@offeringsolutions/nx-karma-to-jest",
"description": "Nx plugin for replacing karma with jest in an Nx workspace",
"url": "https://github.com/FabianGosebrink/nx-karma-to-jest"
},
{
"name": "@flowaccount/nx-serverless",
"description": "Nx plugin for node/angular-universal schematics and deployment builders in an Nx workspace",
@@ -90,19 +90,9 @@
"url": "https://github.com/Bielik20/nx-plugins/tree/master/packages/nx-jest-playwright"
},
{
"name": "@dev-thought/nx-deploy-it",
"description": "Nx plugin to deploy applications on your favorite cloud provider",
"url": "https://github.com/Dev-Thought/nx-plugins/tree/master/libs/nx-deploy-it"
},
{
"name": "@offeringsolutions/nx-protractor-to-cypress",
"description": "Nx plugin to replace protractor with cypress in an nx workspace",
"url": "https://github.com/FabianGosebrink/nx-protractor-to-cypress"
},
{
"name": "@angular-custom-builders/lite-serve",
"description": "Nx plugin to run the e2e test on an existing dist folder",
"url": "https://github.com/mauriziovitale/angular-plugins/tree/master/libs/lite-serve"
"name": "@ns3/nx-playwright",
"description": "Nx plugin to run playwright e2e tests in an Nx workspace",
"url": "https://github.com/Bielik20/nx-plugins/tree/master/packages/nx-playwright"
},
{
"name": "@nx-plus/nuxt",
@@ -154,11 +144,6 @@
"description": "Nx plugin to use SolidJS within nx workspaces",
"url": "https://github.com/nxext/nx-extensions/tree/master/packages/solid"
},
{
"name": "@joelcode/gcp-function",
"description": "Nx plugin to generate, test, lint, build, serve, & deploy Google Cloud Function",
"url": "https://github.com/JoelCode/gcp-function"
},
{
"name": "@nx-go/nx-go",
"description": "Nx plugin to use Go in a Nx workspace",
@@ -210,12 +195,7 @@
"url": "https://github.com/bikecoders/ngx-deploy-npm"
},
{
"name": "@trafilea/nx-shopify",
"description": "Nx plugin for developing performance-first Shopify themes",
"url": "https://github.com/trafilea/nx-shopify"
},
{
"name": "nx-dotnet",
"name": "@nx-dotnet/core",
"description": "Nx plugin for developing and housing .NET projects within an Nx workspace.",
"url": "https://github.com/nx-dotnet/nx-dotnet"
},
@@ -294,11 +274,6 @@
"description": "Nx Plugin adding first class support for NativeScript in your Nx workspace",
"url": "https://github.com/nativescript/nx"
},
{
"name": "@nx-clean/plugin-core",
"description": "Nx Plugin to generate projects following Clean Architecture practices",
"url": "https://github.com/guiseek/nx-clean/tree/main/libs/plugin/core"
},
{
"name": "@jnxplus/nx-boot-gradle",
"description": "Nx plugin to add Spring Boot and Gradle multi-project builds support to Nx workspace",
@@ -374,6 +349,11 @@
"description": "Nx plugin that allows you to build, test and deploy web extensions.",
"url": "https://github.com/spaceribs/spaceribs/tree/main/packages/nx-web-ext"
},
{
"name": "@spaceribs/nx-betterer",
"description": "Nx plugin that applies betterer standards on a per-project basis.",
"url": "https://github.com/spaceribs/spaceribs/tree/main/packages/nx-betterer"
},
{
"name": "@nx-tools/nx-container",
"description": "Nx plugin to build OCI containers with Docker, Podman or Kaniko.",
@@ -383,5 +363,60 @@
"name": "@nxrocks/nx-melos",
"description": "Nx plugin adding first class support for Melos in your Nx workspace",
"url": "https://github.com/tinesoft/nxrocks/tree/master/packages/nx-melos"
},
{
"name": "@monodon/rust",
"description": "Adds Cargo and Rust support",
"url": "https://github.com/cammisuli/monodon/tree/main/packages/rust"
},
{
"name": "nx-mesh",
"description": "GraphQL Mesh support for Nx",
"url": "https://github.com/domjtalbot/nx-mesh"
},
{
"name": "@nxazure/func",
"description": "Nx plugin to add Azure Functions support to Nx Workspace.",
"url": "https://github.com/AlexPshul/nxazure/tree/master/packages/func"
},
{
"name": "@rbnx/webdriverio",
"description": "A Nx plugin that adds the WebdriverIO testing framework to a NX workspace.",
"url": "https://github.com/Roozenboom/rbnx/tree/main/packages/webdriverio"
},
{
"name": "nx-ngrok",
"description": "Ngrok support for Nx",
"url": "https://github.com/domjtalbot/nx-ngrok"
},
{
"name": "@nxrocks/nx-ktor",
"description": "Nx plugin to generate, run, package, build (and more) Ktor projects inside your Nx workspace",
"url": "https://github.com/tinesoft/nxrocks/tree/master/packages/nx-ktor"
},
{
"name": "nx-size-limit",
"description": "Adds size-limit support for Nx (performance budget tool for JavaScript)",
"url": "https://github.com/LironHazan/nx-size-limit"
},
{
"name": "@jnxplus/nx-quarkus-gradle",
"description": "Nx plugin to add Quarkus and Gradle multi-project builds support to Nx workspace",
"url": "https://github.com/khalilou88/jnxplus/tree/main/packages/nx-quarkus-gradle"
},
{
"name": "@jnxplus/nx-quarkus-maven",
"description": "Nx plugin to add Quarkus and Maven multi-module project support to Nx workspace",
"url": "https://github.com/khalilou88/jnxplus/tree/main/packages/nx-quarkus-maven"
},
{
"name": "@loft-orbital/terraform",
"description": "Terraform executors and generators",
"url": "https://github.com/loft-orbital/nx-plugins/tree/main/packages/terraform"
},
{
"name": "@nxlv/python",
"description": "Nx plugin designed to extend the Nx features to work with Python projects based on Poetry.",
"url": "https://github.com/lucasvieirasilva/nx-plugins/tree/main/packages/nx-python"
}
]
+46 -1
View File
@@ -36,7 +36,7 @@ Your content goes here.
#### Cards
Cards allow to show content in a grid system with a title, a description, a type and an url (internal/external).
Cards allow showing content in a grid system with a title, a description, a type and an url (internal/external).
```markdown
{% cards %}
@@ -46,6 +46,17 @@ Cards allow to show content in a grid system with a title, a description, a type
{% /cards %}
```
Title cards allow to only show a title in a card with a title and an url.
```markdown
{% cards cols="4" %}
{% title-card title="string" url="string" /%}
{% title-card title="string" url="string" /%}
{% title-card title="string" url="string" /%}
{% title-card title="string" url="string" /%}
{% /cards %}
```
#### Code
You can add specific languages and a filename on the code snippet displayed.
@@ -56,6 +67,16 @@ You can add specific languages and a filename on the code snippet displayed.
```
````
#### Terminal command
To display a terminal command, use:
````
```shell
npx nx build
```
````
#### Terminal Output
You can display your terminal output with a dedicated component the same way you would show code.
@@ -74,6 +95,14 @@ You can optionally also pass a `path` like
```
````
#### Terminal Video Output
You can have a more dynamic visualization of a terminal output by using the following component:
```
{% terminal-video src="/documentation/shared/images/caching/cache-terminal-animation.mp4" /%}
```
#### Custom iframes
We can display a special iframe and setting its width inside the document.
@@ -95,6 +124,14 @@ We can display a special button inviting the reader to go to a GitHub repository
{% github-repository url="https://github.com/nrwl/nx-examples" /%}
```
#### Stackblitz Buttons
You can add an "open in stackblitz" button as follows:
```markdown
{% stackblitz-button url="github.com/nrwl/nx-recipes/tree/main/angular-standalone?file=README.md" /%}
```
#### Install Nx Console
We can display a special button inviting the reader to go to a VSCode marketplace to install the official Nx plugin.
@@ -151,6 +188,14 @@ title="Nx Console Run UI Form"
width="100%" /%}
```
#### Youtube Section Link
Have a more decent button-like widget that you can place below sections of a tutorial with a link to a specific point in a Youtube video.
```markdown
{% video-link link="https://youtu.be/OQ-Zc5tcxJE?t=64" /%}
```
#### Graph
Embed an Nx Graph visualization that can be panned by the user.
+9
View File
@@ -0,0 +1,9 @@
# Nx 14.5
[Read the 14.5 release blog post](https://blog.nrwl.io/nx-14-5-cypess-v10-output-globs-linter-perf-react-tailwind-support-c15f0b5dc2fc)
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="Support for Cypress 10" type="video" url="https://youtu.be/QDWN4C7T-Ck" /%}
{% /cards %}
+19
View File
@@ -0,0 +1,19 @@
# Nx 15.0
[Read the 15.0 release blog post](https://blog.nrwl.io/whats-new-in-nx-15-7e14e1ff282d)
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="Combine the Power of Nx Graph and Nx Console" type="video" url="https://youtu.be/ZST_rmhzRXI" /%}
{% /cards %}
## Breaking Changes
Use [the `nx migrate` command](/core-features/automate-updating-dependencies) to automatically account for these breaking changes.
{% cards cols="2" %}
{% card title="Removed UMD format support for rollup" type="external" url="https://github.com/nrwl/nx/pull/12426" /%}
{% card title="Removed --only-failed option" type="external" url="https://github.com/nrwl/nx/pull/12471" /%}
{% card title="Infer projects from package.json and project.json" description="Nx will now also include folders with package.json/project.json in its graph of projects. You can ignore any unwanted projects by adding the directory to .nxignore." type="external" url="https://github.com/nrwl/nx/releases/tag/15.0.0" /%}
{% /cards %}
+17
View File
@@ -0,0 +1,17 @@
# Nx 15.3
[Read the 15.3 release blog post](https://blog.nrwl.io/nx-15-3-standalone-projects-vite-task-graph-and-more-3ed23f7827ed)
{% youtube
src="https://www.youtube.com/embed/KBFQZw5ynFs"
title="What&#39;s new in Nx 15.3?"
/%}
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="Introducing the Nx Task Graph Visualization" type="video" url="https://youtu.be/wOE3r4299fs" /%}
{% card title="Standalone Applications with Nx" type="video" url="https://youtu.be/qEaVzh-oBBc" /%}
{% card title="Add Nx to any Project" type="video" url="https://youtu.be/VmGCZ77ao_I" /%}
{% card title="Run Root-level NPM Scripts with Nx" type="video" url="https://youtu.be/PRURABLaS8s" /%}
{% card title="Wrap Any Command with Nx Run-Commands" type="video" url="https://youtu.be/iygb-KhAeik" /%}
{% /cards %}
+14
View File
@@ -0,0 +1,14 @@
# Nx 15.4
[Read the 15.4 release blog post](https://blog.nrwl.io/nx-15-4-vite-4-support-a-new-nx-watch-command-and-more-77cbf6c9a711)
{% youtube
src="https://www.youtube.com/embed/G02THNy3PcE"
title="Nx 15.4 is out! Here&#39;s all you need to know"
/%}
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="One Command to Run Multiple Tasks in Parallel" type="video" url="https://youtu.be/ROTO89i5m_4" /%}
{% /cards %}
+17
View File
@@ -0,0 +1,17 @@
# Nx 15.7
[Read the 15.7 release blog post](https://blog.nrwl.io/nx-15-7-node-support-angular-lts-lockfile-pruning-46f067090711)
{% youtube
src="https://www.youtube.com/embed/IStJODzZSoc"
title="What's new in Nx 15.7?"
/%}
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="Build Node Backends - The Easy Way!" type="video" url="https://youtu.be/K4f-fMuAoRY" /%}
{% card title="Angular LTS Support Starting with Nx 15.7" type="video" url="https://youtu.be/AQV4WFldwlY" /%}
{% card title="Create NgModule Free Angular Apps" type="video" url="https://youtu.be/Hi3aJ0Rlkls" /%}
{% card title="More Flexible Webpack Configs" type="video" url="https://youtu.be/CIT4MFMraXg" /%}
{% /cards %}
+17
View File
@@ -0,0 +1,17 @@
# Nx 15.8
[Read the 15.8 release blog post](https://blog.nrwl.io/nx-15-8-rust-hasher-nx-console-for-intellij-deno-node-and-storybook-aa2b8585772e)
{% youtube
src="https://www.youtube.com/embed/4XdHT5Y7zj4"
title="Nx 15.8 - All you need to know!"
/%}
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="NEW!!! Nx Deno Plugin" type="video" url="https://youtu.be/NpH8cFSp51E" /%}
{% card title="Nx Console Goes Poly-IDE" type="video" url="https://youtu.be/xUTm6GDqwJM" /%}
{% card title="Prioritized Params in Nx Console" type="video" url="https://youtu.be/JJ12zKedwIs" /%}
{% card title="Easy, Modular Node Applications!" type="video" url="https://youtu.be/LHLW0b4fr2w" /%}
{% /cards %}
+5
View File
@@ -0,0 +1,5 @@
## Deprecations
{% cards cols="2" %}
{% card title="proxy config option for nextjs server executor" type="external" url="https://github.com/nrwl/nx/pull/15855" /%}
{% /cards %}
+43
View File
@@ -0,0 +1,43 @@
# Nx 16 is out 🔥
Were proud to announce the release of Nx version 16!
{% youtube
src="https://www.youtube.com/embed/JIhOyJtuxEA"
title="Nx 16.0 Release"
/%}
Here are some of our feature highlights:
{% cards cols="2" %}
{% card title="Changing NPM Scope" type="video" url="https://youtu.be/HzkvhPKAepA" /%}
{% card title="Migrating React Query" type="video" url="https://youtu.be/X1I1Aw2sV-Y" /%}
{% card title="Angular LTS support" type="video" url="https://youtu.be/AQV4WFldwlY" /%}
{% card title="Cypress Feature Testing" type="video" url="https://youtu.be/d5i9_Y8Ip54" /%}
{% card title="Task Graph Improvements" type="video" url="https://youtu.be/9_Y6Mop-Kac" /%}
{% card title="IntelliJ Nx Console Feature Parity" type="video" url="https://youtu.be/XCoeNiyM6hw" /%}
{% /cards %}
## Deprecations
{% cards cols="2" %}
{% card title="workspace-lint" type="document" url="/deprecated/workspace-lint" /%}
{% card title="module federation utils from devkit public api" type="external" url="https://github.com/nrwl/nx/pull/16574" /%}
{% card title="Global implicitDependencies" url="/deprecated/global-implicit-dependencies" /%}
{% card title="stylus style option for react and next" type="external" url="https://github.com/nrwl/nx/pull/16135" /%}
{% card title="@nrwl/tao package" type="external" url="https://github.com/nrwl/nx/pull/16550" /%}
{% /cards %}
## Breaking Changes
Use [the `nx migrate` command](/core-features/automate-updating-dependencies) to automatically account for these breaking changes.
{% cards cols="2" %}
{% card title="Removed @nrwl/cypress/plugins/preprocessor" type="external" url="https://github.com/nrwl/nx/pull/16170" /%}
{% card title="Removed simpleModuleName option from Angular library" type="external" url="https://github.com/nrwl/nx/pull/16219" /%}
{% card title="Removed affected:apps and affected:libs" type="external" url="https://github.com/nrwl/nx/pull/16349" /%}
{% card title="Removed @nrwl/web:rollup executor" type="external" url="https://github.com/nrwl/nx/pull/16416" /%}
{% card title="Removed @nrwl/web:webpack executor" type="external" url="https://github.com/nrwl/nx/pull/16416" /%}
{% card title="Removed @nrwl/web:dev-server executor" type="external" url="https://github.com/nrwl/nx/pull/16416" /%}
{% card title="Removed @nrwl/node:webpack executor" type="external" url="https://github.com/nrwl/nx/pull/16416" /%}
{% /cards %}
+5
View File
@@ -0,0 +1,5 @@
## Deprecations
{% cards cols="2" %}
{% card title="storybook v6 support" type="external" url="https://github.com/nrwl/nx/pull/16650" /%}
{% /cards %}
+5
View File
@@ -0,0 +1,5 @@
## Deprecations
{% cards cols="2" %}
{% card title="angular ngrx generator" type="external" url="https://github.com/nrwl/nx/pull/16953" /%}
{% /cards %}
+7
View File
@@ -0,0 +1,7 @@
## Deprecations
{% cards cols="2" %}
{% card title="cypress tsconfig option" type="external" url="https://github.com/nrwl/nx/pull/17165" /%}
{% card title="print-affected" type="external" url="https://github.com/nrwl/nx/pull/17341" /%}
{% card title="affected:graph" type="external" url="https://github.com/nrwl/nx/pull/17341" /%}
{% /cards %}
+17
View File
@@ -0,0 +1,17 @@
# Nx 16.5
[Read the 16.5 release blog post](https://blog.nrwl.io/nx-16-5-release-7887a27cb5)
{% youtube
src="https://www.youtube.com/embed/7XLoLOc3afY"
title="Nx 16.5 Release!!!!"
/%}
Feature highlights:
{% cards cols="2" %}
{% card title="Targeting Tasks by Tags" type="video" url="https://youtu.be/enQDQmFquGU" /%}
{% card title="Nx Verdaccio Support" type="video" url="https://youtu.be/t1c925TzrzE" /%}
{% card title="externalDependencies Input Type" type="video" url="https://youtu.be/FRqgWBmHmAU" /%}
{% card title="Nx Console Revamped" type="video" url="https://youtu.be/p455D4W7330" /%}
{% /cards %}
-98
View File
@@ -1,98 +0,0 @@
---
title: 'affected:apps - CLI command'
description: 'Print applications affected by changes'
---
# affected:apps
**Deprecated:** Use `nx print-affected --type=app ...` instead. This command will be removed in v15.
Print applications affected by changes
## Usage
```shell
nx affected:apps
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
### Examples
Print the names of all the apps affected by changing the index.ts file:
```shell
nx affected:apps --files=libs/mylib/src/index.ts
```
Print the names of all the apps affected by the changes between main and HEAD (e.g., PR):
```shell
nx affected:apps --base=main --head=HEAD
```
Print the names of all the apps affected by the last commit on main:
```shell
nx affected:apps --base=main~1 --head=main
```
## Options
### all
Type: `boolean`
All projects
### base
Type: `string`
Base of the current branch (usually main)
### exclude
Type: `string`
Exclude certain projects from being processed
### files
Type: `string`
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces
### head
Type: `string`
Latest commit of the current branch (usually HEAD)
### help
Type: `boolean`
Show help
### plain
Produces a plain output for affected:apps and affected:libs
### uncommitted
Type: `boolean`
Uncommitted changes
### untracked
Type: `boolean`
Untracked changes
### version
Type: `boolean`
Show version number
+18 -6
View File
@@ -5,6 +5,8 @@ description: 'Graph dependencies affected by changes'
# affected:graph
**Deprecated:** Use `nx graph --affected`, or `nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 18.
Graph dependencies affected by changes
## Usage
@@ -55,12 +57,6 @@ Open the project graph of the workspace in the browser, highlight the projects a
## Options
### all
Type: `boolean`
All projects
### base
Type: `string`
@@ -129,6 +125,12 @@ Type: `number`
Bind the project graph server to a specific port.
### targets
Type: `string`
The target to show tasks for in the task graph
### uncommitted
Type: `boolean`
@@ -147,6 +149,16 @@ Type: `boolean`
Show version number
### view
Type: `string`
Choices: [projects, tasks]
Default: `projects`
Choose whether to view the projects or task graph
### watch
Type: `boolean`
-98
View File
@@ -1,98 +0,0 @@
---
title: 'affected:libs - CLI command'
description: 'Print libraries affected by changes'
---
# affected:libs
**Deprecated:** Use `nx print-affected --type=lib ...` instead. This command will be removed in v15.
Print libraries affected by changes
## Usage
```shell
nx affected:libs
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
### Examples
Print the names of all the libs affected by changing the index.ts file:
```shell
nx affected:libs --files=libs/mylib/src/index.ts
```
Print the names of all the libs affected by the changes between main and HEAD (e.g., PR):
```shell
nx affected:libs --base=main --head=HEAD
```
Print the names of all the libs affected by the last commit on main:
```shell
nx affected:libs --base=main~1 --head=main
```
## Options
### all
Type: `boolean`
All projects
### base
Type: `string`
Base of the current branch (usually main)
### exclude
Type: `string`
Exclude certain projects from being processed
### files
Type: `string`
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces
### head
Type: `string`
Latest commit of the current branch (usually HEAD)
### help
Type: `boolean`
Show help
### plain
Produces a plain output for affected:apps and affected:libs
### uncommitted
Type: `boolean`
Uncommitted changes
### untracked
Type: `boolean`
Untracked changes
### version
Type: `boolean`
Show version number
+22 -12
View File
@@ -20,58 +20,64 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
Run custom target for all affected projects:
```shell
nx affected --target=custom-target
nx affected -t custom-target
```
Run tests in parallel:
```shell
nx affected --target=test --parallel=5
nx affected -t test --parallel=5
```
Run the test target for all projects:
```shell
nx affected --target=test --all
nx affected -t test --all
```
Run lint, test, and build targets for affected projects. Requires Nx v15.4+:
```shell
nx affected --targets=lint,test,build
nx affected -t lint test build
```
Run tests for all the projects affected by changing the index.ts file:
```shell
nx affected --target=test --files=libs/mylib/src/index.ts
nx affected -t test --files=libs/mylib/src/index.ts
```
Run tests for all the projects affected by the changes between main and HEAD (e.g., PR):
```shell
nx affected --target=test --base=main --head=HEAD
nx affected -t test --base=main --head=HEAD
```
Run tests for all the projects affected by the last commit on main:
```shell
nx affected --target=test --base=main~1 --head=main
nx affected -t test --base=main~1 --head=main
```
Run build for only projects with the tag `dotnet`:
```shell
nx affected -t build --exclude '*,!tag:dotnet'
```
Use the currently executing project name in your command.:
```shell
nx affected --target=build --tag=$NX_TARGET_TASK_PROJECT:latest
nx affected -t build --tag=$NX_TASK_TARGET_PROJECT:latest
```
## Options
### all
### ~~all~~
Type: `boolean`
All projects
**Deprecated:** Use `nx run-many` instead
### base
@@ -97,6 +103,12 @@ Type: `string`
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces
### graph
Type: `string`
Show the task graph of the command. Pass a file path to save the graph data instead of viewing it in the browser.
### head
Type: `string`
@@ -175,8 +187,6 @@ Untracked changes
Type: `boolean`
Default: `false`
Prints additional information about the commands (e.g., stack traces)
### version
+34 -10
View File
@@ -29,13 +29,13 @@ Show all prompts
Type: `string`
The name of the application when a preset with pregenerated app is selected
The name of the app when using a monorepo with certain stacks
### bundler
Type: `string`
Bundler to be used to build the application
Bundler to be used to build the app
### ci
@@ -77,13 +77,21 @@ Default base to use for new projects
Type: `boolean`
Generate a Dockerfile with your node-server
Generate a Dockerfile for the Node API
### e2eTestRunner
Type: `string`
Choices: [cypress, playwright, none]
Test runner to use for end to end (E2E) tests.
### framework
Type: `string`
Framework option to be used when the node-server preset is selected
Framework option to be used with certain stacks
### help
@@ -95,6 +103,8 @@ Show help
Type: `boolean`
Default: `true`
Enable interactive mode with presets
### name
@@ -103,6 +113,12 @@ Type: `string`
Workspace name (e.g. org name)
### nextAppDir
Type: `boolean`
Enable the App Router for Next.js
### nxCloud
Type: `boolean`
@@ -123,13 +139,13 @@ Package manager to use
Type: `string`
Customizes the initial content of your workspace. Default presets include: ["apps", "empty", "core", "npm", "ts", "web-components", "angular-monorepo", "angular-standalone", "react-monorepo", "react-standalone", "react-native", "expo", "next", "nest", "express", "react", "angular", "node-server"]. To build your own see https://nx.dev/packages/nx-plugin#preset
Customizes the initial content of your workspace. Default presets include: ["apps", "empty", "core", "npm", "ts", "web-components", "angular-monorepo", "angular-standalone", "react-monorepo", "react-standalone", "next", "nextjs-standalone", "react-native", "expo", "nest", "express", "react", "angular", "node-standalone", "node-monorepo", "ts-standalone"]. To build your own see https://nx.dev/plugins/recipes/create-preset
### routing
Type: `string`
Type: `boolean`
Add a routing setup when a preset with pregenerated app is selected
Add a routing setup for an Angular app
### skipGit
@@ -137,11 +153,11 @@ Type: `boolean`
Default: `false`
Skip initializing a git repository.
Skip initializing a git repository
### standaloneApi
Type: `string`
Type: `boolean`
Use Standalone Components if generating an Angular app
@@ -149,10 +165,18 @@ Use Standalone Components if generating an Angular app
Type: `string`
Style option to be used when a preset with pregenerated app is selected
Stylesheet type to be used with certain stacks
### version
Type: `boolean`
Show version number
### workspaceType
Type: `string`
Choices: [integrated, package-based, standalone]
The type of workspace to create
+6 -2
View File
@@ -29,6 +29,12 @@ Type: `string`
Exclude certain projects from being processed
### graph
Type: `string`
Show the task graph of the command. Pass a file path to save the graph data instead of viewing it in the browser.
### nx-bail
Type: `boolean`
@@ -83,8 +89,6 @@ Rerun the tasks even when the results are available in the cache
Type: `boolean`
Default: `false`
Prints additional information about the commands (e.g., stack traces)
### version
+1 -1
View File
@@ -21,7 +21,7 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
Type: `boolean`
All projects
Format all projects
### base
+1 -1
View File
@@ -21,7 +21,7 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
Type: `boolean`
All projects
Format all projects
### base
+7 -7
View File
@@ -24,43 +24,43 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
Generate a new Angular application:
```shell
nx generate @nrwl/angular:app myapp
nx generate @nx/angular:app myapp
```
Generate a new React application:
```shell
nx generate @nrwl/react:app myapp
nx generate @nx/react:app myapp
```
Generate a new web component application:
```shell
nx generate @nrwl/web:app myapp
nx generate @nx/web:app myapp
```
Generate a new Node application:
```shell
nx generate @nrwl/node:app myapp
nx generate @nx/node:app myapp
```
Generate a new Angular library application:
```shell
nx generate @nrwl/angular:library mylibrary
nx generate @nx/angular:library mylibrary
```
Generate a new React library application:
```shell
nx generate @nrwl/react:library mylibrary
nx generate @nx/react:library mylibrary
```
Generate a new Node library application:
```shell
nx generate @nrwl/node:library mylibrary
nx generate @nx/node:library mylibrary
```
## Options
+53 -1
View File
@@ -67,11 +67,23 @@ Watch for changes to project graph and update in-browser:
## Options
### affected
Type: `boolean`
Highlight affected projects
### base
Type: `string`
Base of the current branch (usually main)
### exclude
Type: `string`
List of projects delimited by commas to exclude from the project graph.
Exclude certain projects from being processed
### file
@@ -79,6 +91,12 @@ Type: `string`
Output file (e.g. --file=output.json or --file=dep-graph.html)
### files
Type: `string`
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces
### focus
Type: `string`
@@ -91,6 +109,12 @@ Type: `boolean`
Group projects by folder in the project graph
### head
Type: `string`
Latest commit of the current branch (usually HEAD)
### help
Type: `boolean`
@@ -117,12 +141,40 @@ Type: `number`
Bind the project graph server to a specific port.
### targets
Type: `string`
The target to show tasks for in the task graph
### uncommitted
Type: `boolean`
Uncommitted changes
### untracked
Type: `boolean`
Untracked changes
### version
Type: `boolean`
Show version number
### view
Type: `string`
Choices: [projects, tasks]
Default: `projects`
Choose whether to view the projects or task graph
### watch
Type: `boolean`
+70 -2
View File
@@ -1,11 +1,11 @@
---
title: 'init - CLI command'
description: 'Adds nx.json file and installs nx if not installed already'
description: 'Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.'
---
# init
Adds nx.json file and installs nx if not installed already
Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.
## Usage
@@ -14,3 +14,71 @@ nx init
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
## Options
### addE2e
Type: `boolean`
Default: `false`
Set up Cypress E2E tests in integrated workspaces. Only for CRA projects.
### force
Type: `boolean`
Default: `false`
Force the migration to continue and ignore custom webpack setup or uncommitted changes. Only for CRA projects.
### help
Type: `boolean`
Show help
### integrated
Type: `boolean`
Default: `false`
Migrate to an Nx integrated layout workspace. Only for Angular CLI workspaces and CRA projects.
### interactive
Type: `boolean`
Default: `true`
When false disables interactive input prompts for options.
### nxCloud
Type: `boolean`
Set up distributed caching with Nx Cloud.
### useDotNxInstallation
Type: `boolean`
Default: `false`
Initialize an Nx workspace setup in the .nx directory of the current repository.
### version
Type: `boolean`
Show version number
### vite
Type: `boolean`
Default: `true`
Use Vite as the bundler. Only for CRA projects.
+2 -2
View File
@@ -23,10 +23,10 @@ List the plugins installed in the current workspace:
nx list
```
List the generators and executors available in the `@nrwl/web` plugin if it is installed (If the plugin is not installed `nx` will show advice on how to add it to your workspace):
List the generators and executors available in the `@nx/web` plugin if it is installed (If the plugin is not installed `nx` will show advice on how to add it to your workspace):
```shell
nx list @nrwl/web
nx list @nx/web
```
## Options
+50 -14
View File
@@ -2,16 +2,16 @@
title: 'migrate - CLI command'
description:
'Creates a migrations file or runs migrations from the migrations file.
- Migrate packages and create migrations.json (e.g., nx migrate @nrwl/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json)'
- Migrate packages and create migrations.json (e.g., nx migrate @nx/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json). Use flag --if-exists to run migrations only if the migrations file exists.'
---
# migrate
Creates a migrations file or runs migrations from the migrations file.
- Migrate packages and create migrations.json (e.g., nx migrate @nrwl/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json)
- Migrate packages and create migrations.json (e.g., nx migrate @nx/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json). Use flag --if-exists to run migrations only if the migrations file exists.
## Usage
@@ -23,28 +23,28 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
### Examples
Update @nrwl/workspace to "next". This will update other packages and will generate migrations.json:
Update all Nx plugins to "latest". This will generate migrations.json:
```shell
nx migrate next
nx migrate latest
```
Update @nrwl/workspace to "9.0.0". This will update other packages and will generate migrations.json:
Update all Nx plugins to "9.0.0". This will generate migrations.json:
```shell
nx migrate 9.0.0
```
Update @nrwl/workspace and generate the list of migrations starting with version 8.0.0 of @nrwl/workspace and @nrwl/node, regardless of what installed locally:
Update @nx/workspace and generate the list of migrations starting with version 8.0.0 of @nx/workspace and @nx/node, regardless of what is installed locally:
```shell
nx migrate @nrwl/workspace@9.0.0 --from="@nrwl/workspace@8.0.0,@nrwl/node@8.0.0"
nx migrate @nx/workspace@9.0.0 --from="@nx/workspace@8.0.0,@nx/node@8.0.0"
```
Update @nrwl/workspace to "9.0.0". If it tries to update @nrwl/react or @nrwl/angular, use version "9.0.1":
Update @nx/workspace to "9.0.0". If it tries to update @nx/react or @nx/angular, use version "9.0.1":
```shell
nx migrate @nrwl/workspace@9.0.0 --to="@nrwl/react@9.0.1,@nrwl/angular@9.0.1"
nx migrate @nx/workspace@9.0.0 --to="@nx/react@9.0.1,@nx/angular@9.0.1"
```
Update another-package to "12.0.0". This will update other packages and will generate migrations.json file:
@@ -53,6 +53,18 @@ Update another-package to "12.0.0". This will update other packages and will gen
nx migrate another-package@12.0.0
```
Collect package updates and migrations in interactive mode. In this mode, the user will be prompted whether to apply any optional package update and migration:
```shell
nx migrate latest --interactive
```
Collect package updates and migrations starting with version 14.5.0 of "nx" (and Nx first-party plugins), regardless of what is installed locally, while excluding migrations that should have been applied on previous updates:
```shell
nx migrate latest --from=nx@14.5.0 --exclude-applied-migrations
```
Run migrations from the provided migrations.json file. You can modify migrations.json and run this command many times:
```shell
@@ -83,11 +95,19 @@ Default: `false`
Automatically create a git commit after each migration runs
### excludeAppliedMigrations
Type: `boolean`
Default: `false`
Exclude migrations that should have been applied on previous updates. To be used with --from
### from
Type: `string`
Use the provided versions for packages instead of the ones installed in node_modules (e.g., --from="@nrwl/react:12.0.0,@nrwl/js:12.0.0")
Use the provided versions for packages instead of the ones installed in node_modules (e.g., --from="@nx/react@16.0.0,@nx/js@16.0.0")
### help
@@ -95,11 +115,27 @@ Type: `boolean`
Show help
### ifExists
Type: `boolean`
Default: `false`
Run migrations only if the migrations file exists, if not continues successfully
### interactive
Type: `boolean`
Default: `false`
Enable prompts to confirm whether to collect optional package updates and migrations
### packageAndVersion
Type: `string`
The target package and version (e.g, @nrwl/workspace@13.0.0)
The target package and version (e.g, @nx/workspace@16.0.0)
### runMigrations
@@ -111,7 +147,7 @@ Execute migrations from a file (when the file isn't provided, execute migrations
Type: `string`
Use the provided versions for packages instead of the ones calculated by the migrator (e.g., --to="@nrwl/react:12.0.0,@nrwl/js:12.0.0")
Use the provided versions for packages instead of the ones calculated by the migrator (e.g., --to="@nx/react@16.0.0,@nx/js@16.0.0")
### version
+5 -9
View File
@@ -5,6 +5,8 @@ description: 'Prints information about the projects and targets affected by chan
# print-affected
**Deprecated:** Use `nx show projects --affected`, `nx affected --graph -t build` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 18.
Prints information about the projects and targets affected by changes
## Usage
@@ -32,29 +34,23 @@ Print information about the projects affected by the changes between main and HE
Prints information about the affected projects and a list of tasks to test them:
```shell
nx print-affected --target=test
nx print-affected -t test
```
Prints the projects property from the print-affected output:
```shell
nx print-affected --target=build --select=projects
nx print-affected -t build --select=projects
```
Prints the tasks.target.project property from the print-affected output:
```shell
nx print-affected --target=build --select=tasks.target.project
nx print-affected -t build --select=tasks.target.project
```
## Options
### all
Type: `boolean`
All projects
### base
Type: `string`
+30 -8
View File
@@ -20,31 +20,49 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`
Test all projects:
```shell
nx run-many --target=test
nx run-many -t test
```
Test proj1 and proj2 in parallel:
```shell
nx run-many --target=test --projects=proj1,proj2
nx run-many -t test -p proj1 proj2
```
Test proj1 and proj2 in parallel using 5 workers:
```shell
nx run-many --target=test --projects=proj1,proj2 --parallel=5
nx run-many -t test -p proj1 proj2 --parallel=5
```
Test proj1 and proj2 in sequence:
```shell
nx run-many --target=test --projects=proj1,proj2 --parallel=false
nx run-many -t test -p proj1 proj2 --parallel=false
```
Test all projects ending with `*-app` except `excluded-app`:
Test all projects ending with `*-app` except `excluded-app`. Note: your shell may require you to escape the `*` like this: `\*`:
```shell
nx run-many --target=test --projects=*-app --exclude excluded-app
nx run-many -t test --projects=*-app --exclude excluded-app
```
Test all projects with tags starting with `api-`. Note: your shell may require you to escape the `*` like this: `\*`:
```shell
nx run-many -t test --projects=tag:api-*
```
Test all projects with a `type:ui` tag:
```shell
nx run-many -t test --projects=tag:type:ui
```
Test all projects with a `type:feature` or `type:ui` tag:
```shell
nx run-many -t test --projects=tag:type:feature,tag:type:ui
```
Run lint, test, and build targets for all projects. Requires Nx v15.4+:
@@ -75,6 +93,12 @@ Type: `string`
Exclude certain projects from being processed
### graph
Type: `string`
Show the task graph of the command. Pass a file path to save the graph data instead of viewing it in the browser.
### help
Type: `boolean`
@@ -141,8 +165,6 @@ Tasks to run for affected projects
Type: `boolean`
Default: `false`
Prints additional information about the commands (e.g., stack traces)
### version
+2 -2
View File
@@ -1,11 +1,11 @@
---
title: 'run - CLI command'
description: 'Runs an Architect target with an optional custom builder configuration defined in your project.'
description: 'Runs a target defined for your project. Target definitions can be found in the `scripts` property of the project `package.json`, or in the `targets` property of the project `project.json` file.'
---
# run
Runs an Architect target with an optional custom builder configuration defined in your project.
Runs a target defined for your project. Target definitions can be found in the `scripts` property of the project `package.json`, or in the `targets` property of the project `project.json` file.
## Usage
+154 -4
View File
@@ -10,11 +10,55 @@ Show information about the workspace (e.g., list of projects)
## Usage
```shell
nx show <object>
nx show
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
### Examples
Show all projects in the workspace:
```shell
nx show projects
```
Show all projects with names starting with "api-". The "projects" option is useful to see which projects would be selected by run-many.:
```shell
nx show projects --projects api-*
```
Show all projects with a serve target:
```shell
nx show projects --with-target serve
```
Show affected projects in the workspace:
```shell
nx show projects --affected
```
Show affected projects in the workspace, excluding end-to-end projects:
```shell
nx show projects --affected --exclude *-e2e
```
Show detailed information about "my-app" in a json format.:
```shell
nx show project my-app
```
Show information about "my-app" in a human readable format.:
```shell
nx show project my-app --json false
```
## Options
### help
@@ -23,14 +67,120 @@ Type: `boolean`
Show help
### object
### json
Choices: [projects]
Type: `boolean`
What to show (e.g., projects)
Output JSON
### version
Type: `boolean`
Show version number
## Subcommands
### projects
Show a list of projects in the workspace
```shell
nx show projects
```
#### Options
##### affected
Type: `boolean`
Show only affected projects
##### base
Type: `string`
Base of the current branch (usually main)
##### exclude
Type: `string`
Exclude certain projects from being processed
##### files
Type: `string`
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces
##### head
Type: `string`
Latest commit of the current branch (usually HEAD)
##### help
Type: `boolean`
Show help
##### projects
Type: `string`
Show only projects that match a given pattern.
##### uncommitted
Type: `boolean`
Uncommitted changes
##### untracked
Type: `boolean`
Untracked changes
##### version
Type: `boolean`
Show version number
##### withTarget
Type: `string`
Show only projects that have a specific target
### project
Shows resolved project configuration for a given project.
```shell
nx show project <projectName>
```
#### Options
##### help
Type: `boolean`
Show help
##### projectName
Type: `string`
Which project should be viewed?
##### version
Type: `boolean`
Show version number
+1 -1
View File
@@ -26,7 +26,7 @@ Watch the "app" project and echo the project name and the files that changed:
Watch "app1" and "app2" and echo the project name whenever a specified project or its dependencies change:
```shell
nx watch --projects=app1,app2 --includeDependencies -- echo \$NX_PROJECT_NAME
nx watch --projects=app1,app2 --includeDependentProjects -- echo \$NX_PROJECT_NAME
```
Watch all projects (including newly created projects) in the workspace:
+30 -6
View File
@@ -5,35 +5,59 @@ description: 'Runs a workspace generator from the tools/generators directory'
# workspace-generator
**Deprecated:** Use a local plugin instead. See: https://nx.dev/deprecated/workspace-generators
Runs a workspace generator from the tools/generators directory
## Usage
```shell
nx workspace-generator [name]
nx workspace-generator [generator]
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
## Options
### dryRun
Type: `boolean`
Default: `false`
Preview the changes without updating files
### generator
Type: `string`
Name of the generator (e.g., @nx/js:library, library)
### help
Type: `boolean`
Show help
### list-generators
### interactive
Type: `boolean`
List the available workspace-generators
Default: `true`
### name
When false disables interactive input prompts for options
Type: `string`
### quiet
The name of your generator
Type: `boolean`
Hides logs from tree operations (e.g. `CREATE package.json`)
### verbose
Type: `boolean`
Prints additional information about the commands (e.g., stack traces)
### version
+2
View File
@@ -5,6 +5,8 @@ description: 'Lint nx specific workspace files (nx.json, workspace.json)'
# workspace-lint
**Deprecated:** workspace-lint is deprecated, and will be removed in v17. The checks it used to perform are no longer relevant. See: https://nx.dev/deprecated/workspace-lint
Lint nx specific workspace files (nx.json, workspace.json)
## Usage
+10 -10
View File
@@ -2,7 +2,7 @@
## Table of contents
### Ng CLI Adapter Classes
### Classes
- [NxScopedHost](../../devkit/documents/ngcli_adapter#nxscopedhost)
@@ -12,7 +12,7 @@
- [overrideCollectionResolutionForTesting](../../devkit/documents/ngcli_adapter#overridecollectionresolutionfortesting)
- [wrapAngularDevkitSchematic](../../devkit/documents/ngcli_adapter#wrapangulardevkitschematic)
## Ng CLI Adapter Classes
## Classes
### NxScopedHost
@@ -68,12 +68,12 @@ Example:
```typescript
overrideCollectionResolutionForTesting({
'@nrwl/workspace': path.join(
'@nx/workspace': path.join(
__dirname,
'../../../../workspace/generators.json'
),
'@nrwl/angular': path.join(__dirname, '../../../../angular/generators.json'),
'@nrwl/linter': path.join(__dirname, '../../../../linter/generators.json'),
'@nx/angular': path.join(__dirname, '../../../../angular/generators.json'),
'@nx/linter': path.join(__dirname, '../../../../linter/generators.json'),
});
```
@@ -91,7 +91,7 @@ overrideCollectionResolutionForTesting({
### wrapAngularDevkitSchematic
**wrapAngularDevkitSchematic**(`collectionName`, `generatorName`): (`host`: [`Tree`](../../devkit/documents/nrwl_devkit#tree), `generatorOptions`: { [k: string]: `any`; }) => `Promise`<`any`\>
**wrapAngularDevkitSchematic**(`collectionName`, `generatorName`): (`host`: [`Tree`](../../devkit/documents/nx_devkit#tree), `generatorOptions`: { `[k: string]`: `any`; }) => `Promise`<`any`\>
#### Parameters
@@ -108,10 +108,10 @@ overrideCollectionResolutionForTesting({
##### Parameters
| Name | Type |
| :----------------- | :------------------------------------------------ |
| `host` | [`Tree`](../../devkit/documents/nrwl_devkit#tree) |
| `generatorOptions` | `Object` |
| Name | Type |
| :----------------- | :---------------------------------------------- |
| `host` | [`Tree`](../../devkit/documents/nx_devkit#tree) |
| `generatorOptions` | `Object` |
##### Returns
File diff suppressed because it is too large Load Diff
+22 -62
View File
@@ -127,16 +127,6 @@
"description": "Learn how to manage Nx Cloud subscriptions and other options.",
"file": "",
"itemList": [
{
"id": "billing",
"name": "Billing and Utilization",
"description": "",
"file": "nx-cloud/account/billing",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/account/billing",
"tags": []
},
{
"id": "users",
"name": "Users",
@@ -192,16 +182,6 @@
"path": "/nx-cloud/account",
"tags": []
},
"/nx-cloud/account/billing": {
"id": "billing",
"name": "Billing and Utilization",
"description": "",
"file": "nx-cloud/account/billing",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/account/billing",
"tags": []
},
"/nx-cloud/account/users": {
"id": "users",
"name": "Users",
@@ -254,8 +234,8 @@
},
"/nx-cloud/private-cloud": {
"id": "private-cloud",
"name": "On Prem",
"description": "Learn about Nx Cloud On Premise, dedicated Nx Cloud application hosted on your server, in your network with total private access.",
"name": "Enterprise + On Prem",
"description": "Learn about Nx Cloud Enterprise + On-Prem.",
"file": "",
"itemList": [
{
@@ -288,6 +268,16 @@
"path": "/nx-cloud/private-cloud/auth-github",
"tags": []
},
{
"id": "ami-setup",
"name": "On-Prem VM Setup",
"description": "",
"file": "nx-cloud/private/ami-setup",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/private-cloud/ami-setup",
"tags": []
},
{
"id": "auth-gitlab",
"name": "Authenticate with GitLab",
@@ -327,26 +317,6 @@
"isExternal": false,
"path": "/nx-cloud/private-cloud/advanced-config",
"tags": []
},
{
"id": "kubernetes-setup",
"name": "Kubernetes Setup",
"description": "",
"file": "nx-cloud/private/kubernetes-setup",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/private-cloud/kubernetes-setup",
"tags": []
},
{
"id": "standalone",
"name": "Standalone",
"description": "",
"file": "nx-cloud/private/standalone",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/private-cloud/standalone",
"tags": []
}
],
"isExternal": false,
@@ -383,6 +353,16 @@
"path": "/nx-cloud/private-cloud/auth-github",
"tags": []
},
"/nx-cloud/private-cloud/ami-setup": {
"id": "ami-setup",
"name": "On-Prem VM Setup",
"description": "",
"file": "nx-cloud/private/ami-setup",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/private-cloud/ami-setup",
"tags": []
},
"/nx-cloud/private-cloud/auth-gitlab": {
"id": "auth-gitlab",
"name": "Authenticate with GitLab",
@@ -423,26 +403,6 @@
"path": "/nx-cloud/private-cloud/advanced-config",
"tags": []
},
"/nx-cloud/private-cloud/kubernetes-setup": {
"id": "kubernetes-setup",
"name": "Kubernetes Setup",
"description": "",
"file": "nx-cloud/private/kubernetes-setup",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/private-cloud/kubernetes-setup",
"tags": []
},
"/nx-cloud/private-cloud/standalone": {
"id": "standalone",
"name": "Standalone",
"description": "",
"file": "nx-cloud/private/standalone",
"itemList": [],
"isExternal": false,
"path": "/nx-cloud/private-cloud/standalone",
"tags": []
},
"/nx-cloud/reference": {
"id": "reference",
"name": "Reference",
+335
View File
@@ -0,0 +1,335 @@
{
"/extending-nx/intro": {
"id": "intro",
"name": "Intro",
"description": "Learn about plugins.",
"file": "",
"itemList": [
{
"id": "getting-started",
"name": "Getting Started with Plugins",
"description": "Learn how to extend Nx by creating and releasing your own Nx plugin.",
"file": "shared/plugins/intro",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/intro/getting-started",
"tags": []
},
{
"id": "registry",
"name": "Plugin Registry",
"description": "Browse official and community plugins",
"file": "",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/registry",
"tags": []
}
],
"isExternal": false,
"path": "/extending-nx/intro",
"tags": []
},
"/extending-nx/intro/getting-started": {
"id": "getting-started",
"name": "Getting Started with Plugins",
"description": "Learn how to extend Nx by creating and releasing your own Nx plugin.",
"file": "shared/plugins/intro",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/intro/getting-started",
"tags": []
},
"/extending-nx/registry": {
"id": "registry",
"name": "Plugin Registry",
"description": "Browse official and community plugins",
"file": "",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/registry",
"tags": []
},
"/extending-nx/tutorials": {
"id": "tutorials",
"name": "5 Min Tutorials",
"description": "Get started with plugins",
"file": "",
"itemList": [
{
"id": "create-plugin",
"name": "Create a Local Plugin",
"description": "",
"file": "shared/plugins/create-plugin",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/tutorials/create-plugin",
"tags": []
},
{
"id": "publish-plugin",
"name": "Maintain a Published Plugin",
"description": "",
"file": "shared/plugins/maintain-published-plugin",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/tutorials/publish-plugin",
"tags": []
}
],
"isExternal": false,
"path": "/extending-nx/tutorials",
"tags": []
},
"/extending-nx/tutorials/create-plugin": {
"id": "create-plugin",
"name": "Create a Local Plugin",
"description": "",
"file": "shared/plugins/create-plugin",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/tutorials/create-plugin",
"tags": []
},
"/extending-nx/tutorials/publish-plugin": {
"id": "publish-plugin",
"name": "Maintain a Published Plugin",
"description": "",
"file": "shared/plugins/maintain-published-plugin",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/tutorials/publish-plugin",
"tags": []
},
"/extending-nx/recipes": {
"id": "recipes",
"name": "Recipes",
"description": "Focused instructions to complete a specific task",
"file": "",
"itemList": [
{
"id": "local-executors",
"name": "Write a Simple Executor",
"description": "",
"file": "shared/recipes/plugins/local-executors",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/local-executors",
"tags": ["use-task-executors"]
},
{
"id": "compose-executors",
"name": "Compose Executors",
"description": "",
"file": "shared/recipes/plugins/compose-executors",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/compose-executors",
"tags": ["use-task-executors"]
},
{
"id": "local-generators",
"name": "Write a Simple Generator",
"description": "",
"file": "shared/recipes/generators/local-generators",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/local-generators",
"tags": ["use-code-generators"]
},
{
"id": "composing-generators",
"name": "Compose Generators",
"description": "",
"file": "shared/recipes/generators/composing-generators",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/composing-generators",
"tags": ["use-code-generators"]
},
{
"id": "generator-options",
"name": "Provide Options for Generators",
"description": "",
"file": "shared/recipes/generators/generator-options",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/generator-options",
"tags": ["use-code-generators"]
},
{
"id": "creating-files",
"name": "Create Files",
"description": "",
"file": "shared/recipes/generators/creating-files",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/creating-files",
"tags": ["use-code-generators"]
},
{
"id": "modifying-files",
"name": "Modify Files",
"description": "",
"file": "shared/recipes/generators/modifying-files",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/modifying-files",
"tags": ["use-code-generators"]
},
{
"id": "migration-generators",
"name": "Write a Migration",
"description": "",
"file": "shared/recipes/plugins/migration-generators",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/migration-generators",
"tags": ["create-your-own-plugin"]
},
{
"id": "create-preset",
"name": "Create a Preset",
"description": "",
"file": "shared/recipes/plugins/create-preset",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/create-preset",
"tags": ["create-your-own-plugin"]
},
{
"id": "project-graph-plugins",
"name": "Modify the Project Graph",
"description": "",
"file": "shared/recipes/plugins/project-graph-plugins",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/project-graph-plugins",
"tags": ["create-your-own-plugin", "explore-graph"]
},
{
"id": "project-inference-plugins",
"name": "Identify Custom Projects",
"description": "",
"file": "shared/recipes/plugins/project-inference-plugins",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/project-inference-plugins",
"tags": ["create-your-own-plugin"]
}
],
"isExternal": false,
"path": "/extending-nx/recipes",
"tags": []
},
"/extending-nx/recipes/local-executors": {
"id": "local-executors",
"name": "Write a Simple Executor",
"description": "",
"file": "shared/recipes/plugins/local-executors",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/local-executors",
"tags": ["use-task-executors"]
},
"/extending-nx/recipes/compose-executors": {
"id": "compose-executors",
"name": "Compose Executors",
"description": "",
"file": "shared/recipes/plugins/compose-executors",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/compose-executors",
"tags": ["use-task-executors"]
},
"/extending-nx/recipes/local-generators": {
"id": "local-generators",
"name": "Write a Simple Generator",
"description": "",
"file": "shared/recipes/generators/local-generators",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/local-generators",
"tags": ["use-code-generators"]
},
"/extending-nx/recipes/composing-generators": {
"id": "composing-generators",
"name": "Compose Generators",
"description": "",
"file": "shared/recipes/generators/composing-generators",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/composing-generators",
"tags": ["use-code-generators"]
},
"/extending-nx/recipes/generator-options": {
"id": "generator-options",
"name": "Provide Options for Generators",
"description": "",
"file": "shared/recipes/generators/generator-options",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/generator-options",
"tags": ["use-code-generators"]
},
"/extending-nx/recipes/creating-files": {
"id": "creating-files",
"name": "Create Files",
"description": "",
"file": "shared/recipes/generators/creating-files",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/creating-files",
"tags": ["use-code-generators"]
},
"/extending-nx/recipes/modifying-files": {
"id": "modifying-files",
"name": "Modify Files",
"description": "",
"file": "shared/recipes/generators/modifying-files",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/modifying-files",
"tags": ["use-code-generators"]
},
"/extending-nx/recipes/migration-generators": {
"id": "migration-generators",
"name": "Write a Migration",
"description": "",
"file": "shared/recipes/plugins/migration-generators",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/migration-generators",
"tags": ["create-your-own-plugin"]
},
"/extending-nx/recipes/create-preset": {
"id": "create-preset",
"name": "Create a Preset",
"description": "",
"file": "shared/recipes/plugins/create-preset",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/create-preset",
"tags": ["create-your-own-plugin"]
},
"/extending-nx/recipes/project-graph-plugins": {
"id": "project-graph-plugins",
"name": "Modify the Project Graph",
"description": "",
"file": "shared/recipes/plugins/project-graph-plugins",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/project-graph-plugins",
"tags": ["create-your-own-plugin", "explore-graph"]
},
"/extending-nx/recipes/project-inference-plugins": {
"id": "project-inference-plugins",
"name": "Identify Custom Projects",
"description": "",
"file": "shared/recipes/plugins/project-inference-plugins",
"itemList": [],
"isExternal": false,
"path": "/extending-nx/recipes/project-inference-plugins",
"tags": ["create-your-own-plugin"]
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,21 +1,32 @@
# Nx and Angular Version Compatibility Matrix
# Nx and Angular Versions
The latest version of Nx supports the [actively supported versions of Angular (current and LTS versions)](https://angular.io/guide/releases#actively-supported-versions). Workspaces in any of those versions are recommended to use the latest version of Nx to benefit from all the new features and fixes.
{% callout type="note" title="Older Nx and Angular versions" %}
The support for multiple versions of Angular in the latest version of Nx was added in **v15.7.0** and started by supporting Angular v14 and v15. If your workspace is in an older version of Angular or you can't update to the latest version of Nx for some reason, please have a look at the next section to know which version of Nx to use.
{% /callout %}
## Nx and Angular Version Compatibility Matrix
Below is a reference table that matches versions of Angular to the version of Nx that is compatible with it. The table shows the version of Angular, the recommended version of Nx to use and the range of Nx versions that support the version of Angular.
We provide a recommended version, and it is usually the latest minor version of Nx in the range provided because there will have been bug fixes added since the first release in the range.
| Angular Version | **Nx Version _(recommended)_** | Nx Version _(range)_ |
| --------------- | ------------------------------ | -------------------- |
| ~15.1.0 | **latest** | 15.5.0 <= latest |
| ~15.0.0 | **15.4.8** | 15.2.0 <= 15.4.8 |
| ~14.2.0 | **15.1.1** | 14.6.0 <= 15.1.1 |
| ~14.1.0 | **14.5.10** | 14.5.0 <= 14.5.10 |
| ~14.0.0 | **14.4.3** | 14.2.1 <= 14.4.3 |
| ^13.0.0 | **14.1.9** | 13.2.0 <= 14.1.9 |
| ^12.0.0 | **13.1.4** | 12.3.0 <= 13.1.4 |
| ^11.0.0 | **12.2.0** | 11.0.0 <= 12.2.0 |
| ^10.0.0 | **10.4.15** | 9.7.0 <= 10.4.15 |
| ^9.0.0 | **9.6.0** | 8.12.4 <= 9.6.0 |
| ^8.0.0 | **8.12.2** | 8.7.0 <= 8.12.2 |
| Angular Version | **Nx Version _(recommended)_** | Nx Version _(range)_ |
| --------------- | ------------------------------ | --------------------------------------- |
| ~16.1.0 | **latest** | 16.4.0 <= latest |
| ~16.0.0 | **latest** | 16.1.0 <= latest |
| ~15.2.0 | **latest** | 15.8.0 <= latest |
| ~15.1.0 | **latest** | 15.5.0 <= latest |
| ~15.0.0 | **latest** | 15.2.0 <= 15.4.8 \|\| 15.7.0 <= latest |
| ~14.2.0 | **latest** | 14.6.0 <= 15.1.1 \|\| 15.7.0 <= latest |
| ~14.1.0 | **latest** | 14.5.0 <= 14.5.10 \|\| 15.7.0 <= latest |
| ~14.0.0 | **latest** | 14.2.1 <= 14.4.3 \|\| 15.7.0 <= latest |
| ^13.0.0 | **14.1.9** | 13.2.0 <= 14.1.9 |
| ^12.0.0 | **13.1.4** | 12.3.0 <= 13.1.4 |
| ^11.0.0 | **12.2.0** | 11.0.0 <= 12.2.0 |
| ^10.0.0 | **10.4.15** | 9.7.0 <= 10.4.15 |
| ^9.0.0 | **9.6.0** | 8.12.4 <= 9.6.0 |
| ^8.0.0 | **8.12.2** | 8.7.0 <= 8.12.2 |
If you would like to see how the supported versions of Node and Typescript for the version of Angular you are using, [Lars Gyrup Brink Nielsen](https://twitter.com/LayZeeDK) has a very good resource for that [here](https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3).
Additionally, you can check the supported versions of Node and Typescript for the version of Angular you are using in the [Angular docs](https://angular.io/guide/versions#actively-supported-versions).
@@ -1,6 +1,7 @@
The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides:
The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries
within an Nx workspace. It provides:
- Integration with libraries such as Storybook, Jest, Cypress, Karma, and Protractor.
- Integration with libraries such as Storybook, Jest and Cypress.
- Generators to help scaffold code quickly, including:
- Micro Frontends
- Libraries, both internal to your codebase and publishable to npm
@@ -10,7 +11,8 @@ The Nx Plugin for Angular contains executors, generators, and utilities for mana
- Utilities for automatic workspace refactoring.
{% callout type="note" title="Currently using the Angular CLI?" %}
You can easily and mostly **automatically migrate from an Angular CLI** project to Nx! Learn more [here](/recipes/adopting-nx/migration-angular).
You can easily and mostly **automatically migrate from an Angular CLI** project to Nx! Learn
more [here](/recipes/angular/migration/angular).
{% /callout %}
## Setting up the Angular plugin
@@ -18,11 +20,11 @@ You can easily and mostly **automatically migrate from an Angular CLI** project
Adding the Angular plugin to an existing Nx workspace can be done with the following:
```shell
yarn add -D @nrwl/angular
yarn add -D @nx/angular
```
```shell
npm install -D @nrwl/angular
npm install -D @nx/angular
```
## Using the Angular Plugin
@@ -32,7 +34,7 @@ npm install -D @nrwl/angular
It's straightforward to generate an Angular application:
```shell
nx g @nrwl/angular:app appName
nx g @nx/angular:app appName
```
By default, the application will be generated with:
@@ -56,7 +58,7 @@ nx e2e appName
Generating an Angular library is very similar to generating an application:
```shell
nx g @nrwl/angular:lib libName
nx g @nx/angular:lib libName
```
By default, the library will be generated with:
@@ -73,16 +75,24 @@ nx lint libName
Read more about:
- [Creating Libraries](/more-concepts/creating-libraries)
- [Library Types](/more-concepts/library-types)
- [Buildable and Publishable Libraries](/more-concepts/buildable-and-publishable-libraries)
- [Creating Libraries](/concepts/more-concepts/creating-libraries)
- [Library Types](/concepts/more-concepts/library-types)
- [Buildable and Publishable Libraries](/concepts/more-concepts/buildable-and-publishable-libraries)
### Fallback to `@schematics/angular`
If you try to invoke a generator that is not present in `@nx/angular`, the request will automatically be forwarded on
to `@schematics/angular`. So, even though there is no `@nx/angular:service` generator, the following command will
successfully create a service:
```shell
nx g @nx/angular:service my-service
```
## More Documentation
- [Angular Nx Tutorial](/angular-tutorial/1-code-generation)
- [Migrating from the Angular CLI](recipe/migration-angular)
- [Setup Module Federation with Angular and Nx](/recipes/module-federation/faster-builds)
- [Using NgRx](/recipes/other/misc-ngrx)
- [Using Data Persistence operators](/recipes/other/misc-data-persistence)
- [Upgrading an AngularJS application to Angular](/recipes/adopting-nx/migration-angularjs)
- [Using Tailwind CSS with Angular projects](/recipes/other/using-tailwind-css-with-angular-projects)
- [Migrating from the Angular CLI](/recipes/angular/migration/angular)
- [Setup Module Federation with Angular and Nx](/concepts/more-concepts/faster-builds-with-module-federation)
- [Upgrading an AngularJS application to Angular](/recipes/angular/migration/angularjs)
- [Using Tailwind CSS with Angular projects](/recipes/angular/using-tailwind-css-with-angular-projects)
@@ -0,0 +1,626 @@
{
"name": "browser-esbuild",
"implementation": "/packages/angular/src/executors/browser-esbuild/browser-esbuild.impl.ts",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Schema for Nx ESBuild Executor",
"description": "Nx ESBuild Executor supporting Incremental Builds.",
"outputCapture": "direct-nodejs",
"type": "object",
"properties": {
"assets": {
"type": "array",
"description": "List of static application assets.",
"default": [],
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"followSymlinks": {
"type": "boolean",
"default": false,
"description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
},
"glob": {
"type": "string",
"description": "The pattern to match."
},
"input": {
"type": "string",
"description": "The input directory path in which to apply 'glob'. Defaults to the project root."
},
"ignore": {
"description": "An array of globs to ignore.",
"type": "array",
"items": { "type": "string" }
},
"output": {
"type": "string",
"description": "Absolute path within the output."
}
},
"additionalProperties": false,
"required": ["glob", "input", "output"]
},
{ "type": "string" }
]
}
},
"main": {
"type": "string",
"description": "The full path for the main entry point to the app, relative to the current workspace."
},
"polyfills": {
"description": "Polyfills to be included in the build.",
"oneOf": [
{
"type": "array",
"description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'.",
"items": { "type": "string", "uniqueItems": true },
"default": []
},
{
"type": "string",
"description": "The full path for the polyfills file, relative to the current workspace or a module specifier. Example: 'zone.js'."
}
]
},
"tsConfig": {
"type": "string",
"description": "The full path for the TypeScript configuration file, relative to the current workspace."
},
"scripts": {
"description": "Global scripts to be included in the build.",
"type": "array",
"default": [],
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "The file to include.",
"pattern": "\\.[cm]?jsx?$"
},
"bundleName": {
"type": "string",
"pattern": "^[\\w\\-.]*$",
"description": "The bundle name for this extra entry point."
},
"inject": {
"type": "boolean",
"description": "If the bundle will be referenced in the HTML file.",
"default": true
}
},
"additionalProperties": false,
"required": ["input"]
},
{
"type": "string",
"description": "The JavaScript/TypeScript file or package containing the file to include."
}
]
}
},
"styles": {
"description": "Global styles to be included in the build.",
"type": "array",
"default": [],
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "The file to include.",
"pattern": "\\.(?:css|scss|sass|less)$"
},
"bundleName": {
"type": "string",
"pattern": "^[\\w\\-.]*$",
"description": "The bundle name for this extra entry point."
},
"inject": {
"type": "boolean",
"description": "If the bundle will be referenced in the HTML file.",
"default": true
}
},
"additionalProperties": false,
"required": ["input"]
},
{
"type": "string",
"description": "The file to include.",
"pattern": "\\.(?:css|scss|sass|less)$"
}
]
}
},
"inlineStyleLanguage": {
"description": "The stylesheet language to use for the application's inline component styles.",
"type": "string",
"default": "css",
"enum": ["css", "less", "sass", "scss"]
},
"stylePreprocessorOptions": {
"description": "Options to pass to style preprocessors.",
"type": "object",
"properties": {
"includePaths": {
"description": "Paths to include. Paths will be resolved to workspace root.",
"type": "array",
"items": { "type": "string" },
"default": []
}
},
"additionalProperties": false
},
"externalDependencies": {
"description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.",
"type": "array",
"items": { "type": "string" },
"default": []
},
"optimization": {
"description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
"default": true,
"x-user-analytics": "ep.ng_optimization",
"oneOf": [
{
"type": "object",
"properties": {
"scripts": {
"type": "boolean",
"description": "Enables optimization of the scripts output.",
"default": true
},
"styles": {
"description": "Enables optimization of the styles output.",
"default": true,
"oneOf": [
{
"type": "object",
"properties": {
"minify": {
"type": "boolean",
"description": "Minify CSS definitions by removing extraneous whitespace and comments, merging identifiers and minimizing values.",
"default": true
},
"inlineCritical": {
"type": "boolean",
"description": "Extract and inline critical CSS definitions to improve first paint time.",
"default": true
}
},
"additionalProperties": false
},
{ "type": "boolean" }
]
},
"fonts": {
"description": "Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
"default": true,
"oneOf": [
{
"type": "object",
"properties": {
"inline": {
"type": "boolean",
"description": "Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS definitions in the application's HTML index file. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
"default": true
}
},
"additionalProperties": false
},
{ "type": "boolean" }
]
}
},
"additionalProperties": false
},
{ "type": "boolean" }
]
},
"fileReplacements": {
"description": "Replace compilation source files with other compilation source files in the build.",
"type": "array",
"items": {
"type": "object",
"properties": {
"replace": {
"type": "string",
"pattern": "\\.(([cm]?j|t)sx?|json)$"
},
"with": { "type": "string", "pattern": "\\.(([cm]?j|t)sx?|json)$" }
},
"additionalProperties": false,
"required": ["replace", "with"]
},
"default": []
},
"outputPath": {
"type": "string",
"description": "The full path for the new output directory, relative to the current workspace.\nBy default, writes output to a folder named dist/ in the current project."
},
"resourcesOutputPath": {
"type": "string",
"description": "The path where style resources will be placed, relative to outputPath."
},
"aot": {
"type": "boolean",
"description": "Build using Ahead of Time compilation.",
"x-user-analytics": "ep.ng_aot",
"default": true
},
"sourceMap": {
"description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
"default": false,
"oneOf": [
{
"type": "object",
"properties": {
"scripts": {
"type": "boolean",
"description": "Output source maps for all scripts.",
"default": true
},
"styles": {
"type": "boolean",
"description": "Output source maps for all styles.",
"default": true
},
"hidden": {
"type": "boolean",
"description": "Output source maps used for error reporting tools.",
"default": false
},
"vendor": {
"type": "boolean",
"description": "Resolve vendor packages source maps.",
"default": false
}
},
"additionalProperties": false
},
{ "type": "boolean" }
]
},
"vendorChunk": {
"type": "boolean",
"description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
"default": false
},
"commonChunk": {
"type": "boolean",
"description": "Generate a seperate bundle containing code used across multiple bundles.",
"default": true
},
"baseHref": {
"type": "string",
"description": "Base url for the application being built."
},
"deployUrl": {
"type": "string",
"description": "URL where files will be deployed.",
"x-deprecated": "Use \"baseHref\" option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
},
"verbose": {
"type": "boolean",
"description": "Adds more details to output logging.",
"default": false
},
"progress": {
"type": "boolean",
"description": "Log progress to the console while building.",
"default": true
},
"i18nMissingTranslation": {
"type": "string",
"description": "How to handle missing translations for i18n.",
"enum": ["warning", "error", "ignore"],
"default": "warning"
},
"i18nDuplicateTranslation": {
"type": "string",
"description": "How to handle duplicate translations for i18n.",
"enum": ["warning", "error", "ignore"],
"default": "warning"
},
"localize": {
"description": "Translate the bundles in one or more locales.",
"oneOf": [
{ "type": "boolean", "description": "Translate all locales." },
{
"type": "array",
"description": "List of locales ID's to translate.",
"minItems": 1,
"items": {
"type": "string",
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
}
}
]
},
"watch": {
"type": "boolean",
"description": "Run build when files change.",
"default": false
},
"outputHashing": {
"type": "string",
"description": "Define the output filename cache-busting hashing mode.",
"default": "none",
"enum": ["none", "all", "media", "bundles"]
},
"poll": {
"type": "number",
"description": "Enable and define the file watching poll time period in milliseconds."
},
"deleteOutputPath": {
"type": "boolean",
"description": "Delete the output path before building.",
"default": true
},
"preserveSymlinks": {
"type": "boolean",
"description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
},
"extractLicenses": {
"type": "boolean",
"description": "Extract all licenses in a separate file.",
"default": true
},
"buildOptimizer": {
"type": "boolean",
"description": "Enables advanced build optimizations when using the 'aot' option.",
"default": true
},
"namedChunks": {
"type": "boolean",
"description": "Use file name for lazy loaded chunks.",
"default": false
},
"subresourceIntegrity": {
"type": "boolean",
"description": "Enables the use of subresource integrity validation.",
"default": false
},
"serviceWorker": {
"type": "boolean",
"description": "Generates a service worker config for production builds.",
"default": false
},
"ngswConfigPath": {
"type": "string",
"description": "Path to ngsw-config.json."
},
"index": {
"description": "Configures the generation of the application's HTML index.",
"oneOf": [
{
"type": "string",
"description": "The path of a file to use for the application's HTML index. The filename of the specified path will be used for the generated file and will be created in the root of the application's configured output path."
},
{
"type": "object",
"description": "",
"properties": {
"input": {
"type": "string",
"minLength": 1,
"description": "The path of a file to use for the application's generated HTML index."
},
"output": {
"type": "string",
"minLength": 1,
"default": "index.html",
"description": "The output path of the application's generated HTML index file. The full provided path will be used and will be considered relative to the application's configured output path."
}
},
"required": ["input"]
},
{
"const": false,
"description": "Does not generate an `index.html` file."
}
]
},
"statsJson": {
"type": "boolean",
"description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
"default": false
},
"budgets": {
"description": "Budget thresholds to ensure parts of your application stay within boundaries which you set.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of budget.",
"enum": [
"all",
"allScript",
"any",
"anyScript",
"anyComponentStyle",
"bundle",
"initial"
]
},
"name": {
"type": "string",
"description": "The name of the bundle."
},
"baseline": {
"type": "string",
"description": "The baseline size for comparison."
},
"maximumWarning": {
"type": "string",
"description": "The maximum threshold for warning relative to the baseline."
},
"maximumError": {
"type": "string",
"description": "The maximum threshold for error relative to the baseline."
},
"minimumWarning": {
"type": "string",
"description": "The minimum threshold for warning relative to the baseline."
},
"minimumError": {
"type": "string",
"description": "The minimum threshold for error relative to the baseline."
},
"warning": {
"type": "string",
"description": "The threshold for warning relative to the baseline (min & max)."
},
"error": {
"type": "string",
"description": "The threshold for error relative to the baseline (min & max)."
}
},
"additionalProperties": false,
"required": ["type"]
},
"default": []
},
"webWorkerTsConfig": {
"type": "string",
"description": "TypeScript configuration for Web Worker modules."
},
"crossOrigin": {
"type": "string",
"description": "Define the crossorigin attribute setting of elements that provide CORS support.",
"default": "none",
"enum": ["none", "anonymous", "use-credentials"]
},
"allowedCommonJsDependencies": {
"description": "A list of CommonJS packages that are allowed to be used without a build time warning.",
"type": "array",
"items": { "type": "string" },
"default": []
},
"buildLibsFromSource": {
"type": "boolean",
"description": "Read buildable libraries from source instead of building them separately.",
"default": true
}
},
"additionalProperties": false,
"required": ["outputPath", "index", "main", "tsConfig"],
"definitions": {
"assetPattern": {
"oneOf": [
{
"type": "object",
"properties": {
"followSymlinks": {
"type": "boolean",
"default": false,
"description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
},
"glob": {
"type": "string",
"description": "The pattern to match."
},
"input": {
"type": "string",
"description": "The input directory path in which to apply 'glob'. Defaults to the project root."
},
"ignore": {
"description": "An array of globs to ignore.",
"type": "array",
"items": { "type": "string" }
},
"output": {
"type": "string",
"description": "Absolute path within the output."
}
},
"additionalProperties": false,
"required": ["glob", "input", "output"]
},
{ "type": "string" }
]
},
"fileReplacement": {
"type": "object",
"properties": {
"replace": {
"type": "string",
"pattern": "\\.(([cm]?j|t)sx?|json)$"
},
"with": { "type": "string", "pattern": "\\.(([cm]?j|t)sx?|json)$" }
},
"additionalProperties": false,
"required": ["replace", "with"]
},
"budget": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of budget.",
"enum": [
"all",
"allScript",
"any",
"anyScript",
"anyComponentStyle",
"bundle",
"initial"
]
},
"name": {
"type": "string",
"description": "The name of the bundle."
},
"baseline": {
"type": "string",
"description": "The baseline size for comparison."
},
"maximumWarning": {
"type": "string",
"description": "The maximum threshold for warning relative to the baseline."
},
"maximumError": {
"type": "string",
"description": "The maximum threshold for error relative to the baseline."
},
"minimumWarning": {
"type": "string",
"description": "The minimum threshold for warning relative to the baseline."
},
"minimumError": {
"type": "string",
"description": "The minimum threshold for error relative to the baseline."
},
"warning": {
"type": "string",
"description": "The threshold for warning relative to the baseline (min & max)."
},
"error": {
"type": "string",
"description": "The threshold for error relative to the baseline (min & max)."
}
},
"additionalProperties": false,
"required": ["type"]
}
},
"presets": []
},
"description": "Builds your application with esbuild and adds support for incremental builds.",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/executors/browser-esbuild/schema.json",
"type": "executor"
}
@@ -33,7 +33,7 @@
},
"additionalProperties": false,
"required": ["buildTarget", "outputPath", "tsConfig"],
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\nDelegate the build of the project to a different target.\n\n```json\n{\n \"prod-build\": {\n \"executor\": \"@nrwl/angular:delegate-build\",\n \"options\": {\n \"buildTarget\": \"app:build:production\",\n \"outputPath\": \"dist/apps/app/production\",\n \"tsConfig\": \"apps/app/tsconfig.json\",\n \"watch\": false\n }\n }\n}\n```\n\n{% /tab %}\n\n{% tab label=\"Watch for build changes\" %}\nDelegate the build of the project to a different target.\n\n```json\n{\n \"prod-build\": {\n \"executor\": \"@nrwl/angular:delegate-build\",\n \"options\": {\n \"buildTarget\": \"app:build:production\",\n \"outputPath\": \"dist/apps/app/production\",\n \"tsConfig\": \"apps/app/tsconfig.json\",\n \"watch\": true\n }\n }\n}\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\nDelegate the build of the project to a different target.\n\n```json\n{\n \"prod-build\": {\n \"executor\": \"@nx/angular:delegate-build\",\n \"options\": {\n \"buildTarget\": \"app:build:production\",\n \"outputPath\": \"dist/apps/app/production\",\n \"tsConfig\": \"apps/app/tsconfig.json\",\n \"watch\": false\n }\n }\n}\n```\n\n{% /tab %}\n\n{% tab label=\"Watch for build changes\" %}\nDelegate the build of the project to a different target.\n\n```json\n{\n \"prod-build\": {\n \"executor\": \"@nx/angular:delegate-build\",\n \"options\": {\n \"buildTarget\": \"app:build:production\",\n \"outputPath\": \"dist/apps/app/production\",\n \"tsConfig\": \"apps/app/tsconfig.json\",\n \"watch\": true\n }\n }\n}\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"presets": []
},
"description": "Delegates the build to a different target while supporting incremental builds.",
@@ -1,80 +0,0 @@
{
"name": "file-server",
"implementation": "/packages/angular/src/executors/file-server/file-server.impl.ts",
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"title": "File Server",
"description": "Serves a static web application from a folder.",
"type": "object",
"cli": "nx",
"properties": {
"buildTarget": {
"type": "string",
"description": "Target which builds the application."
},
"parallel": {
"type": "boolean",
"description": "Build the target in parallel.",
"default": true
},
"maxParallel": {
"type": "number",
"description": "Max number of parallel jobs."
},
"port": {
"type": "number",
"description": "Port to listen on.",
"default": 4200
},
"host": {
"type": "string",
"description": "Host to listen on.",
"default": "localhost"
},
"ssl": {
"type": "boolean",
"description": "Serve using `HTTPS`.",
"default": false
},
"sslKey": {
"type": "string",
"description": "SSL key to use for serving `HTTPS`."
},
"sslCert": {
"type": "string",
"description": "SSL certificate to use for serving `HTTPS`."
},
"proxyUrl": {
"type": "string",
"description": "URL to proxy unhandled requests to."
},
"proxyOptions": {
"type": "object",
"description": "Options for the proxy used by `http-server`.",
"default": {},
"properties": { "secure": { "type": "boolean", "default": false } },
"additionalProperties": true
},
"watch": {
"type": "boolean",
"description": "Watch for file changes.",
"default": false
},
"spa": {
"type": "boolean",
"description": "Redirect 404 errors to index.html (useful for SPA's).",
"default": false
}
},
"additionalProperties": false,
"required": ["buildTarget"],
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Serve static files with http-server\" %}\n\nSet up `http-server` to host static files on a local webserver.\n\n```json\n{\n \"static-serve\": {\n \"executor\": \"@nrwl/angular:file-server\",\n \"options\": {\n \"buildTarget\": \"app:build\",\n \"port\": 4201\n }\n }\n}\n```\n\n{% /tab %}\n\n{% tab label=\"Watch for changes\" %}\n\nTo allow watching for changes, simply add the watch property.\n\n```json\n{\n \"static-serve\": {\n \"executor\": \"@nrwl/angular:file-server\",\n \"options\": {\n \"buildTarget\": \"app:build\",\n \"port\": 4201,\n \"watch\": true\n }\n }\n}\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"presets": []
},
"description": "Serves a static web application from a folder.",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/executors/file-server/schema.json",
"type": "executor"
}
@@ -107,7 +107,7 @@
"skipRemotes": {
"type": "array",
"items": { "type": "string" },
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository."
"description": "List of remote applications to not automatically serve, either statically or in development mode."
},
"pathToManifestFile": {
"type": "string",
@@ -116,7 +116,7 @@
},
"additionalProperties": false,
"required": ["browserTarget"],
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\nThe Module Federation Dev Server will serve a host application and find the remote applications associated with the host and serve them statically also. \nSee an example set up of it below:\n\n```json\n{\n \"serve\": {\n \"executor\": \"@nrwl/angular:module-federation-dev-server\",\n \"configurations\": {\n \"production\": {\n \"browserTarget\": \"host:build:production\"\n },\n \"development\": {\n \"browserTarget\": \"host:build:development\"\n }\n },\n \"defaultConfiguration\": \"development\",\n \"options\": {\n \"port\": 4200,\n \"publicHost\": \"http://localhost:4200\"\n }\n }\n}\n```\n\n{% /tab %}\n\n{% tab label=\"Serve host with remotes that can be live reloaded\" %}\nThe Module Federation Dev Server will serve a host application and find the remote applications associated with the host and serve a set selection with live reloading enabled also. \nSee an example set up of it below:\n\n```json\n{\n \"serve-with-hmr-remotes\": {\n \"executor\": \"@nrwl/angular:module-federation-dev-server\",\n \"configurations\": {\n \"production\": {\n \"browserTarget\": \"host:build:production\"\n },\n \"development\": {\n \"browserTarget\": \"host:build:development\"\n }\n },\n \"defaultConfiguration\": \"development\",\n \"options\": {\n \"port\": 4200,\n \"publicHost\": \"http://localhost:4200\",\n \"devRemotes\": [\"remote1\", \"remote2\"]\n }\n }\n}\n```\n\n{% /tab %}\n\n{% /tabs %}\n"
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\nThe Module Federation Dev Server will serve a host application and find the remote applications associated with the host and serve them statically also. \nSee an example set up of it below:\n\n```json\n{\n \"serve\": {\n \"executor\": \"@nx/angular:module-federation-dev-server\",\n \"configurations\": {\n \"production\": {\n \"browserTarget\": \"host:build:production\"\n },\n \"development\": {\n \"browserTarget\": \"host:build:development\"\n }\n },\n \"defaultConfiguration\": \"development\",\n \"options\": {\n \"port\": 4200,\n \"publicHost\": \"http://localhost:4200\"\n }\n }\n}\n```\n\n{% /tab %}\n\n{% tab label=\"Serve host with remotes that can be live reloaded\" %}\nThe Module Federation Dev Server will serve a host application and find the remote applications associated with the host and serve a set selection with live reloading enabled also. \nSee an example set up of it below:\n\n```json\n{\n \"serve-with-hmr-remotes\": {\n \"executor\": \"@nx/angular:module-federation-dev-server\",\n \"configurations\": {\n \"production\": {\n \"browserTarget\": \"host:build:production\"\n },\n \"development\": {\n \"browserTarget\": \"host:build:development\"\n }\n },\n \"defaultConfiguration\": \"development\",\n \"options\": {\n \"port\": 4200,\n \"publicHost\": \"http://localhost:4200\",\n \"devRemotes\": [\"remote1\", \"remote2\"]\n }\n }\n}\n```\n\n{% /tab %}\n\n{% /tabs %}\n"
},
"description": "The module-federation-dev-server executor is reserved exclusively for use with host Module Federation applications. It allows the user to specify which remote applications should be served with the host.",
"aliases": [],
@@ -72,11 +72,12 @@
"skipRemotes": {
"type": "array",
"items": { "type": "string" },
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository."
"description": "List of remote applications to not automatically serve, either statically or in development mode."
},
"verbose": {
"type": "boolean",
"description": "Adds more details to output logging."
"description": "Adds more details to output logging.",
"default": false
},
"pathToManifestFile": {
"type": "string",
@@ -6,7 +6,7 @@
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"title": "ng-packagr Target",
"description": "Builds a library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2020 bundles.\n- It doesn't generate package exports in the `package.json`.",
"description": "Builds a library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences:\n- For supported Angular versions lower than v16, it doesn't run `ngcc` automatically (`ngcc` is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16).",
"cli": "nx",
"type": "object",
"presets": [
@@ -16,11 +16,7 @@
},
{
"name": "Updating Project Dependencies for Buildable Library",
"keys": [
"project",
"updateBuildableProjectDepsInPackageJson",
"buildableProjectDepsInPackageJsonType"
]
"keys": ["project"]
}
],
"properties": {
@@ -42,14 +38,16 @@
},
"updateBuildableProjectDepsInPackageJson": {
"type": "boolean",
"description": "Whether to update the buildable project dependencies in package.json.",
"default": true
"description": "Whether to update the buildable project dependencies in the build output package.json.",
"default": false,
"x-deprecated": "Configure the project to use the '@nx/dependency-checks' ESLint rule instead (https://nx.dev/packages/eslint-plugin/documents/dependency-checks). It will be removed in v17."
},
"buildableProjectDepsInPackageJsonType": {
"type": "string",
"description": "When `updateBuildableProjectDepsInPackageJson` is `true`, this adds dependencies to either `peerDependencies` or `dependencies`.",
"enum": ["dependencies", "peerDependencies"],
"default": "peerDependencies"
"default": "peerDependencies",
"x-deprecated": "Configure the '@nx/dependency-checks' ESLint rule instead (https://nx.dev/packages/eslint-plugin/documents/dependency-checks). It will be removed in v17."
},
"tailwindConfig": {
"type": "string",
@@ -20,9 +20,7 @@
{
"name": "Updating Project Dependencies for Publishable Library",
"keys": [
"project",
"updateBuildableProjectDepsInPackageJson",
"buildableProjectDepsInPackageJsonType"
"project"
]
}
],
@@ -45,8 +43,9 @@
},
"updateBuildableProjectDepsInPackageJson": {
"type": "boolean",
"description": "Whether to update the buildable project dependencies in package.json.",
"default": true
"description": "Whether to update the buildable project dependencies in the build output package.json.",
"default": false,
"x-deprecated": "Configure the project to use the '@nx/dependency-checks' ESLint rule instead (https://nx.dev/packages/eslint-plugin/documents/dependency-checks). It will be removed in v17."
},
"buildableProjectDepsInPackageJsonType": {
"type": "string",
@@ -55,7 +54,8 @@
"dependencies",
"peerDependencies"
],
"default": "peerDependencies"
"default": "peerDependencies",
"x-deprecated": "Configure the project to use the '@nx/dependency-checks' ESLint rule instead (https://nx.dev/packages/eslint-plugin/documents/dependency-checks). It will be removed in v17."
},
"tailwindConfig": {
"type": "string",
@@ -7,7 +7,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Schema for Webpack Browser",
"description": "The webpack-browser executor is very similar to the standard browser builder provided by the Angular Devkit. It allows you to build your Angular application to a build artifact that can be hosted online. There are some key differences: \n- Supports Custom Webpack Configurations \n- Supports Incremental Building",
"examplesFile": "##### Using a custom webpack configuration\n\nThe executor supports providing a path to a custom webpack configuration. This allows you to customize how your Angular application is built. It currently supports the following types of webpack configurations:\n\n- `object`\n- `Function`\n- `Promise<object|Function>`\n\nThe executor will merge the provided configuration with the webpack configuration that Angular Devkit uses. The merge order is:\n\n- Angular Devkit Configuration\n- Provided Configuration\n\nTo use a custom webpack configuration when building your Angular application, change the `build` target in your `project.json` to match the following:\n\n```typescript\n\"build\": {\n \"executor\": \"@nrwl/angular:webpack-browser\",\n \"options\": {\n ...\n \"customWebpackConfig\": {\n \"path\": \"apps/appName/webpack.config.js\"\n }\n }\n}\n```\n\n##### Incrementally Building your Application\n\nThe executor supports incrementally building your Angular application by building the workspace libraries it depends on _(that have been marked as buildable)_ and then building your application using the built source of the libraries.\n\nThis can improve build time as the building of the workspace libraries can be cached, meaning they only have to be rebuilt if they have changed.\n\n> Note: There may be some additional overhead in the linking of the built libraries' sources which may reduce the overall improvement in build time. Therefore this approach only benefits large applications and would likely have a negative impact on small and medium applications. \n> You can read more about when to use incremental builds [here](/more-concepts/incremental-builds#when-should-i-use-incremental-builds).\n\nTo allow your Angular application to take advantage of incremental building, change the `build` target in your `project.json` to match the following:\n\n```typescript\n\"build\": {\n \"executor\": \"@nrwl/angular:webpack-browser\",\n \"options\": {\n ...\n \"buildLibsFromSource\": false\n }\n}\n```\n",
"examplesFile": "##### Using a custom webpack configuration\n\nThe executor supports providing a path to a custom webpack configuration. This allows you to customize how your Angular application is built. It currently supports the following types of webpack configurations:\n\n- `object`\n- `Function`\n- `Promise<object|Function>`\n\nThe executor will merge the provided configuration with the webpack configuration that Angular Devkit uses. The merge order is:\n\n- Angular Devkit Configuration\n- Provided Configuration\n\nTo use a custom webpack configuration when building your Angular application, change the `build` target in your `project.json` to match the following:\n\n```typescript\n\"build\": {\n \"executor\": \"@nx/angular:webpack-browser\",\n \"options\": {\n ...\n \"customWebpackConfig\": {\n \"path\": \"apps/appName/webpack.config.js\"\n }\n }\n}\n```\n\n##### Incrementally Building your Application\n\nThe executor supports incrementally building your Angular application by building the workspace libraries it depends on _(that have been marked as buildable)_ and then building your application using the built source of the libraries.\n\nThis can improve build time as the building of the workspace libraries can be cached, meaning they only have to be rebuilt if they have changed.\n\n> Note: There may be some additional overhead in the linking of the built libraries' sources which may reduce the overall improvement in build time. Therefore this approach only benefits large applications and would likely have a negative impact on small and medium applications. \n> You can read more about when to use incremental builds [here](/concepts/more-concepts/incremental-builds#when-should-i-use-incremental-builds).\n\nTo allow your Angular application to take advantage of incremental building, change the `build` target in your `project.json` to match the following:\n\n```typescript\n\"build\": {\n \"executor\": \"@nx/angular:webpack-browser\",\n \"options\": {\n ...\n \"buildLibsFromSource\": false\n }\n}\n```\n",
"type": "object",
"presets": [
{
@@ -330,7 +330,7 @@
},
"vendorChunk": {
"type": "boolean",
"description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
"description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
"default": false
},
"commonChunk": {
@@ -6,8 +6,8 @@
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Schema for Webpack Dev Server",
"description": "The webpack-dev-server executor is very similar to the standard dev server builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration.",
"examplesFile": "##### Seving an application with a custom webpack configuration\n\nThis executor should be used along with `@nrwl/angular:webpack-browser` to serve an application using a custom webpack configuration.\n\nYour `project.json` file should contain a `build` and `serve` target that matches the following:\n\n```json\n\"build\": {\n \"executor\": \"@nrwl/angular:webpack-browser\",\n \"options\": {\n ...\n \"customWebpackConfig\": {\n \"path\": \"apps/appName/webpack.config.js\"\n }\n }\n},\n\"serve\": {\n \"executor\": \"@nrwl/angular:webpack-dev-server\",\n \"configurations\": {\n \"production\": {\n \"browserTarget\": \"appName:build:production\"\n },\n \"development\": {\n \"browserTarget\": \"appName:build:development\"\n }\n },\n \"defaultConfiguration\": \"development\",\n}\n```\n",
"description": "The webpack-dev-server executor is very similar to the standard dev server builder provided by the Angular Devkit. It is usually used in tandem with `@nx/angular:webpack-browser` when your Angular application uses a custom webpack configuration.",
"examplesFile": "##### Seving an application with a custom webpack configuration\n\nThis executor should be used along with `@nx/angular:webpack-browser` to serve an application using a custom webpack configuration.\n\nYour `project.json` file should contain a `build` and `serve` target that matches the following:\n\n```json\n\"build\": {\n \"executor\": \"@nx/angular:webpack-browser\",\n \"options\": {\n ...\n \"customWebpackConfig\": {\n \"path\": \"apps/appName/webpack.config.js\"\n }\n }\n},\n\"serve\": {\n \"executor\": \"@nx/angular:webpack-dev-server\",\n \"configurations\": {\n \"production\": {\n \"browserTarget\": \"appName:build:production\"\n },\n \"development\": {\n \"browserTarget\": \"appName:build:development\"\n }\n },\n \"defaultConfiguration\": \"development\",\n}\n```\n",
"type": "object",
"presets": [
{ "name": "Using a Different Port", "keys": ["browserTarget", "port"] }
@@ -6,7 +6,7 @@
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Schema for Webpack Server",
"description": "The webpack-dev-server executor is very similar to the standard server builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration and NgUniversal for SSR.",
"description": "The webpack-dev-server executor is very similar to the standard server builder provided by the Angular Devkit. It is usually used in tandem with `@nx/angular:webpack-browser` when your Angular application uses a custom webpack configuration and NgUniversal for SSR.",
"type": "object",
"properties": {
"assets": {
@@ -185,6 +185,11 @@
"description": "URL where files will be deployed.",
"x-deprecated": "Use \"baseHref\" browser builder option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
},
"vendorChunk": {
"type": "boolean",
"description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time. _Note: supported in Angular versions >= 15.1.0_",
"default": false
},
"verbose": {
"type": "boolean",
"description": "Adds more details to output logging.",
@@ -242,6 +247,11 @@
"description": "Extract all licenses in a separate file, in the case of production builds only.",
"default": true
},
"buildOptimizer": {
"type": "boolean",
"description": "Enables advanced build optimizations. _Note: only supported in Angular versions >= 16.0.0_.",
"default": true
},
"namedChunks": {
"type": "boolean",
"description": "Use file name for lazy loaded chunks.",
@@ -10,7 +10,7 @@
"type": "object",
"examples": [
{
"command": "nx g @nrwl/angular:add-linting --prefix=cool --projectName=cool-lib --projectRoot=libs/cool-lib",
"command": "nx g @nx/angular:add-linting --prefix=cool --projectName=cool-lib --projectRoot=libs/cool-lib",
"description": "Adds ESLint with Angular-specific rules for an existing project named `cool-lib` with the [prefix](https://angular.io/guide/styleguide#style-02-07) `cool`"
}
],
@@ -96,14 +96,15 @@
},
"unitTestRunner": {
"type": "string",
"enum": ["karma", "jest", "none"],
"enum": ["jest", "none"],
"description": "Test runner to use for unit tests.",
"default": "jest"
},
"e2eTestRunner": {
"type": "string",
"enum": ["protractor", "cypress", "none"],
"description": "Test runner to use for end to end (E2E) tests. The `protractor` option is deprecated and it will be removed in v15.",
"enum": ["cypress", "playwright", "none"],
"description": "Test runner to use for end to end (E2E) tests.",
"x-prompt": "Which E2E test runner would you like to use?",
"default": "cypress"
},
"tags": {
@@ -161,11 +162,17 @@
"description": "Generate a Angular app with a minimal setup.",
"type": "boolean",
"default": false
},
"bundler": {
"description": "Bundler to use to build the application.",
"type": "string",
"enum": ["webpack", "esbuild"],
"default": "webpack"
}
},
"additionalProperties": false,
"required": ["name"],
"examplesFile": "## Examples\n\n{% tabs %}\n{% tab label=\"Simple Application\" %}\n\nCreate an application named `my-app`:\n\n```bash\nnx g @nrwl/angular:application my-app\n```\n\n{% /tab %}\n\n{% tab label=\"Specify directory and style extension\" %}\n\nCreate an application named `my-app` in the `my-dir` directory and use `scss` for styles:\n\n```bash\nnx g @nrwl/angular:app my-app --directory=my-dir --style=scss\n```\n\n{% /tab %}\n\n{% tab label=\"Single File Components application\" %}\n\nCreate an application with Single File Components (inline styles and inline templates):\n\n```bash\nnx g @nrwl/angular:app my-app --inlineStyle --inlineTemplate\n```\n\n{% /tab %}\n\n{% tab label=\"Standalone Components application\" %}\n\nCreate an application that is setup to use standalone components:\n\n```bash\nnx g @nrwl/angular:app my-app --standalone\n```\n\n{% /tab %}\n\n{% tab label=\"Set custom prefix and tags\" %}\n\nSet the prefix to apply to generated selectors and add tags to the application (used for linting).\n\n```bash\nnx g @nrwl/angular:app my-app --prefix=admin --tags=scope:admin,type:ui\n```\n\n{% /tab %}\n{% /tabs %}\n",
"examplesFile": "## Examples\n\n{% tabs %}\n{% tab label=\"Simple Application\" %}\n\nCreate an application named `my-app`:\n\n```bash\nnx g @nx/angular:application my-app\n```\n\n{% /tab %}\n\n{% tab label=\"Specify directory and style extension\" %}\n\nCreate an application named `my-app` in the `my-dir` directory and use `scss` for styles:\n\n```bash\nnx g @nx/angular:app my-app --directory=my-dir --style=scss\n```\n\n{% /tab %}\n\n{% tab label=\"Single File Components application\" %}\n\nCreate an application with Single File Components (inline styles and inline templates):\n\n```bash\nnx g @nx/angular:app my-app --inlineStyle --inlineTemplate\n```\n\n{% /tab %}\n\n{% tab label=\"Standalone Components application\" %}\n\nCreate an application that is setup to use standalone components:\n\n```bash\nnx g @nx/angular:app my-app --standalone\n```\n\n{% /tab %}\n\n{% tab label=\"Set custom prefix and tags\" %}\n\nSet the prefix to apply to generated selectors and add tags to the application (used for linting).\n\n```bash\nnx g @nx/angular:app my-app --prefix=admin --tags=scope:admin,type:ui\n```\n\n{% /tab %}\n{% /tabs %}\n",
"presets": []
},
"aliases": ["app"],
@@ -1,30 +0,0 @@
{
"name": "change-storybook-targets",
"factory": "./src/generators/change-storybook-targets/change-storybook-targets",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxAngularChangeStorybookTargetsGenerator",
"title": "Change Storybook targets",
"description": "Change the Storybook target executors.",
"type": "object",
"cli": "nx",
"properties": {
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
}
},
"additionalProperties": false,
"required": [],
"examplesFile": "This generator will change the `storybook` and `build-storybook` targets in all your Angular projects that are configured to use Storybook. The new target configuration will use the native Storybook builders (`@storybook/angular:build-storybook` and `@storybook/angular:start-storybook`) instead of the Nx Storybook builders (`@nrwl/storybook:build-storybook` and `@nrwl/storybook:storybook`).\n\nThis generator is usually invoked through a migrator, when you are using `nx migrate` to upgrade your workspace to Nx `14.1.8` or later.\n\nIf you are on Nx `14.1.8` or later and you did not use `nx migrate`, you can run this generator manually by running the following command:\n\n```bash\nnx g @nrwl/angular:change-storybook-targets\n```\n\nYou can read more about how this generator works, and why we are changing the Storybook targets, in the [Angular Storybook targets documentation page](/packages/storybook/documents/angular-storybook-targets).\n",
"presets": []
},
"description": "Change storybook targets for Angular projects to use @storybook/angular executors",
"implementation": "/packages/angular/src/generators/change-storybook-targets/change-storybook-targets.ts",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/generators/change-storybook-targets/schema.json",
"type": "generator"
}
@@ -11,6 +11,7 @@
"projectName": {
"type": "string",
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"examples": ["ui-samples"],
"x-priority": "important"
},
@@ -61,7 +62,7 @@
"componentPath",
"componentFileName"
],
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\n\nCreate a cypress spec for a component that is set up with Storybook.\n\n```bash\nnx g @nrwl/angular:component-cypress-spec --componentName=MyButtonComponent --componentPath=libs/ui/src/lib/button/button.component.ts --componentFileName=button.component --projectName=ui --projectPath=libs/ui\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\n\nCreate a cypress spec for a component that is set up with Storybook.\n\n```bash\nnx g @nx/angular:component-cypress-spec --componentName=MyButtonComponent --componentPath=libs/ui/src/lib/button/button.component.ts --componentFileName=button.component --projectName=ui --projectPath=libs/ui\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"presets": []
},
"description": "Creates a Cypress spec for a UI component that has a story.",
@@ -32,6 +32,13 @@
"examples": ["awesome.component"],
"x-priority": "important"
},
"interactionTests": {
"type": "boolean",
"description": "Set up Storybook interaction tests.",
"x-prompt": "Do you want to set up Storybook interaction tests?",
"x-priority": "important",
"default": true
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
@@ -11,6 +11,7 @@
"project": {
"type": "string",
"description": "The name of the project where the component is located.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-prompt": "What project is the component located in?",
"x-priority": "important"
@@ -50,7 +51,7 @@
"componentDir",
"componentFileName"
],
"examplesFile": "{% callout type=\"caution\" title=\"Can I use component testing?\" %}\nAngular component testing with Nx requires **Cypress version 10.7.0** and up.\n\nYou can migrate with to v10 via the [migrate-to-cypress-10 generator](/packages/cypress/generators/migrate-to-cypress-10).\n\nThis generator is for Cypress based component testing.\n\nIf you're wanting to create Cypress tests for a Storybook story, then check out the [component-cypress-spec generator docs](/packages/angular/generators/component-cypress-spec)\n\nIf you're wanting to create Storybook stories for a component, then check out the [stories generator docs](/packages/angular/generators/stories) or [component-story generator docs](/packages/angular/generators/component-cypress-spec)\n{% /callout %}\n\nThis generator is used to create a Cypress component test file for a given Angular component.\n\n```shell\nnx g @nrwl/angular:component-test --project=my-cool-angular-project --componentName=CoolBtnComponent --componentDir=src/cool-btn --componentFileName=cool-btn.component\n```\n\nTest file are generated with the `.cy.ts` suffix. this is to prevent colliding with any existing `.spec.` files contained in the project.\n\nIt's currently expected the generated `.cy.ts` file will live side by side with the component. It is also assumed the project is already setup for component testing. If it isn't, then you can run the [cypress-component-project generator](/packages/angular/generators/cypress-component-configuration) to set up the project for component testing.\n",
"examplesFile": "{% callout type=\"caution\" title=\"Can I use component testing?\" %}\nAngular component testing with Nx requires **Cypress version 10.7.0** and up.\n\nYou can migrate with to v10 via the [migrate-to-cypress-10 generator](/packages/cypress/generators/migrate-to-cypress-10).\n\nThis generator is for Cypress based component testing.\n\nIf you're wanting to create Cypress tests for a Storybook story, then check out the [component-cypress-spec generator docs](/packages/angular/generators/component-cypress-spec)\n\nIf you're wanting to create Storybook stories for a component, then check out the [stories generator docs](/packages/angular/generators/stories) or [component-story generator docs](/packages/angular/generators/component-cypress-spec)\n{% /callout %}\n\nThis generator is used to create a Cypress component test file for a given Angular component.\n\n```shell\nnx g @nx/angular:component-test --project=my-cool-angular-project --componentName=CoolBtnComponent --componentDir=src/cool-btn --componentFileName=cool-btn.component\n```\n\nTest file are generated with the `.cy.ts` suffix. this is to prevent colliding with any existing `.spec.` files contained in the project.\n\nIt's currently expected the generated `.cy.ts` file will live side by side with the component. It is also assumed the project is already setup for component testing. If it isn't, then you can run the [cypress-component-project generator](/packages/angular/generators/cypress-component-configuration) to set up the project for component testing.\n",
"presets": []
},
"description": "Creates a cypress component test file for a component.",
@@ -19,8 +19,8 @@
"project": {
"type": "string",
"description": "The name of the project.",
"x-dropdown": "projects",
"x-priority": "important"
"$default": { "$source": "projectName" },
"x-dropdown": "projects"
},
"name": {
"type": "string",
@@ -28,6 +28,11 @@
"$default": { "$source": "argv", "index": 0 },
"x-prompt": "What name would you like to use for the component?"
},
"prefix": {
"type": "string",
"description": "The prefix to apply to the generated component selector.",
"alias": "p"
},
"displayBlock": {
"description": "Specifies if the style will contain `:host { display: block; }`.",
"type": "boolean",
@@ -47,7 +52,7 @@
"alias": "t"
},
"standalone": {
"description": "Whether the generated component is standalone. _Note: This is only supported in Angular versions >= 14.1.0_",
"description": "Whether the generated component is standalone. _Note: This is only supported in Angular versions >= 14.1.0_.",
"type": "boolean",
"default": false,
"x-priority": "important"
@@ -111,10 +116,16 @@
"description": "Specifies if the component should be exported in the declaring `NgModule`. Additionally, if the project is a library, the component will be exported from the project's entry point (normally `index.ts`) if the module it belongs to is also exported or if the component is standalone.",
"default": false,
"x-priority": "important"
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
}
},
"required": ["name"],
"examplesFile": "## Examples\n\n{% tabs %}\n{% tab label=\"Simple Component\" %}\n\nCreate a component named `my-component`:\n\n```bash\nnx g @nrwl/angular:component my-component\n```\n\n{% /tab %}\n\n{% tab label=\"Standalone Component\" %}\n\nCreate a standalone component named `my-component`:\n\n```bash\nnx g @nrwl/angular:component my-component --standalone\n```\n\n{% /tab %}\n\n{% tab label=\"Single File Component\" %}\n\nCreate a component named `my-component` with inline styles and inline template:\n\n```bash\nnx g @nrwl/angular:component my-component --inlineStyle --inlineTemplate\n```\n\n{% /tab %}\n\n{% tab label=\"Component with OnPush Change Detection Strategy\" %}\n\nCreate a component named `my-component` with OnPush Change Detection Strategy:\n\n```bash\nnx g @nrwl/angular:component my-component --changeDetection=OnPush\n```\n\n{% /tab %}\n",
"required": ["name", "project"],
"examplesFile": "## Examples\n\n{% tabs %}\n{% tab label=\"Simple Component\" %}\n\nCreate a component named `my-component`:\n\n```bash\nnx g @nx/angular:component my-component\n```\n\n{% /tab %}\n\n{% tab label=\"Standalone Component\" %}\n\nCreate a standalone component named `my-component`:\n\n```bash\nnx g @nx/angular:component my-component --standalone\n```\n\n{% /tab %}\n\n{% tab label=\"Single File Component\" %}\n\nCreate a component named `my-component` with inline styles and inline template:\n\n```bash\nnx g @nx/angular:component my-component --inlineStyle --inlineTemplate\n```\n\n{% /tab %}\n\n{% tab label=\"Component with OnPush Change Detection Strategy\" %}\n\nCreate a component named `my-component` with OnPush Change Detection Strategy:\n\n```bash\nnx g @nx/angular:component my-component --changeDetection=OnPush\n```\n\n{% /tab %}\n",
"presets": []
},
"aliases": ["c"],
@@ -11,7 +11,7 @@
"additionalProperties": false,
"examples": [
{
"command": "nx g @nrwl/angular:convert-to-with-mf --project mf-app",
"command": "nx g @nx/angular:convert-to-with-mf --project mf-app",
"description": "Convert a Module Federation Project using legacy webpack config to use the `withModuleFederation` helper."
}
],
@@ -12,6 +12,7 @@
"project": {
"type": "string",
"description": "The name of the project to add cypress component testing configuration to",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-prompt": "What project should we add Cypress component testing to?",
"x-priority": "important"
@@ -36,7 +37,7 @@
}
},
"required": ["project"],
"examplesFile": "{% callout type=\"caution\" title=\"Can I use component testing?\" %}\nAngular component testing with Nx requires **Cypress version 10.7.0** and up.\n\nYou can migrate with to v10 via the [migrate-to-cypress-10 generator](/packages/cypress/generators/migrate-to-cypress-10).\n\nThis generator is for Cypress based component testing.\n\nIf you want to test components via Storybook with Cypress, then check out the [storybook-configuration generator docs](/packages/angular/generators/storybook-configuration)\n{% /callout %}\n\nThis generator is designed to get your Angular project up and running with Cypress Component Testing.\n\n```shell\nnx g @nrwl/angular:cypress-component-configuration --project=my-cool-angular-project\n```\n\nRunning this generator, adds the required files to the specified project with a preconfigured `cypress.config.ts` designed for Nx workspaces.\n\n```ts {% fileName=\"cypress.config.ts\" %}\nimport { defineConfig } from 'cypress';\nimport { nxComponentTestingPreset } from '@nrwl/angular/plugins/component-testing';\n\nexport default defineConfig({\n component: nxComponentTestingPreset(__filename),\n});\n```\n\nHere is an example on how to add custom options to the configuration\n\n```ts {% fileName=\"cypress.config.ts\" %}\nimport { defineConfig } from 'cypress';\nimport { nxComponentTestingPreset } from '@nrwl/angular/plugins/component-testing';\n\nexport default defineConfig({\n component: {\n ...nxComponentTestingPreset(__filename),\n // extra options here\n },\n});\n```\n\n## Specifying a Build Target\n\nComponent testing requires a _build target_ to correctly run the component test dev server. This option can be manually specified with `--build-target=some-angular-app:build`, but Nx will infer this usage from the [project graph](/concepts/mental-model#the-project-graph) if one isn't provided.\n\nFor Angular projects, the build target needs to be using the `@nrwl/angular:webpack-browser` or\n`@angular-devkit/build-angular:browser` executor.\nThe generator will throw an error if a build target can't be found and suggest passing one in manually.\n\nLetting Nx infer the build target by default\n\n```shell\nnx g @nrwl/angular:cypress-component-configuration --project=my-cool-angular-project\n```\n\nManually specifying the build target\n\n```shell\nnx g @nrwl/angular:cypress-component-configuration --project=my-cool-angular-project --build-target:some-angular-app:build --generate-tests\n```\n\n{% callout type=\"note\" title=\"Build Target with Configuration\" %}\nIf you're wanting to use a build target with a specific configuration. i.e. `my-app:build:production`,\nthen manually providing `--build-target=my-app:build:production` is the best way to do that.\n{% /callout %}\n\n## Auto Generating Tests\n\nYou can optionally use the `--generate-tests` flag to generate a test file for each component in your project.\n\n```shell\nnx g @nrwl/angular:cypress-component-configuration --project=my-cool-angular-project --generate-tests\n```\n\n## Running Component Tests\n\nA new `component-test` target will be added to the specified project to run your component tests.\n\n```shell\nnx g component-test my-cool-angular-project\n```\n\nHere is an example of the project configuration that is generated. The `--build-target` option is added as the `devServerTarget` which can be changed as needed.\n\n```json {% fileName=\"project.json\" %}\n{\n \"targets\" {\n \"component-test\": {\n \"executor\": \"@nrwl/cypress:cypress\",\n \"options\": {\n \"cypressConfig\": \"<path-to-project-root>/cypress.config.ts\",\n \"testingType\": \"component\",\n \"devServerTarget\": \"some-angular-app:build\",\n \"skipServe\": true\n }\n }\n }\n}\n```\n\nNx also supports [React component testing](/packages/angular/generators/cypress-component-configuration).\n",
"examplesFile": "{% callout type=\"caution\" title=\"Can I use component testing?\" %}\nAngular component testing with Nx requires **Cypress version 10.7.0** and up.\n\nYou can migrate with to v10 via the [migrate-to-cypress-10 generator](/packages/cypress/generators/migrate-to-cypress-10).\n\nThis generator is for Cypress based component testing.\n\nIf you want to test components via Storybook with Cypress, then check out the [storybook-configuration generator docs](/packages/angular/generators/storybook-configuration)\n{% /callout %}\n\nThis generator is designed to get your Angular project up and running with Cypress Component Testing.\n\n```shell\nnx g @nx/angular:cypress-component-configuration --project=my-cool-angular-project\n```\n\nRunning this generator, adds the required files to the specified project with a preconfigured `cypress.config.ts` designed for Nx workspaces.\n\n```ts {% fileName=\"cypress.config.ts\" %}\nimport { defineConfig } from 'cypress';\nimport { nxComponentTestingPreset } from '@nx/angular/plugins/component-testing';\n\nexport default defineConfig({\n component: nxComponentTestingPreset(__filename),\n});\n```\n\nHere is an example on how to add custom options to the configuration\n\n```ts {% fileName=\"cypress.config.ts\" %}\nimport { defineConfig } from 'cypress';\nimport { nxComponentTestingPreset } from '@nx/angular/plugins/component-testing';\n\nexport default defineConfig({\n component: {\n ...nxComponentTestingPreset(__filename),\n // extra options here\n },\n});\n```\n\n## Specifying a Build Target\n\nComponent testing requires a _build target_ to correctly run the component test dev server. This option can be manually specified with `--build-target=some-angular-app:build`, but Nx will infer this usage from the [project graph](/concepts/mental-model#the-project-graph) if one isn't provided.\n\nFor Angular projects, the build target needs to be using the `@nx/angular:webpack-browser` or\n`@angular-devkit/build-angular:browser` executor.\nThe generator will throw an error if a build target can't be found and suggest passing one in manually.\n\nLetting Nx infer the build target by default\n\n```shell\nnx g @nx/angular:cypress-component-configuration --project=my-cool-angular-project\n```\n\nManually specifying the build target\n\n```shell\nnx g @nx/angular:cypress-component-configuration --project=my-cool-angular-project --build-target:some-angular-app:build --generate-tests\n```\n\n{% callout type=\"note\" title=\"Build Target with Configuration\" %}\nIf you're wanting to use a build target with a specific configuration. i.e. `my-app:build:production`,\nthen manually providing `--build-target=my-app:build:production` is the best way to do that.\n{% /callout %}\n\n## Auto Generating Tests\n\nYou can optionally use the `--generate-tests` flag to generate a test file for each component in your project.\n\n```shell\nnx g @nx/angular:cypress-component-configuration --project=my-cool-angular-project --generate-tests\n```\n\n## Running Component Tests\n\nA new `component-test` target will be added to the specified project to run your component tests.\n\n```shell\nnx g component-test my-cool-angular-project\n```\n\nHere is an example of the project configuration that is generated. The `--build-target` option is added as the `devServerTarget` which can be changed as needed.\n\n```json {% fileName=\"project.json\" %}\n{\n \"targets\" {\n \"component-test\": {\n \"executor\": \"@nx/cypress:cypress\",\n \"options\": {\n \"cypressConfig\": \"<path-to-project-root>/cypress.config.ts\",\n \"testingType\": \"component\",\n \"devServerTarget\": \"some-angular-app:build\",\n \"skipServe\": true\n }\n }\n }\n}\n```\n\nNx also supports [React component testing](/packages/angular/generators/cypress-component-configuration).\n",
"presets": []
},
"description": "Setup Cypress component testing for a project.",
@@ -0,0 +1,91 @@
{
"name": "directive",
"factory": "./src/generators/directive/directive",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "GeneratorAngularDirective",
"cli": "nx",
"title": "Nx Angular Directive Options Schema",
"type": "object",
"description": "Creates a new, generic directive definition in the given project.",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The name of the new directive.",
"$default": { "$source": "argv", "index": 0 },
"x-prompt": "What name would you like to use for the directive?"
},
"path": {
"type": "string",
"format": "path",
"$default": { "$source": "workingDirectory" },
"description": "The path at which to create the interface that defines the directive, relative to the workspace root.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects"
},
"prefix": {
"type": "string",
"description": "A prefix to apply to generated selectors.",
"alias": "p",
"oneOf": [
{ "maxLength": 0 },
{ "minLength": 1, "format": "html-selector" }
]
},
"skipTests": {
"type": "boolean",
"description": "Do not create \"spec.ts\" test files for the new class.",
"default": false
},
"skipImport": {
"type": "boolean",
"description": "Do not import this directive into the owning NgModule.",
"default": false
},
"selector": {
"type": "string",
"format": "html-selector",
"description": "The HTML selector to use for this directive."
},
"standalone": {
"description": "Whether the generated directive is standalone. _Note: This is only supported in Angular versions >= 14.1.0_.",
"type": "boolean",
"default": false
},
"flat": {
"type": "boolean",
"description": "When true (the default), creates the new files at the top level of the current project.",
"default": true
},
"module": {
"type": "string",
"description": "The filename of the declaring NgModule.",
"alias": "m"
},
"export": {
"type": "boolean",
"default": false,
"description": "The declaring NgModule exports this directive."
},
"skipFormat": {
"type": "boolean",
"default": false,
"description": "Skip formatting of files."
}
},
"required": ["name", "project"],
"presets": []
},
"aliases": ["d"],
"description": "Generate an Angular directive.",
"implementation": "/packages/angular/src/generators/directive/directive.ts",
"hidden": false,
"path": "/packages/angular/src/generators/directive/schema.json",
"type": "generator"
}
@@ -1,51 +0,0 @@
{
"name": "downgrade-module",
"factory": "./src/generators/downgrade-module/downgrade-module",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxDowngradeModuleGenerator",
"title": "Generates downgradeModule setup.",
"description": "Sets up a Downgrade Module for using AngularJS and Angular.",
"cli": "nx",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"x-priority": "important"
},
"name": {
"type": "string",
"description": "The name of the main AngularJS module.",
"$default": { "$source": "argv", "index": 0 },
"x-priority": "important"
},
"angularJsImport": {
"type": "string",
"description": "Import expression of the AngularJS application (e.g., `--angularJsImport=some_node_module/my_app`)."
},
"skipFormat": {
"type": "boolean",
"description": "Skip formatting files.",
"default": false,
"x-priority": "internal"
},
"skipPackageJson": {
"type": "boolean",
"description": "Do not add `@angular/upgrade` to `package.json` (e.g., `--skipPackageJson`).",
"default": false,
"x-priority": "internal"
}
},
"additionalProperties": false,
"required": ["name", "project"],
"examplesFile": "## Examples\n\nBelow are some examples of how to generate configuration and setup for using `ngUpgrade`'s `DowngradeModule` for your application.\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\n\n```bash\nnx g @nrwl/angular:downgrade-module --name=myAngularJsModule --project=myapp\n```\n\n{% /tab %}\n\n{% tab label=\"Setup Router\" %}\n\nAllow a setup that configures routing for `DowngradeModule`.\n\n```bash\nnx g @nrwl/angular:downgrade-module --name=myAngularJsModule --project=myapp --router=true\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"presets": []
},
"description": "Sets up a Downgrade Module.",
"implementation": "/packages/angular/src/generators/downgrade-module/downgrade-module.ts",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/generators/downgrade-module/schema.json",
"type": "generator"
}
@@ -10,7 +10,7 @@
"type": "object",
"examples": [
{
"command": "nx g @nrwl/angular:host appName --remotes=remote1",
"command": "nx g @nx/angular:host appName --remotes=remote1",
"description": "Create an Angular application with configuration in place for Module Federation. If the `remotes` option is provided, attach the remote application to this application's configuration"
}
],
@@ -18,7 +18,8 @@
"name": {
"type": "string",
"description": "The name to give to the host Angular application.",
"$default": { "$source": "argv", "index": 0 }
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z].*$"
},
"remotes": {
"type": "array",
@@ -102,14 +103,15 @@
},
"unitTestRunner": {
"type": "string",
"enum": ["karma", "jest", "none"],
"enum": ["jest", "none"],
"description": "Test runner to use for unit tests.",
"default": "jest"
},
"e2eTestRunner": {
"type": "string",
"enum": ["protractor", "cypress", "none"],
"enum": ["cypress", "playwright", "none"],
"description": "Test runner to use for end to end (E2E) tests.",
"x-prompt": "Which E2E test runner would you like to use?",
"default": "cypress"
},
"tags": {
@@ -6,32 +6,33 @@
"$id": "SchematicsAngularModuleInit",
"cli": "nx",
"title": "Init Angular Plugin",
"description": "Initializes the `@nrwl/angular` plugin. NOTE: Does not work in the `--dry-run` mode.",
"description": "Initializes the `@nx/angular` plugin. NOTE: Does not work in the `--dry-run` mode.",
"type": "object",
"examples": [
{
"command": "nx g @nrwl/angular:init --style=scss",
"description": "Installs angular dependencies and initializes the `@nrwl/angular` plugin with the `scss` stylesheet format."
"command": "nx g @nx/angular:init --style=scss",
"description": "Installs angular dependencies and initializes the `@nx/angular` plugin with the `scss` stylesheet format."
}
],
"properties": {
"unitTestRunner": {
"type": "string",
"enum": ["karma", "jest", "none"],
"enum": ["jest", "none"],
"description": "Test runner to use for unit tests.",
"default": "jest",
"x-priority": "important"
},
"e2eTestRunner": {
"type": "string",
"enum": ["protractor", "cypress", "none"],
"enum": ["cypress", "playwright", "none"],
"x-prompt": "Which E2E test runner would you like to use?",
"description": "Test runner to use for end to end (e2e) tests.",
"default": "cypress",
"x-priority": "important"
},
"skipInstall": {
"type": "boolean",
"description": "Skip installing after adding `@nrwl/workspace`.",
"description": "Skip installing after adding `@nx/workspace`.",
"default": false,
"x-priority": "internal"
},
@@ -1,42 +0,0 @@
{
"name": "karma-project",
"factory": "./src/generators/karma-project/karma-project",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxKarmaProjectGenerator",
"title": "Create Karma Configuration for a project",
"description": "Add Karma configuration to an angular project.",
"cli": "nx",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"x-dropdown": "projects",
"x-priority": "important"
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
},
"skipPackageJson": {
"description": "Skip updating package.json.",
"type": "boolean",
"default": false,
"x-priority": "internal"
}
},
"additionalProperties": false,
"required": ["project"],
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\n\nTo add karma to project, run the following command.\n\n```bash\nnx g @nrwl/angular:karma-project --project=myapp\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"presets": []
},
"description": "Adds Karma configuration to a project.",
"implementation": "/packages/angular/src/generators/karma-project/karma-project.ts",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/generators/karma-project/schema.json",
"type": "generator"
}
@@ -1,35 +0,0 @@
{
"name": "karma",
"factory": "./src/generators/karma/karma",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxAngularKarmaGenerator",
"title": "Add Karma Configuration to the workspace.",
"description": "Add Karma configuration to an Nx workspace.",
"cli": "nx",
"type": "object",
"examples": [
{
"command": "nx g @nrwl/angular:karma",
"description": "Add a base karma configuration to the workspace."
}
],
"properties": {
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
}
},
"additionalProperties": false,
"required": [],
"presets": []
},
"description": "Adds Karma configuration to a workspace.",
"implementation": "/packages/angular/src/generators/karma/karma.ts",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/generators/karma/schema.json",
"type": "generator"
}
@@ -33,7 +33,7 @@
},
"additionalProperties": false,
"required": ["name", "library"],
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\nCreate a secondary entrypoint named `button` in the `ui` library.\n\n```bash\nnx g @nrwl/angular:library-secondary-entry-point --library=ui --name=button\n```\n\n{% /tab %}\n\n{% tab label=\"Skip generating module\" %}\nCreate a secondary entrypoint named `button` in the `ui` library but skip creating an NgModule.\n\n```bash\nnx g @nrwl/angular:library-secondary-entry-point --library=ui --name=button --skipModule\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\nCreate a secondary entrypoint named `button` in the `ui` library.\n\n```bash\nnx g @nx/angular:library-secondary-entry-point --library=ui --name=button\n```\n\n{% /tab %}\n\n{% tab label=\"Skip generating module\" %}\nCreate a secondary entrypoint named `button` in the `ui` library but skip creating an NgModule.\n\n```bash\nnx g @nx/angular:library-secondary-entry-point --library=ui --name=button --skipModule\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
"presets": []
},
"aliases": ["secondary-entry-point", "entry-point"],

Some files were not shown because too many files have changed in this diff Show More