Compare commits

..

4041 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
FrozenPandaz 385934c2a2 chore(misc): publish 15.7.0 2023-02-13 20:29:33 -05:00
FrozenPandaz 7eaaf83216 chore(misc): publish 15.7.0-beta.6 2023-02-13 19:18:38 -05:00
Jonathan Cammisuli 5261621251 fix(core): remove Windows cmd window popups (#14965)
Fixes https://github.com/nrwl/nx/issues/10822
2023-02-14 00:11:03 +00:00
Jason Jean 1aa9b17841 fix(devkit): fix support renaming directories with the tree (#14973) 2023-02-13 23:36:39 +00:00
Craigory Coppola b2df831076 fix(core): tsconfig.base.json module setting should not break local plugins (#14610) 2023-02-13 16:28:32 -05:00
Benjamin Cabanes 2b5bdd50e4 docs(nx-cloud): make access token doc discoverable (#14972)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2023-02-13 16:27:56 -05:00
Emily Xiong 51cd35cb04 feat(expo): upgrade expo-cli to 6.3.0 (#14944) 2023-02-13 14:23:06 -05:00
Victor Savkin dfc424d757 chore(repo): update nx-cloud to 15.1.0-beta.3 2023-02-13 14:12:05 -05:00
Dan Roujinsky f066ff7729 fix(react): dont update lint and react-router if skipPackageJson is set (#14900) 2023-02-13 20:49:51 +02:00
Emily Xiong b1b36e92b7 fix(expo): fix the prebuild command in expo (#14922) 2023-02-13 13:46:20 -05:00
Katerina Skroumpelou b90ac668ec chore(core): docs codeowners for vite and storybook (#14967) 2023-02-13 20:14:07 +02:00
Benjamin Cabanes b3d9adec03 docs(nx-dev): change example repository wording (#14966) 2023-02-13 13:12:36 -05:00
Caleb Ukle 0b7ef8f66a docs(bundling): add info on adding deps to package.json (#14963) 2023-02-13 11:33:44 -06:00
Miroslav Jonaš d0ad53c669 feat(node): setting docker on app generation should set generateLockfile on target config (#14947) 2023-02-13 12:00:55 -05:00
Craigory Coppola bcd931ca1c chore(repo): tune codeowners by removing root wildcard (#14962) 2023-02-13 11:44:40 -05:00
Miroslav Jonaš 8d0c09fffa fix(core): nesting npm lock file deps should support multi nests (#14949) 2023-02-13 11:30:40 -05:00
Miroslav Jonaš 41a80401a7 fix(core): support wildcard and latest for pruning version normalization (#14948) 2023-02-13 11:19:55 -05:00
Benjamin Cabanes e74356e4bf docs(core): change overview path on devkit (#14960) 2023-02-13 11:07:32 -05:00
Jason Jean d094e3a1e1 fix(misc): throw an error when removing unsafe projects (#14927) 2023-02-13 11:03:34 -05:00
Emily Xiong 9b08a8db55 feat(react-native): upgrade react native to 0.71.2 (#14908) 2023-02-13 10:55:44 -05:00
Andrii Yuriev 85b605add8 docs(core): add Gitlab CI variable GIT_DEPTH: 0 (#14940) 2023-02-13 10:11:53 -05:00
xleepy 1d60621cc1 docs(core): typo in global-implicit-dependencies.md (#14935) 2023-02-13 10:08:30 -05:00
Piotr Błażejewicz (Peter Blazejewicz) 6ada5a43cd docs(angular): use path alias for shared/ui (#14937) 2023-02-13 10:07:48 -05:00
Miroslav Jonaš 751030a761 cleanup(core): remove reference to deprecated ProjectGraphNode (#14864) 2023-02-13 13:35:43 +01:00
Dmitriy Stepanenko 2f9978f4d3 feat(vite): be able to use a custom build target for the preview server (#14951) 2023-02-13 13:44:53 +02:00
Colum Ferry 91117c9d2d fix(angular): fallback to buildTarget.options if no configuration provided (#14952) 2023-02-13 11:29:02 +00:00
Leosvel Pérez Espinosa c712949b7e fix(angular): add missing ts 4.8.2+ requirement to angular v15 update (#14934) 2023-02-13 09:05:52 +00:00
Craigory Coppola 3f65438208 chore(nx-plugin): disable failing nx plugin tests (#14923) 2023-02-10 18:48:03 -05:00
Philip Fulcher 0e3d9cdd51 feat(graph): show errors from task graph generation (#14924) 2023-02-10 18:03:51 -05:00
Jason Jean 5ac46c47ae chore(repo): add Jason as a codeowner for CI jobs (#14928) 2023-02-10 18:01:22 -05:00
Jonathan Cammisuli d7c1873910 chore(core): enable native hasher for ci (#14880) 2023-02-10 17:54:45 -05:00
Jason Jean d29878de28 chore(repo): fix e2e tests for interactive create prompts (#14926) 2023-02-10 17:48:46 -05:00
Jack Hsu 2fbe1bdc98 fix(node): add missing .swcrc file for node libs (#14925) 2023-02-10 15:05:44 -07:00
Colum Ferry 4f09949383 feat(core): add standalone api prompt to CNW (#14886) 2023-02-10 15:06:41 -05:00
Colum Ferry abece6a02d feat(angular): add routing option to CNW (#14845) 2023-02-10 13:24:48 -05:00
Leosvel Pérez Espinosa 005eb5687b fix(misc): make ts 4.8 update optional and add missing angular requirements (#14918) 2023-02-10 13:24:07 -05:00
Jack Hsu ad8343499b fix(webpack): filter out .hot-update.js files from index.html (#14917) 2023-02-10 18:23:41 +00:00
Nicholas Cunningham 4cb9ff849e fix(node): Update Proxy config port number (#14919) 2023-02-10 10:21:56 -07:00
Colum Ferry 762b9f336c feat(core): remove unused CLI option from CNW (#14865) 2023-02-10 11:35:01 -05:00
Colum Ferry 066c3b1e71 fix(angular): unit test runner none should skip tests (#14916) 2023-02-10 16:15:33 +00:00
Jack Hsu db7ee9966e fix(webpack): ensure NODE_ENV is defaulted to development for dev-server, and HMR works (#14915) 2023-02-10 15:26:42 +00:00
Katerina Skroumpelou 496620e60a fix(storybook): fix the no-root migration (#14914) 2023-02-10 16:54:14 +02:00
Jack Hsu 47a4ff4bf5 fix(bundling): add a deprecation warning for users to update their project config before Nx 16 (#14913) 2023-02-10 08:46:23 -06:00
Phillip Barta caab753580 cleanup(nx-plugin): remove dependency fs-extra from create-nx-plugin (#14909) 2023-02-10 09:36:32 -05:00
Jack Hsu 7185c5fa20 fix(webpack): pass the correct config to user when isolatedConfig=false (#14912) 2023-02-10 09:07:59 -05:00
Leosvel Pérez Espinosa 09670c7c9f fix(angular): fix safari tp support and include last 2 chrome version in browserslist in ng-packgr executors (#14902) 2023-02-10 09:03:55 +00:00
Jason Jean 0281821fcf chore(devkit): fix lint rule message for devkit (#14903) 2023-02-10 01:18:40 -05:00
Jason Jean 6b1d0c6934 chore(linter): fix non-deterministic snapshots for convert tslint to … (#14905) 2023-02-09 19:04:19 -05:00
FrozenPandaz 3330da3d03 chore(misc): publish 15.7.0-beta.5 2023-02-09 18:32:31 -05:00
Miroslav Jonaš 9294a4eeeb feat(core): remove workspace-lint from CI generators and docs (#14895) 2023-02-09 21:38:49 +01:00
Jason Jean 1d773c0d35 fix(devkit): make devkit backwards compatible back to nx 14.1 (#14854) 2023-02-09 12:48:57 -05:00
Jack Hsu 0f8faa249b fix(node): use correct main entry file extension based on project config (#14894) 2023-02-09 12:43:00 -05:00
Jason Jean e48b141da3 fix(core): fix migration bugs (#14901) 2023-02-09 12:42:37 -05:00
Jason Jean e1a5fc78ef fix(core): use not scheduled task graph to schedule new batches (#14884) 2023-02-09 10:35:55 -05:00
Jack Hsu b1cef45c58 chore(repo): add more owners to react, node, and js, as well as James as a fallback for EU (#14896) 2023-02-09 10:35:34 -05:00
Victor Savkin 53aa8396c2 chore(repo): enable verbose logging 2023-02-09 10:03:34 -05:00
Leosvel Pérez Espinosa b688412617 fix(angular): prevent init generator to bump versions and consider installed core packages versions (#14890)
Fixes https://github.com/nrwl/nx/issues/14324
2023-02-09 14:26:40 +00:00
Miroslav Jonaš 6b29f6d666 chore(repo): add e2e/utils scope to CODEOWNERS (#14892) 2023-02-09 15:25:38 +01:00
Benjamin Cabanes fb12eb19c7 docs(core): remove cache artefact from CI config (#14882) 2023-02-09 08:35:17 -05:00
Katerina Skroumpelou 9fb33eb73c Revert "fix(vite): do not use merged options for preview's build target" (#14889) 2023-02-09 08:00:58 -05:00
Juri 37de12468f docs(react): add integrated flag info to cra migration 2023-02-09 11:16:15 +01:00
Jack Hsu 4d21915bd1 feat(node): add default unit test for fastify framework (#14876) 2023-02-08 12:47:15 -07:00
Jason Jean 659a172a36 chore(repo): cleanup codeowners for core (#14875) 2023-02-08 16:50:44 +00:00
Miroslav Jonaš b59df8b199 cleanup(core): remove deprecated ext from node`s file (#14863) 2023-02-08 11:05:46 -05:00
Miroslav Jonaš 96b40e0a5c chore(repo): add additional granular scopes to CODEOWNERS (#14861) 2023-02-08 16:55:58 +01:00
Colum Ferry 829df2b9ab fix(angular): tidy up supported options (#14793) 2023-02-08 15:05:10 +00:00
Colum Ferry c5560334dc chore(misc): update codeowners for generated docs (#14862) 2023-02-08 09:45:16 -05:00
FrozenPandaz 6520e603c4 chore(misc): publish 15.7.0-beta.4 2023-02-07 18:53:49 -05:00
Craigory Coppola a65ea6ed30 fix(core): reintroduce misaligned packages check (#14648) 2023-02-07 18:32:35 -05:00
Isaac Mann de05e68398 docs(core): code sharing concept guide (#14852) 2023-02-07 17:43:16 -05:00
Jason Jean bcae86de1f chore(repo): add more people to approve uncaught files (#14844) 2023-02-07 21:32:58 +00:00
Altan Stalker 7a1a25e008 chore(core): update cloud to 15.1.0-beta.2 (#14847) 2023-02-07 16:00:00 -05:00
Jack Hsu fc20e693aa fix(core): update ensurePackage util with workaround for bad module cache (#14786) 2023-02-07 15:57:02 -05:00
Katerina Skroumpelou 03e04e765c chore(core): add @Coly010 to storybook codeowners (#14851) 2023-02-07 14:38:35 -05:00
Katerina Skroumpelou 61cadc301c feat(storybook): remove root config files (#14780) 2023-02-07 14:30:34 -05:00
Leosvel Pérez Espinosa b736d1f7b7 fix(angular): set project root when reading project.json in the adapter scoped host (#14849) 2023-02-07 18:55:44 +00:00
Craigory Coppola 2cd3515433 chore(repo): tune codeowners (#14850) 2023-02-07 13:32:35 -05:00
Jason Jean e7f5855fdc fix(core): fix project locator for built in node modules (#14846) 2023-02-07 18:47:17 +01:00
Leosvel Pérez Espinosa 1802e67fbc fix(misc): identify workspace schematics correctly using isSchematic option in schema (#14751)
Fixes https://github.com/nrwl/nx/issues/14641
2023-02-07 11:53:15 -05:00
Dan Roujinsky 5551fccf3e fix(webpack): don't use deprecated config with isolatedConfig (#14802) 2023-02-07 17:50:35 +02:00
Dan Roujinsky 6748bc6192 fix(webpack): restore previous build logging (#14801) 2023-02-07 17:50:15 +02:00
Leosvel Pérez Espinosa ad082c954c feat(core): expand --from versions in migrate command to packages included in packageGroup (#14841) 2023-02-07 10:35:37 -05:00
Jason Jean 3eb4eb1d0c chore(repo): update nx to 15.7.0-beta.3 (#14834) 2023-02-07 10:12:15 -05:00
Leosvel Pérez Espinosa 746272d1c8 cleanup(misc): delete ignored native binary (#14842) 2023-02-07 14:50:50 +00:00
Dmitriy Stepanenko 8d876545d7 fix(vite): do not use merged options for preview's build target (#14815) 2023-02-07 11:15:26 +02:00
Dmitriy Stepanenko 0e7e76f3e1 fix(vite): expose all executors and schemas (#14763) 2023-02-07 10:15:30 +02:00
Isaac Mann ca4f80b5f7 docs(core): add link to tRPC plugin guide (#14830) 2023-02-06 20:00:45 -05:00
Craigory Coppola 7537d76842 chore(repo): add CODEOWNERS (#14671) 2023-02-06 17:46:34 -05:00
Dmitriy Stepanenko 544e8d5b70 fix(devkit): adjust behavior of the "addDependenciesToPackageJson" function (#14682) 2023-02-06 17:45:09 -05:00
Dmitriy Stepanenko b35187c142 fix(vite): resolve dev & preview server promises on process exit (#14812) 2023-02-06 17:35:38 -05:00
Miroslav Jonaš 06fbb4ffb6 feat(core): update version of github ci workflow to 0.11.3 (#14819) 2023-02-06 17:05:38 -05:00
FrozenPandaz b2bd4f27e0 chore(misc): publish 15.7.0-beta.3 2023-02-06 17:04:14 -05:00
Jason Jean 2058f54443 fix(core): fix issues regarding workspace.json migrations (#14833) 2023-02-06 16:53:35 -05:00
Leosvel Pérez Espinosa 751d02b983 feat(core): add prompts and requirements to nx migrations (#14420) 2023-02-06 20:57:11 +00:00
Altan Stalker a40bb66e98 docs(core): update gitlab vcs setup to use project ids (#14831) 2023-02-06 20:10:46 +00:00
Jonathan Cammisuli 3bb624a9bb fix(core): do not hardcode checks for npm (#14827) 2023-02-06 14:16:18 -05:00
Katerina Skroumpelou c2419d0801 fix(storybook): typescript config ts-node (#14829) 2023-02-06 19:09:24 +00:00
Miroslav Jonaš 1bf1ad5a8e docs(core): fix grammar in ci guides (#14820) 2023-02-06 18:12:41 +01:00
Katerina Skroumpelou 24861792db chore(storybook): update to latest beta (#14822) 2023-02-06 11:52:56 -05:00
Miroslav Jonaš b80286191d feat(core): refactor lock file parsing and pruning (#13864)
Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-06 11:39:36 -05:00
Emily Xiong d1933d272c docs(expo): add deprecated text (#14727) 2023-02-06 11:32:13 -05:00
Victor Berchet 4f1387d935 cleanup(js): factor code-frames in nx (#14585) 2023-02-05 11:20:06 -05:00
Benjamin Cabanes f38268bf53 docs(core): add view-logs description (#14775) 2023-02-03 14:40:13 -05:00
Isaac Mann b85f9de9e7 docs(core): fix import paths in standalone tutorials (#14797) 2023-02-03 11:59:25 -05:00
Jack Hsu 4ff59ff3cb chore(repo): inline native module requires so jest CLI runs successfully (#14796) 2023-02-03 11:49:39 -05:00
Katerina Skroumpelou ff3cf720af feat(storybook): v7 mainjs new format and remove root config (#14777) 2023-02-03 10:13:59 +00:00
Isaac Mann 0f5d2c3530 docs(core): dependency management guide (#14782) 2023-02-02 13:59:32 -05:00
Jack Hsu 2d566593c0 fix(bundling): support additionalEntryPoints properly (#14773) 2023-02-02 13:20:18 -05:00
Rares Matei 0d33bb076b docs(nx-cloud): update private cloud release notes (#14781) 2023-02-02 18:16:22 +00:00
Victor Savkin 7f9eadeb3c fix(angular): fix issues in the angular cli adapter 2023-02-02 13:13:38 -05:00
Caleb Ukle bc788ff876 fix(node): quote filepath in cli e2e sample test (#14779)
Fixes https://github.com/nrwl/nx/issues/14761
2023-02-02 17:02:06 +00:00
Chau Tran 259d4b29cf fix(vite): fix watch schema for build executor to object or boolean i… (#14756) 2023-02-02 15:58:37 +00:00
MaxKless f794a1f436 cleanup(core): add x-priority to properties (#14767) 2023-02-02 10:53:36 -05:00
Victor Savkin 55b0389ad5 fix(core): skip-nx-cache should not write to the cache 2023-02-02 09:09:40 -05:00
Colum Ferry 84776077b1 feat(angular): support nx init for Angular 14+ (#14658) 2023-02-02 10:32:15 +00:00
Leosvel Pérez Espinosa 17aa8950d5 fix(angular): ensure required peer deps are installed when migrating from angular cli workspaces (#14766) 2023-02-02 10:47:35 +01:00
Jason Jean ed5ad1e367 chore(repo): fix failing eslint test (#14759) 2023-02-02 10:01:37 +01:00
FrozenPandaz 104285b692 chore(misc): publish 15.7.0-beta.2 2023-02-01 17:19:41 -05:00
Jason Jean 6f507eca5d chore(repo): do not use tsconfig paths for release (#14757) 2023-02-01 17:17:11 -05:00
Jack Hsu 2f4f0f0ab2 fix(bundling): combine user-defined external esbuild options with ours (#14755) 2023-02-01 14:29:13 -07:00
Katerina Skroumpelou 2876996a39 docs(vite): frontmatter and description to documents (#14750) 2023-02-01 21:53:19 +02:00
FrozenPandaz 5f03c2d4bf chore(misc): publish 15.7.0-beta.1 2023-02-01 14:46:32 -05:00
Jonathan Cammisuli fecf7fb82f feat(core): add native node bindings for hashing (#14476)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-01 14:43:40 -05:00
Miroslav Jonaš 8614f3ac62 chore(repo): use same cleanup function for lerna e2e (#14747) 2023-02-01 20:18:41 +01:00
Miroslav Jonaš c23b74ef89 fix(linter): use ng-packager for checking secondary entry points in linter (#14425) 2023-02-01 12:58:50 -05:00
Jack Hsu 5cfd357e8f feat(bundling): update esbuild to 0.17.5 (#14752) 2023-02-01 10:55:55 -07:00
Colum Ferry fe6ffa20d9 feat(angular): set angular devkit packages as peer deps (#14723) 2023-02-01 17:09:29 +00:00
Katerina Skroumpelou b7fe0a2311 docs(storybook): add titles and descriptions to all docs (#14749) 2023-02-01 17:03:51 +00:00
Leosvel Pérez Espinosa f02d0e4d1a fix(angular): throw when polyfills is provided with an array for webpack-browser and angular 14 (#14742) 2023-02-01 17:34:39 +01:00
Benjamin Cabanes 0602b84140 feat(core): enable ts-node paths reference usage to use library imports in /scripts (#14743) 2023-02-01 11:31:12 -05:00
Katerina Skroumpelou d9b89e45aa docs(webpack): enhance titles for SEO (#14745) 2023-02-01 15:37:25 +00:00
Benjamin Cabanes 85543100ba docs(core): rewrite webpack loader title for seo (#14744) 2023-02-01 15:07:36 +00:00
Chau Tran 5f32a9ae5c docs(node): add prioritize flags to node (#14280) 2023-02-01 08:21:36 -06:00
Chau Tran d0c978e898 docs(web): add prioritize flags to web packages (#14281) 2023-02-01 08:20:57 -06:00
Miroslav Jonaš a41d625f91 fix(repo): fix lerna tests to successfully run for yarn (#14738) 2023-02-01 13:55:52 +01:00
Miroslav Jonaš 1681bfd7a0 docs(repo): update contributing package manager flag (#14736) 2023-02-01 12:21:00 +01:00
Katerina Skroumpelou 4ba43630a7 docs(repo): contributors should use node 18 (#14730) 2023-02-01 11:13:45 +02:00
Nicholas Cunningham 9abd8e6af1 fix(node): add sourcemaps for esbuild configuration by default (#14725) 2023-01-31 14:31:35 -05:00
Jack Hsu bc006161b4 docs(webpack): add withModuleFederation plugin guide (#14728) 2023-01-31 20:37:39 +02:00
Greg Westneat 42b9be2a11 feat(expo): add option for skipPackageJson for expo generators (#14570) 2023-01-31 12:27:19 -05:00
Katerina Skroumpelou b110275f9c docs(webpack): add frontmatter to guides (#14724) 2023-01-31 19:17:46 +02:00
Jack Hsu ec28689a80 docs(webpack): add guide for webpack plugins (e.g. withNx, withWeb, etc.) (#14720) 2023-01-31 17:06:32 +00:00
Jack Hsu 829fb5bbfa fix(core): update CSV handling to account for the the value already being an array (#14722) 2023-01-31 11:26:50 -05:00
Dale Boahene 5cee1c19b6 docs(nextjs): update generator command template (#14688) 2023-01-31 16:25:17 +00:00
Jack Hsu 9250535e20 chore(react): add e2e test for SVG and SVGR handling in react (#14707) 2023-01-31 08:48:28 -07:00
Dan Roujinsky e92097c5d0 fix(webpack): use webpack-merge for plugins to preserve values, fix React SVG loader (#14695) 2023-01-31 10:09:58 -05:00
Katerina Skroumpelou a10dc40f18 docs(misc): webpack overview page and other fixes (#14715) 2023-01-31 08:18:21 -05:00
Leosvel Pérez Espinosa a55c2bcbd5 docs(angular): use an actual schematic in example of converting it to an nx generator (#14716) 2023-01-31 12:45:26 +00:00
Benjamin Cabanes 0e2eb29153 docs(nx-dev): fix documentation link error (#14713) 2023-01-30 19:41:11 -05:00
Benjamin Cabanes 7ddb016768 chore(nx-dev): add support for light & dark on theme-color (#14712) 2023-01-30 19:25:55 -05:00
Benjamin Cabanes b57f0b8b20 chore(nx-dev): show type in title for package schema (#14711) 2023-01-30 19:19:57 -05:00
Benjamin Cabanes 5c95dc16fc chore(nx-dev): remove site name deprecated property (#14710) 2023-01-30 18:25:03 -05:00
Benjamin Cabanes feb3dca617 chore(nx-dev): show type in page title for package schema (#14709) 2023-01-30 18:23:50 -05:00
Benjamin Cabanes 67d9981f9a feat(nx-dev): add 404 support for package urls (#14706) 2023-01-30 14:13:27 -05:00
Benjamin Cabanes 5bd087f553 chore(nx-dev): use structuredClone for cloning objects (#14698) 2023-01-30 14:03:32 -05:00
Katerina Skroumpelou d5c5952386 docs(webpack): customize webpack and refactor docs (#14702) 2023-01-30 17:22:20 +00:00
Katerina Skroumpelou 9e06e411b0 cleanup(vite): remove prod config server warning (#14699) 2023-01-30 15:23:08 +00:00
Leosvel Pérez Espinosa 954f78c3db cleanup(misc): reenable cypress component tests e2e tests (#14668) 2023-01-30 08:09:46 -05:00
Colum Ferry 1eb38ce920 fix(angular): deprecate the testing utils (#14691) 2023-01-30 13:09:20 +00:00
Colum Ferry 8d5544e1fe fix(angular): prefix in project.json in migrated ng cli (#14662) 2023-01-30 11:22:50 +00:00
Chau Tran 79994e9ee4 docs(js): add x-priority flags to js executors and generators (#14261) 2023-01-30 11:57:53 +01:00
Chau Tran 5d1c8eacd7 docs(nest): add prioritize flags for nestjs generators (#14262) 2023-01-30 11:56:19 +01:00
Craigory Coppola f4a4059e0b feat(core): hide hidden and deprecated generators from prompts (#14561) 2023-01-27 18:37:07 -05:00
Jack Hsu cda00d9687 fix(webpack): config migrations should account for different configurations (#14672) 2023-01-27 20:50:25 +00:00
Nicholas Cunningham 3cdaacf5d4 fix(node): cleanup generated paths for node libs (#14674) 2023-01-27 15:47:11 -05:00
Nicholas Cunningham 3f4a956d38 chore(node): add e2e test for --docker (#14666) 2023-01-27 14:21:18 -05:00
Nicholas Cunningham b5871d29b1 fix(node): remove node option from integrated workspace preset (#14670) 2023-01-27 14:06:42 -05:00
Jack Hsu a0ed060b14 feat(node): update app generator for fastify to be more inline with fastify cli (#14667) 2023-01-27 13:57:28 -05:00
Caleb Ukle 0f15c140fe fix(testing): jest batch mode improvements (#13744) 2023-01-27 17:23:56 +00:00
4javier 6422d3da9d fix(angular): remove import of missing environment file (#14640)
Co-authored-by: 4javier <4javier4@gmail.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-01-27 16:46:10 +00:00
Benjamin Cabanes efe69751cb chore(nx-dev): update dark mode style on card & persona (#14665) 2023-01-27 10:59:30 -05:00
Dirko Odendaal ee909cf7a5 feat(misc): conditionally allow starter template inclusion (#14268)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-01-27 15:07:07 +00:00
Katerina Skroumpelou dba4a065ca feat(react): migrate webpack config (#14663) 2023-01-27 09:57:38 -05:00
Jack Hsu 8bebf3330e fix(react): install @nrwl/web when module federation is used (#14660) 2023-01-27 16:14:10 +02:00
Juri Strumpflohner a4868f9695 docs(core): adjust terminology for standalone apps (#14633) 2023-01-27 08:48:15 -05:00
Jack Hsu 795e4d6985 fix(webpack): fix support for module federation plugin (#14653) 2023-01-27 14:14:31 +02:00
Altan Stalker 2ee9ac6680 fix(core): gitlab should be included in ci-workflow ci schema (#14652)
Fixes https://github.com/nrwl/nx/issues/14632
2023-01-26 18:44:02 -05:00
Craigory Coppola c7cc2c8d7f chore(misc): add x-priority for nx package executors (#14292) 2023-01-26 17:58:17 -05:00
Jack Hsu d5332b4e23 feat(webpack): move web-specific options into withWeb plugin (#14590) 2023-01-26 14:17:13 -05:00
Katerina Skroumpelou 910f34db54 feat(storybook): vite config for v7 (#14645) 2023-01-26 17:48:03 +00:00
Jack Hsu 9f1ed50fc6 feat(node): improve docker setup for Node server apps (#14647) 2023-01-26 17:09:13 +00:00
Nicholas Cunningham 6093247df2 feat(node): add --docker for CNW (#14626) 2023-01-26 11:02:12 -05:00
FrozenPandaz 657f62aff3 chore(misc): publish 15.7.0-beta.0 2023-01-26 10:51:27 -05:00
Jason Jean dc6da76900 cleanup(core): move js graph creation its own folder (#14283) 2023-01-26 10:48:32 -05:00
Benjamin Cabanes e002bd3479 fix(nx-dev): test additional property for boolean and object (#14646)
closes https://github.com/nrwl/nx/issues/12773
2023-01-26 15:44:57 +00:00
Jack Hsu cd92d102d3 feat(webpack): add isolatedConfig option to skip automatically applying Nx plugins (#14618) 2023-01-26 10:32:34 -05:00
Benjamin Cabanes a61cbb5319 chore(nx-dev): change nrwlio markings to nx (#14644) 2023-01-26 17:30:28 +02:00
Katerina Skroumpelou 85606a45ea feat(webpack): migrate to webpack.config file (#14607) 2023-01-26 15:10:34 +00:00
Katerina Skroumpelou 0650ee96d5 cleanup(storybook): re-enable unit tests (#14639) 2023-01-26 15:00:34 +01:00
Dan Roujinsky 5e2f3154b1 fix(webpack): omit postcss plugins for css modules (#14616) 2023-01-26 08:37:01 -05:00
Katerina Skroumpelou 7af4c3faa3 fix(storybook): react-native tsconfig templates (#14638)
Co-authored-by: Michaël Rézac <michael.rezac@gokepler.fr>
2023-01-26 14:18:30 +02:00
Leosvel Pérez Espinosa da37267762 cleanup(angular): reenable ng add e2e tests (#14634) 2023-01-26 10:52:12 +01:00
Victor Savkin d70b9ec7c6 feat(misc): add a command to list projects 2023-01-25 19:41:22 -05:00
Janek Lasocki-Biczysko 177f1b7c72 fix(webpack): sourceMap option must be a boolean if/when passed to loaders (#14622) 2023-01-25 18:10:27 -05:00
Jack Hsu 243b7423f6 fix(devkit): always read package version from the actual package in e… (#14623) 2023-01-25 22:56:37 +00:00
Caleb Ukle f3376419ac fix(devkit): only install deps with higher version (#14630) 2023-01-25 22:10:40 +00:00
Isaac Mann 0bcab85ce7 docs(core): add kubernetes setup guide (#14628) 2023-01-25 21:02:28 +00:00
Benjamin Cabanes 8d517752d3 chore(core): use right GitHub syntax (#14624) 2023-01-25 18:56:06 +00:00
Emily Xiong 41fc2ebbed feat(react-native): upgrade react-native to 0.71.1 (#14584) 2023-01-25 13:28:32 -05:00
Emily Xiong e0198f3dfc feat(expo): upgrade expo to 47.0.13 (#14411) 2023-01-25 13:27:54 -05:00
Janek Lasocki-Biczysko bf0aaeb213 docs(core): update examples (#14335) 2023-01-25 12:45:42 -05:00
Dan Roujinsky a7485d3ecd chore(webpack): export a type for execution context (#14619) 2023-01-25 12:28:11 -05:00
okmttdhr, okp 640a13c698 feat(nextjs): Switch custom server's watch option by environment (#13946) 2023-01-25 12:24:50 -05:00
Benjamin Cabanes 0307dd31c4 chore(nx-dev): generate images before build (#14621) 2023-01-25 12:23:36 -05:00
Katerina Skroumpelou d637a5ece8 fix(core): react monorepo account for bundler (#14617) 2023-01-25 18:59:40 +02:00
William Sedlacek 3eb669b8b6 fix(react-native): Package path . is not exported from package (#13745) 2023-01-25 11:32:55 -05:00
Jack Hsu 4bbd60b90a fix(js): handle standalone projects for buildable js libraries (#14615) 2023-01-25 16:32:30 +00:00
Rémi Lux e8faab12e1 feat(expo): add clean option to prebuild executor (#14212) 2023-01-25 11:31:33 -05:00
Jonathan Roth d9c27a1706 feat(testing): allow updating jest config nested keys with dots (#13894) 2023-01-25 10:21:07 -06:00
lucasmerlin 6dd6e6167e fix(nextjs): update order of @tailwind directives in @nrwl/react:setup-tailwind (#13429) 2023-01-25 11:10:15 -05:00
Colum Ferry aaf8cc4f3a feat(angular): add index html transformer for builder #13368 (#14583) 2023-01-25 15:59:18 +00:00
Juri Strumpflohner df26a29316 docs(nx-dev): fix Youtube link (#14605) 2023-01-25 10:48:04 -05:00
Katerina Skroumpelou 94dffd1e92 fix(testing): verify output info exists (#14598) 2023-01-25 17:45:59 +02:00
Benjamin Cabanes dde37ca7b8 chore(nx-dev): refresh og images content (#14613) 2023-01-25 15:44:12 +00:00
Katerina Skroumpelou c3de9fdd76 fix(storybook): react plugin sourcemap type (#14600)
Co-authored-by: Bashkim Isai <me@bashkim.com>
2023-01-25 17:43:25 +02:00
Colum Ferry c212d54eeb docs(angular): add standalone ngrx api recipe (#14602) 2023-01-25 15:39:13 +00:00
Benjamin Cabanes 9d1969e91f fix(nx-dev): resolve type interface conflicts (#14611) 2023-01-25 09:38:33 -06:00
Leosvel Pérez Espinosa 7b1ed8e4b4 fix(angular): make ng add support new configuration handling (#14604) 2023-01-25 16:31:58 +01:00
Benjamin Cabanes e4e156d168 chore(nx-dev): use packages-metadata for og image generation (#14609) 2023-01-25 10:26:07 -05:00
Leosvel Pérez Espinosa 6b49a6a6c1 cleanup(misc): disable cypress component tests e2e tests (#14608) 2023-01-25 15:07:13 +00:00
Juri 7946d8ec22 docs(core): add standalone apps section 2023-01-25 13:58:59 +01:00
Colum Ferry d23264f820 feat(angular): add x-priority to executors (#14543) 2023-01-25 09:21:33 +00:00
Jack Hsu b9ff26495d fix(react): fix nx init so that it works on Windows (#14586) 2023-01-24 14:39:04 -05:00
Katerina Skroumpelou b01aa846fb fix(vite): delete webpack config when converting (#14582) 2023-01-24 18:32:18 +02:00
Katerina Skroumpelou fea80afd5c fix(vite): proper path for main.tsx for standalone (#14575) 2023-01-24 10:07:45 -05:00
Katerina Skroumpelou 6116460694 fix(bundling): react-standalone take into account bundler (#14573) 2023-01-24 08:19:03 -05:00
Jack Hsu d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
FrozenPandaz 5ae53c6c3e chore(misc): publish 15.6.0 2023-01-23 19:19:36 -05:00
Jason Jean 0bf9eb5118 chore(repo): update nx to 15.6.0-beta.0 (#14566) 2023-01-23 23:58:05 +00:00
Jason Jean b424d0c4f2 Revert "fix(nextjs): incorrect path when serving production builds (#… (#14569) 2023-01-23 23:09:43 +00:00
Nicholas Cunningham 71a7ebd9e1 fix(node): remove connect framework from node app generator (#14567) 2023-01-23 17:51:18 -05:00
Jason Jean 3a8ec4f535 fix(storybook): hide storybook 7 flags (#14568) 2023-01-23 17:48:58 -05:00
Jason Jean f4c4ec058a fix(misc): refine the prompts in create-nx-workspace (#14562) 2023-01-23 17:24:08 -05:00
Jonathan Cammisuli 12d966933c fix(core): rename aux to auxiliary for windows (#14564) 2023-01-23 21:56:56 +00:00
Victor Savkin ef215e99e1 feat(misc): update package readmes 2023-01-23 16:39:22 -05:00
Jack Hsu c134efe33f fix(react): add bundler to create-nx-workspace react preset so webpack package is installed (#14546) 2023-01-23 21:11:14 +00:00
Katerina Skroumpelou 077b55915b Revert "chore(storybook): re-enable storybook e2e tests" (#14554) 2023-01-23 14:35:08 -05:00
Jason Jean 21d65cb813 fix(core): use require.resolve instead of randomly matching from our … (#14523) 2023-01-23 14:07:07 -05:00
Katerina Skroumpelou 51b1f482a3 fix(vite): add configDir to vite config (#14559) 2023-01-23 14:05:56 -05:00
Craigory Coppola b804fc0ea1 fix(devkit): splitTarget should fall back to old behavior if not passed project graph (#14557)
Fixes https://github.com/nrwl/nx/issues/14555
2023-01-23 17:30:14 +00:00
Emily Xiong 0a1e7448da feat(react-native): upgrade @storybook/react-native to 6.0.1-beta.11 (#14437) 2023-01-23 19:23:41 +02:00
Nicholas Cunningham 578f5c03e0 fix(nextjs): incorrect path when serving production builds (#14553)
closed https://github.com/nrwl/nx/issues/14507
2023-01-23 16:56:18 +00:00
Anton Fedorov d43d6b6de9 fix(graph): encode id in project node tooltip (#14530) 2023-01-23 11:53:30 -05:00
Andrew Redican e7f065e6b3 chore(core): nx plugin submission nx-install (#14097) 2023-01-23 11:52:32 -05:00
Paul Eustice cd20b6ed85 docs(core): fix implicitDependencies examples (#14539) 2023-01-23 11:51:39 -05:00
beeman ⬢ 559faa7e22 fix(misc): fix broken workspace claim link (#14536) 2023-01-23 11:21:43 -05:00
Katerina Skroumpelou d8d6006c32 chore(storybook): re-enable storybook e2e tests (#14549) 2023-01-23 17:14:39 +01:00
Craigory Coppola 39e0be6fc8 chore(nx-plugin): add x-priority tags to schema files (#14312) 2023-01-23 16:06:59 +00:00
Katerina Skroumpelou 806c786c09 docs(vite): explain how to use env vars in vite (#14548) 2023-01-23 15:57:06 +00:00
Jack Hsu 5e11adbba4 feat(js): move babel preset to @nrwl/js/babel so @nrwl/web is not… (#14478) 2023-01-23 15:32:07 +00:00
Caleb Ukle ef3d5de759 docs(testing): add x-priority to jest package (#14252) 2023-01-23 09:29:13 -06:00
Caleb Ukle f372dbf99c docs(testing): add x-priority to cypress package (#14253) 2023-01-23 09:28:59 -06:00
Katerina Skroumpelou ac3804983b cleanup(vite): remove unnecessary import (#14544) 2023-01-23 16:55:31 +02:00
Daniel Schuba 41a9bc18fd feat(misc): move ci options to configuration (#14215)
CLOSED https://github.com/nrwl/nx/issues/12045
Fixes https://github.com/nrwl/nx/issues/12045
2023-01-23 08:42:21 -06:00
Maël Belval c6adec7f9d feat(core): update the workflow version used by the generator for gith… (#14351) 2023-01-21 09:39:57 +01:00
Kenneth Toxcon d8bd8ab3f4 fix(react): adding support for async plugins in compose-plugins utility (#14447) 2023-01-21 02:25:35 +00:00
Nicholas Cunningham 0e018e620e feat(node): add docker as a build target (#14475) 2023-01-20 15:26:39 -07:00
Caleb Ukle 7857ae00a0 fix(testing): do not set vitest root when not in workspaceRoot (#14362) 2023-01-20 15:58:03 -06:00
Jack Hsu f1f69df470 feat(webpack): update babel-loader to 9.1.2 to fix hashing issues (#14527) 2023-01-20 14:52:57 -07:00
Taylor McMonigle 2baa80d8b3 fix(bundling): fix esbuild watch yields success=false when no error (#14359) 2023-01-20 15:37:18 -05:00
Jason Jean d6517506df docs(misc): refine schemas for @nrwl/workspace (#14522) 2023-01-20 15:16:45 -05:00
Jack Hsu da0e3ba1c7 fix(webpack): handle new https options in webpack-dev-server (#14520) 2023-01-20 19:36:59 +00:00
Tim Fisher 1c3ebfc055 fix(react): fix imports in tmpl (#14369) 2023-01-20 14:19:55 -05:00
Benjamin Cabanes 059eff8f28 chore(nx-dev): add space between parameter metadata (#14521) 2023-01-20 18:07:05 +00:00
Benjamin Cabanes a1272e1866 feat(nx-dev): display internal & deprecated options last (#14519) 2023-01-20 18:46:20 +01:00
Katerina Skroumpelou c2be735097 fix(vite): remove environments generation (#14515) 2023-01-20 18:34:26 +02:00
Jack Hsu 4c2364864a chore(repo): rename root lint target from "lint" to "root-lint" (#14516) 2023-01-20 16:16:40 +00:00
Josh Goldberg 6750f8b2d6 docs(core): mention outputs defaults in project-configuration (#14479)
Fixes https://github.com/nrwl/nx/issues/14472
2023-01-20 10:56:19 -05:00
Benjamin Cabanes 7193b85d2d feat(nx-dev): display deprecated schema options last (#14518) 2023-01-20 09:47:06 -06:00
Michael Bagnasco f8854d7089 fix(testing): fixed a typo with the 15.5.0 cypress migration warning (#14384)
Co-authored-by: Michael Bagnasco <michael@sbevision.com>
2023-01-20 10:20:49 -05:00
Katerina Skroumpelou 928385892f fix(angular): fix path for import (#14517) 2023-01-20 16:57:27 +02:00
Colum Ferry ce04b80a9a fix(angular): should find the tsconfig at root of project #14379 (#14514) 2023-01-20 14:40:18 +00:00
Katerina Skroumpelou 61f7a9a85a fix(react): storybook plugin fixes (#14493) 2023-01-20 08:18:43 -05:00
Katerina Skroumpelou dbe2c3b1e6 feat(core): react standalone bundler prompt (#14464) 2023-01-20 08:18:32 -05:00
Colum Ferry b076f0380a fix(angular): ngrx attaching to route and non-standalone apis for 14 (#14489)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-01-20 12:50:06 +00:00
Colum Ferry 6330d9ec97 fix(angular): karma setup should be generated correctly for v14 (#14459) 2023-01-20 10:06:36 +00:00
Katerina Skroumpelou 9f0a7f07ca fix(storybook): revert to previous defaults for Storybook CLI options (#14498) 2023-01-19 17:37:24 -05:00
Leosvel Pérez Espinosa 6c926d8c32 cleanup(angular): enable the ng-cli e2e test (#14503) 2023-01-19 20:41:40 +00:00
Jack Hsu 01b42896a2 fix(react): add migration to install @nrwl/webpack if needed by Story… (#14480) 2023-01-19 18:27:36 +00:00
Benjamin Cabanes 11593761b5 chore(nx-dev): update scope nxdev to nx-dev (#14482) 2023-01-19 18:25:34 +00:00
Benjamin Cabanes 78ca7395a9 feat(nxdev): add ui-primitives (#14481) 2023-01-19 13:01:19 -05:00
Jack Hsu f297cb6883 chore(repo): update CI config to mitigate memory failures (#14502) 2023-01-19 17:49:23 +00:00
Lars Gyrup Brink Nielsen d5b12dbf8f docs(nxdev): list Angular 15.1 compatibility (#14473) 2023-01-19 09:55:24 -05:00
Isaac Mann 78a55953b0 chore(core): delete accidentally committed file (#14491) 2023-01-19 09:06:18 -05:00
Katerina Skroumpelou 8880e3e2c7 chore(storybook): update to latest beta (#14397) 2023-01-19 13:18:16 +00:00
Leosvel Pérez Espinosa 26d67c6b24 cleanup(angular): disable ng-add e2e tests temporarily (#14487) 2023-01-19 12:11:49 +00:00
Victor Berchet 13674eeb76 cleanup(vite): use createAsyncIterable from devkit (#14477) 2023-01-19 10:49:17 +02:00
Isaac Mann 2a294be6e2 docs(core): fix node tutorial to skip preset (#14468) 2023-01-18 13:56:56 -05:00
Denis Frenademetz 9cc2be6106 fix(testing): update jest snapshots (#14452) 2023-01-18 12:33:24 -05:00
Jack Hsu bd3c387733 fix(node): add implicit dependency from node e2e project to the app p… (#14463) 2023-01-18 09:34:18 -07:00
Emily Xiong 93ac55ff2a docs(react-native): add x-priority to react-native, expo and detox (#14402) 2023-01-18 10:26:27 -05:00
Jack Hsu 5575ae7e61 fix(node): update generated spec file to work better for standalone projects (#14461) 2023-01-18 10:20:56 -05:00
Colum Ferry ce4b794036 docs(angular): fix preset in guide (#14460) 2023-01-18 14:58:05 +00:00
Jack Hsu 99b49189eb fix(react): remove unit test runner prompt when generating library (#14457) 2023-01-18 09:38:52 -05:00
Victor Berchet bd2b5ca8d3 feat(vite): enable watch mode for preview (#14412) 2023-01-18 09:41:00 +02:00
Josh Goldberg 5adfc09d76 fix(misc): add missing alt text to files-readme logo (#14446) 2023-01-17 19:09:57 -05:00
Miroslav Jonaš cb122e8149 fix(core): fix cache mismatch in target project locator (#14445) 2023-01-17 17:20:07 -06:00
Miroslav Jonaš 23c23272ce feat(js): add lockfile generator to js plugin (#13968) 2023-01-17 22:44:33 +01:00
Nicholas Cunningham 942a6ae2bd chore(express): add deprecation message for express app generator (#14443) 2023-01-17 16:43:01 -05:00
Jack Hsu 91b653ed64 fix(react): install tsconfig-paths-webpack-plugin when converting CRA… (#14442) 2023-01-17 16:35:53 -05:00
Jack Hsu 013bb74444 feat(node): add e2e project generator (#14429) 2023-01-17 15:38:52 -05:00
James Henry 965c638d8d chore(testing): add lerna-smoke-tests (#14347) 2023-01-17 23:50:01 +04:00
Nicholas Cunningham da4959a324 feat(node): add Node standlone prompt using CNW (#14439) 2023-01-17 11:52:18 -07:00
Benjamin Cabanes 07f07374fd docs(nxdev): support x-priority schema options (#14405) 2023-01-17 12:54:48 -05:00
Jack Hsu da8b855c6c fix(webpack): allow optimization to be turned off via CLI (#14431) 2023-01-17 11:55:14 -05:00
Colum Ferry 2773f40202 feat(angular): upgrade nguniversal version (#14419) 2023-01-17 10:35:31 -05:00
Miroslav Jonaš 2b23963415 fix(linter): wildcard sourceTag should be respected for banned imports (#14418) 2023-01-17 14:59:21 +01:00
Miroslav Jonaš fc9509d2cf docs(linter): add missing x-priority params to executor (#14401) 2023-01-17 14:52:20 +01:00
Jack Hsu e0bd338225 fix(web): remove hard dependencies to @nrwl/vite and @nrwl/webpack (#14408) 2023-01-17 08:05:48 -05:00
Miroslav Jonaš ebb200725f fix(core): project locator should use nodes when tsconfig is missing (#14417)
Fixes https://github.com/nrwl/nx/issues/13099
2023-01-17 10:47:41 +01:00
Auke van Leeuwen ada727cf1a fix(js): fix reading tsconfig.json on TypeScript 4.9 (#14380) 2023-01-17 00:34:01 -06:00
Nicholas Cunningham 351b4aabf2 fix(vite): add fix for vitest configuration (#14404) 2023-01-16 12:26:47 -07:00
Miroslav Jonaš 2b69cd5b79 feat(core): add bitbucket and gitlab to create-nx-workspace (#14400) 2023-01-16 17:46:31 +01:00
Katerina Skroumpelou 55aba1365d fix(storybook): better error handling (#14396) 2023-01-16 09:19:29 -07:00
Benjamin Cabanes e540079c87 docs(nxdev): improve buttonlink typings and styles (#14372) 2023-01-16 11:03:57 -05:00
Benjamin Cabanes d46585332d docs(core): add link for standalone-angular-app example repo (#14371)
Closes https://github.com/nrwl/nx/issues/14100
2023-01-16 11:03:43 -05:00
Miroslav Jonaš a70eec8e40 fix(core): fix broken lines and columns import (#14394) 2023-01-16 16:19:28 +01:00
Katerina Skroumpelou c3e904db80 docs(storybook): various fixes and additions (#14390) 2023-01-16 16:05:45 +02:00
Benjamin Cabanes 2732365a43 docs(nxdev): remove partytown usage (#14370) 2023-01-16 13:26:56 +01:00
Colum Ferry a22bd54f3f feat(angular): add priority flags to generators (#14299) 2023-01-16 12:19:33 +00:00
Victor Berchet c86a361e1c Vite: preview generator (#14375) 2023-01-16 14:12:37 +02:00
Leosvel Pérez Espinosa c300722233 cleanup(angular): ensure latest and backward compatible versions are strongly typed (#14387) 2023-01-16 12:25:24 +01:00
Leosvel Pérez Espinosa 90ca4c949a cleanup(angular): reduce sourcemap loading and decoding in ng-packagr-lite executor (#14360) 2023-01-16 11:21:09 +00:00
Benjamin Cabanes e4bf7065a9 docs(nxdev): add brands & guidelines link (#14365) 2023-01-14 11:40:12 -05:00
Jason Jean 898db859b5 fix(core): fix implicit dependencies conversions from project inputs (#14364) 2023-01-13 18:51:39 -05:00
Jason Jean ab8197ccdf fix(core): cap inferred max workers count at 8 (#14366) 2023-01-13 18:50:37 -05:00
Isaac Mann b96a178011 docs(core): restructure plugin docs (#14349) 2023-01-13 18:07:37 -05:00
Phillip Barta 415d1c745c fix(misc): loosen chalk version (#14276) 2023-01-13 17:44:11 -05:00
Jack Hsu 3f6df0d54f feat(node): prompt for app framework (#14357) 2023-01-13 19:14:02 +00:00
Colum Ferry 81211bfc8f fix(angular): correctly error scam-to-standalone when used in Angular < 14.1.0 (#14341) 2023-01-13 19:05:55 +00:00
Colum Ferry 3041b0a227 fix(angular): correctly error application when standalone is used in Angular < 14.1.0 (#14338) 2023-01-13 20:04:47 +01:00
Benjamin Cabanes 0db507394e feat(nx-cloud): display current token for connect-to-nx-cloud (#14315) 2023-01-13 19:03:17 +00:00
Benjamin Cabanes 9ac1cf284a docs(nxdev): fix react monorepo tutorial link (#14358)
closes https://github.com/nrwl/nx/issues/14134
2023-01-13 13:51:21 -05:00
Leosvel Pérez Espinosa 3e9f4bf99a fix(angular): fix assets copying in ng-packagr-lite executor (#14355) 2023-01-13 19:51:10 +01:00
Leosvel Pérez Espinosa 295547b3a9 feat(angular): add backwards compat support for the ngrx generator (#14348) 2023-01-13 19:50:57 +01:00
Victor Berchet c94ac41f56 feat(vite): add a preview-server executor for Vite (#14326) 2023-01-13 20:45:35 +02:00
Nicholas Cunningham 00caf6ae5e feat(node): update CNW to support generating a node server with a framework (#14313) 2023-01-13 11:39:38 -07:00
Chau Tran 5faef5d972 feat(nest): nx init nest (#14254) 2023-01-13 12:27:12 -06:00
Katerina Skroumpelou e5edcb84db feat(storybook): version 7 generators (#14308) 2023-01-13 18:22:17 +00:00
Benjamin Cabanes 3d5d97277b docs(nxdev): update tutorial redirect rules (#14356) 2023-01-13 13:11:54 -05:00
FrozenPandaz 7bedb3967a chore(misc): publish 15.5.1 2023-01-13 12:52:58 -05:00
Jack Hsu 5c2fbf20eb fix(angular): fix executor conversion to angular builder (#14345) 2023-01-13 12:50:37 -05:00
Austin Fahsl 6e6ca5f4a0 fix(core): check for nx.json before applying migrations 2023-01-13 12:48:16 -05:00
Colum Ferry 6f253b05b4 fix(angular): correctly error host when standalone is used in Angular < 14.1.0 (#14339) 2023-01-13 16:58:25 +00:00
Colum Ferry a5ff62fb9c fix(angular): correctly error remote when standalone is used in Angular < 14.1.0 (#14340) 2023-01-13 16:58:05 +00:00
Jack Hsu d20cf91e6c feat(misc): add x-priority tags to next, react, webpack, rollup, esbuild (#14352) 2023-01-13 11:50:01 -05:00
Benjamin Cabanes 9e07cf4146 docs(nxdev): add tutorial redirect rules (#14346)
closes https://github.com/nrwl/nx/issues/14134
2023-01-13 10:37:58 -05:00
Katerina Skroumpelou abfa8640b2 docs(misc): add x-priority flag for generators and executors (#14336) 2023-01-13 13:14:36 +00:00
Colum Ferry 46b10c2e20 fix(angular): correctly error component when standalone is used in Angular < 14.1.0 (#14337) 2023-01-13 12:57:19 +00:00
Colum Ferry 9d626b8b81 fix(angular): correctly error when assets are used in Angular < 15.1.0 (#14333) 2023-01-13 12:14:30 +00:00
FrozenPandaz d7d1bcf17b chore(misc): publish 15.5.0 2023-01-12 19:15:28 -05:00
Jason Jean c8be5c1ec2 chore(repo): update nx to 15.5.0-beta.0 (#14322) 2023-01-12 19:02:34 -05:00
William Sedlacek d00cab9ff6 fix(core): remove pnx tip (#14328) 2023-01-12 18:55:50 -05:00
Jack Hsu a610276cf8 fix(webpack): fix loader config for global styles (#14323) 2023-01-12 17:58:58 -05:00
Rares Matei 608ddb5ebf docs(nx-cloud): update private cloud release notes (#14319) 2023-01-12 17:17:15 -05:00
Victor Berchet 0d4833c822 fix(devkit): make the JSON parser accepts trailing commas by default (#14317) 2023-01-12 17:16:59 -05:00
Dmitriy Stepanenko 59de87b006 fix(vite): expose "init" generator (#14316) 2023-01-12 17:15:16 -05:00
Miloš Lajtman 32daa0841a chore(repo): add vite scope to contributing docs (#13841) 2023-01-12 17:06:38 -05:00
Mark Wiedmann 75d2d4dfe3 chore(js): add tslib dependency (#14155) 2023-01-12 17:00:20 -05:00
Victor Berchet 1cc8cbf9be docs(vite): configFile is configured on the build target (#14288) 2023-01-12 20:45:17 +02:00
Victor Berchet fd1c704055 fix(vite): a couple of minor fix (#14318) 2023-01-12 13:11:21 -05:00
Colum Ferry 064ef0fda4 feat(core): warn when falling back to angular cli (#14247) 2023-01-12 12:30:33 -05:00
Colum Ferry 2dc72e0f94 feat(angular): support angular 15.1.0 (#14103) 2023-01-12 12:30:17 -05:00
FrozenPandaz fa752768db chore(misc): publish 15.4.8 2023-01-12 12:05:20 -05:00
Jason ba3fd62b7e chore(misc): publish 15.4.7 2023-01-12 11:54:07 -05:00
Katerina Skroumpelou 7405f975cf fix(storybook): migrator version update (#14314) 2023-01-12 16:50:06 +00:00
Victor Savkin 0e5531ed7f fix(core): do not capture --target when using nx run 2023-01-12 11:35:17 -05:00
Jack Hsu d98d2462aa fix(react): add deprecated messages to react and next generators (#14310) 2023-01-12 11:11:33 -05:00
Craigory Coppola f98071ab50 chore(nx-plugin): update x-deprecated boolean values for nx-plugin:e2e (#14291) 2023-01-12 16:01:22 +00:00
Victor Savkin 6485ecd1f2 chore(repo): run global checks in order 2023-01-12 10:35:23 -05:00
Phillip Barta b1976796f1 chore(repo): updated dependency fs-extra to ^11.1.0 (#14232) 2023-01-12 10:25:17 -05:00
Scott Bessler 8518f69ff8 fix(core): make forked-process-task-runner robust to closed processes (#14289) 2023-01-12 10:22:19 -05:00
Katerina Skroumpelou a5766a86a1 fix(storybook): return baseUrl from storybook and use in cypress (#14306) 2023-01-12 15:20:42 +00:00
Victor Savkin 38bc77e8ec chore(misc): publish 15.4.6 2023-01-12 10:19:02 -05:00
Victor Berchet 6754e62227 feat(core): print nicely formatted JSON parse error (#14293) 2023-01-12 10:16:46 -05:00
Victor Savkin d1acfe04a2 fix(core): fix "running target targets" typo 2023-01-12 10:14:23 -05:00
Jack Hsu 454fba49b2 feat(webpack): generate React and Web apps with webpack.config.js file (#14285) 2023-01-12 10:06:25 -05:00
Tine Kondo 0925c294d1 chore(core): nx plugin submission @nxrocks/nx-melos (#14301) 2023-01-12 10:04:20 -05:00
Katerina Skroumpelou 7a66359ae9 fix(storybook): install missing storybook dep (#14305) 2023-01-12 08:59:26 -06:00
Katerina Skroumpelou 8a5bf6e7be fix(vite): if no host pass localhost on baseUrl (#14304) 2023-01-12 14:34:28 +00:00
Katerina Skroumpelou 9f19e93d07 feat(storybook): return port from storybook server (#14303) 2023-01-12 09:18:12 -05:00
Peter van der Steen 37e88c51af fix(core): add default configuration to nx schema (#14298) 2023-01-12 09:10:05 -05:00
Katerina Skroumpelou c79d2b2302 feat(storybook): fix the options for the builders (#14279) 2023-01-12 15:19:09 +02:00
Artur Androsovych fb749ae3d6 fix(angular): do not rename dts file since it is already done (#14218)
Closes https://github.com/nrwl/nx/issues/14216
2023-01-12 12:09:56 +01:00
Colum Ferry 1d198ae532 chore(angular): renable e2e mf ssr test (#14297) 2023-01-12 10:39:11 +00:00
Colum Ferry b8fc0f87ba feat(angular): install correct versions for setup-ssr (#14278) 2023-01-12 10:10:12 +00:00
Colum Ferry b7a134baf6 fix(angular): keep decorate-cli script for existing workspace usages (#14266)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2023-01-11 19:10:16 -05:00
Craigory Coppola 0636fe7c3b fix(core): exec should not log usage info when inner command fails (#14237) 2023-01-11 16:28:38 -05:00
Jason Jean c8021f706b chore(angular): temporarily disable failing mfe test (#14286) 2023-01-11 16:02:59 -05:00
Jonathan Cammisuli 66df55fd21 fix(core): fix dependent projects for watch (#14170) 2023-01-11 12:12:14 -05:00
Jack Hsu 6ce3466010 cleanup(webpack): remove unreachable code for lazy-loaded styles that we never supported (#14277) 2023-01-11 11:44:21 -05:00
Katerina Skroumpelou 9f75f7cbfb feat(storybook): version 7 executors (#14255) 2023-01-11 17:57:43 +02:00
Phillip Barta b4dbdf60b5 feat(graph): use daemon file watcher instead of chokidar (#13564) 2023-01-11 09:35:47 -05:00
Colum Ferry b0c6ca9267 feat(angular): throw error when --standalone used for setup-mf w/ invalid Ng version (#14270) 2023-01-11 12:10:51 +00:00
Leosvel Pérez Espinosa 6579879218 feat(angular): add backwards compat support for package and ng-packagr-lite executors (#14264) 2023-01-11 11:39:27 +01:00
Jack Hsu 6feb56e014 feat(webpack): remove support for legacy browsers (#14190) (#14257) 2023-01-11 10:13:35 +02:00
Caleb Ukle 0bc93ee83d feat(testing): Cypress 12 Support (#14058) 2023-01-10 18:48:29 -06:00
Colum Ferry 5970246b51 feat(angular): add backwards compat support for library (#14249) 2023-01-10 16:20:26 +00:00
Victor Berchet 8639fd3854 chore(vite): Re-apply #14150 to the vite plugin (#14235) 2023-01-10 18:18:13 +02:00
Craigory Coppola 06f334d7ce fix(core): run-one should not log undefined as target name on failure (#14238)
Fixes https://github.com/nrwl/nx/issues/14158
2023-01-10 15:51:07 +00:00
Nicholas Cunningham 6fb0631126 feat(node): add templates for nodejs frameworks (#14231) 2023-01-10 09:44:36 -05:00
Zack DeRose a806feed0e docs(misc): updating to tutorial version of react standalone video 2023-01-10 08:08:53 +01:00
Jason Jean ef55bf776e chore(repo): bump timing for perf test (#14240) 2023-01-09 17:33:41 -05:00
Colum Ferry a5707c8b75 feat(angular): remove decorate-angular-cli (#14226) 2023-01-09 21:34:09 +00:00
William Neely c82f7c3848 docs(linter): remove double with (#14047) 2023-01-09 15:30:52 -05:00
Phillip Barta 1bb648ab31 cleanup(repo): remove unused package @cypress/webpack-preprocessor (#14233) 2023-01-09 14:58:10 -05:00
William Sedlacek 8700c8674e fix(js): unique hash for each execution (#14154) 2023-01-09 11:56:22 -05:00
Emily Xiong cac1f30a16 fix(expo): fixing version conflict of react (#14144) 2023-01-09 11:43:06 -05:00
Emily Xiong 74d8a4830e fix(expo): fix the buildable library (#14142) 2023-01-09 16:37:38 +00:00
Victor Berchet 02d1cc85ca fix(vite): move clearScreen and logLevel to the shared options (#14174) 2023-01-09 18:16:45 +02:00
Victor Berchet da4e2a5a6b fix(testing): do not add a duplicate tsconfig.spec.json ref (#14201) 2023-01-09 11:16:24 -05:00
Victor Berchet 8d382fb05f fix(vite): do not include vitest types in tsconfig.json (#14200) 2023-01-09 11:14:54 -05:00
Katerina Skroumpelou ea34f256f9 docs(storybook): update image link (#14230)
closed https://github.com/nrwl/nx/issues/14178
2023-01-09 15:58:48 +00:00
Benjamin Cabanes 13a61e909d docs(nxdev): remove current items from related documents (#14229) 2023-01-09 10:46:13 -05:00
Jack Hsu fcc02d1932 feat(webpack): remove support for legacy browsers (#14190) 2023-01-09 12:15:37 +02:00
Ian Luca 716ba89b15 Honour browserslist on libraries using babel (#14065) 2023-01-09 12:14:41 +02:00
Q.Ben Zheng c7288395d4 chore(repo): use cz-git as commitizen adapter and CLI (#13124) 2023-01-08 23:39:54 -05:00
Caleb Ukle 16aa1b5af2 docs(core): add example for running multiple targets (#14210) 2023-01-06 22:26:51 +00:00
Nicholas Cunningham a631af7b62 feat(node): support nodejs frameworks (#14199) 2023-01-06 15:04:11 -07:00
Caleb Ukle 3db0bf8a18 docs(testing): add info about --spec and link to storybook (#14211) 2023-01-06 15:51:39 -06:00
Victor Savkin ecf1f21d09 chore(repo): update ci setup to use multi target 2023-01-06 16:44:44 -05:00
Victor Savkin 0827694421 chore(misc): publish 15.4.5 2023-01-06 16:05:55 -05:00
Jack Hsu d3ba6447d0 fix(nextjs): hide lockfile generation behind a flag so it can be toggled on and off (#14204) 2023-01-06 20:26:10 +00:00
Victor Savkin e8b2731a47 chore(repo): update nx to 15.4.5-beta 2023-01-06 12:58:33 -05:00
Benjamin Cabanes 4fb81f1681 docs(nxdev): update footer copyright (#14197) 2023-01-06 12:53:26 -05:00
Benjamin Cabanes 18f0a284b2 chore(core): update license copy year (#14198) 2023-01-06 12:53:16 -05:00
Victor Savkin 187f2a13ae fix(misc): fix --help for generators and executors 2023-01-06 12:49:26 -05:00
Jack Hsu d0d6e854d4 fix(bundling): update esbuild executor to emit correct events (#14193) 2023-01-06 12:11:50 -05:00
Caleb Ukle e96dfe575a fix(web): dynamic default unitTestRunner based on bundler for @nrwl/web:app (#14188)
Fixes https://github.com/nrwl/nx/issues/14167
2023-01-06 10:36:46 -06:00
Craigory Coppola bd305fd8a9 fix(misc): @nrwl/vite should be in @nrwl/workspace's package group (#14151) 2023-01-06 10:32:59 -05:00
Jack Hsu b63b6e43a4 feat(webpack): use webpack.sources instead of webpack-sources package (#14189) 2023-01-06 10:32:17 -05:00
Jack Hsu 88f11a47ab feat(nextjs): update to Next.js 13.1 (#14186) 2023-01-06 09:41:11 -05:00
Jack Hsu bf17af552f docs(misc): remove webpack 5 migration guide (#14185) 2023-01-06 09:24:40 -05:00
Colum Ferry dd8be60182 feat(angular): add backwards compatibility to module-federation-dev-server (#14180) 2023-01-06 09:16:24 -05:00
Colum Ferry 39eba959d5 feat(angular): add backwards compatibility to module-federation-dev-ssr (#14181) 2023-01-06 09:16:05 -05:00
Colum Ferry 4a8f95e5c6 feat(angular): add backwards compatibility to webpack-server (#14163) 2023-01-06 09:15:23 -05:00
Benjamin Cabanes 15174c0ac4 docs(nxdev): add typography component (#14175) 2023-01-06 09:01:07 -05:00
Benjamin Cabanes 13d885a02d docs(nxdev): add button component (#14171) 2023-01-05 16:08:15 -05:00
Victor Savkin 422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Benjamin Cabanes 36c6940e2b docs(nxdev): add status page link (#14165) 2023-01-05 12:34:37 -05:00
Colum Ferry cd0c196069 feat(angular): add backwards compatibility to webpack-dev-server (#14162) 2023-01-05 14:47:25 +00:00
Katerina Skroumpelou 8d329e0488 fix(storybook): add vite-tsconfig-paths to storybook (#14161) 2023-01-05 16:04:38 +02:00
Jack Hsu 3364e386a3 cleanup(webpack): remove previously deprecated options (#14149) 2023-01-05 09:00:41 -05:00
Colum Ferry 2beebf4ab3 feat(angular): add backwards compatibility to webpack-browser (#14159) 2023-01-05 13:01:04 +00:00
Colum Ferry 5fba936254 feat(angular): add standalone support to NgRx generator (#14141) 2023-01-05 12:46:54 +00:00
Caleb Ukle 49aa44bb81 fix(testing): only check provided project is root for cypress-project… (#14148) 2023-01-04 20:09:43 +00:00
Katerina Skroumpelou 29f16483c7 fix(vite): correct worker plugin (#14147) 2023-01-04 19:46:25 +00:00
Katerina Skroumpelou 67bac32fc6 fix(storybook): vite builder version correction (#14146)
CLOSED https://github.com/nrwl/nx/issues/14140
2023-01-04 21:08:35 +02:00
Felipe Plets 2e8511ae6f docs(core): fix links to devkit index page (#14034)
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
Fixes https://github.com/nrwl/nx/issues/14033
2023-01-04 14:04:28 -05:00
Jack Hsu bd14b24460 feat(bundling): add option to esbuild to not bundle (#14145) 2023-01-04 13:36:52 -05:00
Isaac Mann b8d0ba6d96 docs(core): identify dependencies between folders (#13672) 2023-01-04 11:46:55 -05:00
Craigory Coppola 7992ec618f chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Colum Ferry d9efb98ebb feat(angular): add ast util to add a provider to bootstrapApplication (#14136) 2023-01-04 11:34:18 -05:00
Caleb Ukle 8c014f0d48 docs(testing): add deprecation messages for Jest/Cypress (#14137) 2023-01-04 10:33:04 -06:00
Benjamin Cabanes 9193d1aebc docs(nxdev): check type of x-deprecated value (#14135) 2023-01-04 15:02:51 +00:00
Colum Ferry 4de2a9d5d3 feat(angular): add ast util to add a provider to a route (#14133) 2023-01-04 13:21:30 +00:00
Katerina Skroumpelou 41898df3bb fix(storybook): refactor target finding function (#14130) 2023-01-04 11:42:47 +00:00
Colum Ferry 762c9ee50d feat(angular): add isStandalone util to check for standalone decorators (#14129) 2023-01-04 11:04:53 +00:00
Katerina Skroumpelou 58b1c40e52 fix(storybook): pass down configureTestRunner option (#14128) 2023-01-04 10:49:43 +00:00
Victor Savkin 19abb973f0 chore(misc): publish 15.4.4 2023-01-03 15:18:16 -05:00
Victor Savkin 3b7b04c478 chore(misc): publish 15.4.3 2023-01-03 15:12:02 -05:00
Benjamin Cabanes 40e924a834 docs(nxdev): add bottom margin and reduce padding on ui tabs (#14119) 2023-01-03 19:18:12 +00:00
Caleb Ukle 843bad146e fix(testing): vitest deleting project root with coverage enabled (#14116) 2023-01-03 13:15:48 -06:00
Benjamin Cabanes 0fbf50eb77 docs(nxdev): parameter view takes full available width (#14118) 2023-01-03 19:12:14 +00:00
Benjamin Cabanes 2146263b9d docs(nxdev): remove survey banners (#14117) 2023-01-03 13:46:09 -05:00
Katerina Skroumpelou 5c962d0e3b fix(vite): add paths plugin for worker (#14115) 2023-01-03 12:53:05 -05:00
Titan196 231b703f1f docs(devkit): fix typo same same (#13858) 2023-01-03 12:47:54 -05:00
Katerina Skroumpelou 00db9e3a22 fix(storybook): update storybook to latest 6 (#14110) 2023-01-03 11:56:16 -05:00
Colum Ferry d913358eea feat(angular): add ast utils for standalone decorators (#14114) 2023-01-03 16:50:37 +00:00
Katerina Skroumpelou 285cf2ecf5 fix(storybook): restore babelrc for storybook webpack (#14111) 2023-01-03 18:48:54 +02:00
zodiac1214 c1e15a168a chore(core): nx plugin submission @nx-golang/gin (#14083)
Co-authored-by: Di Zou <di.zou@hpe.com>
2023-01-03 11:25:13 -05:00
Emily Xiong 1e15557280 feat(expo): upgrade expo 47.0.9 (#14070) 2023-01-03 11:25:08 -05:00
Emily Xiong e61e247f23 bugfix(expo): add cache to gitignore and eslint ignore (#14069) 2023-01-03 11:24:59 -05:00
Emily Xiong cec625e342 feat(expo): move svg to inline for starter app (#14068) 2023-01-03 11:24:45 -05:00
Craigory Coppola b19eb6cb72 feat(core): support projectName token in target defaults 2023-01-03 11:22:48 -05:00
Craigory Coppola 355d8a0b3f fix(core): dont mutate target defaults in memory when resolving path tokens
fix: use array spread for arrays
2023-01-03 11:22:48 -05:00
Craigory Coppola d72ed7d727 fix(core): schemas should not require executor due to negative config work 2023-01-03 11:22:48 -05:00
Colum Ferry 64d7ceb447 feat(angular): add ast utils for standalone decorators (#14108) 2023-01-03 15:05:41 +00:00
Jack Hsu 666e057a50 fix(react): skip exports field in generated package.json when using rollup to bundle library (#14107) 2023-01-03 17:02:50 +02:00
Colum Ferry 16a0891d30 feat(angular): add parent flag to ngrx generator (#14105) 2023-01-03 13:35:53 +00:00
Katerina Skroumpelou 53cffacf6b Revert "fix(vite): Support fileReplacements for devServer" (#14104) 2023-01-03 13:26:10 +02:00
Caleb Ukle c82975685d fix(testing): correctly set task status for failed coverage reports (#14008) 2023-01-03 12:09:57 +02:00
Tycho Bokdam d819749e9d chore(core): nx plugin submissions @nx-extend (#14073) 2023-01-02 16:52:57 -05:00
Flavio Stutz 72a2bd6c68 chore(core): bump tsconfig-paths lib (#14084) (#14085) 2023-01-02 15:36:57 -05:00
Dan Kreiger 217d6e3886 fix(expo): address deprecation warning seen upon using @nrwl/expo:start (#14095) 2023-01-02 15:35:52 -05:00
Spencer d5c93bfa39 fix(core): find imports in export type statements (#13921) 2022-12-30 13:43:04 -05:00
Craigory Coppola c783ac5e9a feat(core): merge more target options from targetDefaults (#12435)
Fixes https://github.com/nrwl/nx/issues/12433
2022-12-29 23:13:53 +00:00
Craigory Coppola 66a26583da feat(core): add glob support for project-level implicit dependencies (#13138) 2022-12-29 17:37:28 -05:00
Jack Hsu b76871d501 fix(bundling): detect esm vs cjs type for .js files (#14060) 2022-12-29 13:41:56 -05:00
Altan Stalker a5b756b6b0 docs(core): add new Bitbucket Cloud integration setup guide (#13990) 2022-12-29 18:20:19 +00:00
Jack Hsu 99708af0fd fix(core): read in projects from angular.json when called from conver… (#14057) 2022-12-29 13:12:20 -05:00
Altan Stalker 7bbacea108 docs(core): add new Gitlab integration setup guide (#13969) 2022-12-29 11:09:30 -05:00
godkun 2beb0e2c19 docs(misc): update modifying-files to remove error with string replace 2022-12-28 16:38:32 -05:00
youmoo a8263f5b3b docs(misc): remove the unnecessary to (#13945) 2022-12-28 16:38:00 -05:00
Craigory Coppola 285dc39371 feat(core): support targets with colons in the name without quotes (#13938) 2022-12-28 15:18:07 -05:00
Caleb Ukle a04a2ea00b docs(testing): redirect cy 10 generator to cy 11 (#14045)
Fixes https://github.com/nrwl/nx/issues/14000
2022-12-28 15:13:06 -05:00
Caleb Ukle b47e3ae1dc docs(testing): add info about global scripts & @swc/jest (#14043)
Fixes https://github.com/nrwl/nx/issues/13345
2022-12-28 14:36:30 -05:00
AgentEnder 181cde5097 fix(core): init should support compound scripts 2022-12-28 13:28:02 -05:00
Craigory Coppola f0fbcf116f chore(misc): unpin module federation utils version (#14041) 2022-12-28 16:46:48 +00:00
Caleb Ukle 663d38bdba feat(testing): support async webpack config for react component testing (#14037) 2022-12-28 11:17:53 -05:00
Spencer ba7eb9d42c fix(core): find imports after template literals with vars (#13922) 2022-12-27 21:01:14 -05:00
Zachary DeRose b3501888fc docs(misc): better audio videos for standalone tutorials (#14036) 2022-12-27 17:15:12 -05:00
Craigory Coppola 96cab72851 fix(misc): temporarily pin module federation ssr utilities version (#14035) 2022-12-27 16:12:23 -06:00
Zachary DeRose 39e363f210 docs(core): adding standalone videos (#13895) 2022-12-27 15:04:16 -05:00
Philip Fulcher 6d1e4a33bd feat(graph): persist select all tasks to url (#13970) 2022-12-27 15:02:15 -05:00
Younes Jaaidi e3a9ca3f0d docs(linter): fix comment (#13975) 2022-12-27 15:01:10 -05:00
Victor Savkin f038a34d4e chore(misc): publish 15.4.2 2022-12-27 12:47:40 -05:00
Victor Savkin c3f0cef1fb fix(core): fix the parsing of projects and targets 2022-12-27 12:45:35 -05:00
Caleb Ukle e91179e2b2 fix(testing): change ignoreTestFiles to excludeSpecPattern for cy10+ (#13942) 2022-12-27 11:28:31 -06:00
Tomas Belada 95a3bbfabf fix(bundling): update rollup-plugin-typescript2 to fix typechecking ... (#14020) 2022-12-27 12:17:35 -05:00
Nicolas Beaussart 1380ddf91f feat(react): expose setupTailwindGenerator from @nrwl/react (#14029) 2022-12-27 12:16:49 -05:00
Sahil Purav 4c5a139a42 fix(js): node executor address already in use (#14023) 2022-12-27 12:14:33 -05:00
Zack DeRose d3ef0eaf72 fix(core): adding @nrwl/vite to packageGroup 2022-12-24 18:44:06 -05:00
Victor Savkin b0ae071a34 chore(misc): publish 15.4.1 2022-12-23 10:49:11 -05:00
Victor Savkin f0d67b5697 fix(core): special case projects for lerna users 2022-12-23 10:47:12 -05:00
Jack Hsu 8f267ed2fc chore(js): add e2e test to check built package.json (#13981) 2022-12-22 23:44:16 +00:00
Jason Jean 4a43a04caf chore(repo): re-enable next.js styles tests (#13995) 2022-12-22 16:58:12 -05:00
Jason Jean b53f3f456b chore(repo): update nx to 15.4.0 (#13993) 2022-12-22 16:49:23 -05:00
Jason Jean 677cb98a79 chore(repo): support npm 9 in local-registry (#13994) 2022-12-22 16:48:59 -05:00
Katerina Skroumpelou e50c8ccc41 docs(vite): enhancing vite docs (#13984) 2022-12-22 20:05:31 +00:00
Jason Jean 667c4081ac chore(misc): publish 15.4.0 2022-12-22 14:51:54 -05:00
Victor Savkin 8572eed44e feat(core): add the ability to specify multiple targets 2022-12-22 14:21:06 -05:00
Benjamin Cabanes 376a4ca496 docs(core): move generated packages metadata file into generated folder (#13988) 2022-12-22 13:34:17 -05:00
Jack Hsu 98ed2ea8e8 fix(bundling): support custom outExtension for ESM and CJS (e.g. .mjs) (#13985) 2022-12-22 13:24:22 -05:00
Benjamin Cabanes c69e99f6f4 docs(nxdev): take into account custom description (#13987) 2022-12-22 13:18:58 -05:00
Rares Matei 66ad0469fe docs(nx-cloud): update private cloud release notes (#13986) 2022-12-22 17:39:45 +00:00
Benjamin Cabanes e5108b84df docs(nxdev): improve related documentation link matcher (#13982) 2022-12-22 11:06:04 -05:00
Nicholas Cunningham 02983d45e8 chore(core): update nx report to include vite (#13958)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-22 08:37:10 -07:00
Katerina Skroumpelou 6c6fd7ce1d fix(vite): improve vite configuration (#13978) 2022-12-22 16:56:39 +02:00
Denis Frenademetz c51c178923 fix(core): fix lock file pruning multiple versions of dependencies (#13915) 2022-12-22 11:55:41 +01:00
Katerina Skroumpelou 3bb773da20 fix(vite): add dts to build options (#13934) 2022-12-22 12:32:38 +02:00
Philip Fulcher 95fb804171 chore(graph): enforce chrome on e2e tests (#13967) 2022-12-22 10:49:10 +01:00
Katerina Skroumpelou 77d8ee47f5 fix(storybook): optional-chain typeName (#13951) 2022-12-22 09:45:53 +00:00
Jason Jean 5ca156cf07 chore(repo): update nx to 15.4.0-rc.1 (#13965) 2022-12-21 21:21:44 +00:00
Jason Jean 84cc1c1b3a fix(js): revert change to use new lockfile utils (#13962) 2022-12-21 15:50:06 -05:00
Jonathan Cammisuli 2e69313f2d docs(core): add watch recipe (#13810) 2022-12-21 14:02:29 -05:00
Caleb Ukle 88f860dff5 fix(testing): warn and default if sourceRoot isn't set for ng CT (#13940) 2022-12-21 17:59:22 +00:00
Benjamin Cabanes 3a2721b45d docs(nxdev): add scroll into view for sidebar sub items (#13953) 2022-12-21 12:48:11 -05:00
Isaac Mann 40703713e9 docs(core): default to using cloud in tutorials (#13952) 2022-12-21 18:20:16 +01:00
Leosvel Pérez Espinosa 712d65b451 cleanup(angular): remove v14 specific code for generators that did not change (#13950) 2022-12-21 16:34:37 +01:00
Miroslav Jonaš f3465a9c07 fix(core): consult root package.json when resolving peer deps on package generation (#13949) 2022-12-21 10:22:52 -05:00
Younes Jaaidi d3e2d616d5 feat(linter): add allowedExternalImports option to boundaries rule (#13891) 2022-12-21 15:50:39 +01:00
Victor Savkin 82fbb98e7d feat(misc): dont generate defaultProject for non standalone workspaces 2022-12-21 09:15:26 -05:00
Victor Savkin 7c65787d5c fix(misc): only gen start/build scripts for standalone projects 2022-12-21 09:15:26 -05:00
Altan Stalker 4eb61fda49 docs(core): add new Github integration setup guide (#13937)
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
2022-12-20 21:39:12 -05:00
Ahryman40k d3eeaba0a7 chore(core): nx plugin submission @ahryman40k/nx-vitepress (#13941)
Co-authored-by: ahryman40k <ahryman40k@protonmail.com>
2022-12-20 17:54:09 -05:00
Igor Katsuba 87a6a2d3bd fix(misc): using normalizePath for tailwindcss config generation (#13936)
Fixes https://github.com/nrwl/nx/issues/13713
2022-12-20 17:53:15 -05:00
Jason Jean 5e5892f086 chore(repo): update nx to 15.4.0-beta.3 (#13904) 2022-12-20 17:48:03 -05:00
Colum Ferry 26146690f3 fix(angular): cache server build (#13933) 2022-12-20 16:25:11 -05:00
Benjamin Cabanes ae8e0280fd docs(core): move package documents into its own folder (#13935)
Signed-off-by: Ben <3447705+bcabanes@users.noreply.github.com>
2022-12-20 14:21:42 -05:00
Katerina Skroumpelou 7beee3c103 fix(vite): dont add server config for libs (#13931) 2022-12-20 13:12:19 -05:00
Katerina Skroumpelou 4f50b8929b fix(vite): inform user to add build config (#13876) 2022-12-20 15:44:33 +00:00
Colum Ferry e53303b9d1 feat(angular): support alternate remoteEntry name in dynamic federation #13688 (#13899)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-12-20 09:56:54 +00:00
Colum Ferry dc4a1236f4 fix(angular): missing remotes form mf config should not break mf server (#13901) 2022-12-20 09:19:14 +00:00
Benjamin Cabanes e12922b029 docs(nxdev): add sub-forlder context into devkit urls (#13920) 2022-12-19 18:25:31 -06:00
Benjamin Cabanes 6718bf2a84 docs(nxdev): extract schema list components (#13917) 2022-12-19 17:41:03 -06:00
Nikita Glazov 37dc336a0a fix(nx/react): wrong svg import processing (#12477) 2022-12-19 15:45:33 -05:00
Benjamin Cabanes 748e75617d docs(nxdev): extract meta tags from document to app (#13913) 2022-12-19 15:18:58 -05:00
Jason Jean e38c2d5ec2 feat(misc): support interactive prompts for custom presets (#13859) 2022-12-19 15:09:31 -05:00
Benjamin Cabanes 19fd40ddc7 docs(nxdev): refactor docs sources generation and app consumption (#13834) 2022-12-19 18:59:50 +00:00
Younes Jaaidi f1ac23fce6 docs: fix cypress component generator command (#13613) 2022-12-19 12:18:17 -06:00
Jack Hsu 9ac63667b2 fix(react-native): support React Native buildable libs that do not use SVGR (#13909) 2022-12-19 18:09:08 +00:00
KaviiSuri 915dc25c96 fixed tsconfig template for next app generator (#13870)
Co-authored-by: Kavii Suri <kavii@Kaviis-MacBook-Pro.local>
2022-12-19 09:28:05 -07:00
Jack Hsu 49fa93b635 fix(bundling): pass --force option to vite dev-server (#13905) 2022-12-19 16:22:57 +00:00
Benjamin Cabanes 61d1d514ce docs(nxdev): add nx cloud section on flyout menu (#13906) 2022-12-19 16:15:28 +00:00
Yehuda Goldberg 6a2884297c fix(react): load svg component in buildable library (#12226) 2022-12-19 15:39:26 +00:00
Colum Ferry 079753d977 docs(angular): add example repo for dynamic federation #12958 (#13900) 2022-12-19 15:30:50 +00:00
Leosvel Pérez Espinosa 4e54b1a545 fix(angular): handle not provided path when generating a component without the project option (#13877) 2022-12-19 09:49:56 -05:00
Miroslav Jonaš bbfc0fbbcb fix(core): skip npm nested lockfile key mismatch (#13872) 2022-12-19 09:47:58 -05:00
Miroslav Jonaš 20c4782078 fix(core): fix pruning of pnpm lockfiles with github packages (#13875) 2022-12-19 09:44:49 -05:00
Philip Fulcher fed3f9083c chore(graph): remove console logs (#13884)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2022-12-19 09:36:28 -05:00
Leosvel Pérez Espinosa a049d6c7eb fix(misc): set schema when converting a project to standalone configuration (#13887) 2022-12-19 09:36:02 -05:00
Philip Fulcher 78f3a3cf16 chore(graph): remove global styles in favor of tailwind (#13882)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2022-12-16 23:32:29 +00:00
Nicholas Cunningham b94c7e5870 fix(vite): Copy correct package.json when building a library (#13854)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-16 11:53:06 -05:00
Katerina Skroumpelou d86026ddf0 fix(vite): better warning message (#13878) 2022-12-16 16:36:05 +00:00
Leosvel Pérez Espinosa 1247e043f4 feat(angular): skip invalid projects or targets instead of erroring when migrating from angular cli to nx monorepo (#13871) 2022-12-16 16:26:20 +01:00
Katerina Skroumpelou bb65968df1 fix(vite): change coverage path (#13867) 2022-12-16 16:56:18 +02:00
Colum Ferry 4f98e37fb3 fix(core): move generator should work if there are comments in tsconfig #13740 (#13866) 2022-12-16 14:20:37 +00:00
Katerina Skroumpelou b52b649fcb feat(vite): allow user to set their custom target for transform (#13691) 2022-12-16 13:35:52 +00:00
Philip Fulcher 578ecb6785 feat(graph): add tooltips to docs graph (#13832) 2022-12-15 18:54:34 -07:00
Katerina Skroumpelou f4802ae579 fix(vite): set mode in configuration (#13856) 2022-12-15 17:44:19 -05:00
Jack Hsu 99983e933f fix(react): default bundler to vite when deprecated buildable option is used (#13857) 2022-12-15 17:11:29 -05:00
Jack Hsu 0eadfc81b1 fix(repo): fix failing e2e tests (#13855) 2022-12-15 14:46:44 -05:00
Jack Hsu 622070bc5d fix(react): update standalone preset prompt to include vitest and cyp… (#13853) 2022-12-15 12:54:29 -05:00
Jack Hsu fdd04ba0a6 feat(react): add cypress e2e for react standalone preset (#13848) 2022-12-15 10:07:06 -07:00
Craigory Coppola 5eabd6c48a fix(core): reduce likelihood of ENAMETOOLONG error on windows (#13850) 2022-12-15 12:00:04 -05:00
Miroslav Jonaš 565652ff3c fix(nextjs): ensure no dev deps in prod package.json (#13851) 2022-12-15 16:52:12 +00:00
Nicholas Cunningham 70e1aabb09 fix(vite): Failing to build when generated library uses jest (#13797)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-15 11:32:27 -05:00
Miroslav Jonaš 5d64b1eb3c feat(linter): add support for combo source tags (#13817)
Fixes https://github.com/nrwl/nx/issues/12871
2022-12-15 16:12:59 +00:00
Jason Jean 3fd18415ce fix(devkit): do not move properties when nx.json doesn't exist (#13825) 2022-12-15 10:42:52 -05:00
Miroslav Jonaš 03be42efcc fix(core): ensure yarn patch and path versions are correct when pruning (#13847)
Fixes https://github.com/nrwl/nx/issues/13835
2022-12-15 16:07:45 +01:00
Dmitriy Stepanenko c3c9b2d24d feat(vite): configuration updates (#13816) 2022-12-15 11:31:46 +00:00
Karol Binkowski c051a279cc docs(storybook): add missing --project flag (#13833) 2022-12-15 12:22:10 +02:00
Denis Frenademetz a2adf50786 fix(core): fix lock file pruning optional dependencies (#13830) 2022-12-15 10:49:00 +01:00
Miroslav Jonaš 3149b66036 feat(core): add missing lock file generation to executors (#13799) 2022-12-15 09:33:27 +01:00
Philip Fulcher 9163756230 fix(graph): handle special characters in url parameters (#13836)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2022-12-15 09:12:54 +01:00
Jack Hsu 4f9b9d4344 feat(testing): remove unused dependencies from @nrwl/cypress (#13771) 2022-12-15 05:12:43 +00:00
Emily Xiong 14c1c16cf8 feat(react): add unit test examples when inSourceTests is passed (#13779) 2022-12-14 23:46:13 -05:00
Katerina Skroumpelou 1ef01f8ccc feat(testing): cypress vite (#13474) 2022-12-15 04:28:53 +00:00
Jason Jean 92d33f9539 fix(core): ignore angular.json projects if @nrwl/angular is not insta… (#13827) 2022-12-14 16:46:41 -05:00
Doni Rubiagatra 437a3ebeb7 docs(core): add toString method for returning string (#13757) 2022-12-14 16:34:58 -05:00
Benjamin Cabanes c461488f4a docs(nxdev): cleanup documentation code generator (#13829) 2022-12-14 20:05:52 +00:00
Isaac Mann dfd347cd39 docs(core): old angular migrations warning (#13828) 2022-12-14 19:34:55 +00:00
Katerina Skroumpelou 002d7f32b5 feat(vite): update vite to version 4 (#13800) 2022-12-14 11:53:58 -05:00
Isaac Mann 37135ae96a fix(nxdev): lower case property alias (#13823) 2022-12-14 11:49:19 -05:00
Benjamin Cabanes 315bf0c968 docs(nxdev): use shell marker for command-line (#13824) 2022-12-14 10:39:00 -05:00
Jack Hsu 2392b916c4 fix(react): use correct setup for React SSR with module federation (#13822) 2022-12-14 10:37:55 -05:00
Jorge Rodriguez 08aacba9b7 chore(misc): NX_API_LOG_LEVEL typo (#13763) 2022-12-14 10:28:28 -05:00
William Sedlacek 82d44adfb4 fix(js): unique node execution (#13813) 2022-12-14 10:25:57 -05:00
Isaac Mann a854660026 docs(core): create a glossary (#13821) 2022-12-14 10:06:22 -05:00
Craigory Coppola efa6ef0c69 fix(core): additional null check when hashing lockfile (#13803)
Fixes https://github.com/nrwl/nx/issues/13776
Fixes https://github.com/nrwl/nx/issues/13777
2022-12-14 09:22:51 -05:00
Colum Ferry 2883f171a5 docs(angular): setup module federation with ssr (#13815) 2022-12-14 13:38:13 +00:00
Jack Hsu 8df1834f2c feat(react): add nx.server.ready message from Node process to any potential parent process (#13808) 2022-12-13 23:02:20 -05:00
Craigory Coppola 8f7feba160 fix(devkit): isIncomingVersionGreater should work with prerelease versions (#13805) 2022-12-13 17:22:03 -05:00
Craigory Coppola 75c34c3d8d fix(core): local plugins should work on windows (#13801) 2022-12-13 17:05:30 -05:00
Jonathan Cammisuli a1d9c46cf7 feat(core): add watch command (#13664) 2022-12-13 17:04:34 -05:00
Miroslav Jonaš 2f4435b18d docs(core): add recipe on package json and lock file generation for ci (#13804) 2022-12-13 22:13:20 +01:00
Colum Ferry 61af68b5b1 fix(react): module-federation-ssr-dev-server should use fork (#13791) 2022-12-13 19:17:23 +00:00
Colum Ferry 8ffa9fdd5f fix(react): host should use module-federation-ssr-dev-server (#13794) 2022-12-13 13:17:10 -05:00
Miroslav Jonaš 65ecd9cbbd fix(core): handle local workspace projects in package.json for affected locator (#13728) 2022-12-13 17:57:12 +01:00
Emily Xiong 6b8d3d6f14 fix(expo): update expo peer dependency to 47 (#13780) 2022-12-13 10:26:43 -05:00
nodegin b3ff11f5d9 fix(vite): Support fileReplacements for devServer (#13761)
Co-authored-by: ⁢ <john@doe.gov>
2022-12-13 12:11:29 +02:00
Minijus L 9ac9491c3b fix(angular): support target-less projects in update-15-2-0 (#13755) 2022-12-13 09:18:19 +00:00
Caleb Ukle f0b581d144 docs(core): add info about defaultConfiguration (#13775) 2022-12-12 21:55:28 +00:00
Philip Fulcher e5265d6348 cleanup(graph): add e2e tests to externalAPI (#13737)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-12 13:44:48 -07:00
Jason Jean 486516ea13 chore(misc): publish 15.3.3 2022-12-12 15:09:47 -05:00
Miroslav Jonaš 76ee86f7ed feat(core): rename lock file pruning function to createLockFile (#13770) 2022-12-12 19:20:03 +00:00
Benjamin Cabanes b3bb388c2f docs(nxdev): change vit plugin card by official nx plugin (#13773) 2022-12-12 13:56:25 -05:00
Doni Rubiagatra 3c0b0ec3c4 docs(core): fix duplicate generate description for dryRun (#13759)
Fixes https://github.com/nrwl/nx/issues/12196
2022-12-12 13:51:48 -05:00
Jack Hsu 04efd84336 Fix/remove libs tools folders for standalone (#13769) 2022-12-12 12:46:44 -05:00
Nicholas Cunningham 01e437d237 fix(vite): add console.warn nx serve --prod (#13597)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-12 17:42:23 +00:00
Victor Savkin dd490c188a fix(core): workspaceRoot is not correctly inrepolated when projectRoo… (#13768) 2022-12-12 16:28:24 +00:00
Jerico Pingul af157ffa2b fix(core): handle undefined when package.json changes are not in node modules (#13681) 2022-12-12 10:52:21 -05:00
Miroslav Jonaš 7a70d52918 feat(core): support npm workspaces in lock file utils (#13695) 2022-12-12 10:48:01 -05:00
Jack Hsu 6b2f266f0a chore(misc): update README file for cra-to-nx (#13765) 2022-12-12 10:20:56 -05:00
Victor Savkin 32cf32a09b chore(misc): publish 15.3.2 2022-12-12 09:28:58 -05:00
Victor Savkin 3a217a762f chore(misc): publish 15.3.1 2022-12-12 09:26:20 -05:00
Victor Savkin 34d861d234 fix(testing): preserve the old coverage layout 2022-12-11 14:47:16 -05:00
Victor Savkin 40b39b2e64 fix(core): remove leading ./ when normalizing root project outputs 2022-12-10 15:53:25 -05:00
Zack DeRose 7daa2eb380 docs(core): rm typo - Project Configuration 2022-12-10 15:14:38 -05:00
Altan Stalker ed159e865f feat(core): add gitlab ci generator (#13739) 2022-12-09 15:41:04 -05:00
Jack Hsu e240339f33 feat(js): add --bundler=vite support for JS libs (#13716) 2022-12-09 14:36:09 -05:00
Katerina Skroumpelou 440112d94b fix(misc): change ensureDependencies to ensurePackage (#13735) 2022-12-09 13:28:34 -05:00
Miroslav Jonaš 75de1651a1 feat(core): add lockfile pruning to executors that generate package.json (#13734) 2022-12-09 12:17:36 -05:00
Miroslav Jonaš 2941d87bc0 fix(core): support alias packages in affected locators detection (#13585) 2022-12-09 11:53:30 -05:00
Katerina Skroumpelou a7b1943dbc fix(vite): vite tsonfig paths plugin to v4 (#13731) 2022-12-09 12:50:25 +01:00
Miroslav Jonaš 2ff6b11f46 docs(misc): add info about running E2E in CI-like env to CONTRIBUTING (#13730) 2022-12-09 12:49:07 +01:00
Leosvel Pérez Espinosa ecf9a80bae fix(angular): deprecate simpleModuleName in library generator in favor of simpleName (#13726)
Fixes https://github.com/nrwl/nx/issues/13198
2022-12-09 10:48:23 +01:00
Isaac Mann 34d6de9e0c docs(core): show large task graph (#13721) 2022-12-08 16:22:40 -05:00
Isaac Mann c9e39e31d7 docs(nxdev): graph widget loads json from file (#13717) 2022-12-08 14:22:50 -05:00
Katerina Skroumpelou fd7ca43324 fix(vite): export default from migrator (#13718) 2022-12-08 19:09:30 +00:00
Katerina Skroumpelou 45ce3b2a0a feat(vite): update vite-tsconfig-paths (#13714) 2022-12-08 18:36:45 +00:00
Isaac Mann e470b6e259 docs(graph): add task graph widget (#13698) 2022-12-08 11:07:16 -05:00
Miroslav Jonaš c3bc517480 feat(core): prune lock file based on projects dependencies and package.json (#13317) 2022-12-08 09:32:11 -05:00
Colum Ferry 977ff7e21b fix(react): host generate should include remotes.d.ts for server (#13710) 2022-12-08 13:35:49 +00:00
Colum Ferry bb32f024cb feat(react): add module-federation-ssr-dev-server (#13708) 2022-12-08 08:35:42 -05:00
Colum Ferry 62fc986609 fix(react): fix target to use for serve-ssr remote detection (#13709) 2022-12-08 08:32:17 -05:00
Leosvel Pérez Espinosa 3e933b6e24 fix(angular): remove invalid nested packages key from migration (#13707)
Fixes https://github.com/nrwl/nx/issues/13689
2022-12-08 13:27:22 +00:00
Leosvel Pérez Espinosa 694c974fdb fix(angular): ensure migration for ngrx 15 targets a future patch version (#13705)
Fixes https://github.com/nrwl/nx/issues/13689
2022-12-08 11:26:07 +00:00
Leosvel Pérez Espinosa 99a313e64f fix(angular): handle next and latest npm tags when resolving generator directory (#13703)
Fixes https://github.com/nrwl/nx/issues/13673
2022-12-08 12:05:29 +01:00
Leosvel Pérez Espinosa 51bfe24bbe docs(angular): sort versions in compatibility matrix from newest to oldest (#13702) 2022-12-08 11:57:41 +01:00
Colum Ferry b0a09585b5 cleanup(angular): add e2e for mf ssr (#13627) 2022-12-07 17:59:50 +00:00
Isaac Mann 569c2d3c03 docs(core): deprecate global implicit dependencies (#13642) 2022-12-07 12:54:10 -05:00
Miroslav Jonaš 3f76999279 fix(core): handle git repo package versions in lock file parsing (#13692) 2022-12-07 12:19:54 -05:00
Colum Ferry 198e104075 docs(angular): fix the angular tutorial from bugs #13619 (#13686)
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
2022-12-07 16:10:55 +00:00
Katerina Skroumpelou 6b6ab4e397 chore(vite): fix name of vite executor in test (#13693) 2022-12-07 10:41:48 -05:00
Miroslav Jonaš 186ec99796 feat(core): improve performance of object sort function (#13568) 2022-12-07 10:29:33 -05:00
Leosvel Pérez Espinosa 1c6d7b4e39 fix(angular): show the correct link to the docs when running nx init (#13576) 2022-12-07 10:28:34 -05:00
Katerina Skroumpelou 4b0eb70ef3 fix(vite): better detection for executors (#13666) 2022-12-07 08:22:11 -05:00
Jason Jean 87eb79ec09 fix(core): throw a better error when running a target doesn't have an… (#13670) 2022-12-06 20:50:39 -05:00
Jason Jean d13bcfe123 fix(misc): error if run-commands is used without command or commands (#13669) 2022-12-06 15:15:11 -05:00
Victor Savkin f663c647c2 fix(misc): update create-nx-workspace to point to standalone app tutorials 2022-12-06 14:53:43 -05:00
Jack Hsu dc1b53a2c5 fix(devkit): update missing package message for ensurePackage for cla… (#13665) 2022-12-06 18:34:42 +00:00
Jason Jean 8858f49baf chore(repo): update nx to 15.3.0 (#13661) 2022-12-06 18:43:44 +02:00
Juri Strumpflohner f6a985d80f feat(nxdev): allow to change columns on cards (#13522) 2022-12-06 10:29:47 -05:00
Jason Jean 42618c7e1d chore(misc): publish 15.3.0 2022-12-06 09:57:12 -05:00
Isaac Mann 994f3f84ce docs(core): update angular to nx guide (#13519)
Co-authored-by: Zack DeRose <zack.derose@gmail.com>
2022-12-06 09:50:45 -05:00
Juri Strumpflohner 5d4ee02114 docs(core): update root-level script docs (#13651) 2022-12-06 08:33:54 -05:00
Katerina Skroumpelou 01b3ebd00d fix(vite): take into account configuration for build mode (#13655) 2022-12-06 13:31:40 +00:00
Katerina Skroumpelou 7d329c0590 fix(vite): remove default for hmr from schema.json (#13654) 2022-12-06 08:06:30 -05:00
Caleb Ukle 5d910c0f1a fix(testing): rename cy 10 migration to 11 (#13646) 2022-12-05 16:58:57 -05:00
Jack Hsu 8a74e62956 fix(bundling): enable hmr by default for Vite dev-server (#13647) 2022-12-05 16:53:52 -05:00
Jason Jean 2c819048bc fix(angular): fix imports into nx from ng-add (#13645) 2022-12-05 21:05:26 +00:00
Jason Jean 9453a7526c fix(misc): fix move and remove to be not reliant on workspace layout (#13607) 2022-12-05 15:55:57 -05:00
Yuichiro Izumi b71b28ec52 fix(nxdev): fix link in how-project-graph-is-built (#13632) 2022-12-05 15:44:10 -05:00
Katerina Skroumpelou b959109390 fix(storybook): proper detection of e2e project existence (#13635) 2022-12-05 19:30:39 +00:00
Leosvel Pérez Espinosa 4196ad3758 fix(misc): only warn about ng completion not supported when trying to set up the completion 2022-12-05 13:46:54 -05:00
Isaac Mann baff85bb73 docs(core): add dte images 2022-12-05 13:35:12 -05:00
Emily Xiong 7ad7aa61bb feat(expo): upgrade expo to 47 (#13609) 2022-12-05 12:36:41 -05:00
Jack Hsu 66c85bd15c cleanup(nextjs): remove workaround for enhanced-resolve bug in e2e test (#13639) 2022-12-05 12:20:18 -05:00
Philip Fulcher e6ee0a4a88 chore(graph): replace Tippy with FloatingUI (#13593)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-05 17:15:08 +00:00
Leosvel Pérez Espinosa 6b8e42a568 feat(angular): log a warning when running make-angular-cli-faster with older or incompatible versions (#13591) 2022-12-05 11:51:49 -05:00
Jason Jean 61d7d74378 fix(misc): fix tsconfig file includes 2022-12-05 10:39:03 -05:00
Caleb Ukle 6f8a849d6b fix(testing): handle cypress-project generation for standalone projects (#13602) 2022-12-05 10:12:32 -05:00
Katerina Skroumpelou 856045343f fix(storybook): remove webpack from vite and install webpack if npm (#13631) 2022-12-05 17:10:57 +02:00
Caleb Ukle ddc2dca30d fix(testing): only target files in src/* directory for component testing (#13604) 2022-12-05 10:10:45 -05:00
Philip Fulcher 76536fda60 fix(graph): restore behavior of proximity buttons (#13608)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-05 10:09:12 -05:00
Victor Savkin 91c19f5c0a feat(misc): do not generate tsconfig.base.json for simple standalone … (#13605) 2022-12-05 10:07:01 -05:00
Juri eb3242ab44 docs(core): fix typo in code example 2022-12-05 15:37:14 +01:00
Colum Ferry b4db6e8f23 fix(angular): standalone angular projects with karma should function (#13626) 2022-12-05 12:00:49 +00:00
Nicholas Cunningham 32f60f11f4 fix(vite): update nx.json for vitest (#13606)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-02 17:35:01 -05:00
Jack Hsu 67c7822ad3 fix(react): add missing style preprocessors when using Vite (#13600) 2022-12-02 21:56:23 +00:00
Dan Roujinsky 3e2b8d987f fix(react): fix path to CT tsconfig (#13177) 2022-12-02 15:43:57 -06:00
Philip Fulcher 1a3240d651 docs(react): remove Angular references (#13603)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-02 14:42:03 -07:00
Jason Jean 7b76d1744c fix(misc): adjust prompt for standalone react to not include cypress (#13601) 2022-12-02 16:11:26 -05:00
Leosvel Pérez Espinosa 59a7af2c98 fix(core): detect angular cli workspace correctly (#13574) 2022-12-02 14:45:11 -05:00
Jason Jean 2eb8650df8 fix(storybook): ensure storybook before calling util in angular (#13599) 2022-12-02 19:29:56 +00:00
Jonathan Cammisuli 214c6a3175 fix(testing): generate appropriate files when unitTestRunner is vitest without specifying vite as the bundler (#13594) 2022-12-02 12:15:05 -05:00
Jack Hsu 5b7dba1cb7 fix(react): clean-up after dependency removal from @nrwl/react (#13563) 2022-12-02 16:58:07 +00:00
Katerina Skroumpelou edad5ef48a fix(bundling): hide newProject from vite config gen (#13592) 2022-12-02 18:11:37 +02:00
Katerina Skroumpelou fb9467a020 cleanup(bundling): cleanup and enhance vite e2e tests (#13584) 2022-12-02 16:04:49 +00:00
Victor Savkin 119fe91b0d cleanup(misc): remove nrwl/cli from package.json 2022-12-02 11:00:59 -05:00
Jonathan Cammisuli 790b0dee13 fix(bundling): add a vite specific readme for react libs when using vite (#13590) 2022-12-02 10:45:45 -05:00
Katerina Skroumpelou d5f834a3b6 fix(bundling): pass nxext options to our executor (#13587) 2022-12-02 17:42:18 +02:00
Katerina Skroumpelou c60d52af9b cleanup(misc): remove storybook dependency from other packages (#13571) 2022-12-02 17:38:59 +02:00
Benjamin Cabanes 24a15edef6 docs(nxdev): remove redirect rules for landing pages (#13589) 2022-12-02 10:35:13 -05:00
Jonathan Cammisuli dbc673d74f fix(testing): remove jest.config.ts from vitest setups (#13586) 2022-12-02 10:17:37 -05:00
Katerina Skroumpelou 985ea6f66d docs(bundling): remove assets example from vite (#13581) 2022-12-02 17:00:13 +02:00
Leosvel Pérez Espinosa 2dd2eeae63 fix(angular): ensure apps/libs layout is created when migrating from angular cli to nx monorepo layout (#13577) 2022-12-02 15:10:44 +01:00
Benjamin Cabanes 63820a9e50 docs(nxdev): fix root level card links (#13555) 2022-12-02 09:09:31 -05:00
Colum Ferry 0187000b4d feat(angular): add backwards support to component (#13583) 2022-12-02 14:45:23 +01:00
Colum Ferry 1d4900d029 feat(angular): add backwards compat support for karma (#13582) 2022-12-02 14:43:22 +01:00
Katerina Skroumpelou 8bea6ce377 cleanup(bundling): change baseHref to base for vite builder (#13580) 2022-12-02 14:12:21 +01:00
Colum Ferry 3180427b8a feat(angular): support angular 14 with application (#13575) 2022-12-02 12:14:12 +00:00
Colum Ferry 43644acef2 feat(angular): add backwards compat support to add-linting (#13570) 2022-12-02 11:12:15 +00:00
Colum Ferry d3b3af283d feat(angular): add backwards compat support to setup-tailwind generator (#13569) 2022-12-02 11:09:42 +00:00
William Sedlacek 490e945144 fix(core): give root version priority when mapping npm packages (#13552) 2022-12-02 08:31:11 +01:00
Jack Hsu cded83b2c5 feat(react): remove unnecessary dependencies from @nrwl/react (#13525) 2022-12-01 17:06:32 -05:00
Isaac Mann 4c723de444 docs(core): root-level scripts recipe (#13515) 2022-12-01 15:53:40 -05:00
Katerina Skroumpelou 3a39f95a3b cleanup(core): create a shared add-babel-input function (#13538) 2022-12-01 15:19:04 -05:00
Isaac Mann 2fc86e23d4 docs(core): fix name of eslint config (#13554) 2022-12-01 20:08:49 +00:00
Nicholas Cunningham 3edfc5d6b3 fix(vite): apps packagejson copy (#13553)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-01 14:39:41 -05:00
Katerina Skroumpelou eda03e5044 chore(storybook): remove prompt for bundler (#13551) 2022-12-01 17:19:22 +00:00
Colum Ferry 0db1b483aa feat(angular): add backwards compat support to init generator (#13548) 2022-12-01 16:57:02 +00:00
Colum Ferry 6e8a1c6e9f fix(angular): correctly assign env var (#13549) 2022-12-01 16:47:41 +00:00
Leosvel Pérez Espinosa 59a6a9e10a fix(angular): don't set the workspaceLayout when migrating an angular cli workspace to nx (#13546) 2022-12-01 16:02:53 +00:00
Benjamin Cabanes 3f05d66643 docs(nxdev): update nx cloud logo (#13547) 2022-12-01 10:43:20 -05:00
Colum Ferry ec4d95c319 cleanup(angular): add util for finding the directory name based on angular version (#13539) 2022-12-01 14:23:05 +00:00
Katerina Skroumpelou 432d235700 fix(bundling): remove wrong doc and preset wc use vite (#13536) 2022-12-01 09:14:47 -05:00
Miroslav Jonaš 22e70d614e fix(angular): fix root-project support for Angular (#13534) 2022-12-01 15:14:08 +01:00
Miroslav Jonaš 92df716b66 fix(core): add peerDependenciesMeta to PackageJson model (#13537) 2022-12-01 13:10:16 +00:00
Miroslav Jonaš 1a3cc515a4 fix(core): prevent peer deps from ending up as dev deps in create package json (#13502) 2022-12-01 12:07:52 +01:00
Juri ea8f0049c7 docs(core): link tutorials to integrated vs package based guide 2022-12-01 10:21:43 +01:00
Juri 04e56f6386 docs(core): improve custom commands doc 2022-12-01 09:34:04 +01:00
Jack Hsu 08689b03be fix(react): generate new libs with @nrwl/rollup:rollup instead of @nr… (#13526) 2022-12-01 04:38:36 +00:00
Philip Fulcher f1f7ccc25e chore(graph): remove route listener and setter machines (#13524) 2022-12-01 00:18:31 +00:00
Benjamin Cabanes 84cbcb7e10 docs(nxdev): fix layout on 404 & 500 (#13523) 2022-11-30 22:18:51 +00:00
Jason Jean 804fb19291 fix(testing): fix jest paths for root directory (#13520) 2022-11-30 20:51:38 +00:00
Juri a7408d0a1e docs(core): add Nx to existing projects 2022-11-30 21:41:27 +01:00
Jason Jean 939c598dfc chore(repo): remove duplicate test target defaults (#13512) 2022-11-30 15:29:07 -05:00
Jason Jean 27a48df0d6 fix(misc): use given name for creating standalone workspaces (#13516) 2022-11-30 15:28:56 -05:00
Victor Savkin f16f53bcc5 fix(angular): respect the provided version when running make-angular-cli-faster 2022-11-30 15:04:32 -05:00
Victor Savkin 7762eddfc8 fix(core): fix nx init for non monorepos 2022-11-30 14:55:08 -05:00
Jack Hsu 5d0f50e424 feat(react): add --bundler=none option for React lib generator if the… (#13511) 2022-11-30 19:48:02 +00:00
Nicholas Cunningham 5c10f1ca5c fix(react-native): skipPackageJson was being ignored (#13513)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-11-30 12:46:48 -07:00
Victor Savkin ad201d5989 fix(misc): do not set includeScript during nx init 2022-11-30 13:28:42 -05:00
Isaac Mann 51762b0091 docs(core): angular standalone tutorial (#13514) 2022-11-30 13:25:46 -05:00
Victor Savkin ee65e6a100 fix(misc): nx init should allow overriding the version of nx 2022-11-30 12:55:30 -05:00
Victor Savkin db85c62240 fix(core): negative patterns do not work for root project 2022-11-30 11:15:59 -05:00
Jonathan Cammisuli 8bfc0b5527 feat(js): use the daemon watcher instead of parcel/watcher (#13413) 2022-11-30 11:09:44 -05:00
Colum Ferry 183e3c110b feat(angular): host mf should use module-federation-dev-ssr for serve-ssr (#13510) 2022-11-30 16:00:55 +00:00
Jason Jean a1bac90d4d fix(core): fix configuration option for affected:build|test|e2e (#13487) 2022-11-30 16:00:06 +00:00
Benjamin Cabanes b9b4b2b1b6 docs(nxdev): set document-data type on doc pages (#13508) 2022-11-30 15:05:33 +00:00
Benjamin Cabanes c0bae20e83 docs(nxdev): set document-data type on doc pages (#13506) 2022-11-30 14:47:13 +00:00
Jack Hsu a767e6c12d docs(misc): fix formatting (#13505) 2022-11-30 09:12:44 -05:00
Katerina Skroumpelou 4838833e31 chore(storybook): removed ununsed import (#13504) 2022-11-30 13:29:59 +00:00
Colum Ferry f25e03d0a0 feat(angular): add migration for ngrx 15 (#13498) 2022-11-30 13:23:52 +00:00
Colum Ferry 2d021a1c09 fix(angular): add support for devRemotes in module-federation-dev-ssr (#13500) 2022-11-30 12:42:10 +00:00
Katerina Skroumpelou f545b294cf fix(storybook): inform user vite is used if project uses vite (#13499) 2022-11-30 13:54:20 +02:00
Colum Ferry 0ce6735084 feat(angular): add module-federation-dev-ssr builder (#13496) 2022-11-30 11:41:12 +00:00
Colum Ferry 4e672b2ab9 fix(angular): add server ready message to remote server (#13497) 2022-11-30 11:24:23 +00:00
Jack Hsu a9ac43b86f feat(react): add CRA support to "nx init" (#13488) 2022-11-29 23:20:27 -05:00
Jason Jean 28657d7860 chore(repo): update nx to 15.3.0-beta.6 (#13486) 2022-11-29 18:23:32 -05:00
Jason Jean f39d73cce6 chore(angular): fix angular tests (#13483) 2022-11-29 22:23:30 +00:00
Isaac Mann 2e544177ea docs(core): react standalone tutorial (#13453) 2022-11-29 17:17:14 -05:00
Benjamin Cabanes a064252bcf docs(nxdev): externalize related documentation links into its own section (#13485) 2022-11-29 17:14:29 -05:00
Caleb Ukle 74bd0bb00c feat(testing): support root project generation for jest (#13353)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-11-29 17:03:19 -05:00
Victor Savkin 8f2fb24605 feat(misc): assume repo and app names are the same for standlone presets 2022-11-29 17:01:28 -05:00
Victor Savkin 54c2169d77 fix(misc): handle the case where --directory=libs 2022-11-29 16:39:21 -05:00
Jason Jean 7d829d12a8 chore(repo): sync docs (#13484) 2022-11-29 21:37:34 +00:00
Victor Savkin fe062f42c3 fix(core): deduce layout directory 2022-11-29 16:08:57 -05:00
Benjamin Cabanes 2ea9e731b1 docs(nxdev): remove title from document (#13482) 2022-11-29 20:41:04 +00:00
Jason Jean 9d5a45d905 fix(bundling): remove extraneous logs from @nrwl/vite:build executor (#13479) 2022-11-29 15:15:30 -05:00
Benjamin Cabanes 3a2d24c0da docs(nxdev): add svg favicon for light & dark themes (#13480) 2022-11-29 20:15:21 +00:00
Benjamin Cabanes 27b7e8dffe docs(nxdev): remove title from document (#13481) 2022-11-29 15:13:01 -05:00
Leosvel Pérez Espinosa 81aef458c0 docs(angular): update docs generation to account for builders (#13469) 2022-11-29 15:11:20 -05:00
Jack Hsu 6c59cbbb3b feat(react): add SSR suppoprt to host generator for module federation (#13416) 2022-11-29 14:49:15 -05:00
Jon Hammerskov 19acffa837 fix(core): use node_modules/.cache/nx as default for projectGraphCac… (#13470) 2022-11-29 14:27:05 -05:00
Leosvel Pérez Espinosa f448477e9d feat(misc): add support for angular cli workspaces to nx init (#13404) 2022-11-29 13:08:18 -05:00
Michael Be a4a8d9d7e3 feat(angular): rename default ngrx-selector names to match ngrx-standard (#13475) 2022-11-29 16:29:03 +01:00
Jack Hsu f2c5ebae3d feat(react): default to Vite when converting from CRA to Nx (#13473) 2022-11-29 09:27:28 -05:00
Katerina Skroumpelou 19a6da335e fix(bundling): place files in the right folders for Web Vite apps (#13464) 2022-11-29 08:43:39 -05:00
Colum Ferry 11b224fec3 fix(angular): make server build depend on browser build (#13467) 2022-11-29 11:27:21 +00:00
Colum Ferry e3a19f4bd6 fix(angular): use jest-preset-angular 12.2.3 #13259 (#13468) 2022-11-29 11:25:19 +00:00
Leosvel Pérez Espinosa 36ce474e69 docs(angular): improve executor descriptions (#13466) 2022-11-29 12:08:48 +01:00
Leosvel Pérez Espinosa 42fa5d871b docs(angular): update incremental builds requirements docs and ng-packagr-lite description (#13465)
Fixes https://github.com/nrwl/nx/issues/13421
2022-11-29 11:39:23 +01:00
Jorge Vergara 5999deedaa docs(core): removes extra nx from example
removes the `nx` keyword from example because the keyword
gets added on running `yarn
documentation`
duplicating the keyword
2022-11-29 08:39:58 +01:00
Jack Hsu 78758a11a5 feat(react): use "nx exec" when running cra-to-nx for standalone work… (#13460) 2022-11-28 20:47:26 -05:00
Jack Hsu cf7ad73165 cleanup(bundling): remove unnecessary files and targets for Vite apps… (#13456) 2022-11-28 17:08:37 -05:00
Brad 82478b8fd9 docs(nxdev): change connect-to-nx-cloud command (#13450) 2022-11-28 15:41:59 -05:00
Chau Tran 1c70ac9571 fix(core): escape scripts with delimiters for nx exec (#13451) 2022-11-28 19:01:19 +00:00
Katerina Skroumpelou b84f239f47 fix(bundling): remove default values from executors (#13444) 2022-11-28 13:29:58 -05:00
Emily Xiong 662f5413be feat(react): add minimal flag (#13446) 2022-11-28 13:29:23 -05:00
Miroslav Jonaš a95b91d433 fix(core): generated package.json should not include duplicates and optional peer deeps (#13438) 2022-11-28 17:26:32 +01:00
Jonathan Cammisuli db3499d3a6 feat(core): add includeProjectDependents as a option for file watching (#13424) 2022-11-28 11:03:15 -05:00
Jonathan Cammisuli f0f60fbb94 fix(testing): web and react application fixes for vitest's insourceTests (#13447) 2022-11-28 15:52:39 +00:00
Jack Hsu 5af4ae0f48 feat(bundling): remove assets option from vite build (#13441) 2022-11-28 10:40:14 -05:00
Miroslav Jonaš 05d0bf1e1e fix(linter): standalone projects should be detectable with eslint (#13435) 2022-11-28 10:39:00 -05:00
Jack Hsu 8103290470 fix(bundling): place files in the right folders for React Vite apps (#13443) 2022-11-28 15:30:36 +00:00
Miroslav Jonaš 970351574c fix(linter): ensure projectRootMappings exist when running eslint directly (#13432) 2022-11-28 14:59:18 +00:00
Jack Hsu 3c60da7023 cleanup(bundling): rename imported vite-tsconfig-paths plugin to matc… (#13423) 2022-11-28 13:39:06 +00:00
Colum Ferry 9469dbaac9 feat(angular): add static-server target to ssr mf remote (#13440) 2022-11-28 13:11:34 +00:00
Colum Ferry fd1e478b80 fix(angular): use correct ready state for ssr bootstrap (#13437) 2022-11-28 12:32:51 +00:00
Katerina Skroumpelou 871f6183d7 fix(bundling): if bundler is vite unitTestRunner is vitest (#13436) 2022-11-28 14:26:15 +02:00
Miroslav Jonaš 9a0db4848f feat(linter): replace createReactEslintJson with extendReactEslintJson (#13431) 2022-11-28 11:54:30 +01:00
Miroslav Jonaš 649e954ea3 fix(expo): ensure schema files pass the linter rule (#13433) 2022-11-28 11:33:34 +01:00
Miroslav Jonaš 9f505353f8 feat(core): enable linter for angular standalone (#13430) 2022-11-28 09:23:46 +00:00
Jason Jean 3653e5944d fix(misc): add configuration option to print-affected (#13422) 2022-11-25 22:59:35 +00:00
Jack Hsu 70fa4b9e41 fix(react): generate lib with correct imports in vite.config.ts (#13419) 2022-11-25 21:15:15 +00:00
Benjamin Cabanes 4a5059bdae docs(nxdev): change -gray- usage for -slate- (#13420) 2022-11-25 20:59:33 +00:00
Jack Hsu a63a25d2e2 feat(react): add Vite bundler option for buildable libraries (#13382) 2022-11-25 20:25:37 +00:00
Benjamin Cabanes c2db462992 docs(nxdev): add 404 page illustrations (#13418) 2022-11-25 15:15:24 -05:00
Leosvel Pérez Espinosa 7be73d1094 fix(core): set the right project graph node type for e2e project with name e2e (#13410) 2022-11-25 15:12:07 -05:00
Benjamin Cabanes d4da217cb3 docs(nxdev): add 500 page illustration (#13417) 2022-11-25 15:05:55 -05:00
Jack Hsu c0f12757f1 Revert "feat(vite): use the project's tsconfig.json to configure plug… (#13415) 2022-11-25 19:46:37 +00:00
Jason Jean 2c13661b90 fix(core): fix showing help for executors (#13393) 2022-11-25 14:13:45 -05:00
Richard Roozenboom f0fc7863f9 fix(devkit): change name schema order in project.json (#13409) 2022-11-25 13:42:08 -05:00
Jack Hsu 0f6b4e7267 cleanup(bundling): update wording when running Vite build (#13411) 2022-11-25 12:48:09 -05:00
Benjamin Cabanes 1a136fc8ad chore(vite): add vite scope to commitizen (#13412) 2022-11-25 17:47:25 +00:00
Jack Hsu bf32321c3c feat(vite): use the project's tsconfig.json to configure plugins rath… (#13408) 2022-11-25 11:01:27 -05:00
Jack Hsu 5aaba51fa1 fix(bundling): set rootDir to the project root when bundling with rollup (#13407) 2022-11-25 15:30:38 +00:00
Leosvel Pérez Espinosa 54ee8c5f5b cleanup(angular): amend invalid comment in decorate-angular-cli.js script (#13406) 2022-11-25 15:50:52 +01:00
Katerina Skroumpelou 2d860eaf88 feat(storybook): generate config for vite (#13381) 2022-11-25 09:01:35 -05:00
Miroslav Jonaš 07584fde43 fix(core): generated package json should not include implicit deps (#13402) 2022-11-25 12:53:15 +00:00
Colum Ferry 1a232038c7 fix(angular): port should be added to serve-ssr for remote (#13399) 2022-11-25 12:31:19 +00:00
Colum Ferry d908521f15 feat(angular): add ssr flag to host generator (#13398) 2022-11-25 12:13:13 +00:00
Colum Ferry cb5350338c cleanup(angular): remove redundant console.log (#13400) 2022-11-25 12:06:42 +00:00
Miroslav Jonaš 0bd7685dbf feat(linter): add .eslintrc to json-like migratable configs (#13396) 2022-11-25 11:57:29 +00:00
Miroslav Jonaš 3fe5df7207 feat(linter): support new config format for eslint discovery (#13395) 2022-11-25 09:54:40 +00:00
Jonathan Cammisuli 993d38d1ee fix(testing): add include option for vitest to only look in src (#13392) 2022-11-24 17:13:55 -05:00
Miroslav Jonaš 110b5f2867 feat(core): enable linter on root projects (#13347) 2022-11-24 22:51:24 +01:00
Benjamin Cabanes 8200870c8e docs(nxdev): add banner announcement on documentation side (#13391) 2022-11-24 16:46:22 -05:00
Benjamin Cabanes 535ce8f443 docs(nxdev): update nx cloud logo (#13389) 2022-11-24 16:22:30 -05:00
Benjamin Cabanes 2d43fddb87 docs(nxdev): copy documentation files in sync (#13387) 2022-11-24 15:47:25 -05:00
Benjamin Cabanes 9927d06ff1 docs(nxdev): update favicons images (#13386) 2022-11-24 15:32:40 -05:00
Jason Jean 020795cecc fix(bundling): add type for bundler option to enable autocomplete prompt (#13384) 2022-11-24 14:41:28 -05:00
Benjamin Cabanes 49b5ff5ced docs(nxdev): remove twitter handle info (#13383) 2022-11-24 14:26:56 -05:00
Victor Savkin dd2c3728e4 fix(misc): rework create-nx-workspace command to show standalone presets 2022-11-24 14:13:15 -05:00
Katerina Skroumpelou 2614452840 feat(storybook): for nested projects (#13314) 2022-11-24 19:18:06 +02:00
Leosvel Pérez Espinosa 61f6e2d728 feat(angular): add support to component and karma project generator for nested projects (#13380) 2022-11-24 17:04:55 +01:00
Jason Jean 6d35fd4d85 chore(core): reconcile functions to find project of a path (#13364) 2022-11-24 11:02:32 -05:00
Jason Jean 0e54262ca2 chore(misc): bump timeout for select projects perf test (#13378) 2022-11-24 09:52:07 -05:00
Colum Ferry 062698a905 fix(angular): e2e test should correctly fail (#13373) 2022-11-24 14:26:03 +00:00
Colum Ferry 883b61bb7a fix(angular): add workaround for MF SSR (#13372) 2022-11-24 11:59:39 +00:00
Leosvel Pérez Espinosa a0d01b60c5 fix(angular): remove karma test.ts file from generation (#13356) 2022-11-24 12:33:50 +01:00
Colum Ferry 2471768ce1 feat(angular): add --ssr flag to remote generator (#13370) 2022-11-24 11:06:40 +00:00
Katerina Skroumpelou 13602c3d3b fix(storybook): remove polyfill.ts from tsconfig (#13322) 2022-11-24 10:20:11 +00:00
Zachary DeRose 7ce763317a docs(angular): refresh the tutorial 2022-11-23 19:21:20 -05:00
Victor Savkin 16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Jason Jean 2d74f4c1dc fix(core): disallow edges to the root project (#13359) 2022-11-23 12:02:39 -05:00
Jack Hsu dc16468607 fix(nextjs): check validity of Nx context in withNx plugin (#13358) 2022-11-23 16:21:25 +00:00
Isaac Mann bcbff1ebf7 docs(core): nx cloud on prem costs money (#13357) 2022-11-23 11:06:32 -05:00
Jack Hsu 2a7ccb6743 fix(bundling): run dev-server in development mode and hmr on by default (#13352) 2022-11-23 15:02:28 +00:00
Jonathan Cammisuli 02e22de7ed feat(testing): add vitest generators (#13301) 2022-11-23 10:00:29 -05:00
Philip Fulcher 17514d2366 feat(graph): enable task graph (#13343) 2022-11-23 09:53:55 -05:00
Philip Fulcher 2d758af7c7 fix(graph): project edge tooltips should appear (#13344) 2022-11-23 09:41:22 -05:00
Jack Hsu a2cf352433 feat(react): experimental workspace preset uses vite (#13323) 2022-11-23 14:06:44 +00:00
Dominik Pieper e3d8b2c22c fix(angular): fix Karma test runner config (#13293)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-11-23 11:32:06 +00:00
Colum Ferry be05a09fee cleanup(angular): cleanup remote generator (#13346) 2022-11-23 10:39:00 +00:00
Juri bd29862d80 docs(nxdev): add state of js survey banner 2022-11-23 09:27:54 +01:00
Philip Fulcher cb2d6b61dd cleanup(graph): add e2e tests to task graph (#13342) 2022-11-22 20:04:41 -07:00
Jason Jean a243e809ba fix(misc): readd readme to workspace creation (#13329) 2022-11-22 17:48:54 -05:00
Philip Fulcher 0d9f228aa1 chore(graph): refactor task selection workflow (#13302) 2022-11-22 15:23:47 -07:00
Jack Hsu 98a6cb1e32 chore(repo): re-enable storybook e2e tests with overrides for enhance… (#13339) 2022-11-22 16:49:35 -05:00
Jason Jean 1b85e20c78 fix(react): set bundler for preset app (#13338) 2022-11-22 21:42:30 +00:00
Jack Hsu 6b305ef4c1 chore(repo): disable storybook e2e tests temporarily until a fix for … (#13336) 2022-11-22 16:07:40 -05:00
Victor Savkin 661bea436a feat(misc): nx init should work on non-monorepo projects 2022-11-22 14:04:26 -05:00
Elyahou Ittah 90f2791303 fix(nx-plugin): ensure project has eslint available before adding lint checks for migrations.json(#13327)
Fixes https://github.com/nrwl/nx/issues/13326
2022-11-22 13:19:54 -05:00
Colum Ferry cd02eea138 cleanup(angular): host generator (#13324) 2022-11-22 16:22:58 +00:00
Jack Hsu f98618b8d3 cleanup(react): remove bundler=vite option from host and remote gener… (#13320) 2022-11-22 10:37:24 -05:00
Jack Hsu 1b3abbd477 fix(bundling): fix exclude entries for .lib.swcrc file to exclude spe… (#13319) 2022-11-22 10:19:49 -05:00
Jack Hsu 922e2744c0 chore(repo): fix wrong exclude entry for vite build (#13318) 2022-11-22 09:25:10 -05:00
Miroslav Jonaš f0c18f5b7d feat(core): move createPackageJson to nx (#13315) 2022-11-22 15:21:45 +01:00
Katerina Skroumpelou 1033b61686 cleanup(storybook): remove unused root tsconfig (#13312) 2022-11-22 13:34:02 +00:00
Katerina Skroumpelou 5bacaf30da fix(storybook): re-enable storybook tests (#13313) 2022-11-22 13:10:30 +00:00
Colum Ferry 8be2980339 feat(react): add withModuleFederationForSSR function (#13276) 2022-11-22 12:16:20 +00:00
Miroslav Jonaš b902849bc4 cleanup(core): declutter lock file utils (#13306) 2022-11-22 10:29:02 +00:00
Miroslav Jonaš 0c8610b336 chore(core): fix flaky bail e2e test (#13311) 2022-11-22 10:07:23 +00:00
Katerina Skroumpelou 776491405e chore(bundling): added extra e2e tests for vite on web (#13310) 2022-11-22 09:55:37 +00:00
Katerina Skroumpelou 6fcb9c4dba chore(bundling): added tests for fileReplacement (#13292) 2022-11-22 09:36:07 +00:00
Katerina Skroumpelou cda3d2eb07 docs(misc): a small typo (#13307) 2022-11-22 11:11:19 +02:00
Jason Jean 986b314b2b chore(core): fix absolute imports to nx (#13304) 2022-11-22 00:46:49 +00:00
Craigory Coppola 61c3b0ef31 feat(core): add shorthand for nx run-commands (#13139) 2022-11-21 23:59:31 +00:00
Craigory Coppola 76c237bd2c feat(core): add nx exec command (#13212) 2022-11-21 17:35:24 -05:00
Phillip Barta 6328913dda cleanup(misc): refactor make-angular-cli-faster to reduce install size and make it faster (#13039) 2022-11-21 17:24:55 -05:00
Jason Jean 1842d19222 feat(core): run tasks with no dependencies in topological order (#13294) 2022-11-21 17:08:42 -05:00
Jack Hsu ade6668060 feat(react): update package versions (#13300) 2022-11-21 16:58:34 -05:00
Victor Savkin 19018fcdd1 fix(misc): axios import breaks when using npx 2022-11-21 14:54:21 -05:00
Katerina Skroumpelou 4af3141179 feat(bundling): add more options to vite executors (#13299) 2022-11-21 21:36:09 +02:00
Jack Hsu 23e4fc77c9 feat(react): add SSR support to React apps (#13234) 2022-11-21 14:22:05 -05:00
Katerina Skroumpelou f394608658 feat(bundling): vite generators (#13158) 2022-11-21 13:18:40 -05:00
Isaac Mann 91f4635e0c docs(core): document more environment variables (#13298) 2022-11-21 12:32:55 -05:00
Leosvel Pérez Espinosa da2b77aeb7 fix(angular): update make-angular-cli-faster version map with angular 15 (#13297) 2022-11-21 12:14:50 -05:00
Chau Tran 8949771e9e docs(angular): update nx angular matrix for angular 15 (#13295)
Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-11-21 17:01:20 +00:00
Leosvel Pérez Espinosa 70e43cdc77 feat(angular): add a preset to generate a workspace with a single app at the root 2022-11-21 11:17:03 -05:00
Philip Fulcher bc2f2490e6 chore(graph): add ability to filter tasks without dependencies (#13269) 2022-11-21 16:16:10 +00:00
ccosmincc 328c54787f fix(angular): checks for targets existence before attempting to iterate them (#13287) 2022-11-21 10:23:06 -05:00
Emily Xiong cd1e12a555 feat(react-native): upgrade react-native to 0.70.6 (#13277) 2022-11-21 10:13:06 -05:00
Emily Xiong 590a3dc769 feat(core): support nested structure for cra-to-nx (#13253) 2022-11-21 10:12:53 -05:00
Paulo Fernandes 2772fab0e7 fix(linter): align reportUnusedDisableDirectives default value (#13284)
Co-authored-by: pfernandes <paulo.fernandes@dashlane.com>
2022-11-21 15:08:00 +01:00
Miroslav Jonaš 7f4802374c chore(core): invert nx daemon tests from enable to disable (#13290) 2022-11-21 13:59:28 +00:00
Miroslav Jonaš bd4f4a23c2 feat(core): use createProjectFileMappings in TargetProjectLocator (#13268) 2022-11-21 14:43:40 +01:00
Miroslav Jonaš 41c320cb07 fix(core): fix invalid path in e2e print-affected test (#13285) 2022-11-21 12:24:43 +00:00
Colum Ferry 356204f4e3 fix(angular): bump angular-eslint to v15 (#13282) 2022-11-21 11:32:57 +00:00
Leosvel Pérez Espinosa 18306696dc fix(angular): use the browserTarget to calculate project deps for buildable libs support in the dev server (#13275) 2022-11-20 20:43:19 +01:00
Jonathan Cammisuli 3f2fa6cd38 feat(core): add daemon watcher filters (#13229) 2022-11-18 20:56:49 -05:00
Jason Jean 3af70fc647 fix(core): use multiselect prompts for array properties (#13270) 2022-11-18 19:40:36 -05:00
Jason Jean 55c20b81c0 chore(repo): fix issues building nx-dev 2022-11-18 19:04:33 -05:00
Jason Jean 33154c344f chore(repo): fix includedScripts typo 2022-11-18 18:41:22 -05:00
Victor Savkin ffd40af446 chore(repo): use root-level scripts 2022-11-18 16:02:27 -05:00
Isaac Mann bf4f6c0a76 docs(core): add NX_PROJECT_GRAPH_CACHE_DIRECTORY (#13267) 2022-11-18 15:28:57 -05:00
Isaac Mann 186682f88d docs(core): add info on NX_TARGET_TASK_PROJECT (#13266)
Co-authored-by: Daniel Cooke <danielcooke1996@gmail.com>
2022-11-18 15:27:36 -05:00
Isaac Mann 5eed571fbd docs(core): merging stalled PRs (#13265) 2022-11-18 14:51:25 -05:00
Isaac Mann fe99206c19 fix(nxdev): external related docs link (#13263) 2022-11-18 14:06:57 -05:00
Isaac Mann 19ead43703 fix(nxdev): show related recipes (#13254) 2022-11-18 13:39:27 -05:00
Philip Fulcher ec85e1b5ad chore(graph): add task graph tooltips (#13262) 2022-11-18 11:23:37 -07:00
Altan Stalker 5045206491 feat(core): support bitbucket pipelines in ci generator (#13240) 2022-11-18 11:30:02 -05:00
Katerina Skroumpelou e4092aa47f fix(bundling): file replacement for vite (#13255) 2022-11-18 15:24:33 +00:00
Miroslav Jonaš de44bf86b1 feat(core): optimize project graph file mapping (#13249) 2022-11-18 14:34:58 +01:00
Katerina Skroumpelou ab93817d44 fix(bundling): remove the vue options from vite gen (#13221) 2022-11-18 15:03:51 +02:00
Colum Ferry b4fb074a09 fix(angular): should support filereplacements for apps that already have them (#13247) 2022-11-18 12:20:37 +00:00
Miroslav Jonaš b2b161cb8d cleanup(core): move lock-file utils to root nx level (#13245) 2022-11-18 13:00:21 +01:00
Colum Ferry b88dc35aa5 fix(angular): setup-ssr environments file replacements should be removed (#13244) 2022-11-18 11:37:28 +00:00
Colum Ferry e041223020 fix(angular): setup-ssr should output correct outpathPath for server build (#13243) 2022-11-18 11:35:56 +00:00
Miroslav Jonaš ab6f62a9b5 feat(core): move runtime-lint-utils to eslint plugin (#13222) 2022-11-18 12:24:53 +01:00
Michał Mrozek e971ffba71 fix(angular): local imports in webpack-dev-server custom config (#13156) 2022-11-18 09:57:27 +00:00
Philip Fulcher e42da40438 chore(graph): add group by project option to task graph (#13239) 2022-11-17 15:09:36 -07:00
Jason Jean 558b99c3c6 chore(misc): publish 15.2.0 2022-11-17 16:59:10 -05:00
Jason Jean bd6175ecfd chore(repo): update nx to 15.2.0-beta.1 (#13238) 2022-11-17 21:08:26 +00:00
Jason Jean 7554dda7ba fix(angular): format files after migrations (#13237) 2022-11-17 21:02:57 +00:00
Isaac Mann 204e64ac8c docs(core): list which package.jsons are included (#13203)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-11-17 15:33:30 -05:00
Isaac Mann 334f597a5d docs(core): update turbo vs nx article (#13208) 2022-11-17 15:28:08 -05:00
Jason Jean 3e27ce829f chore(repo): switch to using a github issue form (#13235) 2022-11-17 14:45:20 -05:00
Isaac Mann 64af085e52 docs(core): improved worst case ci times (#13188) 2022-11-17 13:41:38 -05:00
Craigory Coppola 486028118f fix(core): apply compatibility layer when running angular cli migrations (#13231) 2022-11-17 17:02:42 +00:00
Jason Jean ab3ceb450e fix(misc): fix run-many for invalid projects (#13232) 2022-11-17 11:58:00 -05:00
Jon Hammerskov 7467e71193 fix(core): atomic writes of nxdeps.json (#12920) 2022-11-17 11:54:35 -05:00
Jason Jean 1d848dda62 fix(core): fix parsing of npm workspace patterns (#13206) 2022-11-17 11:53:53 -05:00
Jason Jean bae31b2a08 fix(core): fix migrations for projects in workspace.json (#13226) 2022-11-17 11:46:25 -05:00
Emily Xiong b0b3b5c3ce feat(storybook): upgrade @storybook/react-native to 6.0.1-beta.9 (#13157) 2022-11-17 11:25:54 -05:00
Emily Xiong b9bedffa8b fix(react-native): fix the tsc command for react-native and expo (#12888) 2022-11-17 11:25:35 -05:00
Emily Xiong fc2e6be5bd fix(expo): use workspace layout apps dir for expo generate application (#13160) 2022-11-17 11:25:08 -05:00
Jack Hsu fb8631ed1e feat(bundling): initial public release for vite plugin (#13230) 2022-11-17 15:54:41 +00:00
Isaac Mann b97472de4d chore(nxdev): fix deploy (#13210) 2022-11-17 15:46:23 +00:00
Colum Ferry b084dddff0 feat(angular): support for Angular 15 (#12112) 2022-11-17 09:31:45 -05:00
Miroslav Jonaš 032a9d17d6 feat(core): prune pnpm workspaces and different meta settings (#13201) 2022-11-17 13:37:34 +00:00
Miroslav Jonaš 945fc7309b cleanup(bundling): cleanup vite e2e test (#13220) 2022-11-17 14:24:24 +01:00
Katerina Skroumpelou 2802b6fe64 fix(bundling): fix baseUrl resolution for vite dev server (#13219) 2022-11-17 13:21:46 +00:00
Miroslav Jonaš 2bc9e84edd feat(core): support npm v1 lock file pruning with disclaimer (#13218) 2022-11-17 14:04:50 +01:00
Gustavo Perdomo c0deca8da3 chore(core): nx plugin submission @nx-tools/nx-container (#13159) 2022-11-16 15:20:34 -05:00
Andrew Redican 8838476515 chore(core): nx plugin submission @enio.ai/typedoc (#13149) 2022-11-16 14:17:34 -05:00
Francesco Leardini 2d0b7fc911 docs(nx-plugin): typo correction in local generators docs (#13171) 2022-11-16 14:12:11 -05:00
George Karagkiaouris 60a7345580 fix(bundling): fix webpack publicPath: 'auto' behavior for esm builds (#13186)
Fixes https://github.com/nrwl/nx/issues/13185
2022-11-16 13:57:50 -05:00
Caleb Ukle 620f6a6afd fix(testing): add babel-jest transform options for react libraries (#13175) 2022-11-16 12:41:58 -05:00
Victor Savkin 40d37b3eae fix(core): set project names using a blog instead of project graph (#13202) 2022-11-16 10:35:35 -05:00
Miroslav Jonaš 45cba682d7 feat(core): handle yarn workspace packages when pruning (#13170) 2022-11-16 12:05:42 +01:00
Katerina Skroumpelou 78d5d7bd30 docs(bundling): fix the vite overview page (#13196) 2022-11-16 11:03:25 +00:00
Philip Fulcher 074a7f9f37 chore(graph): selected task is persisted in url (#13189) 2022-11-15 15:29:18 -07:00
Victor Savkin 8d9de7f81d cleanup(core): clean up workspace creation 2022-11-15 17:22:02 -05:00
Craigory Coppola 0e3b0ef192 docs(core): document includeScripts property (#13182)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2022-11-15 16:25:23 -05:00
Isaac Mann 872eb1864f See also links (#13180) 2022-11-15 15:48:29 -05:00
Jason Jean c2d4bf5fc8 chore(misc): publish 15.1.0 2022-11-15 14:04:30 -05:00
Øyvind Marthinsen 8ad9dd5d05 feat(misc): support glob expressions for projects matching in run-many (#11659)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-11-15 12:59:51 -05:00
Craigory Coppola 2661582df3 feat(core): add includedScripts to allow filtering package json scripts (#13179) 2022-11-15 12:52:33 -05:00
Isaac Mann 4766af78e0 fix(nxdev): related docs recipes not listed (#13162) 2022-11-15 11:49:30 -05:00
Colum Ferry e70fd48880 feat(angular): add withModuleFederationForSSR function (#13172) 2022-11-15 16:35:09 +00:00
Jonathan Cammisuli 54670c93e0 feat(testing): add vitest (#13129) 2022-11-15 09:15:19 -05:00
Miroslav Jonaš b924f1a620 feat(core): add prune lock file hashing based on the input (#13167) 2022-11-15 12:31:50 +01:00
Miroslav Jonaš af0a18ff4e feat(core): add prune lock file support for pnpm (#13155) 2022-11-15 09:37:44 +01:00
Jason Jean 512971caa1 chore(repo): update nx to 15.1.0-beta.2 (#13163) 2022-11-14 21:17:29 +00:00
Benjamin Cabanes 6e62b4fdb2 docs(nxdev): add nxcloud dte and cache icons (#13161) 2022-11-14 20:36:57 +00:00
Craigory Coppola 1a8bf7791b feat(core): enable root project by specifying nx: true in root package.json (#13137) 2022-11-14 15:26:17 -05:00
Katerina Skroumpelou 8d103f323c feat(bundling): vite plugin executors (#13032) 2022-11-14 14:33:09 -05:00
Leosvel Pérez Espinosa 2a671e7104 cleanup(angular): add @angular-eslint/builder:lint builder migrator (#13151) 2022-11-14 14:51:50 +01:00
Victor Savkin f12186a289 fix(nxdev): fix the dte link to point to the nx cloud intro page 2022-11-13 13:29:48 -05:00
Isaac Mann 20fe12b1b9 docs(core): nx cloud intro (#13132) 2022-11-13 13:26:23 -05:00
Victor Savkin c4ebef2803 feat(react): add a preset to generate a workspace with a single app at the root 2022-11-12 17:17:58 -05:00
Miroslav Jonaš fc8de9a4d3 feat(core): add prune lock file support for npm 2 and 3 (#13120) 2022-11-12 22:01:03 +01:00
Júlio César b142f385c9 fix(devkit): use target inference from plugins in readTargetOptions (#13141) 2022-11-12 13:49:54 -05:00
Isaac Mann b0d2e4ba66 docs(core): troubleshoot cache misses recipe (#13135) 2022-11-11 16:13:56 -05:00
Jonathan Cammisuli a771dc9875 feat(core): daemon file watcher (#13068)
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
2022-11-11 15:23:51 -05:00
Philip Fulcher c18ec6ccd6 chore(graph): add tasks to graph (#13133) 2022-11-11 12:52:19 -07:00
Craigory Coppola a300c0e3eb fix(angular): migration should ignore external deps (#13112) 2022-11-11 12:23:41 -05:00
Isaac Mann ba4e944981 docs(core): dte affected commands in parallel (#13115) 2022-11-11 10:40:28 -05:00
Colum Ferry 60c220b788 cleanup(angular): remove redundant test from early migration (#13130) 2022-11-11 15:37:30 +00:00
Jason Jean 16c3a2eb20 chore(repo): make runCLI work in verbose mode (#13123) 2022-11-10 23:15:14 -05:00
Jason Jean 5f47917ce0 chore(repo): fix security vulnerabilities (#13122) 2022-11-11 03:38:44 +00:00
Sebastian Duque Gutierrez c44b543d14 chore(core): nx plugin submission @nxkit/style-dictionary (#12892) 2022-11-10 19:07:57 -05:00
Jason Jean f572574fae fix(misc): read the version of nrwl packages from project graph (#13118) 2022-11-10 22:08:00 +00:00
Benjamin Cabanes 06c95739d9 docs(nxdev): add packages link to flyout menu (#13119) 2022-11-10 21:35:30 +00:00
Jack Hsu 41fb76a953 feat(react): cra-to-nx to use PORT from .env file when migrating to Vite (#13116) 2022-11-10 16:09:32 -05:00
Jack Hsu 043e5d9604 chore(repo): exclude cra-to-nx from running on macos in CI (#13111) 2022-11-10 11:08:40 -05:00
Juliano Custódio 4ae6bc5096 fix(bundling): wrong main entry path for cjs in ouput package.json (#12569) 2022-11-10 10:58:23 -05:00
Richard Roozenboom 3e867d1650 fix(angular): passthrough skip package json option to generators (#13109)
CLOSED https://github.com/nrwl/nx/issues/13108
Fixes https://github.com/nrwl/nx/issues/13108
2022-11-10 10:57:15 -05:00
Jack Hsu 83646895c3 cleanup(react): add e2e tests for cra-to-nx package (#13107) 2022-11-10 10:41:05 -05:00
Tarsis Dragomir 2b29647c1c fix(core): do not interpolate unknown options in overrides (#13088)
Co-authored-by: Steven Haelterman <steven.haelterman@colruytgroup.com>
2022-11-10 10:18:24 -05:00
Colum Ferry aed120cec6 docs(angular): add some additional clarity to ng cli and nx page #12985 (#13102) 2022-11-10 11:34:05 +00:00
Leosvel Pérez Espinosa 02c4bf2af8 cleanup(angular): add @angular-devkit/build-angular:karma builder migrator (#13101) 2022-11-10 12:28:06 +01:00
Colum Ferry 8bba6d7abf fix(angular): do not throw errors for skipped remotes (#13100) 2022-11-10 10:41:27 +00:00
Philip Fulcher 2be9a01272 chore(graph): consume task graph data in client (#13092) 2022-11-09 16:58:28 -07:00
Colum Ferry f08a3c3c44 feat(react): add skipRemotes option to module-federation-dev-server (#13090) 2022-11-09 19:07:19 +00:00
Leosvel Pérez Espinosa 6bc3720656 fix(angular): ensure paths are resolved correctly in ng-packagr executors (#13059) 2022-11-09 12:47:15 -05:00
Dan Roujinsky 0432279fc4 fix(react): add missing skipPackageJson flag to application generator schema (#13076) 2022-11-09 12:45:43 -05:00
Craigory Coppola da47b0f714 feat(core): support for nested nx projects (#13074) 2022-11-09 12:23:16 -05:00
Jack Hsu e58278e8c4 feat(cra-to-nx): add option to use vite instead of craco (#13071) 2022-11-09 11:32:16 -05:00
Philip Fulcher 7557bd4f48 chore(graph): provide task data to graph app (#13058) 2022-11-09 08:40:17 -07:00
Katerina Skroumpelou c842535fa1 feat(bundling): vite init generator (#13062) 2022-11-09 09:48:32 -05:00
Colum Ferry 5bace1e6bb feat(angular): add skipRemotes option to module-federation-dev-server (#13086) 2022-11-09 14:29:00 +00:00
Juri 94cc9d8f1a docs(core): embed videos for package-based & integrated tutorials 2022-11-09 14:18:00 +01:00
Colum Ferry 6fc4d371e4 fix(core): prevent incorrect regex replacement of app name (#13082) 2022-11-09 12:28:10 +00:00
Colum Ferry f432b97e12 fix(angular): fix failing e2e (#13083) 2022-11-09 12:15:30 +00:00
Colum Ferry efc100587b feat(react): remove exposed utils (#13079) 2022-11-09 11:20:21 +00:00
Colum Ferry 40a2d655c2 feat(devkit): extract more common module federation logic (#13066) 2022-11-09 09:37:14 +00:00
Viktor Pöntinen 32bec2a8bd fix(core): add globPatternforDependencies support nx:run-commands wi… (#12786)
Fixes https://github.com/nrwl/nx/issues/12721
2022-11-08 19:17:03 -05:00
Caleb Ukle 37c8483db2 feat(testing): support cypress 11 (#13075) 2022-11-08 18:11:52 -06:00
Phillip Barta a218149bca cleanup(misc): refactor cra-to-nx to be faster and smaller (#13038) 2022-11-08 17:02:55 -05:00
Jason Jean 87b9f7e7ab chore(repo): exclude vite tests on macos e2e (#13073) 2022-11-08 16:32:33 -05:00
Jason Jean cd1b6c6bbb fix(core): provide a plugin which to allow users to opt into package.… (#13070)
Fixes https://github.com/nrwl/nx/issues/13063
2022-11-08 16:26:00 -05:00
Victor Savkin 4ba4bd024a fix(misc): set project names used the old logic including dirs 2022-11-08 14:57:34 -05:00
Craigory Coppola f311ecbdd7 chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Colum Ferry 000eebdbe1 feat(react): use shared helpers from devkit (#13061) 2022-11-08 16:36:36 +00:00
Jason Jean cb0ccea9a8 chore(repo): hide vite from being pubished publically (#13060) 2022-11-08 11:31:56 -05:00
Colum Ferry 8c7ecff6c2 feat(angular): remove the share helpers from public api (#13057) 2022-11-08 15:54:37 +00:00
Miroslav Jonas bce3c03755 chore(repo): hide e2e logs unless verbose is set 2022-11-08 10:16:42 -05:00
Benjamin Cabanes cb20040a54 docs(nxdev): add light & dark theme to 500 (#13056) 2022-11-08 15:13:18 +00:00
Jason Jean 5fccfc41c2 chore(repo): update nx to 15.0.11 (#13043) 2022-11-08 09:46:57 -05:00
Eric Zhang bcd43cbb3c fix(core): fix undefined projectName in tasks runner (#13044)
Co-authored-by: eric.zhang <eric.zhang@backstopdevelopment.com>
CLOSED https://github.com/nrwl/nx/issues/13018
Fixes https://github.com/nrwl/nx/issues/13018
2022-11-08 09:41:21 -05:00
Aaron Brewer c9b5f58364 chore(core): nx plugin submission @spaceribs/nx-web-ext (#12480) 2022-11-08 09:40:51 -05:00
Victor Savkin e4524db239 chore(misc): fix migration version 2022-11-08 09:36:02 -05:00
Colum Ferry 7c3fab064c feat(angular): use share helpers from devkit (#13054) 2022-11-08 14:22:54 +00:00
Juri Strumpflohner a8e693ad21 fix(nxdev): adjust title color in light/dark mode on 404 page (#13050) 2022-11-08 09:13:34 -05:00
Victor Savkin f1367378a8 fix(core): explicitly set project names 2022-11-08 09:05:12 -05:00
Colum Ferry 1ab96b2f0b Revert "feat(module-federation): add module federation package (#12961)"
This reverts commit 377e3bd605.
2022-11-08 12:43:34 +00:00
Colum Ferry cfd87f0643 Revert "feat(module-federation): add and expose share helpers and types (#12989)"
This reverts commit e08d7848b3.
2022-11-08 12:43:34 +00:00
Colum Ferry 7783fe0c4d Revert "feat(module-federation): expose additional helpers (#12990)"
This reverts commit 080543e76d.
2022-11-08 12:43:34 +00:00
Colum Ferry b4a98dae41 Revert "feat(module-federation): allow package to be published (#12993)"
This reverts commit 142fdb4a7b.
2022-11-08 12:43:34 +00:00
Colum Ferry f997ab047a Revert "feat(angular): use share helpers from module federation package (#12991)"
This reverts commit 88b67484b2.
2022-11-08 12:43:34 +00:00
Colum Ferry e040433a47 feat(devkit): add module federation utils (#13048) 2022-11-08 11:48:40 +00:00
Miroslav Jonaš 269038f8e4 chore(repo): hide publishing logs unless verbose is set (#13046) 2022-11-08 09:48:38 +00:00
janwiebedroid 2818f2e3a6 fix(js): call normalizePath on generated importPath (#13037) 2022-11-07 16:20:29 -05:00
Richard Roozenboom 8abc405953 fix(core): fix custom workspace-generator options (#12821)
Closes: #12677
2022-11-07 16:09:10 -05:00
Philip Fulcher 86b4a51555 chore(graph): add graph generator (#13003) 2022-11-07 20:18:30 +00:00
Jonathan Cammisuli 4ae9ee5506 feat(core): request daemon shutdown (#13034)
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
2022-11-07 18:34:56 +00:00
Jack Hsu a623e5290e fix(bundling): add missing package.json export field (#13035) 2022-11-07 18:25:22 +00:00
Phillip Barta b488a58375 cleanup(misc): refactored add-nx-to-monorepo to be faster and smaller (#13020) 2022-11-07 10:36:08 -07:00
Rares Matei b81b41c271 docs(nx-cloud): saml auth docs (#12923) 2022-11-07 16:51:19 +00:00
Denis Frenademetz 59ed6f17b9 fix(core): schedule tasks with the most tasks that depend on it first (#12967) 2022-11-07 11:50:37 -05:00
Ralf Ueberfuhr dd09982ef9 docs(misc): fix output directory of Go build (#12454) 2022-11-07 09:35:23 -07:00
Tycho Bokdam a690dbd7e9 fix(webpack): Fixed script optimization not working for node target (#12221) 2022-11-07 11:04:52 -05:00
Sebastian Duque Gutierrez 45537761d3 chore(core): nx plugin submission @nxkit/playwright (#12261) 2022-11-07 09:04:03 -07:00
Emily Marigold Klassen 5ade725920 fix(core): disable ts-node warning when its using a fast transpiler (#12765) 2022-11-07 09:03:27 -07:00
Monawwar Abdullah 8550035737 fix(misc): correct "topological" typo in add-nx-to-monorepo(#13014) 2022-11-07 08:49:01 -07:00
Diogo Soares 6ca19fc40e chore(core): nx plugin submission @diogovcs/stryker-mutator (#13022)
Co-authored-by: Diogo Soares (CTW) <Diogo.VD.Soares@ctw.bmwgroup.com>
2022-11-07 08:42:51 -07:00
Thomas Blanchard 4994223d03 fix(nextjs): error in with-nx.ts (#12973) 2022-11-07 10:13:21 -05:00
Craigory Coppola f583689ebd fix(core): suppress access errors during project file scan (#13031) 2022-11-07 15:08:57 +00:00
Victor Savkin 67e032d5cc fix(core): correctly derive the name of the project based on package.json without name 2022-11-07 09:50:12 -05:00
Denis Frenademetz 0391b42e7d fix(react): upgrade loader-utils (#13021)
Fixes critical dependencies warnings in npm audit
2022-11-07 07:48:56 -07:00
Miroslav Jonaš 2b979f22e2 chore(repo): update pnpm/action-setup to latest v2 (#13029) 2022-11-07 13:22:55 +00:00
Alex 7f3b994994 feat(repo): restrict permissions on github actions (#12909)
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-07 14:16:39 +01:00
Miroslav Jonaš e7a59af328 chore(repo): update action/cache to v3 (#13028) 2022-11-07 13:03:05 +00:00
Miroslav Jonaš 383107cf28 fix(core): fix lock file mapping for yarn berry (#13026) 2022-11-07 12:40:02 +00:00
Miroslav Jonaš 2f20807f79 fix(core): improve external node dependency mapping (#12996) 2022-11-07 11:53:26 +01:00
Colum Ferry b188814ad1 docs(angular): fixup the preset to allow apps directory #12958 (#13025) 2022-11-07 10:17:19 +00:00
Katerina Skroumpelou aef708a22e docs(storybook): point to targets doc from compodoc (#13024) 2022-11-07 12:04:28 +02:00
Caleb Ukle 39518e33ba fix(testing): provide better error messages around component test --build-target (#12886) 2022-11-04 15:42:42 -07:00
Benjamin Cabanes 474e137c93 docs(nxdev): add module federation icon (#13002) 2022-11-04 16:17:09 -04:00
Jason Jean 3a63b19d38 fix(core): fix -c alias for configuration (#13001) 2022-11-04 19:44:38 +00:00
Benjamin Cabanes 8ec358f3bd docs(nxdev): add vite logo to package reference (#13000) 2022-11-04 14:31:28 -04:00
Jack Hsu 9cbf9bf0af fix(js): patch migration from @nrwl/node:package to @nrwl/js:tsc to rename srcRootForCompilationRoot option to rootDir (#12999) 2022-11-04 13:48:11 -04:00
Caleb Ukle 5a137d0b3f fix(testing): handle path offsets for angular component testing (#12863) 2022-11-04 11:43:21 -05:00
Philip Fulcher 305f69477d fix(graph): improve performance of showing/hiding directories of projects (#12998) 2022-11-04 15:36:48 +00:00
Jason Jean d6c4547a70 fix(core): move affected positional arguments args back to util (#12994) 2022-11-04 15:13:30 +00:00
Benjamin Cabanes 0a28a254d4 docs(nxdev): change link wording on nx conf (#12997) 2022-11-04 15:10:05 +00:00
Benjamin Cabanes 635e68b078 docs(nxdev): remove nrwl logo from header (#12995) 2022-11-04 15:07:26 +00:00
Colum Ferry 88b67484b2 feat(angular): use share helpers from module federation package (#12991) 2022-11-04 14:25:07 +00:00
adam tombleson dc126ba8e5 docs(storybook): update project param for react:stories (#12804) 2022-11-04 14:22:26 +00:00
Colum Ferry 142fdb4a7b feat(module-federation): allow package to be published (#12993) 2022-11-04 14:01:20 +00:00
Colum Ferry 080543e76d feat(module-federation): expose additional helpers (#12990) 2022-11-04 12:58:10 +00:00
Colum Ferry e08d7848b3 feat(module-federation): add and expose share helpers and types (#12989) 2022-11-04 12:01:22 +00:00
Miroslav Jonaš d27114c317 chore(core): remove leftover perf logs (#12988) 2022-11-04 11:54:56 +01:00
Jason Jean 6c6eff7fa6 fix(core): update yargs to ^17.6.2 (#12978) 2022-11-04 10:49:08 +00:00
Colum Ferry 377e3bd605 feat(module-federation): add module federation package (#12961) 2022-11-04 09:33:46 +00:00
Philip Fulcher ed33d17f8f chore(graph): upgrade to Cypress 10 (#12980) 2022-11-03 20:37:12 +00:00
Benjamin Cabanes 798cc2f5f3 docs(nxdev): extract dynamic loading for lazy component (#12979) 2022-11-03 15:40:20 -04:00
Jason Jean ad91dc0fb0 fix(core): fix migrations for projects with package.json configuration (#12977) 2022-11-03 19:15:41 +00:00
Philip Fulcher e7a95def82 cleanup(graph): fix flaky graph tests (#12976) 2022-11-03 19:01:57 +00:00
Isaac Mann 702350d48a docs(core): update caching and dte guides 2022-11-03 14:39:47 -04:00
Jack Hsu de8871d103 docs(misc): fix whitespaces for EmptyList component (#12974) 2022-11-03 18:00:26 +00:00
Jack Hsu 8edcdac5eb feat(bundling): add initial vite plugin (#12969) 2022-11-03 19:19:29 +02:00
Abhishek Gupta 80813c238b chore(misc): nx plugin submission @mands/nx-playwright (#12458) 2022-11-03 12:04:49 -04:00
Victor Savkin cbda01a4df chore(repo): update to 15.0.2-beta.1 2022-11-03 11:59:15 -04:00
Victor Savkin 3c99ee660b feat(misc): show a hint message on how to upload last logs to cloud 2022-11-03 11:47:47 -04:00
Miroslav Jonaš a146745c4b fix(core): use root version for yarn lock file pruning (#12964) 2022-11-03 12:22:44 +00:00
Miroslav Jonaš e6ff5bcf2b fix(core): workspace-generator errors should be propagated to nx (#12955) 2022-11-02 19:45:24 -04:00
Jason Jean bc28a16649 docs(core): change methodology for ignoring projects (#12956) 2022-11-02 23:43:17 +00:00
Miroslav Jonaš d59bd10d6c fix(linter): do not remap namespace import specifiers as import specifiers (#12954) 2022-11-02 21:39:04 +00:00
Jason Jean 091cd4da20 chore(misc): publish 15.0.7 2022-11-02 17:38:45 -04:00
Jason Jean 87b91a391a chore(repo): update nx to 15.0.7-rc.0 (#12952) 2022-11-02 17:28:20 -04:00
Miroslav Jonaš c3db8e6070 fix(linter): ensure fs operations run on full path (#12953) 2022-11-02 21:08:14 +00:00
Philip Fulcher 4ca743ea54 chore(graph): add routing to graph client (#12475) 2022-11-02 13:45:50 -06:00
Jason Jean 98b6393474 fix(core): add cloud and dte as flags (#12947) 2022-11-02 18:59:58 +00:00
Colum Ferry 4a4a149bce feat(react): add skipPackageJson flag (#12919) 2022-11-02 14:20:56 -04:00
Benjamin Cabanes 81a5db6650 docs(nxdev): remove code fence overrides in main.css (#12949) 2022-11-02 18:15:39 +00:00
Victor Savkin 90387415e6 feat(misc): alias connect-to-nx-cloud to connect 2022-11-02 13:40:12 -04:00
Benjamin Cabanes 51382b3531 docs(nxdev): add loader & style to graph component (#12946) 2022-11-02 17:32:57 +00:00
Caleb Ukle 3f9909a5fe fix(web): add option to override outputPath for file-server (#12941) 2022-11-02 16:49:04 +00:00
Jason Jean 5df5339cb6 fix(core): fix missing options from some nx commands (#12944) 2022-11-02 16:17:36 +00:00
Miroslav Jonaš 7f7538bb04 docs(linter): add example for workspace-rule generator (#12938) 2022-11-02 16:35:52 +01:00
Philip Fulcher b23d8e911b chore(docs): add docs graph component (#12929) 2022-11-02 15:23:08 +00:00
Benjamin Cabanes d103cd9d51 docs(nxdev): optimize theme imports (#12940) 2022-11-02 14:16:31 +00:00
Colum Ferry b2f953868a cleanup(angular): add utilities for shared builder logic (#12924) 2022-11-02 14:04:50 +00:00
Miroslav Jonaš bf45ae52c8 docs(linter): add executor examples (#12906) 2022-11-02 11:51:16 +01:00
Alexander Ciesielski fc6b85d986 feat(graph): toggle visibility of all projects in a folder (#12641)
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-11-01 22:32:17 -06:00
Jason Jean 2d84f2565f chore(misc): publish 15.0.5 2022-11-01 17:16:05 -04:00
Benjamin Cabanes d5692734e7 docs(nxdev): clean up 500 from deprecated component attributes (#12934) 2022-11-01 17:13:02 -04:00
Benjamin Cabanes 234d5e2610 docs(nxdev): rename next-sitemap to next-sitemap.config (#12933) 2022-11-01 16:55:24 -04:00
Kenneth Tan 5577bfbdfb feat(graph): add button to toggle graph rankDir under feature flag (#12646)
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-11-01 20:49:07 +00:00
Benjamin Cabanes 1c0c00eaa0 docs(nxdev): upgrade next-seo package (#12932) 2022-11-01 16:28:20 -04:00
Jack Hsu f345b72ef9 fix(bundling): add missing css-loader dependency to @nrwl/webpack (#12928) 2022-11-01 20:27:59 +00:00
Benjamin Cabanes f4ddb6db93 docs(nxdev): simplify app template (#12931) 2022-11-01 15:56:38 -04:00
Jason Jean 145dda709b feat(core): properly passthrough flags unparsed to executors (#12890) 2022-11-01 15:05:30 -04:00
Benjamin Cabanes 6baf78cce8 docs(nxdev): remove unused custom css (#12927) 2022-11-01 14:00:48 -04:00
Benjamin Cabanes 88abbd0fdd docs(nxdev): remove unused custom tailwindcss theme colours (#12926) 2022-11-01 13:30:39 -04:00
Benjamin Cabanes 3d388d1119 docs(nxdev): remove unused create-nx-workspace component (#12925) 2022-11-01 13:21:26 -04:00
Colum Ferry 983afffb31 cleanup(angular): remove unncessary built lib check (#12921) 2022-11-01 16:10:04 +00:00
Colum Ferry a5d031482f feat(angular): add webpack-server builder with support for custom webpack config (#12917) 2022-11-01 16:07:41 +00:00
Miroslav Jonaš 3c65b02c1b docs(core): fix run-commands example to point to project.json (#12907) 2022-10-31 14:00:44 +00:00
Miroslav Jonaš 0c52e6709d fix(core): target project locator should track only hoisted external deps (#12905) 2022-10-31 14:33:23 +01:00
Bastien Sun 28620cbf04 docs(node): fix minor typo in library creation command example (#12896) 2022-10-31 09:29:59 -04:00
Jack Hsu 58b51964ea feat(bundling): add support only bundling in workspace libs, not npm packages (#12852) 2022-10-31 09:05:47 -04:00
Jason Jean 17993dbd19 docs(misc): fix cli examples documentation (#12891) 2022-10-29 03:28:57 +00:00
Miroslav Jonaš a6d7e220e3 cleanup(linter): remove deprecated lint executor (#12889) 2022-10-28 23:09:35 +00:00
Miroslav Jonaš 175b74f6ba fix(core): support npm lock file v3 (#12887) 2022-10-28 22:55:32 +00:00
Craigory Coppola 35dd6c95bc fix(misc): remove -d as alias in generator schema (#12885) 2022-10-28 21:17:16 +00:00
Jack Hsu 2cddd68595 fix(js): correctly build library with workspace dependencies (#12884) 2022-10-28 19:11:14 +00:00
Zachary DeRose d8dc205a93 docs(misc): Updates and Fixes to Package-Based tutorial (#12882) 2022-10-28 11:27:38 -07:00
Caleb Ukle f3515e4ddc fix(testing): use @swc/jest if being used as transformer (#12614) 2022-10-28 10:46:58 -05:00
Mérill Téterel 48c6024fd5 fix(cra-to-nx): use cross-env to ensure Windows compatibility with CRA build script (#12838) 2022-10-28 11:23:48 -04:00
Youssef Gaber e39cb42c86 fix(nextjs): update peer dependency for Next.js 13 (#12866)
Co-authored-by: Youssef Gaber <youssef@justplan.et>
2022-10-28 11:23:16 -04:00
Miroslav Jonaš 7e47fdcfa1 chore(linter): allow cache override for manual jest runs (#12879) 2022-10-28 15:10:43 +00:00
Benjamin Cabanes 4a5783ac6e docs(nxdev): update algolia dependency (#12864) 2022-10-28 11:09:29 -04:00
Isaac Mann 7e3cafa769 docs(angular): ng add warning (#12881) 2022-10-28 10:59:01 -04:00
Miroslav Jonaš d58774e79e fix(linter): project with empty onlyDependsOn can only depend on tagless project (#12878) 2022-10-28 14:58:17 +00:00
Benjamin Cabanes ea40631999 docs(core): update format docs generation (#12880) 2022-10-28 10:54:05 -04:00
Miroslav Jonaš 758956d13d fix(linter): improve wildcard import parsing to allow full regex (#12877) 2022-10-28 14:00:24 +00:00
Victor Savkin 6448274cf8 fix(core): revert to the faster message parsing logic 2022-10-27 20:31:52 -04:00
Jason Jean 3b9cb7f190 chore(misc): publish 15.0.4 2022-10-27 18:53:48 -04:00
Jake Ginnivan edd1415f87 fix(core): fix graph calculation when there are mixed targets (#11418)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-10-27 18:32:19 -04:00
Caleb Ukle cd4e983e90 fix(testing): update jest batch mode (#12764)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-10-27 18:10:55 -04:00
Caleb Ukle 9096d41f05 fix(testing): cypress 10 migration supports more configuration setups (#12036) 2022-10-27 18:03:46 -04:00
Steven Rathbauer cc55cff272 fix(testing): update tsconfig.cy.json template file for generator (#12849) 2022-10-27 17:31:30 -04:00
Jonathan Cammisuli ee30e96dd9 fix(core): increase daemon timeout (#12861) 2022-10-27 21:14:08 +00:00
Jack Hsu 5f584eaf49 fix(js): only generate shallow dependencies when building with tsc and swc (#12857) 2022-10-27 20:07:55 +00:00
adam tombleson 6e5ebfa9f8 feat(storybook): generate typed import from storybook/react (#12743) 2022-10-27 16:04:50 -04:00
Lukasz Gawrys 594c63b498 fix(core): properly serialize override with object arg for command line (#12499)
Co-authored-by: Lukasz Gawrys <lukaszgawrys@MBP-von-Lukasz.fritz.box>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-10-27 15:28:01 -04:00
Isaac Mann 0f2b89b00e docs(core): clearer update nx guide (#12855) 2022-10-27 13:35:41 -04:00
Rares Matei dee1054b23 docs(nx-cloud): update private cloud release notes (#12854) 2022-10-27 18:22:52 +01:00
Jeff Lage d9a2852e4a fix(core): fix print-affected not filtering on target (#12355)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-10-27 13:01:49 -04:00
Miroslav Jonaš c0e5fb6b60 fix(core): skip transitive deps on package json creation (#12851) 2022-10-27 18:59:00 +02:00
Jack Hsu 9bdc2cabf8 feat(nextjs): update to Next.js 13 (#12848) 2022-10-27 09:22:23 -04:00
Benjamin Cabanes f9d1cdda5b docs(nxdev): optimize svg logos (#12840) 2022-10-26 21:16:54 +00:00
Jason Jean 1d4247c2cf fix(testing): handle trailing commas in 14.0.0 migration (#12837) 2022-10-26 18:28:34 +00:00
Benjamin Cabanes 97d1a0c399 chore(repo): update GitHub pull request template (#12835)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2022-10-26 14:05:36 -04:00
Konstantin Azizov 94edbe9f6c fix(nextjs): specify return type in withNx plugin (#12486) 2022-10-26 14:00:17 -04:00
Benjamin Cabanes 00044f93f4 docs(nxdev): cleanup & optimize svg images (#12833) 2022-10-26 13:13:26 -04:00
Vinícius Hoyer 91e9726442 fix(misc): remove unescaped asterisks on library-types doc (#12759) 2022-10-26 12:13:55 -04:00
Nathan Walker e1e188c84e fix(core): ensure project configuration is saved as standalone when workspace.json isn't present(#12823)
Project configuration should be saved as standalone when addProject is called on an ng cli workspace if worksapce.json isn't present.
2022-10-26 12:10:40 -04:00
nikolaidk 6e97c6c2e5 fix(react): export remoteGenerator (#12563) 2022-10-26 12:08:18 -04:00
Katerina Skroumpelou 73153459b6 chore(repo): remove unused storybook dependencies (#12761) 2022-10-26 12:02:25 -04:00
Dmitrii Kuzmin e584882496 fix(devkit): names fn constantName (#12683) 2022-10-26 12:01:36 -04:00
Colum Ferry d34dff1825 fix(angular): support routes as route array type for ast parsing #12707 (#12829) 2022-10-26 10:46:57 +01:00
Ruben Casas 1992adad38 fix(react): fix minification for prod builds in with-module-federation (#12680) 2022-10-26 10:01:05 +01:00
Jason Jean 26b959fc51 chore(misc): publish 15.0.3 2022-10-25 21:21:21 -04:00
Benjamin Cabanes 2eb8652580 docs(nxdev): fix search input spacing (#12824) 2022-10-25 19:57:57 -04:00
Jason Jean 58f96de5bc fix(misc): improve print-affected perf (#12822) 2022-10-25 23:08:42 +00:00
Benjamin Cabanes 36faa033a7 docs(repo): update links in readme (#12817) 2022-10-25 14:35:15 -04:00
Victor Savkin d2bec05e6c fix(core): correctly dedup projects with different names 2022-10-25 14:33:31 -04:00
Benjamin Cabanes f1eaa97310 docs(nxdev): update custom 404 action (#12814) 2022-10-25 13:47:06 -04:00
Benjamin Cabanes e70ecaefc3 docs(nxdev): create custom event for 404s (#12813) 2022-10-25 13:37:37 -04:00
Benjamin Cabanes e6054fb938 docs(core): cleanup & sort documentation images (#12811) 2022-10-25 13:28:09 -04:00
Victor Savkin 7d732ca59e feat(misc): select the best message to show during migrations 2022-10-25 13:09:05 -04:00
Brion Mario 36783eacf0 docs(linter): fix typo in eslint-plugin doc (#12788) 2022-10-25 13:08:09 -04:00
Benjamin Cabanes 0fe2b4605b docs(core): add new how caching works schema (#12810) 2022-10-25 16:16:27 +00:00
Emily Xiong 386479f7a1 feat(expo): depcrecate expo-cli and use @expo/cli instead (#12799) 2022-10-25 11:37:12 -04:00
Victor Savkin e24632f674 fix(misc): update the version check not to exclude v15 2022-10-25 11:36:25 -04:00
Benjamin Cabanes d5d8b210dd docs(core): fix typo on task graph execution diagram (#12798) 2022-10-24 19:10:42 -04:00
Juri 6c423fa5b7 docs(core): update task graph illustration 2022-10-25 00:50:39 +02:00
Jason Jean 6d95f0d8f6 chore(misc): publish 15.0.2 2022-10-24 18:43:20 -04:00
Benjamin Cabanes 7d2370d56d docs(nxdev): display callout on hidden schemas (#12796) 2022-10-24 16:51:45 -04:00
Benjamin Cabanes 03fbf8e98f docs(nxdev): optimize view model for package view (#12795) 2022-10-24 20:49:37 +00:00
Wataru 9ca75db153 fix(misc): fix broken tutorial link on npm page (#12766) 2022-10-24 16:37:30 -04:00
Benjamin Cabanes e00c23324d docs(nxdev): add internal schema label (#12792) 2022-10-24 16:24:41 -04:00
Benjamin Cabanes b339aab318 chore(js): set init generator to hidden (#12794) 2022-10-24 20:00:49 +00:00
Benjamin Cabanes ea3898fd6b docs(nxdev): add breadcrumbs index key (#12793) 2022-10-24 19:55:07 +00:00
Victor Savkin 2ed5d57461 fix(core): globbing for project.json and package.json does not ignore dist correctly 2022-10-24 15:42:40 -04:00
Victor Savkin b403017ea1 fix(core): inotify error does not propagate correctly 2022-10-24 15:42:40 -04:00
Zachary DeRose 5837715aee fix(expo): fixing broken tutorial link (#12753) 2022-10-24 12:38:09 -04:00
Jonathan Cammisuli 83aec70327 docs(core): fix home page links for console (#12787) 2022-10-24 11:30:40 -04:00
Benjamin Cabanes a9257caf3b docs(nxdev): move mobile search to top bar (#12785) 2022-10-24 14:56:47 +00:00
Zachary DeRose 8fcc2b4a58 feat(nxdev): redirects to send legacy tutorial links to new locations (#12752) 2022-10-24 09:49:37 -04:00
Leosvel Pérez Espinosa f4288e6bc4 cleanup(angular): add @angular-devkit/build-angular:ng-packagr builder migrator (#12682) 2022-10-24 12:13:33 +02:00
Benjamin Cabanes 2f46797535 docs(nxdev): remove nx conf banner (#12763) 2022-10-21 16:45:54 -07:00
Altan Stalker e4c4fe0975 fix(nx-cloud): update nx-cloud openapi reference link (#12762)
Co-authored-by: Altan Stalker <ci@nrwl.io>
2022-10-21 16:22:27 -07:00
Noriyuki Shinpuku 13c465d46b fix(react): fix builder options for storybook plugin (#12276) 2022-10-21 14:53:52 -07:00
Jason Jean ee1d0a6498 chore(misc): publish 15.0.1 2022-10-21 11:33:19 -07:00
Rares Matei 407ccd592e docs(nx-cloud): update private cloud release notes (#12751) 2022-10-21 11:30:12 -07:00
Caleb Ukle 507f890b6b fix(testing): default export ng component-test generator (#12695) 2022-10-21 11:17:42 -07:00
Colum Ferry 657cdbab60 fix(devkit): incorrect conditional to decide if package should be added (#12749) 2022-10-21 18:15:03 +00:00
Leosvel Pérez Espinosa 32635992e1 docs(angular): recommend using the latest version of nx for the latest version of angular (#12731) 2022-10-21 10:27:23 -07:00
Zachary DeRose 67376209dd fix(react): fixes broken links to 01-create-application vs 1-code-generation (#12737) 2022-10-21 10:17:13 -07:00
Caleb Ukle 53c859842d fix(testing): make sure jest-environment-dom is always installed (#12747) 2022-10-21 10:13:35 -07:00
Troy Daniels a011a2e78b docs(nx-cloud): resolves grammar error in get-started.md (#12595) 2022-10-21 11:55:47 -04:00
Caleb Ukle b20c309466 docs(testing): add docs for cypress ct in angular and react packages (#12629)
* docs(react): add cypress component testing example files

* docs(angular): add cypress component test example files
2022-10-19 19:09:35 +00:00
Colum Ferry d6285a5ee2 fix(angular): support serving static remotes using tuple API #12658 (#12691) 2022-10-19 10:53:10 -07:00
Juri 96dd7804dd docs(nx-plugin): link videos on plugin creation doc page 2022-10-19 19:21:49 +02:00
Miroslav Jonaš ccc98e3252 fix(core): bump nrwl/ci to 0.8 (#12704) 2022-10-19 00:59:21 +00:00
Jack Hsu 34c9fa93ed fix(repo): use LTS version of Node not latest (#12703) 2022-10-18 22:53:09 +00:00
Victor Savkin 272abb4f3e fix(core): merge proejcts from globs and workpace.json 2022-10-18 18:45:58 -04:00
Benjamin Cabanes 6520905fc9 chore(core): add map.json jsonschema (#12701) 2022-10-18 15:30:15 -07:00
Benjamin Cabanes e8359d1d0d docs(nxdev): remove unused attribute (#12692) 2022-10-18 14:33:29 -04:00
Jack Hsu 1f6974f0d6 feat(nextjs): add pascal case options for Next.js component generators (#12690) 2022-10-18 18:09:56 +00:00
Caleb Ukle ed05ca3d6e fix(testing): run init generator in cypress-project when cypress is n… (#12552) 2022-10-18 10:09:45 -07:00
Juri 1f1559378f docs(core): add video to local generator doc 2022-10-18 18:19:46 +02:00
Leosvel Pérez Espinosa cd3578fe4d docs(nextjs): fix application and component generators example filenames (#12656) 2022-10-18 09:51:21 +01:00
Juri a28be461f1 docs(nxdev): add link to livestream 2022-10-17 21:50:34 +02:00
Shlomi Levi e7ebab881a fix(angular): rename withNonEnabledBlockingInitialNavigation to withEnabledBlockingInitialNavigation (#12633) 2022-10-17 09:12:15 +01:00
Benjamin Cabanes c227a4fc66 docs(nxdev): add dark theme for side by side (#12648) 2022-10-15 16:05:33 -04:00
Zachary DeRose 7175a6d121 docs(node): fixing diagram svg (#12645) 2022-10-15 15:55:30 -04:00
Benjamin Cabanes e2caba74f4 docs(core): fix schema node tutorial (#12647) 2022-10-15 15:55:14 -04:00
Jack Hsu 204c5cb5d8 docs(nextjs): add examples to generators (#12638) 2022-10-15 12:45:59 +00:00
Jack Hsu 8944223022 fix(js): handle different exports field shapes (#12613) 2022-10-15 08:28:27 -04:00
Miroslav Jonaš f26f2a1d33 fix(repo): change github set output to env vars (#12618) 2022-10-15 12:15:41 +02:00
Philip Fulcher 62e91f37af fix(core): catch rejected promises in convertNxExecutor (#12627) 2022-10-14 17:35:33 -04:00
Jason Jean 628c9c0c36 fix(misc): fix nx list capabilities resolution (#12621) 2022-10-14 17:30:58 -04:00
Jason Jean 0cbec35574 fix(core): fix migration that enables source analysis (#12628) 2022-10-14 21:30:12 +00:00
Miroslav Jonaš c50a9951fb feat(repo): update nx-orb to 1.6.1 (#12624) 2022-10-14 20:50:16 +00:00
Benjamin Cabanes 3abaa7feb9 docs(core): fix markup react tutorial (#12626) 2022-10-14 16:39:08 -04:00
Benjamin Cabanes 230307a313 docs(core): fix markup node tutorial (#12625) 2022-10-14 16:36:08 -04:00
Miroslav Jonaš d0f590d0c0 fix(repo): ensure cypress is installed for the e2e tests (#12615) 2022-10-14 22:35:31 +02:00
Benjamin Cabanes 5fc1ce5ae7 docs(core): update node tutorial schemas (#12623) 2022-10-14 16:33:34 -04:00
Benjamin Cabanes 5dce8c30b2 docs(nxdev): add href for mobile menu sidebar (#12622) 2022-10-14 16:22:38 -04:00
Benjamin Cabanes 3622b7e75e docs(core): update node tutorial schemas (#12620) 2022-10-14 16:14:41 -04:00
Benjamin Cabanes aa1cf86607 docs(core): update node tutorial schemas (#12619) 2022-10-14 16:05:57 -04:00
Miroslav Jonaš 59c4160b23 feat(repo): update nx-orb to 1.6 (#12616) 2022-10-14 19:51:55 +00:00
Miroslav Jonaš 3a306899b0 fix(repo): update github workflows to use v3 actions (#12617) 2022-10-14 21:36:54 +02:00
Victor Savkin 10e626c995 cleanup(misc): clean up learn more links 2022-10-14 14:15:14 -04:00
Benjamin Cabanes 287fef2938 docs(core): update react tutorial schemas (#12611) 2022-10-14 17:37:37 +00:00
Jason Jean 59db3017b8 chore(misc): publish 15.0.0 2022-10-14 13:18:41 -04:00
Jason Jean f0c662f435 chore(devkit): extend devkit peer dependency on nx to v16 (#12610) 2022-10-14 13:15:49 -04:00
Zachary DeRose 1298a0f6db docs(core): node and react tutorial rework (#12498)
* docs(react): update react tutorial text

* docs(react): fixes to computation cache lesson

* docs(react): reworking react tutorial

* docs(react): fixing broken links in tutorial

* docs(react): fixing broken more links in tutorial

* docs(react): fixing last broken link in tutorial

* docs(react): really fixing last broken link in tutorial

* fixing images in preview

* docs(react): cleaning up text and formatting issues

* docs(react): more fixes and cleanup

* docs(react): more fixes

* docs(react): fixing nx console broken links

* docs(react): adjusting ending summary cards

* docs(react): more typo fixes

* docs(react): incorporating victor and isaac's feedback

* docs(react): fixing broken link

* docs(react): a self-round of typo and formatting fixes

* docs(react): another round of formatting fixes

* docs(react): another small change

* docs(react): another typo fix

* docs(react): more typo fixed noticed working with node tutorial

* docs(react): making h1's consistent

* docs(react): fixing tab title for part 1

* docs(react): fixing the title

* docs(react): escaping colon in title

* docs(node): copying react tutorials as starting point

* docs(node): fixing map.json and links to other lessons

* docs(node): updating the copy-pasted react tutorial for the node example

* docs(node): more fixes after self-review

* docs(node): fixing another typo

* docs(node): Making h1's consistent

* docs(node): fixing tab title in step 1

* docs(node): fixing the title

* docs(node): escaping colon in title

* docs(core): nx graph => project graph

* docs(core): fixing titles

* docs(core): further shortening the text

* docs(core): formatting fixes

* docs(core): responding to victor comments

* docs(core): switching to new terminal code blocks

* docs(core): light and dark mode friendly images
2022-10-14 10:12:05 -07:00
Isaac Mann 09283fb37d docs(nxdev): fix run-commands link (#12609) 2022-10-14 12:49:40 -04:00
Benjamin Cabanes 840f462563 chore(core): update nx.dev/cli/* to nx.dev/nx/* links (#12607) 2022-10-14 15:42:05 +00:00
Benjamin Cabanes 53da7b5ffe chore(repo): update tailwindcss, heroicons & syntax highlight deps (#12605) 2022-10-14 11:18:10 -04:00
Benjamin Cabanes b7d5f1c500 chore(core): update url for updating Nx (#12606) 2022-10-14 11:17:28 -04:00
Victor Savkin 26e256ec98 feat(core): add ability not to load dot env files 2022-10-14 10:45:03 -04:00
Benjamin Cabanes 4f68c4967e chore(repo): update markdoc dependency (#12604) 2022-10-14 14:41:39 +00:00
Benjamin Cabanes 377b3e893d chore(repo): update headlessui dependency (#12601) 2022-10-14 14:38:36 +00:00
Benjamin Cabanes a002d1b9ad chore(repo): update monaco-editor dependency (#12603) 2022-10-14 14:25:08 +00:00
Juri f44637e078 docs(core): clear option for local-registry 2022-10-14 15:15:54 +02:00
Chau Tran bee29dd505 docs(js): executors examples (#12565)
Co-authored-by: Chau Tran <chautran@10.0.0.9>
2022-10-14 11:50:55 +00:00
Jason Jean ae3e6b296b feat(misc): use autocomplete prompt for workspace style (#12594) 2022-10-13 21:52:06 -04:00
Jason Jean 3b9dd4794c chore(repo): update lerna to 6.0.0 (#12593) 2022-10-13 21:39:38 -04:00
Jason Jean 0961cb34d8 fix(core): do not run postinstall unless it is the main nx package (#12591) 2022-10-14 00:41:07 +00:00
Jason Jean 773c0cb6c1 fix(core): remove warning for invalid outputs (#12589) 2022-10-13 19:40:13 -04:00
Jason Jean e5570a7997 chore(core): remove @nrwl/workspace/src/utils/app-root (#12590)
BREAKING CHANGES: importing @nrwl/workspace/src/utils/app-root will break. It has been deprecated since v13
2022-10-13 19:38:36 -04:00
Victor Savkin 23de788b5e chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Benjamin Cabanes 1e5297edfc docs(core): use shell code blocks (#12587) 2022-10-13 21:25:40 +00:00
Benjamin Cabanes b23f62f864 docs(nxdev): optimize fence copy button (#12588) 2022-10-13 17:15:57 -04:00
Benjamin Cabanes d2021bea17 docs(core): reformat doc with better code fences (#12585) 2022-10-13 20:26:39 +00:00
Benjamin Cabanes db7951ffac docs(core): reformat doc with better code fences (#12584) 2022-10-13 16:20:04 -04:00
Juri 5198bbf341 feat(nxdev): add path option to terminal frame 2022-10-13 22:04:24 +02:00
Juri 9dafad5b6e docs(core): integrate terminal frame in tutorial 2022-10-13 22:04:24 +02:00
Benjamin Cabanes 3de46d5dd6 docs(core): reformat doc with better code fences (#12581) 2022-10-13 19:31:42 +00:00
Benjamin Cabanes f4d9b3dc2e docs(nxdev): add redirect rule for add-to-monorepo recipe (#12580) 2022-10-13 15:04:02 -04:00
Benjamin Cabanes 332705365b docs(nxdev): add terminal output option on fence (#12579) 2022-10-13 14:43:51 -04:00
Juri 909ffcccbb docs(core): fix angular migration link 2022-10-13 20:43:04 +02:00
Juri ab89351f62 docs(core): adjust broken add to monorepo links 2022-10-13 20:43:04 +02:00
Isaac Mann 41e2c84c7d docs(nxdev): new intro and package-based and integrated style tutorials 2022-10-13 20:43:04 +02:00
Victor Savkin a947e25149 fix(core): set workspaces property when using NPM preset 2022-10-13 14:28:57 -04:00
Craigory Coppola d8f3c6b186 fix(react): migrations use tsquery, so we should provide it (#12575) 2022-10-13 13:37:37 -04:00
Craigory Coppola 2ebc4f421b chore(angular): update snapshots to match expectation (#12577) 2022-10-13 17:16:55 +00:00
Benjamin Cabanes 9666cbbd3b docs(nxdev): add more contrast to light mode for fences (#12574) 2022-10-13 16:17:58 +00:00
Chau Tran 6b6995a81e docs(js): library generator examples (#12568)
Co-authored-by: Chau Tran <chautran@10.0.0.9>
2022-10-13 22:50:19 +07:00
Benjamin Cabanes f6cd4f6b81 docs(nxdev): fix link for ci setup doc (#12573) 2022-10-13 11:01:06 -04:00
Benjamin Cabanes e88f6ac768 docs(nxdev): consolidate document metadata interface (#12561) 2022-10-13 10:16:28 -04:00
Benjamin Cabanes 04d9d9813c docs(nxdev): add proper recipes section (#12557) 2022-10-13 09:18:08 -04:00
Colum Ferry c2fa6ae228 feat(angular): add flat for standalone library #12420 (#12566) 2022-10-13 13:39:39 +01:00
Colum Ferry 09e9110c80 feat(angular): add setup-ssr generator (#12233)
* feat(angular): add setup-ssr generator

* feat(angular): add template literals

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-10-13 13:34:43 +01:00
Juri Strumpflohner 66a4cc4428 feat(js): use shorter dependsOn syntax for project configuration (#12564) 2022-10-13 15:42:56 +07:00
Emily Marigold Klassen 0ff93dd5f1 fix(core): drain stdout before exit in print-affected (#12559)
Piping a large print-affected output to another command, such as cat or jq, resulted in broken json
output as the node process can exit before the output is fully written. The process.stdout stream
needs to wait to drain before process.exit.
2022-10-12 19:34:45 -04:00
Craigory Coppola 8ab7f85ca1 fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Jason Jean bc53592ad6 Revert "feat(node): remove library generator in favor of @nrwl/js:library (#12550)" (#12560)
This reverts commit e74a54d139.
2022-10-12 17:30:11 -04:00
Caleb Ukle 80635dbae2 fix(testing): move to using cy.mount (#12273) 2022-10-12 20:50:41 +00:00
Emily Xiong c2dcfcf127 docs(react-native): add executors examples (#12461) 2022-10-12 15:22:07 -04:00
Juri 6ee37dba99 docs(nxdev): update nx conf schedule 2022-10-12 21:15:07 +02:00
Jason Jean 85111aa5bb chore(misc): update workspace style prompt (#12558) 2022-10-12 15:11:48 -04:00
Emily Xiong 09119e9793 feat(detox): upgrade detox to 19.2.5 (#12327) 2022-10-12 13:31:03 -04:00
Emily Xiong d6997d5a99 feat(expo): upgrade expo to 46.0.13 (#12326) 2022-10-12 13:30:53 -04:00
Zachary DeRose d8e85adfef docs(core): quick fix for card markdown syntax (#12553) 2022-10-12 11:49:18 -04:00
Emily Xiong 20ba188b89 feat(react-native): upgrade metro to 0.72.3 (#12325) 2022-10-12 10:49:37 -04:00
Emily Xiong 0c7c4822e0 bugfix(detox): allow to pass in appName to detox (#12436) 2022-10-12 10:49:10 -04:00
Jack Hsu e74a54d139 feat(node): remove library generator in favor of @nrwl/js:library (#12550) 2022-10-12 14:47:35 +00:00
Jack Hsu 136e1a81fe fix(js): check if asset create/update event contains a file before copying (#12551) 2022-10-12 10:14:16 -04:00
Benjamin Cabanes 225ac9c7a6 docs(core): update core-tutorial link on readme (#12549) 2022-10-12 09:40:20 -04:00
Miroslav Jonaš 7d19df0a15 chore(repo): bump actions/checkout to v3 (#12544) 2022-10-12 12:18:20 +02:00
Mr Mo d4fd7c0fa1 fix(linter): check for all .eslintrc.* files when generating a package (#12515) 2022-10-12 11:20:51 +02:00
Miroslav Jonaš 82d43aff18 chore(repo): bump underscore due to vulnerability (#12537) 2022-10-12 01:31:10 +02:00
Benjamin Cabanes db5ef87cd9 docs(nxdev): update conf information (#12539) 2022-10-11 23:30:10 +00:00
Miroslav Jonaš e72b049804 chore(repo): cache cypress on windows nightly (#12536) 2022-10-12 01:21:37 +02:00
Miroslav Jonaš 707a9ace58 chore(repo): use local folder for nx cache on nightly (#12538) 2022-10-12 01:21:21 +02:00
Miroslav Jonaš f9e57e2694 fix(core): custom generators help should print relevant information (#12258) 2022-10-11 22:48:58 +00:00
Miroslav Jonaš 0907ba27fd feat(core): add support for npm v1 lock file parsing (#12534) 2022-10-11 22:39:58 +00:00
Miroslav Jonaš ad7945365f fix(core): readRawWorkspaceJson should keep workspace cache up to date (#12528) 2022-10-12 00:16:03 +02:00
Jason Jean 834e2db7cb feat(core): prefix outputs and warn on non-prefixed outputs (#12470) 2022-10-11 21:54:25 +00:00
Craigory Coppola 74e898dd16 fix(core): do not fallback to angular cli for ng deploy (#12401) 2022-10-11 17:12:08 -04:00
Benjamin Cabanes ae155beeaa docs(nxdev): fix doc typos (#12533) 2022-10-11 16:55:37 -04:00
Benjamin Cabanes 13289a6deb docs(nxdev): add front matter example in doc (#12532) 2022-10-11 16:52:27 -04:00
Benjamin Cabanes 14bb9dd841 docs(nxdev): add documentation on front matter support (#12531) 2022-10-11 20:48:03 +00:00
Benjamin Cabanes e89bc6bb12 docs(nxdev): optimize doc template (#12530) 2022-10-11 16:37:34 -04:00
Benjamin Cabanes dda488c04a docs(nxdev): make nx conf date more prominent on agenda section (#12527) 2022-10-11 19:21:32 +00:00
Emily Xiong abcae17fc2 chore(react-native): fix sync-deps e2e tests (#12526)
- the npm package has to installed in order to sync in deps
2022-10-11 14:50:45 -04:00
Victor Savkin beb04e243d feat(misc): clean up package-based npm preset 2022-10-11 14:30:28 -04:00
Jason Jean 06ff65a4ec fix(repo): bump node version of macos agents (#12525) 2022-10-11 13:39:16 -04:00
Denis Frenademetz f1a24d7498 fix(js): close typescript watch program on SIGINT/SIGTERM (#11722)
Close typescript watch program and complete iterator to ensure program can exit.
2022-10-11 23:44:52 +07:00
Chau Tran b17893c358 fix(js): inlined buildable libraries original output should not be removed (#12483)
Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-10-11 23:43:56 +07:00
Jack Hsu 49a67a528b cleanup(bundling): perform project cleanup after rollup e2e (#12523) 2022-10-11 11:56:47 -04:00
Victor Savkin 8c393b5660 fix(core): daemon termination should be ok when client does not need anything (#12519) 2022-10-11 11:08:02 -04:00
Craigory Coppola f37c334ea4 fix(core): hide leaky error message from git show command in affected (#12521) 2022-10-11 11:06:45 -04:00
Colum Ferry 66a086413b fix(angular): ng-add migration should set default project (#12513)
* fix(angular): ng-add migration should set default project

* fix(angular): add pr suggestions

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-10-11 15:28:00 +01:00
Katerina Skroumpelou eb8fa46368 docs(storybook): fix page titles (#12520) 2022-10-11 14:04:48 +00:00
Katerina Skroumpelou f8b38c887c docs(storybook): fixed the compodoc recipe link (#12514) 2022-10-11 11:45:10 +00:00
Colum Ferry 194c5bb9dd docs(angular): add lsep docs (#12512) 2022-10-11 10:40:55 +00:00
Colum Ferry 9edf25f491 docs(angular): add convert to with mf docs (#12511) 2022-10-11 10:35:40 +00:00
Colum Ferry c297b5cbad docs(angular): add component cypress specs docs (#12510) 2022-10-11 10:32:11 +00:00
Colum Ferry 142cea8bc3 docs(angular): add module federation dev server docs (#12508) 2022-10-11 10:01:50 +00:00
Colum Ferry 094182858d docs(angular): add file server docs (#12507) 2022-10-11 09:55:07 +00:00
Colum Ferry 514bc226ec docs(angular): add delegate build docs (#12506) 2022-10-11 09:51:38 +00:00
Colum Ferry 80a623ed4a fix(angular): do not use ngcc for new workspaces and projects #12386 (#12504) 2022-10-11 10:29:01 +01:00
Katerina Skroumpelou e048fe7f7a docs(angular): some generator examples (#12505) 2022-10-11 12:25:14 +03:00
Isaac Mann eedbd9d25a docs(nxdev): add nx console to title (#12496) 2022-10-10 12:46:41 -04:00
Colum Ferry c697767b0f docs(angular): add downgrade module docs (#12495) 2022-10-10 15:40:54 +00:00
Colum Ferry 7f9185efa0 docs(angular): add karma project docs (#12493) 2022-10-10 16:36:32 +01:00
Colum Ferry 276fb3aae9 docs(angular): add upgrade module docs (#12494) 2022-10-10 15:35:51 +00:00
Colum Ferry a0242f588c docs(angular): add karma docs (#12492) 2022-10-10 15:21:45 +00:00
Colum Ferry 49b44015a9 docs(angular): add web-worker docs (#12491) 2022-10-10 16:19:10 +01:00
Colum Ferry d50080ba84 docs(angular): add scam-to-standalone docs (#12490) 2022-10-10 16:17:44 +01:00
Colum Ferry 93f64dac8e docs(angular): add setup-mf docs (#12489) 2022-10-10 14:32:04 +01:00
Colum Ferry 27b2ec1815 docs(angular): add setup-tailwind docs (#12488) 2022-10-10 13:24:47 +00:00
Colum Ferry 839f5a7e98 docs(angular): add ng-add docs (#12487) 2022-10-10 13:11:20 +00:00
Colum Ferry 9460d648ef docs(angular): add component examples (#12485) 2022-10-10 10:30:18 +01:00
Juri 65a079cbe1 docs(nxdev): fix nx conf website date headers in lightmode 2022-10-09 20:39:38 +02:00
MaxKless 1fc52349a7 docs(angular): add generator usage examples (#12428) 2022-10-09 14:49:29 +02:00
Philip Fulcher 080a8961d8 chore(graph): add components to support task graph (#12472) 2022-10-08 15:58:32 -06:00
Benjamin Cabanes 621baaa709 docs(nxdev): improve sidebar category links resolution (#12476) 2022-10-08 15:36:33 -04:00
Jason Jean 85a5c89485 fix(core): fix slashes in inputs migrations (#12444) 2022-10-07 17:58:02 -04:00
Jason Jean 678bb83636 feat(core): remove deprecated --only-failed option (#12471)
BREAKING CHANGE: --only-failed has been removed
2022-10-07 17:48:10 -04:00
Colum Ferry bcbe59edba feat(devkit): restrict addDependenciesToPackageJson to update versions only if greater than existing (#11443) 2022-10-07 16:36:19 -04:00
Jøao Henriques aa0be0153e docs(misc): fix typo on local generators docs (#12455) 2022-10-07 16:35:02 -04:00
Philip Fulcher 305fb2e4e0 fix(graph): close tooltips when panning graph (#12468) 2022-10-07 20:26:42 +00:00
Benjamin Cabanes 77f540b50c docs(nxdev): enable link on non collapsible section title (#12469) 2022-10-07 20:04:07 +00:00
Victor Savkin 7fabc850fe feat(misc): make add-nx-to-monorepo interactive 2022-10-07 15:50:46 -04:00
Benjamin Cabanes 35ad7321ef docs(nxdev): use code fences with file name (#12467) 2022-10-07 15:48:32 -04:00
Benjamin Cabanes 45cc225200 chore(graph): update theme colours (#12408) 2022-10-07 13:38:20 -06:00
Benjamin Cabanes 5bd0da5192 docs(nxdev): fix typo in readme (#12466) 2022-10-07 15:35:46 -04:00
Benjamin Cabanes 932550cdae docs(nxdev): add file option to fences (#12464) 2022-10-07 15:30:20 -04:00
Denis Frenademetz c3abe07e68 fix(misc): update axios to 1.0.0 (#12437) 2022-10-07 14:02:18 -04:00
Colum Ferry 32189d59b2 fix(angular): export generators correctly #12434 (#12460) 2022-10-07 14:31:20 +00:00
Katerina Skroumpelou abb2883b9d docs(storybook): set up compodoc for storybook (#12457) 2022-10-07 12:43:56 +00:00
Calvin Lai 469a6d1462 fix(js): add outfile to swc compiler in non-watch mode. fixes #12344 (#12345) 2022-10-07 16:18:01 +07:00
Chau Tran 142ed2eead feat(js): inline non-buildable libs for tsc and swc (#12280)
Co-authored-by: Chau Tran <chautran@10.0.0.10>
2022-10-07 09:46:43 +07:00
Philip Fulcher 7fd1428e91 chore(graph): move svgs over to HeroIcon elements (#12452) 2022-10-06 15:30:09 -06:00
Craigory Coppola 5656fd1968 feat(core): add workspace integrity check for package alignment (#11594) 2022-10-06 21:05:04 +00:00
Benjamin Cabanes e5d0a71771 docs(core): add tab layout for js install section (#12450) 2022-10-06 14:25:52 -04:00
Benjamin Cabanes 279d1222c7 docs(express): add tab layout for express install section (#12449) 2022-10-06 16:53:21 +00:00
Jack Hsu e0f79113dc fix(bundling): fix esbuild build watch (#12448) 2022-10-06 12:50:34 -04:00
Benjamin Cabanes 7ce8c6fa57 docs(eslint): add tab layout for eslint install section (#12447) 2022-10-06 16:17:00 +00:00
Benjamin Cabanes 230f8aea1c docs(detox): add tab layout for detox install section (#12446) 2022-10-06 11:45:39 -04:00
Benjamin Cabanes 7270be0d48 docs(detox): add tab layout for detox install section (#12445) 2022-10-06 15:28:00 +00:00
Benjamin Cabanes c9feb2c2e5 docs(core): update pnpm command line (#12443) 2022-10-06 14:58:57 +00:00
Benjamin Cabanes 8dd1fbf2f8 docs(nxdev): update markdoc dependency (#12441) 2022-10-06 10:19:30 -04:00
Jack Hsu 65a7f4798e feat(express): generate express app with static assets handler (#12442) 2022-10-06 14:16:19 +00:00
Benjamin Cabanes b91c7f63a4 docs(nxdev): add readme for custom markdown syntax (#12440) 2022-10-06 13:46:08 +00:00
Jack Hsu dda9ea1f87 feat(bundling): remove deprecated UMD format support for rollup (#12426) 2022-10-05 22:44:06 -04:00
Miroslav Jonaš 5e293eba4c feat(core): map lock file data to external dependencies (#12185) 2022-10-05 20:58:28 -04:00
Kevin Oliveira 25e2074a7c chore(core): nx plugin submission @koliveira15/nx-sonarqube (#11727) 2022-10-05 20:40:09 -04:00
Sebastian Duque Gutierrez 8912fb1948 feat(nx-plugin): pass env vars to command testing util (#12078)
ISSUES CLOSED: #12076

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-10-05 19:45:55 -04:00
Jason Jean 49c5e5069b feat(core): migrate existing workspaces to use inputs configuration (#12416) 2022-10-05 22:30:03 +00:00
Benjamin Cabanes ce632aa567 chore(graph): enable dark mode for scrollbars (#12430) 2022-10-05 21:19:50 +00:00
Juri 67f2a89197 docs(nx-cloud): update messaging and make the add command more visible 2022-10-05 22:44:18 +02:00
Benjamin Cabanes c08fb52672 docs(core): add new schemas (#12431) 2022-10-05 16:01:10 -04:00
Victor Savkin 871d3ee4f7 chore(repo): update lerna to 5.6.1 2022-10-05 16:00:46 -04:00
Natasha Chernis c5cebb4e32 docs(core): fix package.json code snippet typo (#12329)
\"dependency\" changed to \"dependencies\" to align with package.json requirements

Co-authored-by: Natasha Chernis <nchernis@iland.com>
2022-10-05 15:20:10 -04:00
Phillip Barta 4489324ab7 cleanup(repo): remove jest-circus because it is the default runner since v27 (#12336)
https://jestjs.io/docs/28.x/configuration#testrunner-string
2022-10-05 15:03:57 -04:00
Benjamin Cabanes c26ae9de11 docs(core): add new mental model schemas (#12427) 2022-10-05 15:01:46 -04:00
Jack Hsu d904160426 fix(bundling): do not add types field in package.json for esbuild (#12424) 2022-10-05 16:24:25 +00:00
Benjamin Cabanes e0d336f4ef docs(nxdev): use current theme for monaco editor (#12422)
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2022-10-05 14:43:45 +00:00
Isaac Mann 600b60db5b docs(nxdev): customizing inputs guide (#12348)
* docs(nxdev): customizing inputs guide

* docs(nxdev): add documentation cards

* docs(nxdev): update title

* docs(nxdev): update callout titles
2022-10-05 09:36:40 -04:00
JR Strayhorn 7de50ab407 docs(misc): add missing pipe to guide (#12381) 2022-10-04 21:32:57 -04:00
Jason Jean e13ad111b2 fix(angular): fix import breaking jasmine-marbles migration (#12415) 2022-10-04 22:34:34 +00:00
Benjamin Cabanes 87a54acb5a docs(nxdev): update code fences style (#12411) 2022-10-04 20:28:45 +00:00
Benjamin Cabanes 14e2dcf51d docs(core): remove logo images (#12409) 2022-10-04 19:40:01 +00:00
Benjamin Cabanes 2952419a55 docs(nxdev): update links in plugins tab (#12410) 2022-10-04 19:36:06 +00:00
Craigory Coppola 7ac0dabf4e fix(core): js plugin files should work (#12406) 2022-10-04 17:47:11 +00:00
Benjamin Cabanes 36afaf8e65 docs(nxdev): add title attributed as required for callouts (#12405) 2022-10-04 17:21:00 +00:00
Benjamin Cabanes acc5b65f5f docs(nxdev): add video type on card markdown component (#12404) 2022-10-04 17:07:55 +00:00
Jack Hsu 09e524a01a cleanup(bundling): clean up webpack root exports (#12403) 2022-10-04 12:32:43 -04:00
Victor Savkin d170037dda chore(repo): update to 14.8.3 2022-10-04 12:08:51 -04:00
MaxKless d00fc1d590 docs(angular): add add-linting usage example (#12393) 2022-10-04 10:46:36 -04:00
Victor Savkin 678f786769 fix(core): use node based hasher in git repos with submodules 2022-10-04 10:39:39 -04:00
Victor Savkin f016c81d94 Revert "fix(nx): git-hasher should fetch files from git submodules (#11334)"
This reverts commit 65e5e148db.
2022-10-04 10:39:39 -04:00
Benjamin Cabanes d227f00bd1 docs(nxdev): add install nx console button (#12399) 2022-10-04 10:34:12 -04:00
Benjamin Cabanes 988da6ea73 docs(nxdev): remove unused card list component (#12396) 2022-10-04 13:42:41 +00:00
Jack Hsu f5e35e186b feat(bundling): add skipValidation option when generating rollup/webpack project (#12392) 2022-10-04 13:03:10 +00:00
MaxKless 773682b628 docs(nxdev): add missing link in nxconsole section (#12390) 2022-10-04 07:34:51 -04:00
Jack Hsu 17cef57656 cleanup(nextjs): re-enable storybook e2e test for next.js (#12384) 2022-10-04 00:19:31 -04:00
Jack Hsu 5ae5f8858d fix(nextjs): return correct webpack config for next.js storybook app (#12371) 2022-10-04 02:36:55 +00:00
Benjamin Cabanes 63601d4cf2 chore(repo): update nx to 14.8.1 (#12383) 2022-10-03 22:30:24 -04:00
Victor Savkin 342b1e605b chore(repo): update nx to latest 2022-10-03 20:42:43 -04:00
Benjamin Cabanes 3293f799cd docs(nxdev): add support for dark scrollbar (#12379) 2022-10-03 20:01:42 +00:00
Benjamin Cabanes 4501de6547 docs(nxdev): remove unused algolia css rules (#12378) 2022-10-03 19:16:18 +00:00
Benjamin Cabanes d861f57571 docs(nxdev): optimize imports (#12377) 2022-10-03 19:13:41 +00:00
Benjamin Cabanes fa6b234785 docs(nxdev): add new social banner (#12376) 2022-10-03 14:46:18 -04:00
Benjamin Cabanes 9346d20df3 docs(nxdev): add new social banner (#12374) 2022-10-03 14:25:25 -04:00
Benjamin Cabanes 7d3d25f871 docs(core): update readme banner (#12375) 2022-10-03 14:20:58 -04:00
Benjamin Cabanes cd250bb928 docs(core): update banner image (#12373) 2022-10-03 14:17:16 -04:00
Benjamin Cabanes 09afb89a3d docs(nxdev): add /docs redirect rule (#12372) 2022-10-03 13:55:02 -04:00
Benjamin Cabanes 26e710180b docs(nxdev): refresh ui (#12370) 2022-10-03 16:11:01 +00:00
Victor Savkin 77b57b78e8 feat(misc): a/b different messages during migration to next major 2022-09-30 16:49:20 -04:00
Juri 4678f3a83b docs(nxdev): update speaker bio of zack 2022-09-30 20:44:33 +02:00
Juri 9b9c32f91d docs(nxdev): update conf schedule timing 2022-09-30 18:34:51 +02:00
Phillip Barta d91c7ca4ec fix(linter): remove leftovers after tslint support removal (#12313) 2022-09-30 12:02:05 +01:00
Miroslav Jonaš 2f0d61f2dd fix(core): disable broken git hasher recourse submodules (#12337) 2022-09-30 10:14:24 +00:00
Daniel Harvey 2889372dde fix(core): remove trailing slash in outputs that prevents correct caching (#10708)
Fix by removing trailing slash when performing `cp -a` into cache.

Add test to confirm fix.

Resolves nrwl/nx#10549
2022-09-30 10:47:41 +02:00
Jack Hsu c3e060247c fix(bundling): set NODE_ENV correctly to avoid warnings (#12331) 2022-09-30 02:56:14 +00:00
Jack Hsu a14646a864 fix(bundling): correct main field in package.json when using esbuild (#12328) 2022-09-29 22:11:00 +00:00
Rami Hanano 65e5e148db fix(nx): git-hasher should fetch files from git submodules (#11334)
* fix: git-hasher should fetch files from git submodules

* chore(repo): format

* fix(git-hasher): get untracked files by calling git submodule foreach

* fix(git-hasher): get untracked files in both parent repo and submodules

* chore(git-hasher): format focument

* fix(git-hasher): fix formatting

* fix(core): make git-hasher read all files from parent repo and nested submodules

* fix(core): call git submodule foreach for unstaged files

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-09-29 17:18:30 -04:00
Jack Hsu 20c3951b8d fix(bundling): update error message for esbuild-project generator so it shows correct project name and information (#12323) 2022-09-29 19:55:43 +00:00
Jack Hsu c57f16c281 docs(bundling): add overview page for esbuild (#12321) 2022-09-29 15:40:05 -04:00
Victor Savkin fbe38865c1 cleanup(misc): do not show links to video courses after create-nx-workspace 2022-09-29 15:35:58 -04:00
Victor Savkin 759f7ced86 fix(core): daemon should not shut down due to inactivity when there are open connections 2022-09-29 15:35:58 -04:00
Juri e17db01975 docs(nxdev): update speaker info for nx conf 2022-09-29 18:16:15 +02:00
Wenchen Li ba657da7c5 fix(webpack): regression from #10432 to allow // prefix in remote (#12302) 2022-09-29 16:16:50 +01:00
Phillip Barta a592af1eb3 cleanup(web): reexport WebpackNxBuildCoordinationPlugin from @nrwl/webpack (#12315) 2022-09-29 10:20:22 -04:00
Phillip Barta 776b5a02f3 fix(core): add missing core plugins to list command (#12305) 2022-09-29 10:13:06 -04:00
Phillip Barta 418cbc9bd0 cleanup(repo): remove unused dependency mime (#12254) 2022-09-29 10:12:26 -04:00
Phillip Barta 6a7a7c14a4 fix(core): add missing packages to report command (#12306) 2022-09-29 10:10:36 -04:00
Katerina Skroumpelou 27037cbaed fix(storybook): check root mainjs for builder (#12308) 2022-09-29 09:35:27 +00:00
Colum Ferry 0858bcf08a feat(angular): use provideRouter for standalone apps (#12012) 2022-09-29 10:29:01 +01:00
Colum Ferry 8c8c29cdb5 cleanup(angular): rename webpack-server executor to webpack-dev-server (#11989) 2022-09-29 08:45:22 +00:00
Jason Jean 3c6bff2a0f chore(repo): update lerna to 5.5.4 (#12300) 2022-09-29 00:00:13 +00:00
Jason Jean 9d06b3c084 fix(misc): remove remaining usages of @nrwl/workspace:run-commands executor (#12299) 2022-09-28 19:29:21 -04:00
Jason Jean 5372b4b3ad chore(repo): update nx to 14.8.0 (#12297) 2022-09-28 22:15:27 +00:00
Jason Jean 40c8859ff0 fix(devkit): ensure that getProjects works properly without a nx.json (#12295) 2022-09-28 17:32:06 -04:00
Miroslav Jonaš 14a3d6e364 feat(core): add lock file content hashing to lock file utils (#12296) 2022-09-28 21:08:30 +00:00
Miroslav Jonaš a7631e1171 fix(core): ensure lock file is read from the correct folder (#12294) 2022-09-28 20:17:18 +00:00
Victor Savkin 6775f5ddbc fix(misc): buildable libs should not throw when some npm packages are not defined 2022-09-28 15:49:57 -04:00
MaxKless 13d61f47d9 docs(core): update contributing.md guide on local publishing (#12283)
* docs(core): update contributing.md guide on local publishing

* docs(misc): add note about disabling local registry

Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2022-09-28 18:53:34 +00:00
Miroslav Jonaš 8bf9b56254 cleanup(repo): remove tslint module boundaries rule (#12291) 2022-09-28 20:49:31 +02:00
Miroslav Jonaš 8d588c96c6 chore(repo): improve commit lint script to allow breaking change syntax (#12293) 2022-09-28 18:39:09 +00:00
Jack Hsu f30ed24aaf feat(bundling): add skipValidation option when generating esbuild project (#12290) 2022-09-28 14:35:03 -04:00
Jack Hsu 652f6c8fa8 docs(bundling): add example of using additional esbuild options (#12289) 2022-09-28 17:32:33 +00:00
Jack Hsu 7f76ac502f fix(bundling): add missing assets ignore option to @nrwl/esbuild:esbuild (#12288) 2022-09-28 13:21:07 -04:00
Colum Ferry 6125dc011b fix(angular): broken test (#12286) 2022-09-28 16:35:30 +01:00
Leosvel Pérez Espinosa b3676e8019 cleanup(angular): remove deprecated DataPersistence service and generator option to use it (#12236) 2022-09-28 16:13:43 +01:00
Colum Ferry 09c6ccb266 feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Colum Ferry 56957cc292 cleanup(angular): remove deprecated schema options from app generator (#9821) 2022-09-28 15:55:24 +01:00
Colum Ferry 6d9ec39c75 feat(angular): create routes file pattern (#11930)
add host remote correctly

library routes

fix tests
2022-09-28 15:54:53 +01:00
Colum Ferry 3dc72f0257 fix(angular): switch to using jasmine-marbles for certain symbols (#11896) 2022-09-28 15:54:40 +01:00
Jack Hsu 37bedce8ed fix(core): add missing packages (esbuild, webpack, rollup) to nx-migration field (#12285) 2022-09-28 10:51:05 -04:00
Jason Jean 225b3a24ab chore(misc): publish 14.8.0 2022-09-28 10:47:57 -04:00
Jack Hsu 4b491c86f2 fix(web): update http-server lookup so it works with pnpm (#12269) 2022-09-28 09:37:35 -04:00
Juri Strumpflohner bd73e3137d docs(nxdev): add new Nx conf lightning speaker (#12284) 2022-09-28 09:30:00 -04:00
Victor Savkin 5025c300b7 chore(misc): publish 14.7.18 2022-09-28 09:11:38 -04:00
Victor Savkin 65f7d61285 fix(core): temporary disable outputs watching on inux 2022-09-28 09:07:31 -04:00
Jack Hsu 09cfbf090b feat(react): add stylus as a dependency since stylus-loader requires it (#12266) 2022-09-28 02:07:57 +00:00
Craigory Coppola 9b63ce167a feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00:00
Juri beef424029 docs(nxdev): fix conf schedule issue 2022-09-27 22:25:02 +02:00
Jack Hsu f446c0f266 chore(core): add hints to readModulePackageJson function for non-hoisted modules (#12268) 2022-09-27 16:02:56 -04:00
Jack Hsu 9a57940c6f chore(bundling): cleanup esbuild setup (#12260) 2022-09-27 15:43:02 -04:00
Katerina Skroumpelou 2f7d647f52 docs(storybook): examples for executors and generators (#12267) 2022-09-27 13:03:23 -04:00
Victor Savkin 8ecc0258fb chore(misc): publish 14.7.17 2022-09-27 11:32:40 -04:00
Victor Savkin 093fed8380 fix(core): temporary disable outputs tracking when using wsl 2022-09-27 11:31:13 -04:00
Victor Savkin 1b64e67df1 chore(repo): update the repo to 14.7.16 2022-09-27 11:15:37 -04:00
Victor Savkin 0ba053a877 chore(misc): publish 14.7.16 2022-09-27 10:32:54 -04:00
Victor Savkin e778644323 Revert "chore(js): inline non-buildbale (#12170)"
This reverts commit 24cb3cd574.
2022-09-27 10:29:55 -04:00
Katerina Skroumpelou 5289b5b797 docs(storybook): updated recipe repo links (#12264) 2022-09-27 14:28:18 +00:00
Miroslav Jonaš 70b31a341c chore(repo): run lint and test before e2e for fast failure (#12263) 2022-09-27 16:10:11 +02:00
Victor Savkin b2e1244502 chore(misc): publish 14.7.15 2022-09-27 09:37:59 -04:00
Victor Savkin c3ed287452 chore(misc): publish 14.7.14 2022-09-27 09:34:58 -04:00
Victor Savkin 10aeb28d92 feat(core): rework outputs tracking to create fewer subscriptions 2022-09-27 09:29:05 -04:00
Chau Tran 24cb3cd574 chore(js): inline non-buildbale (#12170)
Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-09-27 11:23:09 +00:00
Colum Ferry 3771b7dd57 fix(angular): update component correctly when remote uses inlineTemplate (#12256) 2022-09-27 11:20:46 +01:00
Colum Ferry 7ea0df8ff5 fix(angular): add error handling for cypress mf to correct file #12118 (#12234) 2022-09-27 10:26:46 +01:00
Colum Ferry 66d1aedf08 fix(angular): fix root selector in index.html for standalone remotes (#12255) 2022-09-27 10:21:29 +01:00
Julien Tanay 2f91d962e8 feat(storybook): add support for basic test-runner configuration (#11101)
Closes #11047
2022-09-27 09:04:28 +00:00
Katerina Skroumpelou 24880aab8c fix(storybook): optional chaining for typename text (#12235)
ISSUES CLOSED: #12155
2022-09-27 08:56:29 +00:00
Katerina Skroumpelou d423df6bbb fix(storybook): dont override native params (#12238)
ISSUES CLOSED: #7531
2022-09-27 08:55:42 +00:00
Katerina Skroumpelou b74201fb53 fix(storybook): set type of Story directly (#12241)
#12125

ISSUES CLOSED: #12125
2022-09-27 08:53:56 +00:00
Jason Jean 5d74e43775 chore(repo): temporarily switch failing e2e tests in pnpm to yarn (#12252) 2022-09-27 05:07:11 +00:00
Jason Jean 44f99adabb fix(misc): add builders key to nx package.json (#12244) 2022-09-26 18:27:15 -04:00
Jack Hsu 50f6cbb11d feat(nextjs): remove dependency on "@nrwl/next" for the production build (#12247) 2022-09-26 12:38:44 -04:00
Victor Savkin 25e53b3c78 chore(repo): update repo to nx 14.7.13 2022-09-26 09:14:01 -04:00
Younes Jaaidi fb0ea29e68 fix(testing): include cypress commands in tsconfig (#12149)
closes #12148
2022-09-26 08:09:09 -05:00
Emily Xiong aceaadd7dd bugfix(react-native): fix pod install hanging when generate a new app (#12217) 2022-09-26 09:07:10 -04:00
Emily Xiong 2436a5d542 feat(react-native): upgrade react-native version to 0.70.1 (#12124) 2022-09-26 09:06:36 -04:00
Emily Xiong 59231c6a09 bugfix(expo): add expo pages to nx-dev-e2e (#12120) 2022-09-26 09:06:02 -04:00
Jason Jean 90604d8506 feat(core): add migration and deprecation warning for @nrwl/workspace:run-commands (#12199) 2022-09-23 18:06:34 -04:00
Jason Jean b210c416dc chore(repo): fix nx g move e2e tests 2022-09-23 14:26:10 -07:00
Jason Jean c8de6f1b6f Revert "Revert "fix(misc): move library without given importPath should default to contain slashes (#11869)""
This reverts commit 33c0f944e0.
2022-09-23 14:26:10 -07:00
Jack Hsu 231429b4d0 docs(bundling): add examples for esbuild executor (#12214) 2022-09-23 16:23:37 -04:00
Isaac Mann 38c86657b7 docs(nxdev): fix core-tutorial (#12216) 2022-09-23 16:15:49 -04:00
Victor Savkin 518caaddae chore(misc): publish 14.7.13 2022-09-23 16:15:34 -04:00
Caleb Ukle db3660a839 docs(testing): add jest example docs (#12210) 2022-09-23 20:09:41 +00:00
Caleb Ukle 09fd9132e6 docs(testing): add cypress example docs (#12209)
* docs(testing): add cypress example docs

* docs(core): sync docs
2022-09-23 14:06:32 -06:00
Jack Hsu 3e67ad70b5 docs(web): fix create-nx-workspace command in example (#12215) 2022-09-23 19:47:30 +00:00
MaxKless e1705910c5 docs(nxdev): add nx console add-dependency docs (#12177) 2022-09-23 15:45:33 -04:00
Victor Savkin af1c9808a0 chore(repo): fix formatting 2022-09-23 15:05:59 -04:00
Victor Savkin 33c0f944e0 Revert "fix(misc): move library without given importPath should default to contain slashes (#11869)"
This reverts commit 9dbcb45cb9.
2022-09-23 14:53:22 -04:00
Victor Savkin 84fb879c00 fix(core): excluding task dependencies breaks task sorting 2022-09-23 14:44:44 -04:00
Jason Jean d57a4d06aa chore(nxdev): update generated documentation (#12212) 2022-09-23 18:22:46 +00:00
Victor Savkin 6b84150120 chore(misc): publish 14.7.12 2022-09-23 13:32:05 -04:00
Caleb Ukle ea335bf2c1 docs(nxdev): remove duplicated example data on generator page (#12211) 2022-09-23 17:29:39 +00:00
Victor Savkin 8d1f284048 feat(core): add the ability to reset the daemon client when getting a project graph 2022-09-23 13:26:32 -04:00
Ruben Casas 24c8124e79 docs(misc): fix typo in module federation example 2022-09-23 18:31:07 +02:00
Benjamin Cabanes bef6e98b1d docs(nxdev): enable scroll restoration (#12205) 2022-09-23 14:58:58 +00:00
Benjamin Cabanes 36e30a2329 docs(core): fix core tutorial 03 part interpolation error (#12206) 2022-09-23 10:51:11 -04:00
Nicholas Griffin 515d87735b docs(nxdev): add a custom 500 page (#11764) 2022-09-23 10:39:16 -04:00
miles 94a2b0b834 fix(webpack): add check if scripts exist or fallback to empty array (#12110) 2022-09-23 16:05:27 +07:00
Ashley Hunter e80c2ee010 feat(nx-plugin): allow skipping the creation of an e2e project (#12129) 2022-09-22 20:11:38 -04:00
David vd Zande 8c2161cd96 docs(misc): fix typo in 03-share-assets.md (#11768) 2022-09-22 19:13:35 -04:00
Richard Roozenboom a088cf0d73 chore(testing): update migration to read all project configuration at once (#12052) 2022-09-22 19:01:57 -04:00
Markus Machatschek b69d68ec88 fix(core): update wording of print affected select input parameter (#11832) 2022-09-22 18:53:45 -04:00
Jordan Emslie 9dbcb45cb9 fix(misc): move library without given importPath should default to contain slashes (#11869)
`nx g mv --projectName lib/child-1 --destionation lib/child-2` would result in the ts-config and import paths of `@<project>/lib-child-2` when it is expected to be `@<project>/lib/child-2`

Closes #9281
2022-09-22 18:44:35 -04:00
alxizr a08b10cb6f docs(misc): fix typo in faster-builds.md (#11902)
remove extra character
2022-09-22 18:31:25 -04:00
Tycho Bokdam cb1947870d chore(misc): nx plugin submission @nx-extend/vercel & @nx-extend/strapi (#11991)
* chore(core): nx plugin submission `@nx-extend/vercel` & `@nx-extend/strapi`

* chore(core): nx plugin submission `@nx-extend/playwright`
2022-09-22 18:17:27 -04:00
Miguel Leite 4e21ca7f82 docs(storybook): update storybook host library config step (#12181)
Using the command previously specified throws a warning: `Cannot find configuration for '–-name:storybook-host' in /workspace.json.`.
2022-09-22 17:55:47 -04:00
Chris Griffing d1ab43603f docs(nxdev): fix spelling mistake in enforce-project-boundaries.md (#12198) 2022-09-22 17:54:25 -04:00
Jack Hsu 07ecf39853 chore(bundling): disable declaration files for now since the paths need to be remapped (#12195) 2022-09-22 15:54:08 -04:00
Jack Hsu 1d89ef0da7 feat(bundling): manually set tsconfig for esbuild rather than auto-detecting it (#12194) 2022-09-22 18:32:22 +00:00
Jack Hsu e6d4ec3835 feat(bundling): improve watch logging for esbuild (#12193) 2022-09-22 18:18:59 +00:00
Jack Hsu 1b06110de1 fix(bundling): support type checking when using esbuidl with --watch (#12192) 2022-09-22 18:01:57 +00:00
Jason Jean e0e58349af chore(misc): publish 14.7.11 2022-09-22 13:10:29 -04:00
Jack Hsu c5392aa951 feat(nextjs): update packages (#12190) 2022-09-22 16:15:56 +00:00
Jason Jean 3bf3a55642 fix(misc): do not exit after running graph (#12189) 2022-09-22 16:14:25 +00:00
Jack Hsu e195546e40 feat(react): update package versions (#12187) 2022-09-22 15:39:32 +00:00
Jason Jean 6cc0cadca1 chore(misc): publish 14.7.10 2022-09-22 11:28:09 -04:00
Jason Jean 1ae30d1d1e fix(core): properly invalidate outputs when output is removed (#12188) 2022-09-22 11:24:50 -04:00
Noriyuki Shinpuku 351bc2e56b fix(nextjs): fix resolving dependencies (#11842) 2022-09-22 11:17:11 -04:00
Jason Gerbes 4dc331c914 feat(react): improve babel preset options (#10940)
Improved the '@nrwl/react/babel' preset to allow for customisation of all options provided by
the
'@nrwl/web/babel' preset.

ISSUES CLOSED: #10939

Co-authored-by: Jason Gerbes <jason.gerbes@vista.co>
2022-09-22 11:16:29 -04:00
Jack Hsu 0baae01e37 fix(js): update library generator for webpack and rollup bundler (#12183) 2022-09-22 14:50:17 +00:00
Chris Pruett 7e316aff54 fix(react-native): fix xcode shell script used for release builds (#12171)
ISSUES CLOSED: #12166
2022-09-22 10:11:23 -04:00
Adam Duro b7f9d9067a fix(expo): add deps to root package (#12107) 2022-09-22 10:09:59 -04:00
Juri Strumpflohner 98c6047068 docs(core): updates to the Nx vs Turbo comparison (#12164) 2022-09-22 09:29:38 -04:00
Jack Hsu 9d0d6d0402 fix(bundling): set correct rootDir compiler option for type checker (#12182) 2022-09-22 13:25:23 +00:00
Victor Savkin 2890289f7b chore(misc): publish 14.7.9 2022-09-22 08:57:42 -04:00
Victor Savkin 8fdf8c5669 fix(core): do not throw when cannot parse root tsconfig 2022-09-21 21:49:22 -04:00
Victor Savkin f94a18e57c fix(core): revert logic of run-executor handling streaming 2022-09-21 21:37:03 -04:00
Victor Savkin 0d18397ad1 fix(repo): fix a failing e2e test 2022-09-21 21:25:59 -04:00
Peter Colapietro 29e777fe39 chore(typo): workspacRoot => workspaceRoot 2022-09-21 21:07:24 -04:00
Victor Savkin 9a84281f43 fix(core): do not use named inputs to cache fileset hashes 2022-09-21 16:18:55 -04:00
Austin Fahsl a66a549e4b fix(core): prevent duplicate prefixes when using outputStyle stream 2022-09-21 16:07:32 -04:00
Katerina Skroumpelou 742686a051 docs(storybook): best practices guide and recipe (#12071)
* docs(storybook): best practices guide and recipe

* docs(storybook): rearrange structure
2022-09-21 13:53:50 -04:00
Jack Hsu d05cc86ac7 fix(bundling): provide correct defaults scripts/styles options (#12157) 2022-09-21 17:16:52 +00:00
Leosvel Pérez Espinosa 46c2d57664 cleanup(angular): remove deprecated syntax option from ngrx generator (#12153) 2022-09-21 16:37:11 +01:00
Miroslav Jonaš bd7a2664b3 feat(core): add yarn lock file pruning (#12105) 2022-09-21 15:35:59 +00:00
Jack Hsu 2d84bd3eb4 chore(bundling): clean up package.json update function (#12152) 2022-09-21 10:53:14 -04:00
Juri 1485b84e15 docs(nxdev): add lightning talk speakers 2022-09-21 15:08:03 +02:00
Leosvel Pérez Espinosa 8fc862d80b chore(repo): remove unused angular-related dependencies (#12044) 2022-09-21 13:18:17 +01:00
Jack Hsu 75115e100a fix(js): support both .cjs and .js file extensions when generating package.json file (#12137) 2022-09-21 00:49:46 +00:00
Benjamin Cabanes 406defc6ac docs(nxdev): add nx conf speakers (#12136) 2022-09-20 22:26:03 +00:00
Jack Hsu 84a21e904e fix(bundling): skip web-specific configuration when bundling for node (#12130) 2022-09-20 20:04:35 +00:00
Jack Hsu f1308823c2 chore(misc): update esbuild description (#12133) 2022-09-20 19:21:10 +00:00
Miroslav Jonaš 074ac5ec22 feat(core): add package manager parsers and stringifiers (#11953) 2022-09-20 18:47:27 +00:00
Jack Hsu 6c0a838a59 fix(js): install bundler nx plugin when needed (#12131) 2022-09-20 18:39:07 +00:00
Phillip Barta 8eb20c4f37 chore(repo): update dependency jsonc-parser to v3.2.0 (#11817) 2022-09-20 19:22:56 +02:00
Miroslav Jonaš 1b118400e3 chore(repo): start and cleanup daemon after every e2e test (#11981) 2022-09-20 19:21:53 +02:00
Victor Savkin 2c1d70ff31 chore(misc): publish 14.7.8 2022-09-20 12:56:26 -04:00
Victor Savkin 6eb4e1f687 fix(repo): make esbuild package as non private 2022-09-20 12:55:44 -04:00
Victor Savkin 8e0271f73a chore(misc): publish 14.7.7 2022-09-20 12:53:32 -04:00
Victor Savkin 3ab1eb85ba fix(core): do not use nx daemon during workspace creation 2022-09-20 12:51:07 -04:00
Craigory Coppola 9313af0493 chore(angular): hide warnings from angular schematics in jest execution (#12122) 2022-09-20 16:12:23 +00:00
Jack Hsu ed7db7c114 feat(bundling): add esbuild plugin (#12053) 2022-09-20 12:05:58 -04:00
Victor Savkin 38e4a8e7d0 fix(core): reenable output watching 2022-09-20 11:27:13 -04:00
Benjamin Cabanes d390044dc8 docs(nx-cloud): update no-helm repository link (#12121) 2022-09-20 14:53:49 +00:00
Konstantin Azizov fc73d036ec fix(testing): improve return type of getJestProjects (#12040) 2022-09-20 13:49:54 +00:00
Artur Androsovych d526efb7b2 fix(linter): consider the default public API filename when checking for secondary entrypoints (#11811) 2022-09-20 14:45:29 +02:00
Philip Fulcher 4e5656c550 chore(graph): change ports for serving graph configs (#12087) 2022-09-19 13:58:41 -06:00
Miroslav Jonaš 5bd30cc1e9 fix(node): add cleanup on e2e tests (#12096) 2022-09-19 19:57:23 +00:00
Miroslav Jonaš 12c27d3621 fix(misc): ensure cleanup is run on a proper cwd in e2e (#12101) 2022-09-19 19:51:25 +00:00
Miroslav Jonaš dd6f38e692 fix(linter): add cleanup on e2e tests (#12099) 2022-09-19 19:24:42 +00:00
Miroslav Jonaš 96be1f55fe fix(testing): add cleanup on cypress e2e tests (#12089) 2022-09-19 19:22:07 +00:00
Miroslav Jonaš f84f2819f6 docs(misc): add missing scopes to CONTRIBUTING.md (#12100) 2022-09-19 19:21:37 +00:00
Miroslav Jonaš bcbf76b8b8 fix(web): add cleanup on e2e tests (#12098) 2022-09-19 19:19:35 +00:00
Miroslav Jonaš 1aebdd6d7d fix(nx-plugin): add cleanup on e2e tests (#12097) 2022-09-19 19:17:30 +00:00
Miroslav Jonaš 88be1d0033 fix(js): add cleanup on e2e tests (#12094) 2022-09-19 21:16:00 +02:00
Miroslav Jonaš 9b2a43915d fix(react): add cleanup on e2e tests (#12091) 2022-09-19 19:15:50 +00:00
Benjamin Cabanes da0cc4792f docs(nxdev): update internal reference links (#12083) 2022-09-19 19:15:19 +00:00
Miroslav Jonaš 635b2a61a7 fix(core): add cleanup on e2e tests (#12093) 2022-09-19 19:13:17 +00:00
Miroslav Jonaš 27d654a08d fix(storybook): add cleanup on e2e tests (#12095) 2022-09-19 19:07:32 +00:00
Miroslav Jonaš d18d7e935f fix(detox): add cleanup on e2e tests (#12092) 2022-09-19 19:02:42 +00:00
MaxKless 249f54834f docs(nx-plugin): add references to zack's plugin video (#12090) 2022-09-19 15:01:22 -04:00
Benjamin Cabanes 7df20f4490 docs(nxdev): convert callout html markup to use spans (#12088) 2022-09-19 18:55:08 +00:00
Benjamin Cabanes 32f6d3a056 docs(nxdev): show package description as fallback (#12081) 2022-09-19 17:50:05 +00:00
Benjamin Cabanes e34218b108 docs(nxdev): add expo package icon (#12086) 2022-09-19 17:45:42 +00:00
Benjamin Cabanes 515b33eb2a docs(nxdev): make sure category/index returns null if nothing is found (#12085) 2022-09-19 17:34:50 +00:00
MaxKless 9312dff014 docs(misc): add or modify various package descriptions (#12084) 2022-09-19 13:32:14 -04:00
Benjamin Cabanes 12b09003ac docs(core): update internal link path reference (#12080) 2022-09-19 16:30:32 +00:00
Benjamin Cabanes 13513dc993 docs(nxdev): improve segments & documents resolution (#12079) 2022-09-19 16:24:54 +00:00
MaxKless 05e2f62ee3 cleanup(nxdev): remove duplicate descriptions in community.tsx (#12016) 2022-09-19 11:55:52 -04:00
Benjamin Cabanes b83797e58e docs(nxdev): improve segments & documents resolution (#12075) 2022-09-19 15:28:41 +00:00
Jack Hsu ce5393776c chore(misc): update graph-client build-base target to @nrwl/webpack:webpack (#12073) 2022-09-19 15:20:10 +00:00
Victor Savkin af92e4ca6c chore(misc): publish 14.7.6 2022-09-19 10:39:10 -04:00
Victor Savkin 8e8b1759a2 fix(core): temp workaround to deal with daemon start during workspace creation 2022-09-19 10:38:01 -04:00
Jack Hsu d9afcac629 fix(bundling): default outputFileName to "main.js" when called from "@nrwl/web:webpack" (#12072) 2022-09-19 10:26:08 -04:00
Isaac Mann 807430d16f docs(nxdev): executor examples (#12049) 2022-09-19 09:49:07 -04:00
Victor Savkin 6e6925f8e4 chore(repo): update to nx 14.7.6-beta.6 2022-09-17 15:59:06 -04:00
Victor Savkin 08e7588d15 fix(core): split chunk correctly when they contain multiple messages 2022-09-17 15:25:50 -04:00
MaxKless fd670d298b docs(misc): update package descriptions to be more consistent (#12039) 2022-09-16 17:03:33 -04:00
Isaac Mann 5cab39b9aa docs(nxdev): deprecated section (#12054) 2022-09-16 16:54:59 -04:00
Emily Xiong a411e85e42 Feature/move expo (#11712)
* feat(expo): move expo to main repo

* feat(expo): add e2e expo tests and fix expo unit tests

* feat(expo): add generated docs

* feat(expo): update cz-config to add expo to commit message

* feat(expo): add @nrwl/expo to e2e test setup

* feat(expo): add expo to preset

* feat(expo): add detox tests

* feat(expo): update docs

* feat(expo): fix e2e tests

* feat(expo): upgrade expo to 46.0.10

* fix(expo): correct eas-cli build:info parameters names

* fix(expo): add cleanupProject to e2e test
2022-09-16 11:56:28 -04:00
Caleb Ukle d90bdaec5f docs(testing): clean up cypress usage in docs (#12047)
* docs(testing): update tutorials to account for new cypress UI

fixes: #11886

* docs(testing): update --prod usage for cypress overview

fixes: #11878
2022-09-16 10:12:04 -05:00
MaxKless aad6d43cb4 docs(core): update outdated info in 'contributing.md' (#12038)
Signed-off-by: Max Kless <maxk@nrwl.io>

Signed-off-by: Max Kless <maxk@nrwl.io>
2022-09-16 08:22:06 -04:00
Leosvel Pérez Espinosa e2bfaa68f7 fix(angular): add $schema property to generated project configs (#12031) 2022-09-16 10:11:46 +01:00
Isaac Mann 1c0bebf194 docs(nxdev): automatic related docs (#11994)
* feat(nxdev): automatic related docs

* docs(nxdev): use auto related docs
2022-09-15 19:56:15 +00:00
Jack Hsu dd6addefc3 feat(bundling): move rollup to its own plugin (#12009) 2022-09-15 14:55:06 -04:00
Philip Fulcher fb25fdada5 chore(graph): add storybook to graph-client (#11870) 2022-09-15 12:54:15 -06:00
Benjamin Cabanes 40fa765282 docs(nxdev): add auto-generated category/index page with custom content if needed (#12017) 2022-09-15 12:10:04 -04:00
Ashley Hunter 730d3235b4 feat(angular): add types to the generated tailwind configuration (#12018) 2022-09-15 14:34:46 +01:00
Victor Savkin 94f2fe0b32 chore(repo): switch back to using staging.nx.app 2022-09-14 17:02:51 -04:00
Emily Xiong 306d8a4cec feat(react-native): upgrade react native to 0.70.0 (#11971)
* chore(react-native): add test for build library react native

* feat(react-native): upgrade react native to 0.70.0
2022-09-14 14:02:45 -04:00
Emily Xiong dba76f55f8 chore(react-native): add test for build library react native (#12007) 2022-09-14 14:02:17 -04:00
Caleb Ukle 73fd49aab3 fix(testing): use webpack defined in executor options for react ct (#12005)
* fix(testing): resolve custom webpacks for react ct

* chore(testing): add more complex react ct e2e tests

* chore(testing): lower ct test timeout to prevent CI stalling when error
2022-09-14 10:58:01 -05:00
Caleb Ukle d535cf3d43 fix(testing): use cypress generated tsconfig for angular ct (#12014) 2022-09-14 15:32:38 +00:00
Katerina Skroumpelou 7ae08c3eb7 docs(nxdev): added redirect rule for remove storybook page (#12010) 2022-09-14 07:50:54 +00:00
Victor Savkin e79e4835e7 chore(repo): update version of nx 2022-09-13 16:36:24 -04:00
Victor Savkin a3e480b6d7 fix(core): rework the daemon process communication to use a queue and a long running connection 2022-09-13 16:34:41 -04:00
Isaac Mann aaad9a4cf4 docs(nxdev): link to packages in sidebar (#12002) 2022-09-13 15:28:03 -04:00
Benjamin Cabanes 7382bf8a54 docs(nxdev): redirect executors and generators to current package (#12000) 2022-09-13 18:32:37 +00:00
Benjamin Cabanes 3c22594677 docs(nxdev): rename plugins section into community & reference into packages (#11999) 2022-09-13 16:04:12 +00:00
Benjamin Cabanes d52eaf886c docs(core): add description property on packages.json (#11998) 2022-09-13 16:02:40 +00:00
Caleb Ukle 1a9df531b6 fix(testing): normalize paths for component-testing (#11963)
* fix(testing): normalize paths before accessing the project graph

* fix(testing): return object with offset input instead of string

* fix(testing): update schemas to provide better prompts
2022-09-13 14:17:49 +00:00
Katerina Skroumpelou 5bc9a6f5eb docs(nxdev): added unique key in list item (#11997) 2022-09-13 13:41:13 +00:00
Katerina Skroumpelou 23421a164e docs(storybook): cleanup Storybook documentation (#11993) 2022-09-13 13:06:30 +00:00
Jack Hsu ee8ba2de57 feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Colum Ferry e5d9f9ff59 feat(angular): support inferring project from cwd in terminal for generating components (#11980) 2022-09-13 10:37:16 +01:00
Miroslav Jonaš ace2325f24 feat(core): update nrwl/ci version to 0.7 (#11925) 2022-09-13 08:53:05 +00:00
Miroslav Jonaš 40da70238d fix(linter): handle missing task graph in hasher on print-affected (#11974) 2022-09-13 08:49:27 +00:00
Jack Hsu 5c00b75dca chore(misc): update webpack migration to target 14.7.6 (#11987) 2022-09-12 23:49:32 -04:00
Jack Hsu ec9b9e7f8e chore(misc): update todo comment (#11985) 2022-09-13 00:52:06 +00:00
Xie Jay b3e69e2591 feat(js): add rootDir option (#11678)
close #11601, close #9410, close #10707

Co-authored-by: xiejay97 <xiejay97gmail.com>
2022-09-13 00:13:58 +00:00
Juri b9cb135149 docs(core): add link to how the daemon determines whether the process is running on CI 2022-09-12 23:26:17 +02:00
Jack Hsu f49769a34a feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Victor Savkin a914f78701 chore(repo): fix e2e tests 2022-09-12 13:47:49 -04:00
Victor Savkin 42479565e9 chore(misc): publish 14.7.5 2022-09-12 13:36:58 -04:00
Victor Savkin d8dc1d5911 chore(repo): test change 2022-09-12 13:36:25 -04:00
Victor Savkin 9364a409ed fix(core): temporary make the daemon output optimization opt in 2022-09-12 13:22:37 -04:00
Juri 7143b08852 docs(angular): add migration note to Angular docs entry page 2022-09-12 16:01:38 +02:00
Chau Tran 2508cb04a6 Revert "feat(js): add srcRootForCompilationRoot option to tsc executor (#10707)" (#11977)
This reverts commit aa01b7bd2d.

Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-09-12 13:31:45 +00:00
Isaac Mann 828632c8e4 docs(nxdev): cleanup define env vars (#11978) 2022-09-12 13:26:12 +00:00
Nozomu Miyamoto aa01b7bd2d feat(js): add srcRootForCompilationRoot option to tsc executor (#10707)
* feat(js): add `srcRootForCompilationRoot` option to tsc executor

ISSUES CLOSED: #9410

* docs(js): add description for `srcRootForCompilationRoot` option
2022-09-12 20:14:23 +07:00
Colum Ferry d782a694f4 feat(core): support ts 4.8 (#11845) 2022-09-12 13:47:31 +01:00
Miroslav Jonaš 3a78d3b0ee fix(repo): ensure husky checks are respected on commit (#11973) 2022-09-12 08:58:49 +00:00
Victor Savkin 8a809c0164 chore(misc): publish 14.7.4 2022-09-11 21:50:24 -04:00
Caleb Ukle ff0126c3ba fix(testing): change @nrwl/workspace import to deep import (#11961) 2022-09-09 22:06:36 +00:00
Victor Savkin ab51be42b8 chore(misc): publish 14.7.3 2022-09-09 15:22:05 -04:00
Victor Savkin 0663385c92 feat(core): add more logging when socket communication fails 2022-09-09 15:18:23 -04:00
Victor Savkin 886cc037f2 chore(misc): publish 14.7.2 2022-09-09 14:33:01 -04:00
Victor Savkin 6849b9066f fix(core): DAEMON_DIR_FOR_CURRENT_WORKSPACE isnt defined in case of error 2022-09-09 14:31:34 -04:00
Isaac Mann bdfd7bef84 docs(nxdev): target env files (#11960) 2022-09-09 13:50:15 -04:00
Victor Savkin bba29d330c chore(misc): publish 14.7.1 2022-09-09 13:46:56 -04:00
Victor Savkin 0f8aac0b9f fix(core): nx daemon doesnt get disable correctly 2022-09-09 13:45:27 -04:00
Isaac Mann ecec02218c docs(nxdev): integrated vs package-based (#11957) 2022-09-09 12:44:29 -04:00
Victor Savkin 412658cc3d chore(misc): publish 14.7.0 2022-09-09 10:52:54 -04:00
Caleb Ukle 6d0c6a83d4 fix(testing): move cypress tsconfig to cypress folder 2022-09-09 10:37:48 -04:00
Caleb Ukle 7b52c0da5f fix(testing): add component-test named inputs 2022-09-09 10:37:48 -04:00
Isaac Mann 072296fc70 docs(nxdev): graph links from package.json (#11944)
* docs(nxdev): graph links from package.json

* docs(nxdev): analyze source files recipe
2022-09-09 14:19:45 +00:00
Jack Hsu e193d0fb71 chore(repo): sort scopes alphabetically (#11950) 2022-09-09 13:08:54 +00:00
Jack Hsu 39af3b6f60 chore(repo): add missing Nx plugins to workspace (js, cypress, linter) (#11949) 2022-09-09 13:02:59 +00:00
Leosvel Pérez Espinosa c6520a1496 fix(angular): emit typescript declaration diagnostics in ng-packagr executors (#11927) 2022-09-09 11:30:28 +01:00
Leosvel Pérez Espinosa 308effab15 cleanup(core): remove custom logger for tslint executor (#11931) 2022-09-09 10:52:45 +01:00
Leosvel Pérez Espinosa 41af7c7400 feat(angular): share by default some relevant angular packages when using withModuleFederation (#11849) 2022-09-09 10:34:09 +01:00
Katerina Skroumpelou a428d240cf docs(storybook): add more details on the Storybook overview (#11945) 2022-09-09 08:23:57 +00:00
Jason Jean 8a35f182b1 fix(testing): do not add cypress inputs if namedInputs is not defined (#11943) 2022-09-09 02:01:21 +00:00
Jack Hsu 629dbe9f79 docs(misc): fix scrolling on reference page (#11940) 2022-09-08 21:10:59 -04:00
Jason Jean 31b1b003b4 fix(storybook): do not add target defaults and named inputs if they are not defined (#11941) 2022-09-08 23:28:49 +00:00
Jason Jean b5829648dc fix(repo): remove more things from production fileset and added babel config (#11942) 2022-09-08 19:23:16 -04:00
Victor Savkin db74bc7674 feat(core): create the daemon socket file in the tmp dir instead of node modules 2022-09-08 18:37:32 -04:00
Jason Jean caec117288 fix(core): add back target defaults for all new workspaces (#11936) 2022-09-08 17:59:01 -04:00
Katerina Skroumpelou ae58c1d54d feat(storybook): generate storybook with more framework options (#11914) 2022-09-08 16:38:16 +00:00
Katerina Skroumpelou c5c23694d6 docs(nxdev): url hash filter for packages (#11934)
Co-authored by: Jack Hsu <jack.hsu@gmail.com>
2022-09-08 11:53:17 -04:00
Victor Savkin 0d9dbae789 feat(core): use daemon to watch outputs to enable cache restoration optimization 2022-09-08 10:58:50 -04:00
Miroslav Jonaš 583bf684f8 docs(nxdev): update the version of nx-set-shas to v3 (#11924) 2022-09-08 05:04:57 -06:00
Colum Ferry 4aa72822cd fix(angular): warning logged when generating MF app with no e2e (#11911) 2022-09-08 09:44:31 +01:00
Colum Ferry 81b5eebfa7 feat(angular): allow component options to be passed to standalone library #11702 (#11890) 2022-09-08 09:37:26 +01:00
Jason Jean 292f0c14b1 feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Victor Savkin c334277a93 docs(nx-cloud): rewrite dte docs 2022-09-07 20:34:38 -04:00
Terry Yao 350f71d6ed fix(core): fix process.send will crash the nx runner without check if it is undefined (#11904)
* fix process crashed due to process.send is undefined

* fix(core): fix process.send will crash the nx runner without check if it is undefined

Closes 11903
2022-09-07 18:01:16 -04:00
Jonathan Cammisuli c2079589b5 docs(misc): readd neovim plugin information (#11921) 2022-09-07 21:53:17 +00:00
Jack Hsu 0a0ccd1305 docs(misc): link to customize webpack recipe from the migration guide (#11916) 2022-09-07 16:37:42 +00:00
Jack Hsu 44a4f3ccac docs(misc): update customize webpack guide for next.js apps (#11917) 2022-09-07 12:25:32 -04:00
Jack Hsu 71b95c0290 docs(misc): fix links on community page (#11915) 2022-09-07 11:16:46 -04:00
Caleb Ukle a0904a601b feat(testing): support angular cypress component testing (#11790)
* feat(testing): ng cypress component testing

closes: #11602

* chore(testing): move story utils into common util area

* feat(testing): add options for ng component testing

* docs(testing): add more info for component testing

* chore(testing): address PR feedback

* chore(testing): remove logs
2022-09-07 13:32:19 +00:00
Jack Hsu 84c2330311 chore(nextjs): add a e2e test for next.js without nx config entry (#11913) 2022-09-07 09:12:35 -04:00
Jack Hsu 2c407791be docs(misc): fix typo in project config doc (#11912) 2022-09-07 08:43:22 -04:00
Colum Ferry 2910d4b55a docs(angular): add 14.2.0 to matrix (#11907) 2022-09-07 10:51:50 +01:00
Jason Jean abd7dc12fd chore(misc): publish 14.6.5 2022-09-06 17:46:24 -04:00
Jason Jean c64dbdec24 fix(next): fix withNx with nx property doesn't exist (#11900) 2022-09-06 21:33:15 +00:00
Victor Savkin f9ef42e8c2 cleanup(misc): update to cloud message 2022-09-06 15:31:01 -04:00
Juri 94ed7ce9b2 docs(angular): add videos for Angular migration scenarios 2022-09-06 21:17:36 +02:00
MaxKless 0a3207bef6 docs(nxdev): fix image links in console-project-pane.md (#11897) 2022-09-06 11:36:18 -04:00
Isaac Mann f5225af099 docs(nxdev): fix package links (#11894) 2022-09-06 14:55:57 +00:00
Victor Savkin a75e8f9bcf chore(repo): temporary connect to api.nrwl.io instead of staging.nx.app 2022-09-03 20:31:38 -04:00
Jason Jean 959e7195b2 chore(misc): publish 14.6.4 2022-09-02 18:40:11 -04:00
Jason Jean 830b55a643 fix(core): gracefully handle errors when unable to find custom hasher (#11854) 2022-09-02 21:30:22 +00:00
Jason Jean 8db5f1ac07 fix(misc): print new workspace directory and fix issues when creating workspaces with non-normalized name (#11853) 2022-09-02 21:28:56 +00:00
Benjamin Cabanes 362590491a docs(nxdev): upgrade algolia dependency (#11855) 2022-09-02 16:36:44 -04:00
Benjamin Cabanes 914ebd0d9f docs(nxdev): remove unused nxconf assets (#11852) 2022-09-02 18:41:11 +00:00
Benjamin Cabanes 563d5c965e docs(core): add free course playlist on youtube (#11851) 2022-09-02 18:19:31 +00:00
Benjamin Cabanes 68b03c5345 docs(nxdev): add redirections for diataxis restructure (#11850) 2022-09-02 17:42:25 +00:00
Colum Ferry 458e89b159 fix(angular): host tests were failing due to no navigation (#11825) 2022-09-02 15:15:08 +01:00
Jack Hsu 525350f844 fix(nextjs): use SWC compiler for next.js libraries (#11848) 2022-09-02 14:10:33 +00:00
Jack Hsu cd3352aaa2 fix(js): remove check for non-buildable libs being used when packaging. (#11835)
- unblocks custom server in next.js
- builds are guaranteed to happen if nx.json is configured correctly
- if a package isn't buildable it will be included in the package in the
  near-future
2022-09-01 18:07:24 -04:00
Benjamin Cabanes 46be7fc67b docs(nxdev): apply custom css for nxcloud iframes (#11838) 2022-09-01 20:47:33 +00:00
Benjamin Cabanes a23fcb9020 docs(core): add new nx cloud iframe sources (#11837) 2022-09-01 20:25:46 +00:00
Victor Savkin 45f9bb5469 chore(misc): publish 14.6.3 2022-09-01 16:19:04 -04:00
Victor Savkin f89b68b796 feat(misc): a/b test different prompt messages 2022-09-01 16:05:29 -04:00
Jack Hsu 9b26bc1585 fix(nextjs): SVGR plugin should not be used if nx: { svgr: false } is set in next.config.js (#11829) 2022-09-01 15:55:24 +00:00
Victor Savkin 278bb5165f chore(misc): publish 14.6.2 2022-09-01 10:35:35 -04:00
Benjamin Cabanes feeb1f7a16 docs(nxdev): update home page links (#11830) 2022-09-01 14:33:36 +00:00
Victor Savkin 9b5f25af9c fix(core): do a recursive check to see if files should be restored 2022-09-01 10:20:33 -04:00
Colum Ferry f51c1becf7 fix(angular): remove double normalize of project name #11819 (#11822) 2022-09-01 12:24:50 +01:00
Colum Ferry 62d2d82a7a fix(angular): collect secondary folders correctly for tailwind #11747 (#11805) 2022-09-01 10:05:28 +00:00
Colum Ferry a2647549d4 fix(storybook): support secondary entry points for angular #11446 (#11798) 2022-09-01 09:23:17 +00:00
Philip Fulcher 6c3ef9d417 chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00
Jason Jean 3be16a88a5 chore(misc): publish 14.6.1 2022-08-31 14:01:37 -04:00
Victor Savkin 5a8214923f chore(core): collect basic static on workspace creation in ci vs dev 2022-08-31 13:33:34 -04:00
Benjamin Cabanes 2c114ce624 docs(nxdev): rename script functions (#11803) 2022-08-31 14:56:01 +00:00
Jason Jean 5e39b1ed83 chore(misc): publish 14.6.0 2022-08-31 10:45:21 -04:00
Jack Hsu 81c06f899f feat(react): update package versions (#11800) 2022-08-31 09:52:49 -04:00
Sean Sanker aedcdaf1bb feat(js): support wildcard/nested tsconfig paths (#11233)
* feat(js): support wildcard/nested tsconfig paths

* chore(js): add e2e test for wildcard path alias

Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-08-31 20:39:05 +07:00
Katerina Skroumpelou 835d0ef709 fix(storybook): ignore addon-postcss from version update (#11801)
ISSUES CLOSED: #11465
2022-08-31 16:21:30 +03:00
Katerina Skroumpelou 35744c1dc9 fix(testing): update cypress argument name (#11797) 2022-08-31 15:25:21 +03:00
Jason Jean c3d85dd9b0 chore: update nx to 14.6.0-rc.2 (#11789) 2022-08-30 22:49:31 +00:00
Jack Hsu 395fa4bb39 docs(core): show 404 content instead of redirecting to intro (#11788) 2022-08-30 16:58:25 -04:00
Caleb Ukle c7249db386 fix(testing): handle more complex projects for react component testing (#11725)
* fix(testing): use @nrwl/web:webpack utils to generate a more robust webpack config

fixes: #11372

* fix(testing): do not overwrite existing component test

* fix(testing): add component-test to cacheable operations

* chore(testing): address pr feedback
2022-08-30 16:42:42 +00:00
Jack Hsu 7c8313504c docs(core): fix packages API so that redirects work again (#11786) 2022-08-30 12:21:22 -04:00
Caleb Ukle b63893d1cd docs(core): fix mistakes in @nrwl/workspace usage (#11776)
* docs(core): fix mistakes in @nrwl/workspace usage

@nrwl/workspace docs included a command for generators in the 'nx' package that doesn't contain
generators
update the usage of the 'move' generator to have the usage for the --destination arg

* docs(angular): update examples and add $default for project name
2022-08-30 16:19:33 +00:00
Colum Ferry a04b13dfd7 fix(linter): target migration version (#11783) 2022-08-30 15:51:44 +00:00
Juri f55a61abea docs(nxdev): add abstract for rares and altans talk 2022-08-30 17:43:18 +02:00
Colum Ferry b86ace50d3 fix(angular): change rxjs migration to conditional migration (#11771) 2022-08-30 10:43:35 -04:00
Colum Ferry bbe7a3679a fix(linter): use typescript-eslint 5.33.1 as latest requires ts4.8 (#11773) 2022-08-30 10:43:17 -04:00
Jack Hsu 8d85990b90 docs(core): fix dev output path so it does not conflict with prod (#11779) 2022-08-30 08:14:08 -06:00
Katerina Skroumpelou 9999215211 docs(storybook): added an example to the main storybook docs (#11774)
ISSUES CLOSED: #11447
2022-08-30 12:23:54 +00:00
Katerina Skroumpelou 6ea8d0d623 fix(storybook): remove react typings from angular tsconfig (#11769)
#11746

ISSUES CLOSED: #11746
2022-08-30 14:40:32 +03:00
Victor Savkin a312611682 feat(misc): add task hashes to the output of print affected (#11763)
* feat(misc): add task hashes to the output of print affected

* bump up version

* fix(core): postinstall should build project graph without daemon
2022-08-29 21:10:30 +00:00
Benjamin Cabanes 7bc41577aa chore(nxdev): clean up api imports (#11760) 2022-08-29 15:18:46 -04:00
Noriyuki Shinpuku 4dfd0f37e6 fix(nextjs): set __NEXT_REACT_ROOT only when the version of react-dom is 18 or above (#11749) 2022-08-29 10:13:11 -04:00
Benjamin Cabanes 9c4a2a96cc docs(nxdev): add new sitemap index pointer (#11757) 2022-08-29 09:28:27 -04:00
Isaac Mann e717660102 docs(nx-dev): diataxis restructure (#11649)
* docs(nxdev): restructure docs to diataxis style

* docs(nxdev): cleanup

* docs(nxdev): fix links

* chore(nxdev): format

* docs(nxdev): fix broken images

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): tweaks

* docs(nxdev): redirect rules

* docs(nxdev): fixes
2022-08-29 08:36:55 -04:00
Colum Ferry aaeeaedceb feat(angular): migrate versions to 14.2.0 (#11530)
* feat(angular): migrate versions to 14.2.0-next.0

* feat(angular): support 14.2.0-rc.0
2022-08-29 10:39:40 +01:00
Jason Jean 8b02670a39 fix(core): pass-through ipc messages to and from task processes (#11744) 2022-08-26 17:49:34 -04:00
Jason Jean 9d6e53b56d fix(misc): use autocomplete prompt for projects for x-dropdown, project, projectName 2022-08-26 14:46:17 -07:00
AgentEnder 7c8839b049 fix(devkit): support expanded x-prompt object for input prompts 2022-08-26 14:46:17 -07:00
Jason Jean 47045c415b fix(misc): skip projects configured in package.json for adding schemas (#11742) 2022-08-26 16:20:41 -04:00
Benjamin Cabanes 19c31dd10a docs(nxdev): remove unused scripts (#11743) 2022-08-26 19:30:20 +00:00
Benjamin Cabanes 353d078dcb docs(nxdev): add external paths (#11741) 2022-08-26 18:59:47 +00:00
Victor Savkin e7c86e1cb0 feat(core): add ability to exclude task deps from the task graph 2022-08-26 14:39:31 -04:00
Jack Hsu ef5334bc3c Revert "feat(core): support reading cli args from env (#11721)" (#11738)
This reverts commit d9b9bd138a.
2022-08-26 12:16:55 -04:00
Thomas Knickman d9b9bd138a feat(core): support reading cli args from env (#11721) 2022-08-26 10:34:47 -04:00
Jonathan Cammisuli e7ec91b9e0 feat(core): add file completion types for the nx language server (#11669) 2022-08-26 10:34:33 -04:00
Craigory Coppola 3ff680907c fix(devkit): split-create-tree should use nx cli (#11736) 2022-08-26 14:33:09 +00:00
richardwong 3afb6bf45a fix(next): add default hostname value to @nrwl/next:server (#11701)
Co-authored-by: 文虎 <wenhu@myweimai.com>
2022-08-26 10:17:18 -04:00
Colum Ferry c616f6218c feat(angular): standalone host and remote generation support (#11708) 2022-08-26 10:05:17 +01:00
Colum Ferry 614b2d2af8 fix(angular): use x-dropdown for nx console project hint (#11706) 2022-08-26 10:04:56 +01:00
Juri Strumpflohner 1769edb2ed docs(nxdev): add James as speaker (#11723) 2022-08-25 20:03:56 +00:00
Emily Xiong 44d1f2c2ee feat(react-native): update react native bundle options (#11699) 2022-08-25 11:01:30 -04:00
Emily Xiong 2673a04196 bugfix(react-native): fix entry file ios (#11698) 2022-08-25 10:59:22 -04:00
Emily Xiong 73d748c59c feat(react-native): upgrade metro to 0.72.1 (#11697) 2022-08-25 10:59:06 -04:00
Miroslav Jonaš 5bb75baf60 feat(core): stop agents after build task on CI generated workflows (#11719) 2022-08-25 10:31:46 +00:00
Edd 36a72c7303 fix(react): fix(react): fix missing integrity tags in production builds (#10949)
Subresource Integrity attributes were not generated on production react builds
due to a missing
option pass through when writing the index file.
ISSUES CLOSED: #10926
2022-08-24 13:05:18 -04:00
Benjamin Cabanes e20ff68d45 docs(nxdev): update twitter handle speakerlist (#11709) 2022-08-24 15:40:06 +00:00
Colum Ferry 3822d83200 fix(angular): remote entry component template typo (#11707)
* fix(angular): remote entry component template typo

* fix(angular): snapshot
2022-08-24 12:46:22 +01:00
Colum Ferry 6f0c22f4d9 fix(angular): remote generator should not assume a default host (#11705) 2022-08-24 11:33:42 +00:00
Mark Goho 27f9cc7e04 fix(docs): fix typo in github actions setup (#10989) 2022-08-24 11:25:06 +00:00
Miroslav Jonaš 45deeca2c4 chore(repo): disable snync for nightly audit temporarily (#11704) 2022-08-24 11:11:03 +00:00
Victor Savkin b6c9c1210c feat(core): better formatting of project-graph related error messages 2022-08-23 15:45:33 -04:00
Juri 0d0b28a988 docs(nxdev): update speaker bio \& schedule 2022-08-23 19:06:15 +02:00
ben d4c0134b70 docs(nxdev): add 2022 nxconf speaker list 2022-08-23 19:06:15 +02:00
ben b0e4e0aa8c docs(nxdev): add 2022 conf schedule 2022-08-23 19:06:15 +02:00
Benjamin Cabanes 36755dfa30 docs(nxdev): add announcement banner for nx conf (#11692) 2022-08-23 15:24:56 +00:00
Benjamin Cabanes ad0d795413 docs(nxdev): add pulse dot animation on nxconf header menu (#11691) 2022-08-23 14:46:52 +00:00
Tine Kondo af7ebc6e98 chore(core): nx plugin submission @nxrocks/nx-micronaut (#11676) 2022-08-23 10:05:03 -04:00
Colum Ferry a198c95808 cleanup(angular): use app generator and setup-mf for host and remote (#11682) 2022-08-23 14:37:12 +01:00
Miroslav Jonaš ace06fbed0 chore(repo): run repo checks in parallel to lint test build (#11686) 2022-08-23 12:50:35 +00:00
Miroslav Jonaš c8c9efab62 chore(repo): run e2e tests in parallel to lint and test (#11684) 2022-08-23 14:44:13 +02:00
Colum Ferry e2c4c5490c cleanup(angular): deprecate mf signature from app generator (#11680) 2022-08-23 13:12:29 +01:00
Victor Savkin 0468cf2ff6 chore(repo): bump up nx-cloud to 14.5.0-beta.2 2022-08-22 16:14:43 -04:00
Jack Hsu 77f0508dde feat(react): update package versions (#11667) 2022-08-22 11:55:44 -04:00
Noriyuki Shinpuku 43b6e1e1f8 fix(nextjs): fix React 18 detection (#11656) 2022-08-22 11:23:06 -04:00
Nicholas Cunningham 89a401361a fix(nextjs): fix .next folder linting (#11614)
ISSUES CLOSED: #11541

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-08-22 11:21:55 -04:00
Jack Hsu 646b8c2cf5 feat(nextjs): upgrade to nextjs 12.2.5 (#11665) 2022-08-22 11:21:26 -04:00
Mickaël Boidin 6fdc123537 fix(devkit): convertNxExecutor() should properly emit observables
Fixes: #11653
2022-08-22 10:22:48 -04:00
Colum Ferry 5176ee917f feat(storybook): add build-storybook to cacheable operations (#11631) 2022-08-22 13:01:08 +01:00
Mingyu Kim a4dfbfcb63 docs(core): fix npm install command for Eleventy (#11573)
Co-authored-by: mechanic0688 <mechanic0688@MAC-MECHANIC0688.local>
2022-08-19 19:32:57 -04:00
Craigory Coppola 2d50f35d83 fix(core): Add throw of error if a dependency is not in the graph (#11652)
Co-authored-by: Andreas Richter <708186+richtera@users.noreply.github.com>
2022-08-19 21:58:40 +00:00
Benjamin Cabanes 7b5b0ba825 docs(nxdev): add transformer for code fence (#11651) 2022-08-19 21:45:05 +00:00
Caleb Ukle 6866f55c4a chore(repo): run jest 28 migrations to fix package sync issue (#11650) 2022-08-19 20:56:52 +00:00
Giora Guttsait 7383f13612 chore(core): nx plugin submission nx-pwm (#11086)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-08-19 15:43:22 -04:00
Victor Savkin d2a829b7a6 chore(repo): update to 14.6.0-beta.7 2022-08-19 13:53:17 -04:00
Victor Savkin c0dd2f5832 fix(core): make --verbose consistent with NX_VERBOSE_LOGGING=true 2022-08-19 13:46:19 -04:00
Craigory Coppola 6948ffdcff fix(core): project graph should be read from executor context
These changes lower the risk of reading the cache during a write operation when multiple
processes are actively writing / reading the cache.
2022-08-19 12:50:07 -04:00
Jack Hsu c4a0d85294 fix(react): support older npm version (#11646) 2022-08-19 12:33:20 -04:00
Colum Ferry 41bd2cfe6e chore(angular): use npm for e2e-angular-extensions (#11643) 2022-08-19 10:49:56 +01:00
Igor Katsuba 9294b64364 fix(angular): adds missing types in the schemes of remote and host generators (#11428) 2022-08-19 10:09:08 +01:00
Miroslav Jonaš 15d83258fe feat(core): move git commit from generators to create-nx-workspace (#11633)
* fix(core): move git commit to create-nx-workspace

* fix(core): add git init to create-nx-plugin
2022-08-18 18:40:46 -04:00
Caleb Ukle 657b2bff5a feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -04:00
Asim Kattum Thazha 04976ca81a docs(react): change wrong title of craco note (#11310) 2022-08-18 22:15:27 +00:00
Troy Kirinhakone ecab590e52 docs(misc): fix typo in workspace guide (#11464) 2022-08-18 22:10:00 +00:00
Victor Savkin 8e22de4d47 chore(repo): update to 14.6.0-beta.4 2022-08-18 16:06:04 -04:00
Benjamin Cabanes f130d38a4f docs(nxdev): add nxcloud e2e test links (#11639) 2022-08-18 18:51:17 +00:00
Benjamin Cabanes 499ab1bacb docs(nxdev): remove unused css wobble animation (#11638) 2022-08-18 18:51:07 +00:00
Victor Savkin 971bcbe32c feat(core): refactor daemon to support longer messages 2022-08-18 14:22:27 -04:00
Emily Xiong 670d9f1a01 fix(storybook): change the react native storybook searchDir option to array (#11628) 2022-08-18 13:18:36 -04:00
Herb 86b2015ddd feat(node): expose webpack watchOptions to executor (#11453) 2022-08-18 12:34:33 -04:00
Colum Ferry 09112ccd24 feat(angular): support library routing setup for standalone routes (#11634) 2022-08-18 15:17:04 +01:00
Daniel 4d1acadf6e feat(nx-plugin): thread jest options through nx-plugin:e2e executor (#11442) 2022-08-18 10:13:39 -04:00
Colum Ferry 1a5a09b790 chore(angular): add standalone router helper (#11632) 2022-08-18 14:12:06 +01:00
Miroslav Jonaš 187f5200c0 fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02:00
Waldbillig Thomas 99a3563c8f feat(angular): export test runners from package (#11613)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Waldbillig-Thomas <waldbillig.thomas@gmail.com>
2022-08-18 09:58:16 +00:00
Victor Savkin 1a31018ea2 feat(core): add daemon to the context provided to task runners 2022-08-17 15:30:00 -04:00
David (ダビッド ) 34fdbc0de2 fix(react): fix webpack node api config error serving a react app (#11580)
Webpack compiles a react app and the main.js file created contains __dirname variable. This crash
the application when it is served. The webpack node api config has been enabled.

ISSUES CLOSED: #11571
2022-08-17 13:55:32 -04:00
Emily Xiong 519451e1e2 feat(react-native): upgrade metro to 0.72.0 (#11480) 2022-08-17 13:22:58 -04:00
Jason Jean f8085d0949 chore(misc): publish 14.5.7 2022-08-17 12:59:20 -04:00
John Schulz ede5927051 fix(linter): replace all $ chars in path; not only the first (#11621)
refs https://github.com/nrwl/nx/pull/11009
fixes https://github.com/nrwl/nx/issues/11493
2022-08-17 12:52:30 -04:00
Altan Stalker 9f83207b5d docs(nx-cloud): update release notes for @nrwl/nx-cloud 14.3.0 (#11407) 2022-08-17 11:39:03 -04:00
Jason Jean 7d4a5c7d3a fix(core): fix backwards compatibility with Nx 14.1.0 (#11438) 2022-08-17 15:30:07 +00:00
Hamza Shahid d44abe64be docs(react-native): fix issues in react-native.md (#11525) 2022-08-17 15:25:16 +00:00
Colum Ferry dde045afa9 cleanup(angular): add e2e test for make-angular-cli-faster on nightly (#11463)
This is a bit of a misnomer, hence it running on the nightly tests. It uses _only_ the published
versions of `@nrwl/*` packages on npmjs registry, due to a limitation with verdaccio, where it only
looks at the local registry for `@nrwl/*` packages.
2022-08-17 10:51:53 -04:00
Colum Ferry 4d25ade55f chore(angular): turn on e2es with yarn (#11618) 2022-08-17 15:33:56 +01:00
Colum Ferry 324cafe510 chore(repo): increase memory allocation to agents (#11622) 2022-08-17 15:58:48 +02:00
Miroslav Jonaš 6a7d95bc39 chore(repo): release major version on e2e runs (#11619) 2022-08-17 12:07:40 +00:00
Equilibris 03c0109080 docs(misc): Add details for Neovim plugin (#11491) 2022-08-17 07:34:58 -04:00
Colum Ferry 7891a68715 feat(angular): add scam to standalone conversion generator (#11578) 2022-08-17 12:06:07 +01:00
Colum Ferry da1741bf56 feat(angular): support standalone component library generation (#11608) 2022-08-17 12:05:54 +01:00
Colum Ferry af93cfd597 feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Victor Savkin 3c1d39b7c5 chore(repo): add back the access token 2022-08-16 15:16:12 -04:00
Colum Ferry 47e38d1cd2 fix(angular): use rxjs 7.5.0 for Angular 14.1 (#11586) 2022-08-16 14:41:51 -04:00
Miroslav Jonaš 3574fdc803 fix(linter): normalize rule context file name for cross OS (#11604) 2022-08-16 18:41:42 +00:00
Kris 2baa96a2cc fix(nx-plugin): fix the file paths for newly created generators in generators.json (#11611)
issue: https://github.com/nrwl/nx/issues/11610

ISSUES CLOSED: #11610
2022-08-16 14:22:16 -04:00
Victor Savkin 2fd2f1c0de chore(repo): set the command count to enable early agent termination 2022-08-16 13:57:16 -04:00
Jack Hsu 51da354e65 feat(nextjs): add --custom-server option to app generator (#11607) 2022-08-16 10:32:30 -04:00
Jack Hsu 6fd0da52c6 feat(react): update packages (#11606) 2022-08-16 13:49:50 +00:00
Miroslav Jonaš 244ac01b7c fix(linter): use more performant way to check for package existance (#11603) 2022-08-16 12:47:38 +00:00
Benjamin Cabanes dc092b531f docs(nx-cloud): add agent definitions for DTE with Jenkins (#11597) 2022-08-15 20:17:01 +00:00
Benjamin Cabanes 46a89123df docs(nxdev): format nx cloud release notes (#11596) 2022-08-15 20:04:06 +00:00
Caleb Ukle 3101b4d072 chore(testing): add e2e tests for cypress environment variables (#11569) 2022-08-15 15:55:12 -04:00
Craigory Coppola 0c25e57bf9 fix(angular): add namedInputs to expected angular extension properties (#11593) 2022-08-15 15:07:00 -04:00
Victor Savkin 19dfebd94f chore(repo): update @nrwl/nx-cloud to 14.4.0 2022-08-15 13:51:50 -04:00
Jason Jean 0a64415f12 fix(repo): change e2e tests to publish 9999.0.2 (#11591) 2022-08-15 08:06:09 -07:00
Colum Ferry f930117ed6 fix(angular): add check before attempting to collect secondary entrypoints #11437 (#11496)
* fix(angular): add check before attempting to collect secondary entry points

* fix(angular): ensure only the tsconfig aliases for the lib are used

* chore(angular): turn off canary releases to prevent overlap

* Revert "chore(angular): turn off canary releases to prevent overlap"

This reverts commit dd0ba238d8bb591b669ccc90752db83d58c09f6d.
2022-08-15 13:11:24 +01:00
Colum Ferry 6b9f44f10e docs(angular): fix dynamic mf example #11516 (#11587) 2022-08-15 12:29:10 +01:00
Amir H. Khanjani 6f1aedb070 docs(core): remove --all from examples (#11579)
This flag is marked as deprecated [here](https://nx.dev/nx/run-many#all).
2022-08-13 23:02:30 -04:00
Victor Savkin 608141ec7c chore(misc): publish 14.5.6 2022-08-13 22:14:09 -04:00
Victor Savkin 9d500eeeaf fix(core): restore the old behavior of output missing check 2022-08-13 22:12:50 -04:00
Victor Savkin d9ebe0870d chore(misc): publish 14.5.5 2022-08-12 17:24:44 -04:00
Craigory Coppola db97728793 fix(core): list local plugins (#11410) 2022-08-12 13:43:33 -07:00
Victor Savkin f8da1ad42b chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Victor Savkin 438e4a544e fix(core): include config name in the cached fileset 2022-08-12 15:29:11 -04:00
Miroslav Jonaš 899625c8a3 feat(core): format additional flags values for logging (#11564)
* feat(core): format additional flags values for logging

* cleanup(core): simplify formatValues
2022-08-12 13:21:37 -05:00
Miroslav Jonaš 001fed8c3b chore(core): release canary version for e2e tests to avoid version overlap (#11539) 2022-08-12 16:30:22 +02:00
Benjamin Cabanes d13d5eb3b5 docs(nxdev): cleanup imports (#11563) 2022-08-12 10:24:36 -04:00
Craigory Coppola 8eb2304ecd fix(angular): 14.5.3 migration should hit @angular/cdk (#11560) 2022-08-12 14:12:00 +00:00
Benjamin Cabanes dd9554987a docs(nxdev): cleanup imports (#11561) 2022-08-12 10:03:18 -04:00
Joe Prisk 9bea8490ca docs(misc): updates Step 11 to use print-affected rather than affected (#11554) 2022-08-12 08:44:01 -04:00
Craigory Coppola 458fc36014 chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Craigory Coppola 42fe477bbb fix(angular): add missing allowed extension properties (#11547) 2022-08-11 18:51:31 -04:00
Victor Savkin 918ddf6d4b feat(core): hash tasks early when possible to enable optimizations (#11533) 2022-08-11 14:56:16 -04:00
Miroslav Jonaš 36213b71fb feat(core): support yarn berry in CNW (#11528) 2022-08-11 17:37:53 +00:00
Benjamin Cabanes 164111b793 docs(nxdev): clean up link map checker script (#11551) 2022-08-11 17:31:29 +00:00
Colum Ferry 8645272c4c docs(core): add table showing compat versions of nodejs and ts (#11529) 2022-08-11 15:28:15 +01:00
Jack Hsu 11219071f6 feat(web): update node types to 18.7.1 (#11546) 2022-08-11 14:23:35 +00:00
Jack Hsu 9cbfd65896 feat(node): update @types/node to 18.7.1 (#11545) 2022-08-11 14:15:50 +00:00
Miroslav Jonaš f44ba27c5a fix(linter): skip prettier config if prettier is missing (#11542) 2022-08-11 16:13:13 +02:00
Colum Ferry cecc790f3c docs(angular): add version compatibility matrix (#11445)
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
2022-08-11 09:58:26 -04:00
Benjamin Cabanes af83ffb9e8 docs(nxdev): simplify link map checker script (#11544) 2022-08-11 13:45:02 +00:00
Chau Tran 0ce3b1a9f6 fix(express): tslib should be included if importHelpers is true (#11419)
ISSUES CLOSED: #11012
2022-08-11 20:42:29 +07:00
Miroslav Jonaš 45f4e37f2f cleanup(core): remove unused addGlobal from package manager commands (#11538) 2022-08-11 11:45:44 +00:00
Miroslav Jonaš 57acec916b fix(nxdev): preserve generated sitemap in cache (#11540) 2022-08-11 13:20:34 +02:00
Benjamin Cabanes 608f57d527 docs(nxdev): add tree lookup by path on documents (#11531) 2022-08-10 13:38:40 -04:00
Benjamin Cabanes ff7a25a1ba docs(core): update overview package links (#11532) 2022-08-10 17:21:09 +00:00
Benjamin Cabanes 9d35cfad21 docs(nxdev): add workshop info (#11522) 2022-08-10 14:16:20 +00:00
Colum Ferry 4244a8d42c cleanup(core): change project graph e2e test to beforeEach (#11527) 2022-08-10 12:00:24 +01:00
Emily Xiong 65f554f81e feat(react-native): add exclude to sync-deps (#11365) 2022-08-09 14:39:39 -04:00
Benjamin Cabanes ad4dca1903 docs(nxdev): update github header info (#11523) 2022-08-09 11:11:38 -07:00
Victor Savkin efea1a511e feat(misc): repair should support running extra migrations (#11504) 2022-08-09 13:52:28 -04:00
Jack Hsu 520e5852f7 docs(core): read package names from package.json rather than inferrin… (#11520) 2022-08-09 16:42:13 +00:00
Nicholas Cunningham 522dcdd339 feat(nextjs): improve type checking for nextjs config file (#11497)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-08-09 11:31:22 -04:00
seanboose 4917239100 fix(web): run swc after other plugins in rollup (#11501) 2022-08-09 10:31:53 -04:00
Jack Hsu 6eb52b8094 docs(misc): update webpack 5 migration guide (#11517) 2022-08-09 14:00:55 +00:00
peterreisz 36f9420736 feat(linter): add option to set report unused disabled directives (#11212) (#11272)
Co-authored-by: Peter Reisz <peter.reisz@mozaiq.app>
2022-08-09 15:14:13 +02:00
Jack Hsu e4d60da452 feat(react): update packages (#11499) 2022-08-08 18:38:36 +00:00
Katerina Skroumpelou 8bc99407aa feat(storybook): ignore paths when generating stories (#11111)
* feat(storybook): ignore paths when generating stories

ISSUES CLOSED: #10211

* cleanup(storybook): add test for nested component ignore path

* feat(storybook): ensure ignore paths parsed correctly

Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-08-08 14:17:06 +01:00
Jack Hsu d1af72dde0 fix(js): update SIGINT and SIGTERM handling for tsc/swc executors (#11492) 2022-08-08 02:07:27 +00:00
Jack Hsu f6338d7e53 chore(misc): remove unused e2e test (#11482) 2022-08-06 03:06:42 +00:00
Jack Hsu 2c8a711c69 feat(react): improve types for module federation config file (#11476) 2022-08-06 02:31:59 +00:00
Jack Hsu b50d3879ab docs(misc): update webpack guide with link to module federation (#11475) 2022-08-05 15:43:28 -04:00
Jack Hsu a13e075c7a docs(misc): update customize webpack docs (#11473) 2022-08-05 18:33:30 +00:00
unpunnyfuns 95e579b0cf fix(testing): restore setting for update-jestconfig (#11457)
Co-authored-by: Pål Nes <pal.nes@fotoware.com>
2022-08-05 13:07:03 -05:00
Caleb Ukle acab64888d fix(testing): install ts-node when migrating to ts jest config files (#11427) 2022-08-05 13:55:57 -04:00
Benjamin Cabanes 528be859bc chore(dep-graph): add button group style on sidebar (#11470) 2022-08-05 13:32:15 -04:00
Caleb Ukle bd4e6ac323 fix(testing): exclude jest.config.ts in angular project tsconfigs (#11468) 2022-08-05 12:15:56 -05:00
Jack Hsu 5267f4555d feat(misc): update shared ts-node and ts-loader packages (#11429) 2022-08-05 16:47:33 +00:00
Rares Matei 9dc7d683db docs(nx-cloud): update private cloud release notes (#11471) 2022-08-05 16:47:14 +00:00
Nicholas Cunningham 50afd2b664 fix(nextjs): react root enabled for nextjs (#11362)
ISSUES CLOSED: #11345

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-08-05 12:36:23 -04:00
Benjamin Cabanes c52109261b chore(dep-graph): add accent on checkboxes (#11469) 2022-08-05 16:31:06 +00:00
Jack Hsu dec910274b fix(react): allow async functions to work with custom webpack config (#11467) 2022-08-05 16:13:31 +00:00
Rares Matei a829270344 docs(nx-cloud): bitbucket auth (#11452) 2022-08-05 15:12:42 +01:00
Jason Jean 26ee770ac2 chore(repo): update nx to 14.5.3 (#11459) 2022-08-04 23:46:40 +00:00
Jason Jean bcc00c50e4 chore(misc): publish 14.5.4 2022-08-04 19:43:19 -04:00
Jason Jean e91d895c65 Revert "fix(core): add -c as an alias for --configuration for affected and … (#10993)" (#11460)
This reverts commit 355dc54d8f.
2022-08-04 19:41:00 -04:00
Jason Jean 72106d0d81 chore(misc): publish 14.5.3 2022-08-04 18:55:05 -04:00
Craigory Coppola 2dc51d75fb fix(angular): hide warnings when reading workspace due to extra properties (#11143)
* fix(angular): hide warnings when reading workspace due to extra properties

* fix(angular): bump angular to 14.1.1
2022-08-04 17:58:40 -04:00
Colum Ferry 15a1d729d9 fix(angular): cloud init with make-angular-cli-faster (#11458) 2022-08-04 21:56:39 +00:00
Colum Ferry e8ad46595f fix(angular): building all projects in webpack-server #11349 (#11455) 2022-08-04 16:03:40 -04:00
Colum Ferry 308fd9b382 fix(core): resolve project files correctly in project graph creation for empty root (#11425) 2022-08-04 13:51:21 -04:00
Victor Savkin 8bf9019ec4 feat(core): add better detection of long running tasks 2022-08-04 13:29:49 -04:00
Altan Stalker dc46534fe1 fix(core): correctly handle overrides of watch flag for caching
Previously if the --watch flag were being overridden, when attempting to determine if a given task is long-running, we would perform a !!value check against the override. Since overrides are passed through as strings, if a --watch override was provided at all, the task would be marked as long running -- even if the override was disabling watch mode.

This has a side effect of the Nx Cloud runner not persisting task outputs to the remote cache, causing any task with a --watch override running in DTE to fail.
2022-08-04 13:15:40 -04:00
seanboose b6bbd41b27 fix(web): fix json imports in rollup with swc (#11436)
moved the json plugin to be before the swc plugin in the rollup executor

ISSUES CLOSED: 11435
2022-08-04 10:43:06 -04:00
Philip Fulcher eae3d45625 feat(dep-graph): add project graph view for nx console (#11153) 2022-08-03 23:35:29 +00:00
Benjamin Cabanes 0e37a462b1 docs(ci): add gitlab dte example (#11433) 2022-08-03 20:57:47 +00:00
Benjamin Cabanes 4f074e2660 docs(nxdev): update package schema list link (#11432) 2022-08-03 15:06:31 -04:00
AndrewOttavianoAbb aa79910e88 docs(misc): updated AST playground to TSQuery (#11295)
* docs(devkit): updated the astexplorer link to point to the tsquery demo.

The docs were pointing to the AST Explorer demo but it mentioned using the TSQuery npm package. So I
changed the AST Explorer link to the TSQuery Playground.

* docs(misc): updated AST playground to TSQuery

The docs were linking to the AST Explorer, which is not the npm package referenced in the generator
documentation (as AST Explorer does not support parsing TypeScript).

* docs(misc): updated AST playground to TSQuery

The docs were linking to the AST Explorer, which is not the npm package referenced in the generator
documentation (as AST Explorer does not support parsing TypeScript).

* docs(misc): updated AST playground to TSQuery

The docs were linking to the AST Explorer, which is not the npm package referenced in the generator
documentation (as AST Explorer does not support parsing TypeScript).
2022-08-03 13:34:59 -04:00
Colum Ferry f4ce897128 fix(devkit): do not duplicate dependencies (#10921) 2022-08-03 12:23:25 -04:00
Benjamin Cabanes 1c66a225e5 docs(nxdev): upgrade nextseo dependency (#11402) 2022-08-03 15:38:51 +00:00
Jack Hsu 5d167ee8a4 feat(react): update emotion and tailwind versions (#11409) 2022-08-03 08:35:51 -04:00
Rares Matei 77b5278568 docs(nx-cloud): update release notes (#11422) 2022-08-03 12:37:40 +01:00
Katerina Skroumpelou accc7a6bab docs(storybook): fix composition guide (#11421)
#11353

ISSUES CLOSED:  #11353
2022-08-03 11:01:59 +00:00
Juri 9c93c907fd fix(react): adjust nx-console related x-dropdown prop name 2022-08-03 10:39:06 +02:00
Juri 77795ae466 docs(core): fix output param forwarding example 2022-08-03 10:36:56 +02:00
Emily Xiong 6c4fd2f5da bugfix(react-native): fix buildable react native library (#11368)
- fix the issue where it only product type file
2022-08-02 15:20:08 -04:00
Emily Xiong 13b0d8c75d bugfix(react-native): fix upgrade-native and add e2e tests (#11369) 2022-08-02 15:19:00 -04:00
Jack Hsu e45c2f24ba feat(nextjs): improve support for custom server (#11325)
- Add new generator for custom server
- Add @nrwl/js:node executor for serving custom server
- Deprecate @nrwl/node:node in favor of the above
2022-08-02 18:37:23 +00:00
John White 355dc54d8f fix(core): add -c as an alias for --configuration for affected and … (#10993)
Co-authored-by: John H White <jhwhite@ithaca.edu>
2022-08-02 17:31:39 +00:00
Amir H. Khanjani 6e97f10b31 docs(core): remove beta label from lerna 5.1 (#11380) 2022-08-02 13:21:51 -04:00
Adrian Görisch ed4ed68c7a chore(core): nx plugin submission @ago-dev/nx-aws-cdk-v2 (#10936) 2022-08-02 13:14:45 -04:00
Jack Hsu ccd6295be0 fix(nextjs): remove unsupported cssModules config property (#11405)
LGTM
2022-08-02 09:49:19 -06:00
Jason Jean 8bb72a98c5 chore(misc): publish 14.5.2 2022-08-02 10:29:46 -04:00
Juri Strumpflohner bf2c79bc01 fix(react): allow positional params for setup-tailwind generator (#11396) 2022-08-02 09:11:49 -04:00
Jean-Philippe Bergeron 20996d6c40 fix(nx): Ignore the debugger attached message in node (#11131)
* fix(js): update compile-swc.ts

* fix(js): update packages/js/src/utils/swc/compile-swc.ts

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>

* chore(js): format source code

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-08-02 09:31:01 +07:00
Colum Ferry ffecf93473 fix(node): add implicit dep on the e2e project to nest (#11397) 2022-08-01 15:11:08 -06:00
Caleb Ukle b4c4501979 docs(testing): update docs to use correct filenames for cypress and jest (#11394)
ISSUES CLOSED: #11392
2022-08-01 13:25:26 -05:00
Benjamin Cabanes a023028e3b docs(nxdev): add 404 component type (#11386) 2022-07-31 16:04:06 +00:00
Benjamin Cabanes 220e05614d docs(nxdev): update package schema viewer export type (#11385) 2022-07-31 08:59:51 -07:00
Benjamin Cabanes 15200964ef docs(nxdev): update algolia types (#11379) 2022-07-30 16:38:10 -04:00
Benjamin Cabanes 8797915020 docs(nxdev): update package schema viewer export type (#11378) 2022-07-30 20:33:26 +00:00
Benjamin Cabanes 133536cc3c docs(nxdev): doc-viewer export type (#11377) 2022-07-30 16:25:37 -04:00
Leosvel Pérez Espinosa e5ec39a905 fix(angular): update angular cli package in a migration generator to prevent migration issues (#11375) 2022-07-30 16:17:09 +00:00
Jason Jean c21e6ebe78 feat(misc): autocomplete prompts (#11361) 2022-07-29 16:44:39 -04:00
Victor Savkin 0fbe9be74a docs(nx-cloud): update docs to use helm 2022-07-29 13:52:28 -04:00
John White 48b405b24c chore(storybook): fix outputs for build-storybook configuration (#11343) 2022-07-29 17:19:06 +03:00
Chau Tran b67ca98758 fix(nest): update nestjs versions for init generators (#11355) 2022-07-29 10:13:17 -04:00
Jason Jean 7f259493ac chore(misc): publish 14.5.1 2022-07-28 18:24:14 -04:00
Emily Xiong 6cec52b1c2 bugfix(react-native): move metro-resolver to dependencies (#11341) 2022-07-28 23:17:10 +01:00
Jason Jean 5bff9159df chore(misc): publish 14.5.0 2022-07-28 14:55:48 -04:00
Jason Jean 63bfe7ea94 chore(repo): update nx to 14.5.0-rc.0 (#11338) 2022-07-28 16:31:36 +00:00
Szaby Grünwald 5614307ca2 fix(web): fix http-server proxyOptions arg converter (#11309)
Fix the string interpolation in the http-server command arg converter for proxyOptions.

ISSUES CLOSED: #11302

Co-authored-by: Szabolcs Grünwald <sgruenwald@eurofunk.com>
2022-07-28 12:12:03 -04:00
Emily Xiong 635825ed2b feat(react-native): upgrade react-native to 0.69.3 (#11324) 2022-07-28 11:36:21 -04:00
Emily Xiong 2b44aaf90a fix(react-native): only add resolverMainFields to metro.config for storybook (#11326) 2022-07-28 11:34:48 -04:00
Emily Xiong b4cc8c2895 fix(react-native): fix library path in Podfile (#11327) 2022-07-28 11:34:30 -04:00
Rares Matei 184d4aa0d5 docs(nx-cloud): update private cloud release notes (#11333) 2022-07-28 14:24:00 +01:00
Benjamin Cabanes 12a36327c9 docs(nxdev): add sponsor-card type (#11322) 2022-07-27 18:36:44 +00:00
Benjamin Cabanes d9b7e800c8 docs(nxdev): update home lib type & default export (#11321) 2022-07-27 14:34:45 -04:00
Benjamin Cabanes 22b6e71320 docs(nxdev): add type & simplify default notation (#11320) 2022-07-27 14:30:41 -04:00
Benjamin Cabanes f0477ef10e docs(nxdev): add type & simplify default notation (#11319) 2022-07-27 14:27:45 -04:00
Benjamin Cabanes f2167d99ad docs(nxdev): add type & simplify default notation (#11317) 2022-07-27 14:27:01 -04:00
Benjamin Cabanes bdd9807cc5 docs(nxdev): add type & simplify default notation (#11316) 2022-07-27 14:26:38 -04:00
Benjamin Cabanes f220fe12a5 docs(nxdev): add type & simplify default notation (#11315) 2022-07-27 14:16:13 -04:00
Benjamin Cabanes 23ed558998 docs(nxdev): apply github repository callout cmp (#11314) 2022-07-27 15:21:00 +00:00
Benjamin Cabanes 083f874595 docs(nxdev): add custom 404 (#11312) 2022-07-27 11:14:04 -04:00
Jack Hsu 7fd7af3195 feat(js): add --clean/--no-clean option to tsc and swc executors (#11311) 2022-07-27 15:04:22 +00:00
Jack Hsu 1fef99d8ae fix(nextjs): fix invalid config warning by sanitizing it before passing to Next.js (#11313) 2022-07-27 14:48:13 +00:00
Benjamin Cabanes 1df151b439 docs(nxdev): add filter button & state on packages view (#11308) 2022-07-27 13:43:09 +00:00
Katerina Skroumpelou fee72e4ac6 chore(react): remove storybook logger dependency (#11306) 2022-07-27 13:39:42 +00:00
Jason Jean 3c2ad25cfd feat(misc): implement nx repair and prettify migrate output (#11288) 2022-07-26 17:34:32 -04:00
Rares Matei f2222ff968 docs(nx-cloud): update private cloud release notes (#11296) 2022-07-26 19:01:04 +01:00
Jack Hsu 4bb8ab1b36 fix(react): buildable library sets NODE_ENV correctly (#11294) 2022-07-26 13:20:17 -04:00
Leosvel Pérez Espinosa 7db3aac463 fix(angular): update module federation logic to correctly identify workspace libs secondary entry points (#11286) 2022-07-26 10:54:33 +01:00
Jack Hsu c76eb7fb74 chore(nextjs): clean up constants import path and remove support for Next.js 10 (#11287) 2022-07-25 17:51:22 +00:00
Rares Matei f9a6df5d63 docs(nx-cloud): update private cloud release notes (#11285) 2022-07-25 18:06:20 +01:00
Jack Hsu 2bcf1c28aa Next version update (#11280)
* feat(react): update eslint a11y plugin version

* feat(next): update next.js versions
2022-07-25 14:08:27 +00:00
Jack Hsu 3b3d8fff22 feat(react): update eslint a11y plugin version (#11279) 2022-07-25 07:48:19 -06:00
Victor Savkin db3d6cb3a1 docs(nx-cloud): reorganize on prem docs 2022-07-24 13:54:07 -04:00
Jason Jean 1a900d4f2b fix(misc): show help when no command is passed (#11269) 2022-07-22 19:25:38 -04:00
Júlio César 7b6d765567 docs(nx-plugin): improve targets inferece example (#10839)
Add example `projectFilePatterns` export, which is required for a minimal runnable example. Also fixes a typo in code.
2022-07-22 17:24:36 -04:00
Phillip Barta 764e5b5631 feat(express): update express to 14.18.1 (#11190) 2022-07-22 21:04:13 +00:00
Doni Rubiagatra 89e0fefe58 docs(misc): fix indentation in bitbucket pipeline (#11225) 2022-07-22 16:56:14 -04:00
Benjamin Cabanes 13354e5e7d docs(nxdev): add empty state for schema lists (#11268) 2022-07-22 20:53:45 +00:00
Ali Yusuf f285446831 fix(core): use proper package manager when installing package for migration (#11213) 2022-07-22 16:16:33 -04:00
Amir H. Khanjani 67f6ed9183 cleanup(core): removed unused imports (#11175)
* removed unused imports (yargs & RawNxArgs)

* cleanup(core): removed unused imports

removed yargs and RawNxArgs from imports
2022-07-22 16:13:47 -04:00
Benjamin Cabanes dbdb4826d6 docs(nxdev): hide github link on mobile (#11266) 2022-07-22 20:01:02 +00:00
Benjamin Cabanes aa575fcbd7 docs(nxdev): add github example callout (#11265) 2022-07-22 15:56:22 -04:00
Rares Matei 3d6d69eb58 docs(nx-cloud): update private cloud release notes (#11264)
* docs(nx-cloud): update private cloud release notes

* docs(nx-cloud): fix formatting
2022-07-22 20:42:17 +01:00
Leosvel Pérez Espinosa 6f2d5243c5 cleanup(misc): replace usage of rxjs-for-await (#11182) 2022-07-22 15:28:45 -04:00
Jason Jean 00ef4c7283 fix(misc): make __unparsed__ not required and add smart provider in adapter (#11262) 2022-07-22 14:53:17 -04:00
Benjamin Cabanes 7d3b662779 docs(nxdev): add icon to github link button (#11261) 2022-07-22 17:57:49 +00:00
Stefan van de Vooren 2f0cd86b6f fix(core): improve performance of enforce-module-boundaries linting rule on Windows (#11251)
Co-authored-by: fu_cdp_jenkins-git_houston <online.darwin@rabobank.nl>
2022-07-22 18:39:35 +02:00
Leosvel Pérez Espinosa 712e6dda88 cleanup(angular): move all inline version numbers to versions.ts (#11258) 2022-07-22 17:02:13 +01:00
Leosvel Pérez Espinosa d372be0043 feat(angular): deprecate generating e2e tests with protractor (#11254) 2022-07-22 16:07:03 +01:00
Jack Hsu 8075cb9a9f chore(nextjs): remove outdir from Next.js config since it is no longer needed (#11257) 2022-07-22 11:06:22 -04:00
Leosvel Pérez Espinosa 46ad8c3d63 feat(angular): support angular v14.1.0 (#11155) 2022-07-22 16:01:24 +01:00
Leosvel Pérez Espinosa ea3fe2e8b1 feat(angular): add spa option to file-server executor to support reloading client-side routes (#11252) 2022-07-22 15:24:11 +01:00
Benjamin Cabanes dc6c5313cc docs(nxdev): update nxconf dates (#11255) 2022-07-22 14:21:18 +00:00
Juri 8e6a66cdb2 fix(linter): correctly fix absolute imports across package boundaries 2022-07-22 15:11:18 +02:00
Katerina Skroumpelou 2fa7578bdb docs(storybook): extra topic notes to callouts update (#11249) 2022-07-22 09:07:54 -04:00
Benjamin Cabanes 0b977b751e docs(nxdev): update conference info (#11245) 2022-07-21 17:31:27 -04:00
Benjamin Cabanes ca127d8354 docs(nxdev): convert notes into callouts (#11244) 2022-07-21 18:25:03 +00:00
Benjamin Cabanes e1a61cae2d docs(nxdev): add references page (#11061) 2022-07-21 18:19:59 +00:00
Benjamin Cabanes 68a2a11ac4 docs(nxdev): add security headers (#11240) 2022-07-21 17:54:28 +00:00
Emily Xiong b89e321753 fix(core): print out configuration for run-many logging (#11228) 2022-07-21 20:37:52 +04:00
Benjamin Cabanes 8c7b76e8f1 docs(nxdev): convert notes into callouts (#11232) 2022-07-20 22:09:33 +00:00
Laforge Thomas c117ad51ec fix(linter): update typescript eslint dependency (#11112)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-07-20 21:57:51 +00:00
Miroslav Jonaš 5f097b90ff feat(core): improve graph utils matrix generation (#11226) 2022-07-20 16:48:56 -04:00
Benjamin Cabanes 8f628cda1c docs(nx-cloud): add nx-cloud.env info (#11231) 2022-07-20 20:36:11 +00:00
Leosvel Pérez Espinosa 41693f918b fix(angular): update package watch version on secondary entrypoint changes when building libraries in watch mode (#11230) 2022-07-20 17:41:18 +01:00
Jack Hsu 3a63eeab21 chore(core): remove checks for built dependencies in executors since dependsOn guarantees that they are built (#11227) 2022-07-20 15:56:57 +00:00
Caleb Ukle 0cd8d8c531 fix(testing): update exports for .ts plugin files (#11200) 2022-07-19 17:28:02 -05:00
Jack Hsu 8173887fbb feat(react): add tailwind setup generator (#11214)
LGTM!
2022-07-19 13:07:37 -06:00
Leosvel Pérez Espinosa 01f7376169 cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Phillip Barta fc16d6228d cleanup(devkit): use Mode type from fs for Tree permissions (#11188) 2022-07-19 12:58:23 -04:00
Juri 9436a96309 fix(nextjs): adjust generator reference in Next startup page component 2022-07-19 16:43:33 +02:00
Jack Hsu 10316d9686 docs(react): update tailwind guide (#11208) 2022-07-19 13:41:50 +00:00
Juri Strumpflohner c3bd976d40 docs(core): link to webpack MF build speedup 2022-07-19 09:25:17 +02:00
Jason Jean aed7b5ee17 docs(angular): fix video for step 4 of tutorial (#11198) 2022-07-18 18:52:48 -04:00
Jason Jean 363dd6be6a chore(repo): update nx to 14.5.0-beta.2 (#11196) 2022-07-18 17:42:22 -04:00
Emily Xiong 38a2d95d9d feat(detox): add detox config for expo apps (#11104) 2022-07-18 15:39:25 -04:00
Jack Hsu d657f912d9 feat(web): upgrade webpack plugin versions (#11191) 2022-07-18 15:23:30 -04:00
Victor Savkin ee3eb3d1cf chore(nxdev): update cloud docs not to mention mode 2022-07-18 13:58:03 -04:00
Leosvel Pérez Espinosa b7a1cd30fc fix(angular): add @angular/localize to list of default packages to be eagerly loaded in mf apps (#11189) 2022-07-18 18:02:11 +01:00
Leosvel Pérez Espinosa 6866122db8 feat(angular): deprecate syntax option from the ngrx generator (#11184) 2022-07-18 15:41:17 +01:00
Mads Thines edc9ce12a1 fix(storybook): adjusted STORYBOOK_ (#11171)
Corrected the `STORYBOOK_` RegExp to match documentation
https://storybook.js.org/docs/react/configure/environment-variable
2022-07-18 11:50:10 +00:00
Leosvel Pérez Espinosa cc6c2f9c59 feat(angular): deprecate DataPersistence class in favor of data persistence operators (#11183) 2022-07-18 11:40:20 +01:00
Helton bd9b33eaef docs(nxdev): fix link break in the docs (#11148)
fix the link from generator/modifying-files pages to /generators/composing-generators
2022-07-15 18:17:35 -04:00
null f8104d9410 fix(core): outputs in nx.json targetDefaults is not work (#11157)
* fix(core): outputs in nx.json targetDefaults is not work

ISSUES CLOSED: #11141

* fix(core): handle when targets is undefined

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-07-15 21:43:42 +00:00
Jack Hsu 96e84eea39 fix(misc): add dotenv as dependencies for plugins that import it (#11167) 2022-07-15 16:46:41 -04:00
Ihor 57a6ebcfcd fix(react): fix typo in testing-library migrations 2022-07-15 14:46:38 -04:00
Jack Hsu e3d5c53d88 fix(nextjs): set development outputPath to a different one from production build (#11169)
- Avoids conflict with cached output
- Fixes #10312
2022-07-15 14:10:07 -04:00
Rares Matei 2af1a14a7f docs(nx-cloud): update release notes (#11159) 2022-07-15 13:46:14 -04:00
Jack Hsu 39cc96a936 feat(react): update react package versions (#11168) 2022-07-15 17:42:08 +00:00
Jason Jean 63b74d2a56 feat(core): add ability to use globs as outputs (#10894)
* feat(core): add ability to use globs as outputs

* fix(repo): adjust the way outputs are tracked

* docs(core): improve outputs documentation
2022-07-14 18:31:12 -04:00
Benjamin Cabanes 61e1931ded docs(nxdev): remove gray-matter dependency (#11150) 2022-07-14 21:57:22 +00:00
Caleb Ukle df0f334886 chore(testing): remove console.log in migration util (#11149) 2022-07-14 21:07:21 +00:00
Benjamin Cabanes 8519627e93 docs(nxdev): internal link checker now supports indexes (#11147) 2022-07-14 18:40:52 +00:00
Chau Tran 421b4d940e feat(nest): upgrade nest to v9 (#11120) 2022-07-14 11:55:30 -04:00
Benjamin Cabanes 49f0170652 docs(nxdev): upgrade next-sitemap dependency (#11142) 2022-07-14 14:56:55 +00:00
Victor Savkin de41142368 chore(repo): connect to staging nx cloud 2022-07-14 10:36:18 -04:00
Benjamin Cabanes 04cb18648b docs(nxdev): documentation link checker (#11140) 2022-07-14 14:17:26 +00:00
Katerina Skroumpelou 943d4ba915 fix(storybook): include polyfills in Storybook tsconfig for ngapps (#11136) 2022-07-14 10:25:14 +00:00
Benjamin Cabanes b05f9e0eee docs(nxdev): fix 404 links (#11134) 2022-07-13 23:35:15 +00:00
Emily Xiong c075e69898 feat(react-native): upgrade metro to 0.71.3 (#11105) 2022-07-13 19:50:15 +00:00
Leosvel Pérez Espinosa 2163c54b85 fix(react): do not set a module federation remote project as the default project (#11128) 2022-07-13 15:32:03 -04:00
Benjamin Cabanes c088dd7851 docs(nxdev): add press kit link in footer (#11133) 2022-07-13 18:31:21 +00:00
Jack Hsu b042b80e2d feat(next): update next.js versions (#11115) 2022-07-13 18:30:12 +00:00
Benjamin Cabanes f08d4ab790 docs(nxdev): move content from cli into nx (#11085) 2022-07-13 13:01:02 -04:00
Leosvel Pérez Espinosa 9933d91a1b fix(core): handle specifying a prerelease version without a package when migrating (#11129) 2022-07-13 16:26:28 +00:00
Leosvel Pérez Espinosa ba592f8a99 fix(angular): do not set a module federation remote project as the default project (#11127) 2022-07-13 14:19:06 +01:00
Leosvel Pérez Espinosa 8ce1444324 fix(angular): do not write files unnecessarily in mfe to mf migration (#11126) 2022-07-13 13:18:20 +01:00
Leosvel Pérez Espinosa 1b6e5874ee fix(angular): do not generate ts path mappings for lazy loaded libs in app tsconfig file (#11125) 2022-07-13 12:19:36 +01:00
Miroslav Jonaš 8ab6ad4878 fix(repo): explicitly stop all agents on failure (#11123) 2022-07-13 06:13:20 -04:00
Leosvel Pérez Espinosa 3ce6f35184 feat(core): allow configuring targets to forward args to its target dependencies 2022-07-12 12:46:33 -04:00
Miroslav Jonaš 5194551d85 fix(linter): improve performance of runtime lint utils (#11100) 2022-07-12 17:04:01 +02:00
Philip Fulcher 2408eb8fbc chore(repo): re-enable graph e2e tests on win (#11106) 2022-07-12 09:56:20 -04:00
Katerina Skroumpelou a2d9577553 fix(storybook): fix schema to read projectName from config (#11098) 2022-07-12 09:55:22 -04:00
Miroslav Jonaš cc74de6a71 chore(repo): split e2e packages in nightly run for better report (#11110) 2022-07-12 09:00:43 +00:00
Miroslav Jonaš 438ea6cdfe chore(repo): add better status notification to audit run (#11099) 2022-07-11 12:50:24 +00:00
Miroslav Jonaš d7bbf85f29 feat(linter): support transitive hasBannedImport (#11000) 2022-07-11 14:31:13 +02:00
Leosvel Pérez Espinosa 9352f2ee98 fix(angular): amend wrong project name schema options to hint nx console to show a project dropdown (#11097) 2022-07-11 13:27:33 +01:00
Miroslav Jonaš 4a3a223d07 chore(repo): use npx over yarn for audit checks (#11096) 2022-07-11 05:04:32 -06:00
Caleb Ukle 8683d364f8 docs(testing): update screenshot/video paths to correct location (#11082) 2022-07-08 17:33:39 -04:00
Caleb Ukle 8154191eb1 feat(testing): Cypress 10 and component testing support (#9201)
* feat(testing): add generator to aid in the migration to cypress 10

cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects

* feat(testing): cypress component tests for react/next

initial work for cypress component tests for react and next

* feat(testing): add support for v10 e2e cypress projects

create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests

* feat(testing): add utils for modifying cypress v10 config

provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration

* fix(testing): fix tests affected by the cypress v10 changes

update tests to assert the correct files/folders/file contents due to the cypress changes in v10

* cleanup(testing): move cypress component testing plugins into the respective packages

move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs

* cleanup(testing): bump cypress version

bump to latest cypress v10 release

* docs(testing): update docs for cypress 10

update cypress docs to include info about component testing and migration to cypress v10

* fix(repo): revert cypress version bump

keep v9 of cypress installed for nx repo until v10 release

* fix(testing): update cypress gen tsconfig and infer targets with converter

* fix(testing): make sure tests use the cypress v10 (for the intermediate)

* fix(testing): update target name after feedback

* fix(testing): support multiple target w/custom configs for cypress v10 migration

* fix(testing): refactor cy component tests into seperate verticals

* feat(testing): create storybook cypress preset

* fix(testing): clean up cy v10 migration

* fix(testing): don't branch for cypress executor testingType

* fix(testing): move cy comp test generator to next

* fix(testing): bump cypress deps

* fix(testing): clean up cy component testing generators

* fix(testing): update cy component testing docs

* fix(testign): dep check. runtime plugin pulls from @nrwl/react

* fix(testing): move e2e into verticals

* fix(testing): address PR feedback

* fix(testing): clean up unit tests

* feat(angular): support migrating angular cli workspaces using cypress v10

* chore(testing): update e2e tests

* fix(testing): address pr feedback

* chore(testing): remove cypress component testing for next.js

* fix(testing): address pr feedback

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-07-08 14:34:00 -05:00
Benjamin Cabanes a34402fd9e docs(nxdev): remove announcement banner (#11078) 2022-07-08 10:26:14 -04:00
Miroslav Jonaš e7e2905e40 chore(repo): fix typings on e2e helper file (#11076) 2022-07-08 15:17:19 +02:00
Juri 4e292f2454 feat(core): run-many runs all projects by default 2022-07-08 08:36:54 -04:00
Miroslav Jonaš 26ca133a76 chore(repo): add snync check to nightly audit (#11074) 2022-07-08 11:08:39 +00:00
Miroslav Jonaš 6186daabf8 feat(repo): add lock file linting to commit check, PR and nightly (#11071) 2022-07-08 10:39:23 +00:00
Miroslav Jonaš 4f072a1f0a chore(repo): enable certificates for cache restoring on circleci (#11072) 2022-07-08 12:31:41 +02:00
Miroslav Jonaš 16ffa482b5 feat(core): update GitHub CI workflow generator to v0.6 (#11068) 2022-07-08 09:02:39 +00:00
Miroslav Jonaš 6b1140891c chore(repo): update vulnerable parse-url (#11069) 2022-07-08 04:50:30 -04:00
Miroslav Jonaš f257a27826 docs(nxdev): update GitHub workflow to v0.6 (#11067) 2022-07-08 08:38:22 +00:00
Altan Stalker a04c82a798 docs(nx-cloud): update release notes for @nrwl/nx-cloud 2022-07-07 20:16:43 -04:00
ArnaudDenoyelle 7178880866 docs(core): replaced outdated option "core" with "npm" in 01-create-bl… (#11008) 2022-07-07 14:35:41 -04:00
Miroslav Jonaš b8efa778f6 fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00:00
Altan Stalker 391a0e6d17 chore(repo): update nx-cloud to 14.2.0 (#10984) 2022-07-07 18:27:35 +00:00
Mike Cann 59db908ee4 docs(misc): added some info about installing generators before they are used (#10841)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-07-07 14:22:07 -04:00
Przemysław Żydek 54be69857a chore(core): nx plugin submission @theunderscorer/nx-semantic-release (#10908) 2022-07-07 18:15:11 +00:00
Alex d109600bbc docs(misc): update NX_BRANCH value (#10835) 2022-07-07 18:13:45 +00:00
Benjamin Cabanes d9f6c03395 docs(nxdev): set default shallow link prop to false (#11060) 2022-07-07 17:44:49 +00:00
Rien Coertjens 74c3c6c399 fix(linter): escape dollar signs in filepaths (#11009) 2022-07-07 12:08:24 -04:00
Rares Matei 23e0bbb498 docs(nx-cloud): update private cloud release notes
add a new env variable to the isCi check that works on Azure
2022-07-07 11:31:39 -04:00
Shuqian Hon c675eba617 docs(misc): fix minor typo on nx and typescript page (#11027)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-07-07 10:38:44 -04:00
Chau Tran 608ef8ee45 fix(core): adjust add and addDev command for pnpm when it is in a pnpm workspace 2022-07-06 13:27:55 -07:00
Victor Savkin 248e00bb1b docs(core): document inputs and named inputs 2022-07-06 13:30:45 -04:00
Benjamin Cabanes b38f78fbab chore(core): clean up unused dependencies (#10966) 2022-07-06 09:49:05 -07:00
Emily Xiong 1a9678298a feat(react-native): upgrade react-native to 0.69.1 (#11020) 2022-07-06 12:24:57 -04:00
Philip Fulcher fb4e92ac1c fix(dep-graph): filter by text correctly during quick inputs (#10986) 2022-07-06 10:12:52 -06:00
Katerina Skroumpelou 01e25ecb67 fix(storybook): change-storybook-targets should not fail if no build (#11038) 2022-07-06 13:30:00 +00:00
Katerina Skroumpelou 40d9901fa5 cleanup(storybook): remove optional chaining and add warning log for targets (#11035) 2022-07-06 15:44:53 +03:00
Leosvel Pérez Espinosa bc5c414468 fix(angular): emit dts when using entrypoint name as filename in ng-packagr executors (#11032) 2022-07-06 11:14:53 +01:00
Daniil Tamazlykar d579f94b6a fix(core): use generator options from nx config (#11006)
ISSUES CLOSED: #11004
2022-07-05 18:07:42 -04:00
Benjamin Cabanes b6cd0c4031 chore(core): fix typo in error message (#11019) 2022-07-05 17:34:36 +00:00
6312 changed files with 622202 additions and 362383 deletions
+12
View File
@@ -0,0 +1,12 @@
[build]
target-dir = 'build/target'
[target.x86_64-unknown-linux-musl]
rustflags = [
"-C",
"target-feature=-crt-static",
]
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=-crt-static"]
+81 -91
View File
@@ -4,74 +4,70 @@ version: 2.1
# ORBS
# -------------------------
orbs:
nx: nrwl/nx@1.5.1
node: circleci/node@5.0.2
# -------------------------
# DEFAULTS
# -------------------------
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
nx: nrwl/nx@1.6.1
rust: circleci/rust@1.6.0
browser-tools: circleci/browser-tools@1.4.0
# -------------------------
# EXECUTORS
# -------------------------
defaults: &defaults
working_directory: ~/repo
executors:
linux:
<<: *defaults
docker:
- image: cimg/node:lts-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:
@@ -100,14 +96,18 @@ commands:
paths:
- /usr/local/Homebrew
- ~/Library/Caches/Homebrew
- run-yarn-install:
os: << parameters.os >>
- when:
condition:
equal: [<< parameters.os >>, linux]
steps:
- install-pnpm
- run:
command: |
sudo apt-get update
sudo apt-get install -y ca-certificates lsof
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- run-pnpm-install:
os: << parameters.os >>
# -------------------------
# JOBS
@@ -132,18 +132,25 @@ jobs:
GIT_COMMITTER_NAME: Test
NX_E2E_CI_CACHE_KEY: e2e-circleci-<< parameters.os >>
SELECTED_PM: << parameters.pm >>
NX_E2E_RUN_CYPRESS: 'false'
NX_E2E_RUN_E2E: 'true'
NX_VERBOSE_LOGGING: 'false'
NX_NATIVE_LOGGING: 'false'
NX_PERF_LOGGING: 'false'
steps:
- run:
name: Configure git metadata (needed for lerna smoke tests)
command: |
git config --global user.email test@test.com
git config --global user.name "Test Test"
- 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
# -------------------------
@@ -152,52 +159,48 @@ jobs:
main-linux:
executor: linux
environment:
NX_CLOUD_DISTRIBUTED_EXECUTION: 'true'
NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 8
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux
NX_VERBOSE_LOGGING: 'false'
NX_DAEMON: 'true'
NX_PERF_LOGGING: 'false'
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 record yarn check-imports
- run: npx nx-cloud record yarn nx format:check --base=$NX_BASE --head=$NX_HEAD
- run: npx nx-cloud record yarn check-commit
- run: npx nx-cloud record yarn depcheck
- run: pnpm nx-cloud start-ci-run --stop-agents-after="e2e"
- run:
name: Check Documentation
command: npx nx-cloud record yarn documentation
command: pnpm nx documentation --no-dte
no_output_timeout: 20m
- run:
name: Run Lint/Test/Build
name: Run Checks/Lint/Test/Build
no_output_timeout: 60m
command: |
pids=()
npx nx-cloud record yarn nx workspace-lint &
pnpm nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD &
pids+=($!)
yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
pnpm nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte &
pids+=($!)
yarn nx affected --target=test --base=$NX_BASE --head=$NX_HEAD --parallel=1 &
pnpm nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
pids+=($!)
yarn nx affected --target=build --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
pnpm nx affected --target=test --base=$NX_BASE --head=$NX_HEAD --parallel=1 &
pids+=($!)
(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
wait "$pid"
done
- run:
name: Run E2E Tests
command: |
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-storybook,e2e-storybook-angular,e2e-react-native,e2e-detox --parallel=1
no_output_timeout: 45m
- run:
name: Stop All Running Agents for This CI Run
command: npx nx-cloud stop-all-agents
# -------------------------
# JOBS: Main-MacOS
# -------------------------
@@ -205,38 +208,25 @@ jobs:
executor: macos
environment:
NX_E2E_CI_CACHE_KEY: e2e-circleci-macos
NX_DAEMON: 'false' # TODO: set to true after #18410
NX_PERF_LOGGING: 'false'
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: Check if "detox" or "react-native" were modified directly
name: Run E2E Tests for macOS
command: |
COUNT=`git diff --name-only $NX_BASE $NX_HEAD | (grep -E 'packages/detox|packages/react-native|e2e/detox|e2e/react-native' || true) | wc -l`
if [[ $COUNT -gt 0 ]]; then
echo "React Native and Detox were touched directly"
echo "export E2E_AFFECTED=true;" >> $BASH_ENV
else
echo "React Native and Detox were not touched directly"
echo "export E2E_AFFECTED=false;" >> $BASH_ENV
fi
- run:
name: Run E2E Tests
command: |
if $E2E_AFFECTED; then
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-detox,e2e-js,e2e-next,e2e-workspace-create,e2e-nx-run,e2e-nx-misc,e2e-react,e2e-web,e2e-angular-extensions,e2e-angular-core,e2e-nx-plugin,e2e-cypress,e2e-node,e2e-linter,e2e-jest,e2e-add-nx-to-monorepo,nx-dev-e2e,e2e-nx-init,e2e-dep-graph-client --parallel=1;
else
echo "Skipping E2E tests";
fi
pnpm nx affected -t e2e-macos --parallel=1 --base=$NX_BASE --head=$NX_HEAD
no_output_timeout: 45m
- run:
name: Stop All Running Agents for This CI Run
command: npx nx-cloud stop-all-agents
# -------------------------
# WORKFLOWS(JOBS)
-86
View File
@@ -1,86 +0,0 @@
module.exports = {
types: [
{ value: 'feat', name: 'feat: A new feature' },
{ value: 'fix', name: 'fix: A bug fix' },
{ value: 'docs', name: 'docs: Documentation only changes' },
{
value: 'cleanup',
name: 'cleanup: A code change that neither fixes a bug nor adds a feature',
},
{
value: 'chore',
name: "chore: Other changes that don't modify src or test files",
},
],
scopes: [
{ name: 'angular', description: 'anything Angular specific' },
{ name: 'core', description: 'anything Nx core specific' },
{ name: 'nxdev', description: 'anything related to docs infrastructure' },
{ name: 'nextjs', description: 'anything Next specific' },
{ name: 'nest', description: 'anything Nest specific' },
{ name: 'node', description: 'anything Node specific' },
{ name: 'js', description: 'anything TS->JS specific' },
{ name: 'express', description: 'anything Express specific' },
{ name: 'nx-plugin', description: 'anything Nx Plugin specific' },
{ name: 'react', description: 'anything React specific' },
{ name: 'react-native', description: 'anything React Native specific' },
{ name: 'detox', description: 'anything Detox specific' },
{ name: 'web', description: 'anything Web specific' },
{ name: 'linter', description: 'anything Linter specific' },
{ name: 'storybook', description: 'anything Storybook specific' },
{ name: 'dep-graph', description: 'anything dep-graph app specific' },
{
name: 'testing',
description: 'anything testing specific (e.g., jest or cypress)',
},
{
name: 'repo',
description: 'anything related to managing the repo itself',
},
{ name: 'misc', description: 'misc stuff' },
{ name: 'devkit', description: 'devkit-related changes' },
],
allowTicketNumber: true,
isTicketNumberRequired: false,
ticketNumberPrefix: 'TICKET-',
ticketNumberRegExp: '\\d{1,5}',
// it needs to match the value for field type. Eg.: 'fix'
/*
scopeOverrides: {
fix: [
{name: 'merge'},
{name: 'style'},
{name: 'e2eTest'},
{name: 'unitTest'}
]
},
*/
// override the messages, defaults are as follows
messages: {
type: "Select the type of change that you're committing:",
scope: '\nDenote the SCOPE of this change (optional):',
// used if allowCustomScopes is true
customScope: 'Denote the SCOPE of this change:',
subject:
'Write a SHORT, IMPERATIVE (lowercase) description of the change:\n',
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
breaking: 'List any BREAKING CHANGES (optional):\n',
footer:
'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
confirmCommit: 'Are you sure you want to proceed with the commit above?',
},
allowCustomScopes: false,
allowBreakingChanges: ['feat', 'fix'],
// skip any questions you want
skipQuestions: ['ticketNumber'],
// limit subject length
subjectLimit: 100,
// breaklineChar: '|', // It is supported for fields body and footer.
// footerPrefix : 'ISSUES CLOSED:'
// askForBreakingChangeFirst : true, // default is false
};
+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"
}
+18
View File
@@ -0,0 +1,18 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# 4 space indentation
[*.{js,ts,jsx,tsx}]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
+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": ["*"]
}
]
}
]
}
}
]
-33
View File
@@ -1,33 +0,0 @@
---
name: "🐞 Bug Report"
about: Report a bug
labels: "type: bug"
---
<!-- Please do your best to fill out all of the sections below! -->
## Current Behavior
<!-- What is the behavior that currently you experience? -->
## Expected Behavior
<!-- What is the behavior that you expect to happen? -->
<!-- Is this a regression? .i.e Did this used to be the behavior at one point? -->
## Steps to Reproduce
<!-- Help us help you by making it easy for us to reproduce your issue! -->
<!-- Can you reproduce this on https://github.com/nrwl/nx-examples? -->
<!-- If so, open a PR with your changes and link it below. -->
<!-- If not, please provide a minimal Github repo -->
<!-- At the very least, provide as much detail as possible to help us reproduce the issue -->
<!-- Remove this line -->
This issue may not be prioritized if details are not provided to help us reproduce the issue.
### Failure Logs
<!-- Please include any relevant log snippets or files here. -->
### Environment
<!-- It's important for us to know the context in which you experience this behavior! -->
<!-- Please paste the result of `nx report` below! -->
+75
View File
@@ -0,0 +1,75 @@
name: 🐞 Bug Report
description: This form is to report unexpected behavior in Nx.
labels: [ "type: bug" ]
body:
- type: markdown
attributes:
value: |
Thank you for taking your precious time to file an issue! 🙏 We are sorry for the inconvenience this issue has caused you and want to resolve it as soon as possible.
Help us help you! We know that your time is precious and hate to ask for any more of it, but the first step in fixing this issue is to understand the issue. Taking some extra time to ensure that we are able to reproduce the issue will help us significantly in resolving the issue.
- type: textarea
id: current-behavior
attributes:
label: Current Behavior
description: What is the behavior that currently you experience?
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: What is the behavior that you expect to happen?
validations:
required: true
- type: input
id: repo
attributes:
label: GitHub Repo
description: |
This is extremely important! If this issue is reproduce-able on https://github.com/nrwl/nx-examples, you may use that as the repo.
If not, please do take a few minutes of your time to create a repo to help us reproduce the issue.
This is the best way to help us reproduce the issue and fix it as soon as possible.
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: Please provide some instructions to reproduce the issue in the repo provided above. Be as detailed as possible.
value: |
1.
validations:
required: true
- type: textarea
id: nx-report
attributes:
label: Nx Report
description: Please paste the contents shown by `nx report`. This will be automatically formatted into code, so no need for backticks.
render: shell
validations:
required: true
- type: textarea
id: logs
attributes:
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:
label: Additional Information
description: Is there any additional information that you can provide?
- type: markdown
id: disclaimer
attributes:
value: |
> If we are not able to reproduce the issue, we will likely prioritize fixing other issues we can reproduce. Please do your best to fill out all of the sections above.
@@ -1,9 +1,31 @@
<!--
_[Please make sure you have read the submission guidelines before posting an PR](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#submit-pr)_
# Community Plugin Submission
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`:
@@ -20,4 +42,15 @@ 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
## {replace with plugin's name}
<!--
Describe what your plugin is and what is its goal or issues it addresses. If you don't provide a description, we will not merge your PR.
Is it focused on a technology, tooling or behaviour? Does the plugin provide generators, executors or graph support?
Do you know who is already using the plugin? Mention who is the author of the plugin.
-->
+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)
}'
+552 -92
View File
@@ -6,115 +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:
preinstall:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
include:
- os: ubuntu-latest
os-name: ubuntu
os-cache-dir: /tmp/nx-cache
- os: macos-latest
os-name: osx
os-cache-dir: /tmp/nx-cache
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:
- e2e-angular-core,e2e-angular-extensions
- e2e-nx-run,e2e-nx-misc,e2e-nx-plugin,e2e-jest,e2e-linter
project:
- e2e-angular-core
- e2e-angular-extensions
- 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-nx-init
- e2e-nx-misc
- e2e-nx-plugin
- e2e-nx-run
- e2e-react-core
- e2e-react-extensions
- e2e-react-native
- e2e-web
- e2e-rollup
- e2e-storybook
- e2e-storybook-angular
- e2e-vite
- e2e-webpack
- e2e-workspace-create
- e2e-react-native
# - e2e-detox
- e2e-add-nx-to-monorepo
- e2e-dep-graph-client
exclude:
# exclude react-native and detox from ubuntu
- 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-dep-graph-client
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@v2
with:
fetch-depth: 0
uses: actions/checkout@v3
- name: Prepare dir for output
run: mkdir -p outputs
- name: Install PNPM
if: ${{ matrix.package_manager == 'pnpm' }}
uses: pnpm/action-setup@v2.2.1
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@v2.4.0
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
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn
uses: actions/cache@v2
- 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' }}
@@ -131,17 +360,28 @@ 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' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
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:
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: |
@@ -149,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: ${{ matrix.os-cache-dir }}
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: ${{ 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 }}
+377 -78
View File
@@ -6,117 +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:
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:
- e2e-angular-core,e2e-angular-extensions
- e2e-nx-run,e2e-nx-misc,e2e-nx-plugin,e2e-jest,e2e-linter
project:
- e2e-angular-core
- e2e-angular-extensions
- 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-dep-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@v2
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v2.4.0
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
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8.3.1
run_install: false
- name: Cache yarn
uses: actions/cache@v2
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: ${{ 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.
+32 -15
View File
@@ -5,25 +5,42 @@ on:
- cron: "0 0 * * *"
workflow_dispatch:
permissions: {}
jobs:
audit:
permissions:
contents: read # to fetch code (actions/checkout)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: Report Status
if: ${{ always() && github.repository_owner == 'nrwl' }}
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
message_format: '{emoji} *{workflow}* {status_message} on <{commit_url}|{commit_sha}>'
notification_title: '{workflow} has {status_message}'
footer: 'From <{repo_url}|{repo}>'
mention_users: 'U01UELKLYF2'
mention_users_when: 'failure,warnings'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
- 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 .
report:
if: ${{ always() && github.repository_owner == 'nrwl' && github.event_name != 'workflow_dispatch' }}
needs: audit
runs-on: ubuntu-latest
name: Report status
steps:
- name: Send notification
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.audit.result }}
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:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
+239
View File
@@ -0,0 +1,239 @@
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:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
fail-fast: false
matrix:
settings:
- host: macos-latest
target: x86_64-apple-darwin
build: |
pnpm nx run-many --target=build-native -- --target=x86_64-apple-darwin
- host: windows-latest
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
# build: |
# yarn nx -- run-many --target=build-native -- --target=i686-pc-windows-msvc
# target: i686-pc-windows-msvc
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
set -e &&
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 && pnpm nx run-many --target=build-native -- --target=x86_64-unknown-linux-musl
- host: macos-latest
target: aarch64-apple-darwin
build: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
export CC=$(xcrun -f clang);
export CXX=$(xcrun -f clang++);
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
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 &&
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: |
pnpm nx run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
# Android (not needed)
# - host: ubuntu-latest
# target: aarch64-linux-android
# build: |
# pnpm nx run-many --target=build-native -- --target=aarch64-linux-android
# - host: ubuntu-latest
# target: armv7-linux-androideabi
# build: |
# 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 &&
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-musl
- host: windows-latest
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: '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:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
.cargo-cache
target/
key: ${{ matrix.settings.target }}-cargo-registry
- uses: goto-bus-stop/setup-zig@v2
if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }}
with:
version: 0.10.0
- name: Setup toolchain
run: ${{ matrix.settings.setup }}
if: ${{ matrix.settings.setup }}
shell: bash
- name: Setup node x86
if: matrix.settings.target == 'i686-pc-windows-msvc'
run: yarn config set supportedArchitectures.cpu "ia32"
shell: bash
- name: Install dependencies
run: pnpm install --frozen-lockfile
timeout-minutes: 30
- name: Setup node x86
uses: actions/setup-node@v3
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: 18
check-latest: true
cache: pnpm
architecture: x86
- name: Build in docker
uses: addnab/docker-run-action@v3
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build
run: ${{ matrix.settings.build }}
- name: Build
run: ${{ matrix.settings.build }}
if: ${{ !matrix.settings.docker }}
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
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: 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
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: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
- name: List artifacts
run: ls -R artifacts
shell: bash
- name: Publish
run: |
git checkout -b publish/$GITHUB_REF_NAME
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
pnpm nx-release --local=false $GITHUB_REF_NAME
env:
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+9
View File
@@ -1,9 +1,18 @@
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)
name: stale
runs-on: ubuntu-latest
steps:
+19 -2
View File
@@ -1,5 +1,6 @@
node_modules
.idea
/.idea
/.fleet
/.vscode
dist
/build
@@ -12,8 +13,24 @@ jest.debug.config.js
.tool-versions
/.nx-cache
/.verdaccio/build/local-registry
dep-graph/client/src/assets/environment.js
/graph/client/src/assets/environment.js
/graph/client/src/assets/dev/environment.js
/graph/client/src/assets/generated-project-graphs
/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
+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
+2 -1
View File
@@ -1 +1,2 @@
nx-dev/**/jest.config.js
nx-dev/**/jest.config.js
.next
+36 -24
View File
@@ -1,24 +1,36 @@
tmp
/test
/build
node_modules
/package.json
packages/workspace/src/generators/**/files/**/*.json
packages/workspace/src/core/dep-graph/vendor.js
packages/angular/src/schematics/**/files/**/*.json
packages/angular/src/migrations/**/files/**/*.json
packages/web/src/generators/**/files/**/*.json
packages/node/src/schematics/**/files/**/*.json
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/**/schematics/**/files/**/*.html
packages/**/generators/**/files/**/*.html
/.vscode
/.idea
/.github
/coverage
/.yarn
/.verdaccio/build/local-registry
/dist
tmp
/test
/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
packages/web/src/generators/**/files/**/*.json
packages/node/src/schematics/**/files/**/*.json
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/plugins/js/lock-file/__fixtures__/**/*.*
packages/**/schematics/**/files/**/*.html
packages/**/generators/**/files/**/*.html
packages/nx/src/native/
nx-dev/nx-dev/.next/
nx-dev/nx-dev/public/documentation
graph/client/src/assets/environment.js
graph/client/src/assets/dev/environment.js
graph/client/src/assets/generated-graphs
graph/client/src/assets/generated-project-graphs
graph/client/src/assets/generated-task-graphs
/.vscode
/.idea
/.fleet
/.github
/coverage
/.yarn
/.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
+180
View File
@@ -0,0 +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 @nrwl/nx-docs-reviewers
/docs/nx-cloud @StalkAltan @rarmatei @nrwl/nx-docs-reviewers
/graph/** @philipjfulcher @FrozenPandaz @bcabanes
/images @nrwl/nx-docs-reviewers
/nx-dev/** @nrwl/nx-docs-reviewers
/typedoc-theme @nrwl/nx-docs-reviewers
# Plugin Verticals
## Angular
/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/** @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/** @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/** @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/** @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/** @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/** @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/** @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/** @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/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/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 @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/documentation @nrwl/nx-docs-reviewers
/scripts/angular-support-upgrades @nrwl/nx-angular-reviewers
# CI
/.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 @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
+149 -64
View File
@@ -12,34 +12,58 @@ Watch this 5-minute video:
## Got a Question?
We are trying to keep GitHub issues for bug reports and feature requests. Using the `nrwl` tag on [Stack Overflow](https://stackoverflow.com/questions/tagged/nrwl) is a much better place to ask general questions about how to use Nx.
We are trying to keep GitHub issues for bug reports and feature requests. Using the `nrwl` tag
on [Stack Overflow](https://stackoverflow.com/questions/tagged/nrwl) is a much better place to ask general questions
about how to use Nx.
## Found an Issue?
If you find a bug in the source code or a mistake in the documentation, you can help us by [submitting an issue](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#submit-issue) to [our GitHub Repository](https://github.com/nrwl/nx). Even better, you can [submit a Pull Request](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#submit-pr) with a fix.
If you find a bug in the source code or a mistake in the documentation, you can help us
by [submitting an issue](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#submit-issue)
to [our GitHub Repository](https://github.com/nrwl/nx). Even better, you
can [submit a Pull Request](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#submit-pr) with a fix.
## Project Structure
Source code and documentation are included in the top-level folders listed below.
- `docs` - Markdown and configuration files for documentation including tutorials, guides for each supported platform, and API docs.
- `docs` - Markdown and configuration files for documentation including tutorials, guides for each supported platform,
and API docs.
- `e2e` - E2E tests.
- `packages` - Source code for Nx packages such as Angular, React, Web, NestJS, Next and others including generators and executors (or builders).
- `packages` - Source code for Nx packages such as Angular, React, Web, NestJS, Next and others including generators and
executors (or builders).
- `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
@@ -49,28 +73,50 @@ 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:
```bash
# Starts the local registry. Keep this running in a separate terminal.
yarn local-registry start
# Set npm and yarn to use the local registry.
# Note: This reroutes your installs to your local registry
yarn local-registry enable
# Revert npm and yarn to use their default registries
yarn local-registry disable
```
To publish packages to a local registry, do the following:
- Run `yarn local-registry start` 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 999.9.9 --local` in Terminal 2
- 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 `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@999.9.9` in Terminal 2
- Run `npx create-nx-workspace@17.0.0` in Terminal 2
If you have problems publishing, make sure you use Node 14 and NPM 6 instead of Node 15 and NPM 7.
If you have problems publishing, make sure you use Node 18 and NPM 8.
**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)
Yarn Berry operates slightly differently than Yarn Classic. In order to publish packages for Berry follow next steps:
- 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 `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:
```yml
npmRegistries:
'https://registry.yarnpkg.com':
npmAuthToken: npm_******************
yarnPath: .yarn/releases/yarn-3.2.2.cjs
npmRegistryServer: 'http://localhost:4873'
unsafeHttpWhitelist:
- localhost
```
- 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
- Run `yarn dlx create-nx-workspace@123.4.5` in Terminal 2 (replace `123.4.5` with the version that got published).
### Running Unit Tests
@@ -88,30 +134,40 @@ nx test jest
### Running E2E Tests
**Use Node 14 and NPM 6. E2E tests won't work on Node 15 and NPM 7.**
**Use Node 18 and NPM 8. E2E tests won't work on Node 15 and NPM 7.**
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 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.
### Developing on Windows
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 compiled for Windows.
- 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.
## Documentation Contributions
We would love for you to contribute to our documentation as well! Please feel welcome to submit fixes or enhancements to our existing documentation pages and the `nx-dev` application in this repo.
We would love for you to contribute to our documentation as well! Please feel welcome to submit fixes or enhancements to
our existing documentation pages and the `nx-dev` application in this repo.
### Documentation Structure
@@ -119,28 +175,36 @@ We would love for you to contribute to our documentation as well! Please feel we
Our documentation pages can be found within this repo under the `docs` directory.
The `docs/map.json` file is considered our source of truth for our site's structure, and should be updated when adding a new page to our documentation to ensure that it is included in the documentation site. We also run automated scripts based on this `map.json` data to safeguard against common human errors that could break our site.
The `docs/map.json` file is considered our source of truth for our site's structure, and should be updated when adding a
new page to our documentation to ensure that it is included in the documentation site. We also run automated scripts
based on this `map.json` data to safeguard against common human errors that could break our site.
#### Nx-Dev Application
Our public `nx.dev` documentation site is a [Next.js](https://nextjs.org/) application, that can be found in the `nx-dev` directory of this repo.
The documentation site is consuming the `docs/` directly by copy-ing its content while deploying, so the website is always in sync and reflects the latest version of `docs/`.
Our public `nx.dev` documentation site is a [Next.js](https://nextjs.org/) application, that can be found in
the `nx-dev` directory of this repo.
The documentation site is consuming the `docs/` directly by copy-ing its content while deploying, so the website is
always in sync and reflects the latest version of `docs/`.
Jump to [Running the Documentation Site Locally](#running-the-documentation-site-locally) to see how to preview your changes while serving.
Jump to [Running the Documentation Site Locally](#running-the-documentation-site-locally) to see how to preview your
changes while serving.
### Changing Generated API documentation
`.md` files documenting the API for our CLI (including executor and generator API docs) are generated via the corresponding `schema.json` file for the given command.
`.md` files documenting the API for our CLI (including executor and generator API docs) are generated via the
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 husky) as well.
This will update the corresponding contents of the `docs` directory. These are generated automatically on push (via
husky) as well.
Note that adjusting the `schema.json` files will also affect the CLI manuals and Nx Console behavior, in addition to adjusting the docs.
Note that adjusting the `schema.json` files will also affect the CLI manuals and Nx Console behavior, in addition to
adjusting the docs.
### Running the Documentation Site Locally
@@ -154,7 +218,9 @@ You can then access the application locally at `localhost:4200`.
#### Troubleshooting: `JavaScript heap out of memory`
If you see an error that states: `FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`, you need to [increase the max memory size of V8's old memory section](https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes):
If you see an error that states: `FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`,
you need
to [increase the max memory size of V8's old memory section](https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes):
```bash
export NODE_OPTIONS="--max-old-space-size=4096"
@@ -164,25 +230,34 @@ After configuring this, try to run `npx nx serve nx-dev` again.
### PR Preview
When submitting a PR, this repo will automatically generate a preview of the `nx-dev` application based on the contents of your pull request.
When submitting a PR, this repo will automatically generate a preview of the `nx-dev` application based on the contents
of your pull request.
Once the preview site is launched, a comment will automatically be added to your PR with the link your PR's preview. To check your docs changes, make sure to select `Preview` from the version selection box of the site.
Once the preview site is launched, a comment will automatically be added to your PR with the link your PR's preview. To
check your docs changes, make sure to select `Preview` from the version selection box of the site.
## Submission Guidelines
### <a name="submit-issue"></a> Submitting an Issue
Before you submit an issue, please search the issue tracker. An issue for your problem may already exist and has been resolved, or the discussion might inform you of workarounds readily available.
Before you submit an issue, please search the issue tracker. An issue for your problem may already exist and has been
resolved, or the discussion might inform you of workarounds readily available.
We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. Having a reproducible scenario gives us wealth of important information without going back and forth with you requiring additional information, such as:
We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. Having a
reproducible scenario gives us wealth of important information without going back and forth with you requiring
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 fixing the right problem.
A minimal reproduction allows us to quickly confirm a bug (or point out a coding problem) as well as confirm that we are
fixing the right problem.
We will be insisting on a minimal reproduction in order to save maintainers' time and ultimately be able to fix more bugs. Interestingly, from our experience, users often find coding problems themselves while preparing a minimal reproduction repository. We understand that sometimes it might be hard to extract essentials bits of code from a larger codebase, but we really need to isolate the problem before we can fix it.
We will be insisting on a minimal reproduction in order to save maintainers' time and ultimately be able to fix more
bugs. Interestingly, from our experience, users often find coding problems themselves while preparing a minimal
reproduction repository. We understand that sometimes it might be hard to extract essentials bits of code from a larger
codebase, but we really need to isolate the problem before we can fix it.
You can file new issues by filling out our [issue form](https://github.com/nrwl/nx/issues/new/choose).
@@ -192,16 +267,16 @@ Please follow the following guidelines:
- Make sure unit tests pass (`nx affected --target=test`)
- Target a specific project with: `nx run proj:test` (i.e. `nx run angular:test` to target `packages/angular`)
- Target a specific unit test file (i.e. `packages/angular/src/utils/ast-command-line-utils.spec.ts`) with `npx jest angular/src/utils/ast-utils` or `npx jest packages/angular/src/utils/ast-utils`
- Target a specific unit test file (i.e. `packages/angular/src/utils/ast-command-line-utils.spec.ts`)
with `npx jest angular/src/utils/ast-utils` or `npx jest packages/angular/src/utils/ast-utils`
- For more options on running tests - check `npx jest --help` or visit [jestjs.io](https://jestjs.io/)
- Debug with `node --inspect-brk ./node_modules/jest/bin/jest.js build/packages/angular/src/utils/ast-utils.spec.js`
- Make sure e2e tests pass (this can take a while, so you can always let CI check those) (`yarn e2e`)
- Target a specific e2e test (i.e. `/build/e2e/cypress.test.js`) with `yarn e2e cypress`
- Debug with `node --inspect-brk ./node_modules/jest/bin/jest.js build/e2e/cypress.test.js`
- Make sure you run `yarn 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
- 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 `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
@@ -217,9 +292,12 @@ body
The type must be one of the following:
- feat - New or improved behavior being introduced (e.g. Updating to new versions of React or Jest which bring in new features)
- fix - Fixes the current unexpected behavior to match expected behavior (e.g. Fixing the library generator to create the proper named project)
- cleanup - Code Style changes that have little to no effect on the user (e.g. Refactoring some functions into a different file)
- feat - New or improved behavior being introduced (e.g. Updating to new versions of React or Jest which bring in new
features)
- fix - Fixes the current unexpected behavior to match expected behavior (e.g. Fixing the library generator to create
the proper named project)
- cleanup - Code Style changes that have little to no effect on the user (e.g. Refactoring some functions into a
different file)
- docs - Changes to the documentation (e.g. Adding more details into the getting started guide)
- chore - Changes that have absolutely no effect on users (e.g. Updating the version of Nx used to build the repo)
@@ -228,29 +306,35 @@ The type must be one of the following:
The scope must be one of the following:
- angular - anything Angular specific
- bundling - anything bundling specific (e.g. rollup, webpack, etc.)
- core - anything Nx core specific
- dep-graph - anything dep-graph app specific
- detox - anything Detox specific
- devkit - devkit-related changes
- 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
- nxdev - anything related to docs infrastructure
- nx-plugin - anything Nx Plugin specific
- node - anything Node specific
- nx-cloud - anything NxCloud specific
- nx-plugin - anything Nx Plugin specific
- nx-dev - anything related to docs infrastructure
- react - anything React specific
- react-native - anything React Native specific
- repo - anything related to managing the Nx repo itself
- storybook - anything Storybook specific
- testing - anything testing specific (e.g., Jest or Cypress)
- vite - anything Vite specific
- web - anything Web specific
- webpack - anything Webpack specific
- misc - misc stuff
##### Subject and Body
The subject must contain a description of the change, and the body of the message contains any additional details to provide more context about the change.
The subject must contain a description of the change, and the body of the message contains any additional details to
provide more context about the change.
Including the issue number that the PR relates to also helps with tracking.
@@ -267,4 +351,5 @@ Closes #157
#### Commitizen
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`.
**Nx is a [Commitizen](https://github.com/commitizen/cz-cli) friendly repository**, just do `git add` and
execute `pnpm commit`.
Generated
+2639
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
[workspace]
members = [
'packages/nx'
]
[profile.release]
lto = true
+22 -22
View File
@@ -1,22 +1,22 @@
(The MIT License)
Copyright (c) 2017-2022 Narwhal Technologies Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(The MIT License)
Copyright (c) 2017-2023 Narwhal Technologies Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+11 -7
View File
@@ -1,11 +1,15 @@
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png"
width="100%" alt="Nx - Smart, Fast and Extensible Build System"></p>
<p style="text-align: center;">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
<img alt="Nx - Smart, Fast and Extensible Build System" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
</picture>
</p>
<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)
@@ -22,9 +26,9 @@ Nx is a next generation build system with first class monorepo support and power
A few links to help you get started:
- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
- [Nx.Dev: Core Tutorials](https://nx.dev/core-tutorial/01-create-blog)
- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
- [Nx.Dev: Core Tutorials](https://nx.dev/getting-started/intro)
- [Recipe: Adding Nx to an Existing Monorepo](https://nx.dev/recipes/adopting-nx/adding-to-monorepo)
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="./images/nx-courses-and-videos.svg"
+192 -57
View File
@@ -1,13 +1,43 @@
[
{
"name": "nx-plugins",
"description": "Nx plugin integrations with ESBuild / Vite / Snowpack / Prisma, with derived ESBuild / Snowpack / ... plugins.",
"name": "@ahryman40k/nx-vitepress",
"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-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",
@@ -25,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",
@@ -70,24 +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": "@nx-tools/nx-docker",
"description": "Nx plugin to build docker images of your affected apps",
"url": "https://github.com/gperdomor/nx-tools/tree/main/packages/nx-docker"
},
{
"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",
@@ -109,6 +114,16 @@
"description": "Nx Plugin to integrate the generation of documentation with Compodoc in the Nx workflow",
"url": "https://github.com/twittwer/nx-tools/tree/master/libs/compodoc#readme"
},
{
"name": "@enio.ai/nx-install",
"description": "nx-install is a plugin for Nx workspaces to quickly setup custom install commands via npm.",
"url": "https://github.com/enio-ireland/enio/tree/develop/packages/nx-install#readme"
},
{
"name": "@enio.ai/typedoc",
"description": "typedoc is a plugin for Nx workspaces to quickly setup documentation automation on your projects using typedoc.",
"url": "https://github.com/enio-ireland/enio/tree/develop/packages/typedoc#readme"
},
{
"name": "@nxext/svelte",
"description": "Nx plugin to use Svelte within nx workspaces",
@@ -129,16 +144,16 @@
"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",
"url": "https://github.com/nx-go/nx-go"
},
{
"name": "@nx-golang/gin",
"description": "Nx plugin to use Go-Gin in a Nx workspace",
"url": "https://github.com/nx-golang/nx-golang"
},
{
"name": "@angular-architects/module-federation",
"description": "Nx plugin to use webpack module federation",
@@ -180,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"
},
@@ -231,19 +241,39 @@
},
{
"name": "@nx-extend/e2e-runner",
"description": "Nx plugin that can start your API before running Cypress",
"description": "Nx plugin that can start your API before running Cypress/Playwright",
"url": "https://github.com/tripss/nx-extend/tree/master/packages/e2e-runner"
},
{
"name": "@nx-extend/vercel",
"description": "Nx plugin to deploy your apps to Vercel",
"url": "https://github.com/tripss/nx-extend/tree/master/packages/vercel"
},
{
"name": "@nx-extend/strapi",
"description": "Nx plugin for developing Strapi applications",
"url": "https://github.com/tripss/nx-extend/tree/master/packages/strapi"
},
{
"name": "@nx-extend/playwright",
"description": "Nx plugin to run playwright e2e tests in an Nx workspace",
"url": "https://github.com/tripss/nx-extend/tree/master/packages/playwright"
},
{
"name": "@nx-extend/terraform",
"description": "Nx plugin for deploying your resources with Terraform",
"url": "https://github.com/tripss/nx-extend/tree/master/packages/terraform"
},
{
"name": "@nx-extend/pulumi",
"description": "Nx plugin for deploying your resources with Pulumi",
"url": "https://github.com/tripss/nx-extend/tree/master/packages/pulumi"
},
{
"name": "@nativescript/nx",
"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",
@@ -277,11 +307,116 @@
{
"name": "@diogovcs/graphql-mesh",
"description": "Nx plugin to add GraphQL Mesh integration to Nx Workspace.",
"url": "https://github.com/DiogoVCS/nx-graphql-mesh"
"url": "https://github.com/DiogoVCS/nx-workspace-plugins"
},
{
"name": "@computas/nx-yarn",
"description": "A plugin to help make nx with yarn a pleasant experience.",
"url": "https://github.com/computas/nx-yarn"
},
{
"name": "@theunderscorer/nx-semantic-release",
"description": "Nx plugin for automated releases using semantic-release.",
"url": "https://github.com/TheUnderScorer/nx-semantic-release"
},
{
"name": "nx-pwm",
"description": "Nx plugin and CLI to help maintain packages, inspired by NX repo tooling",
"url": "https://github.com/gioragutt/nx-pwm"
},
{
"name": "@nxrocks/nx-micronaut",
"description": "Nx plugin to generate, run, package, build (and more) Micronaut projects inside your Nx workspace",
"url": "https://github.com/tinesoft/nxrocks/tree/master/packages/nx-micronaut"
},
{
"name": "@koliveira15/nx-sonarqube",
"description": "Nx plugin that analyses projects using SonarQube / SonarCloud.",
"url": "https://github.com/koliveira15/nx-sonarqube"
},
{
"name": "@mands/nx-playwright",
"description": "The Playwright plugin allows your workspace to use the power of Playwright end-to-end testing using a native runner.",
"url": "https://github.com/marksandspencer/nx-plugins/tree/main/packages/nx-playwright"
},
{
"name": "@diogovcs/stryker-mutator",
"description": "Nx plugin to add Stryker Mutator mutation tests to the Nx Workspace.",
"url": "https://github.com/DiogoVCS/nx-workspace-plugins"
},
{
"name": "@spaceribs/nx-web-ext",
"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.",
"url": "https://github.com/gperdomor/nx-tools/tree/main/packages/nx-container"
},
{
"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"
}
]
-12
View File
@@ -1,12 +0,0 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/release-integration",
"modifyObstructiveCode": false,
"pluginsFile": "./src/plugins/index",
"supportFile": "./src/support/index.ts",
"video": true,
"videosFolder": "../../dist/cypress/dep-graph/client-e2e/videos",
"screenshotsFolder": "../../dist/cypress/dep-graph/client-e2e/screenshots",
"chromeWebSecurity": false
}
@@ -1,12 +0,0 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/watch-mode-integration",
"modifyObstructiveCode": false,
"pluginsFile": "./src/plugins/index",
"supportFile": "./src/support/index.ts",
"video": true,
"videosFolder": "../../dist/cypress/dep-graph/client-e2e/videos",
"screenshotsFolder": "../../dist/cypress/dep-graph/client-e2e/screenshots",
"chromeWebSecurity": false
}
-12
View File
@@ -1,12 +0,0 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/integration",
"modifyObstructiveCode": false,
"pluginsFile": "./src/plugins/index",
"supportFile": "./src/support/index.ts",
"video": true,
"videosFolder": "../../dist/cypress/dep-graph/client-e2e/videos",
"screenshotsFolder": "../../dist/cypress/dep-graph/client-e2e/screenshots",
"chromeWebSecurity": false
}
-49
View File
@@ -1,49 +0,0 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "dep-graph/client-e2e/src",
"projectType": "application",
"targets": {
"e2e-base": {
"executor": "@nrwl/cypress:cypress",
"options": {
"tsConfig": "dep-graph/client-e2e/tsconfig.e2e.json",
"baseUrl": "http://localhost:4200"
},
"configurations": {
"dev": {
"cypressConfig": "dep-graph/client-e2e/cypress.json",
"devServerTarget": "dep-graph-client:serve"
},
"watch": {
"cypressConfig": "dep-graph/client-e2e/cypress-watch-mode.json",
"devServerTarget": "dep-graph-client:serve:watch"
},
"release": {
"cypressConfig": "dep-graph/client-e2e/cypress-release.json",
"devServerTarget": "dep-graph-client:serve:release"
}
},
"defaultConfiguration": "dev"
},
"e2e": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"commands": [
"npx nx e2e-base e2e-dep-graph-client -c dev",
"npx nx e2e-base e2e-dep-graph-client -c watch",
"npx nx e2e-base e2e-dep-graph-client -c release"
],
"parallel": false
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["dep-graph/client-e2e/**/*.ts"]
}
}
},
"implicitDependencies": ["dep-graph-client"]
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,395 +0,0 @@
import {
getCheckedProjectItems,
getDeselectAllButton,
getFocusButtonForProject,
getGroupByFolderCheckbox,
getImageDownloadButton,
getIncludeProjectsInPathButton,
getSearchDepthCheckbox,
getSearchDepthIncrementButton,
getSelectAffectedButton,
getSelectAllButton,
getSelectProjectsMessage,
getTextFilterInput,
getTextFilterReset,
getUncheckedProjectItems,
getUnfocusProjectButton,
} from '../support/app.po';
import * as nxExamplesJson from '../fixtures/nx-examples.json';
import * as affectedJson from '../fixtures/affected.json';
describe('dep-graph-client', () => {
before(() => {
cy.intercept('/assets/graphs/nx.json', { fixture: 'nx-examples.json' }).as(
'getGraph'
);
cy.visit('/');
// wait for initial graph to finish loading
cy.wait('@getGraph');
});
afterEach(() => {
// clean up by hiding all projects and clearing text input
getDeselectAllButton().click();
getTextFilterInput().clear();
getCheckedProjectItems().should('have.length', 0);
});
describe('select projects message', () => {
it('should display on load', () => {
getSelectProjectsMessage().should('be.visible');
});
it('should hide when a project is selected', () => {
cy.contains('cart').scrollIntoView().should('be.visible');
cy.get('[data-project="cart"]').should('be.visible');
cy.get('[data-project="cart"]').click({ force: true });
getSelectProjectsMessage().should('not.exist');
});
});
describe('text filter', () => {
it('should hide clear button initially', () => {
getTextFilterReset().should('not.exist');
});
it('should show clear button after typing', () => {
getTextFilterInput().type('cart');
getTextFilterReset().should('exist');
});
it('should clear selection on reset', () => {
getTextFilterInput().type('cart');
getCheckedProjectItems().should(
'have.length',
nxExamplesJson.projects.filter((project) =>
project.name.includes('cart')
).length
);
getTextFilterReset().click();
getCheckedProjectItems().should('have.length', 0);
});
it('should hide clear button after clicking', () => {
getTextFilterInput().type('cart');
getTextFilterReset().click().should('not.exist');
});
it('should filter projects by text when pressing enter', () => {
getTextFilterInput().type('cart{enter}');
getCheckedProjectItems().should(
'have.length',
nxExamplesJson.projects.filter((project) =>
project.name.includes('cart')
).length
);
});
it('should filter projects by text after debounce', () => {
getTextFilterInput().type('cart');
getCheckedProjectItems().should(
'have.length',
nxExamplesJson.projects.filter((project) =>
project.name.includes('cart')
).length
);
});
it('should include projects in path when option is checked', () => {
getTextFilterInput().type('cart');
getIncludeProjectsInPathButton().click();
getCheckedProjectItems().should(
'have.length.gt',
nxExamplesJson.projects.filter((project) =>
project.name.includes('cart')
).length
);
});
});
describe('select all button', () => {
it('should check all project items', () => {
getSelectAllButton().scrollIntoView().click({ force: true });
getCheckedProjectItems().should(
'have.length',
nxExamplesJson.projects.length
);
});
});
describe('deselect all button', () => {
it('should uncheck all project items', () => {
getDeselectAllButton().click();
getUncheckedProjectItems().should(
'have.length',
nxExamplesJson.projects.length
);
getSelectProjectsMessage().should('be.visible');
});
});
describe('show affected button', () => {
it('should be hidden initially', () => {
getSelectAffectedButton().should('not.exist');
});
it('should check all affected project items', () => {
cy.intercept('/assets/graphs/affected.json', {
fixture: 'affected.json',
}).as('getAffectedGraph');
cy.get('[data-cy=project-select]').select('Affected', { force: true });
cy.wait('@getAffectedGraph');
getSelectAffectedButton().click();
getCheckedProjectItems().should(
'have.length',
affectedJson.affected.length
);
// switch back to Nx Examples graph before proceeding
cy.intercept('/assets/graphs/nx-examples.json', {
fixture: 'nx-examples.json',
}).as('getGraph');
cy.get('[data-cy=project-select]').select('Nx Examples', { force: true });
cy.wait('@getGraph');
});
});
describe('selecting projects', () => {
it('should select a project by clicking on the project name', () => {
cy.get('[data-project="cart"]').should('have.data', 'active', false);
cy.get('[data-project="cart"]').click({
force: true,
});
cy.get('[data-project="cart"][data-active="true"]').should('exist');
});
it('should deselect a project by clicking on the project name again', () => {
cy.get('[data-project="cart"]').click({
force: true,
});
cy.get('[data-project="cart"][data-active="true"]')
.should('exist')
.click({
force: true,
});
cy.get('[data-project="cart"][data-active="false"]').should('exist');
});
it('should select a project by clicking on the selected icon', () => {
cy.get('[data-project="cart"][data-active="false"]').click({
force: true,
});
cy.get('[data-project="cart"][data-active="true"]')
.should('exist')
.parent()
.siblings()
.first()
.should('exist')
.click({
force: true,
});
cy.get('[data-project="cart"][data-active="false"]').should('exist');
});
});
describe('focusing projects in sidebar', () => {
it('should select appropriate projects', () => {
cy.contains('cart').scrollIntoView().should('be.visible');
getFocusButtonForProject('cart').click({ force: true });
const dependencies = nxExamplesJson.dependencies.cart;
const dependents = Object.keys(nxExamplesJson.dependencies).filter(
(key) =>
nxExamplesJson.dependencies[key]
.map((dependencies) => dependencies.target)
.includes('cart')
);
getCheckedProjectItems().should(
'have.length',
['cart', ...dependencies, ...dependents].length
);
});
});
describe('unfocus button', () => {
it('should uncheck all project items', () => {
getFocusButtonForProject('cart').click({ force: true });
getUnfocusProjectButton().click();
getCheckedProjectItems().should('have.length', 0);
});
});
describe('image download button', () => {
it('should be hidden initally', () => {
getImageDownloadButton().should('have.class', 'opacity-0');
});
it('should be shown when a project is selected', () => {
cy.get('[data-project="cart"]').click({ force: true });
getImageDownloadButton().should('not.have.class', 'opacity-0');
});
it('should be hidden when no more projects are selected', () => {
cy.get('[data-project="cart"]').click({ force: true });
getDeselectAllButton().click();
getImageDownloadButton().should('have.class', 'opacity-0');
});
});
describe('setting url params', () => {
it('should set focused project', () => {
cy.contains('cart').scrollIntoView().should('be.visible');
getFocusButtonForProject('cart').click({ force: true });
cy.url().should('contain', 'focus=cart');
});
it('should set group by folder', () => {
getGroupByFolderCheckbox().click();
cy.url().should('contain', 'groupByFolder=true');
});
it('should set search depth disabled', () => {
// it's on by default, clicking should disable it
getSearchDepthCheckbox().click();
cy.url().should('contain', 'searchDepth=0');
});
it('should set search depth if greater than 1', () => {
// it's on by default and set to 1, clicking should change it to 2
getSearchDepthIncrementButton().click();
cy.url().should('contain', 'searchDepth=2');
});
it('should set select to all', () => {
getSelectAllButton().click();
cy.url().should('contain', 'select=all');
});
});
});
describe('loading dep-graph client with url params', () => {
beforeEach(() => {
cy.intercept('/assets/graphs/*', { fixture: 'nx-examples.json' }).as(
'getGraph'
);
});
it('should focus projects', () => {
cy.visit('/?focus=cart');
// wait for first graph to finish loading
cy.wait('@getGraph');
const dependencies = nxExamplesJson.dependencies.cart;
const dependents = Object.keys(nxExamplesJson.dependencies).filter((key) =>
nxExamplesJson.dependencies[key]
.map((dependencies) => dependencies.target)
.includes('cart')
);
getCheckedProjectItems().should(
'have.length',
['cart', ...dependencies, ...dependents].length
);
});
it('should focus projects with search depth', () => {
cy.visit('/?focus=cart&searchDepth=2');
// wait for first graph to finish loading
cy.wait('@getGraph');
getCheckedProjectItems().should('have.length', 10);
getSearchDepthCheckbox().should('exist');
});
it('should focus projects with search depth disabled', () => {
cy.visit('/?focus=cart&searchDepth=0');
// wait for first graph to finish loading
cy.wait('@getGraph');
getCheckedProjectItems().should('have.length', 12);
getSearchDepthCheckbox().should('exist');
});
it('should set group by folder', () => {
cy.visit('/?focus=nx-dev&searchDepth=1&groupByFolder=true');
// wait for first graph to finish loading
cy.wait('@getGraph');
getGroupByFolderCheckbox().should('be.checked');
});
it('should select all projects', () => {
cy.visit('/?select=all');
// wait for first graph to finish loading
cy.wait('@getGraph');
getCheckedProjectItems().should(
'have.length',
nxExamplesJson.projects.length
);
});
});
describe('theme preferences', () => {
let systemTheme: string;
before(() => {
cy.visit('/');
systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light';
});
it('should initialize localstorage with default theme', () => {
expect(localStorage.getItem('nx-dep-graph-theme')).eq('system');
});
it('has system default theme', () => {
cy.log('system theme is:', systemTheme);
cy.get('html').should('have.class', systemTheme);
});
describe('dark theme is set as prefered', () => {
before(() => {
cy.get('[data-cy="theme-open-modal-button"]').click();
cy.get('[data-cy="dark-theme-button"]').click();
});
it('should set dark theme', () => {
cy.log('Localstorage is: ', localStorage.getItem('nx-dep-graph-theme'));
expect(localStorage.getItem('nx-dep-graph-theme')).eq('dark');
cy.get('html').should('have.class', 'dark');
});
});
describe('light theme is set as preferred', () => {
before(() => {
cy.get('[data-cy="theme-open-modal-button"]').click();
cy.get('[data-cy="light-theme-button"]').click();
});
it('should set light theme', () => {
cy.log('Localstorage is: ', localStorage.getItem('nx-dep-graph-theme'));
expect(localStorage.getItem('nx-dep-graph-theme')).eq('light');
cy.get('html').should('have.class', 'light');
});
});
});
-20
View File
@@ -1,20 +0,0 @@
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
const { preprocessTypescript } = require('@nrwl/cypress/plugins/preprocessor');
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
// Preprocess Typescript file using Nx helper
};
@@ -1,18 +0,0 @@
describe('dep-graph-client release', () => {
beforeEach(() => {
cy.intercept('/assets/graphs/*').as('getGraph');
cy.visit('/');
// wait for first graph to finish loading
cy.wait('@getGraph');
});
it('should not display experimental features', () => {
cy.get('experimental-features').should('not.exist');
});
it('should not display the debugger', () => {
cy.get('debugger-panel').should('not.exist');
});
});
@@ -1,34 +0,0 @@
export const getSelectProjectsMessage = () => cy.get('#no-projects-chosen');
export const getGraph = () => cy.get('#graph-container');
export const getSelectAllButton = () => cy.get('[data-cy=selectAllButton]');
export const getDeselectAllButton = () => cy.get('[data-cy=deselectAllButton]');
export const getSelectAffectedButton = () => cy.get('[data-cy=affectedButton]');
export const getUnfocusProjectButton = () => cy.get('[data-cy=unfocusButton]');
export const getProjectItems = () => cy.get('[data-project]');
export const getCheckedProjectItems = () => cy.get('[data-active="true"]');
export const getUncheckedProjectItems = () => cy.get('[data-active="false"]');
export const getGroupByFolderCheckbox = () =>
cy.get('input[name=displayOptions][value=groupByFolder]');
export const getSearchDepthCheckbox = () =>
cy.get('input[name=depthFilter][value=depthFilterActivated]');
export const getTextFilterInput = () => cy.get('[data-cy=textFilterInput]');
export const getTextFilterReset = () => cy.get('[data-cy=textFilterReset]');
export const getSearchDepthDecrementButton = () =>
cy.get('[data-cy=decrement-depth-filter]');
export const getSearchDepthIncrementButton = () =>
cy.get('[data-cy=increment-depth-filter]');
export const getIncludeProjectsInPathButton = () =>
cy.get('input[name=textFilterCheckbox]');
export const getImageDownloadButton = () =>
cy.get('[data-cy=downloadImageButton]');
export const getFocusButtonForProject = (projectName: string) =>
cy.get(`[data-cy="focus-button-${projectName}"]`);
@@ -1,71 +0,0 @@
import { getProjectItems } from '../support/app.po';
describe('dep-graph-client in watch mode', () => {
beforeEach(() => {
cy.clock();
cy.visit('/');
cy.tick(2000);
});
it('should auto-select new libs as they are created', () => {
const excludedValues = ['existing-app-1', 'existing-lib-1'];
cy.tick(5000);
checkSelectedProjects(3, excludedValues);
cy.tick(5000);
checkSelectedProjects(4, excludedValues);
cy.tick(5000);
checkSelectedProjects(5, excludedValues);
});
// TODO: This test is getting flaky but was fixed by increasing the tick time between checks
// Figure out a better way to test this
it('should retain selected projects as new libs are created', () => {
cy.get('[data-project="existing-app-1"]').click();
cy.get('[data-project="existing-lib-1"]').click();
cy.tick(6000);
checkSelectedProjects(3, []);
cy.tick(6000);
checkSelectedProjects(4, []);
cy.tick(6000);
checkSelectedProjects(5, []);
});
it('should not re-add new libs if they were un-selected', () => {
cy.tick(5000);
cy.get('[data-project*="3"][data-active="true"]')
.should('exist')
.click({ force: true });
cy.get('[data-project*="3"][data-active="false"]').should('exist');
cy.tick(5000);
cy.tick(5000);
cy.get('[data-project*="3"]')
.first()
.should((project) => {
expect(project.data('active')).to.be.false;
});
});
});
function checkSelectedProjects(
expectedNumberOfProjects: number,
excludedProjects: string[]
) {
getProjectItems().should((projects) => {
expect(projects.length).to.equal(expectedNumberOfProjects);
projects.each(function () {
if (!excludedProjects.includes(this.dataset.project)) {
expect(this.dataset.active).to.eq('true');
}
});
});
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"sourceMap": false,
"outDir": "../../dist/out-tsc",
"allowJs": true,
"types": ["cypress", "node"],
"lib": ["DOM"]
},
"include": ["src/**/*.ts", "src/**/*.js"]
}
-10
View File
@@ -1,10 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.e2e.json"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"presets": [
[
"@nrwl/react/babel",
{
"runtime": "automatic"
}
]
],
"plugins": []
}
-26
View File
@@ -1,26 +0,0 @@
{
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"rules": {
"@typescript-eslint/no-implicit-any": "off"
},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"no-restricted-imports": [
"error",
{ "paths": ["rxjs"], "patterns": ["rxjs/*"] }
]
}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
}
]
}
-18
View File
@@ -1,18 +0,0 @@
// nx-ignore-next-line
const nxPreset = require('@nrwl/jest/preset').default;
export default {
...nxPreset,
displayName: 'dep-graph-client',
transform: {
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/nx-dev/nx-dev',
// The mock for widnow.matchMedia has to be in a separete file and imported before the components to test
// for more info check : // https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom
modulePathIgnorePatterns: [
'/dep-graph/client/src/app/machines/match-media-mock.spec.ts',
],
};
-8
View File
@@ -1,8 +0,0 @@
module.exports = {
plugins: {
tailwindcss: {
config: './dep-graph/client/tailwind.config.js',
},
autoprefixer: {},
},
};
-120
View File
@@ -1,120 +0,0 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "dep-graph/client/src",
"projectType": "application",
"targets": {
"build-base": {
"executor": "@nrwl/web:webpack",
"options": {
"maxWorkers": 8,
"outputPath": "build/apps/dep-graph",
"index": "dep-graph/client/src/index.html",
"main": "dep-graph/client/src/main.tsx",
"polyfills": "dep-graph/client/src/polyfills.ts",
"tsConfig": "dep-graph/client/tsconfig.app.json",
"styles": ["dep-graph/client/src/styles.scss"],
"scripts": [],
"assets": [],
"webpackConfig": "dep-graph/client/webpack.config.js",
"optimization": false,
"outputHashing": "none",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"extractLicenses": false,
"vendorChunk": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
},
"configurations": {
"dev": {
"assets": [
"dep-graph/client/src/favicon.ico",
"dep-graph/client/src/assets/graphs/",
{
"input": "dep-graph/client/src/assets/dev",
"output": "/",
"glob": "environment.js"
}
]
},
"release": {
"assets": [
"dep-graph/client/src/favicon.ico",
{
"input": "dep-graph/client/src/assets/graphs",
"output": "/assets/graphs",
"glob": "nx-examples.json"
},
{
"input": "dep-graph/client/src/assets/release",
"output": "/",
"glob": "environment.js"
}
],
"optimization": true,
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
},
"watch": {
"assets": [
"dep-graph/client/src/favicon.ico",
{
"input": "dep-graph/client/src/assets/watch",
"output": "/",
"glob": "environment.js"
}
]
}
},
"defaultConfiguration": "release",
"outputs": ["{options.outputPath}"]
},
"serve": {
"executor": "@nrwl/web:dev-server",
"configurations": {
"dev": {
"buildTarget": "dep-graph-client:build-base:dev"
},
"release": {
"buildTarget": "dep-graph-client:build-base:release"
},
"watch": {
"buildTarget": "dep-graph-client:build-base:watch"
}
},
"defaultConfiguration": "dev"
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["dep-graph/client/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/dep-graph/client"],
"options": {
"jestConfig": "dep-graph/client/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": []
}
-15
View File
@@ -1,15 +0,0 @@
import { Shell } from './shell';
import { GlobalStateProvider } from './state.provider';
import { themeInit } from './theme-resolver';
themeInit();
export function App() {
return (
<GlobalStateProvider>
<Shell></Shell>
</GlobalStateProvider>
);
}
export default App;
@@ -1,51 +0,0 @@
import { memo } from 'react';
import { ProjectGraphList } from './interfaces';
import { GraphPerfReport } from './machines/interfaces';
export interface DebuggerPanelProps {
projectGraphs: ProjectGraphList[];
selectedProjectGraph: string;
projectGraphChange: (projectName: string) => void;
lastPerfReport: GraphPerfReport;
}
export const DebuggerPanel = memo(function ({
projectGraphs,
selectedProjectGraph,
projectGraphChange,
lastPerfReport,
}: DebuggerPanelProps) {
return (
<div
data-cy="debugger-panel"
className="flex-column flex w-auto items-center items-center justify-items-center justify-items-center gap-4 border-b border-slate-900/10 bg-slate-50 p-4 transition-all dark:border-slate-300/10 dark:bg-transparent"
>
<h4 className="dark:text-sidebar-title-dark mr-4 text-lg font-normal">
Debugger
</h4>
<select
className="flex w-auto items-center rounded-md rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-sm hover:bg-slate-50 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700"
data-cy="project-select"
onChange={(event) => projectGraphChange(event.target.value)}
value={selectedProjectGraph}
>
{projectGraphs.map((projectGraph) => {
return (
<option key={projectGraph.id} value={projectGraph.id}>
{projectGraph.label}
</option>
);
})}
</select>
<p className="text-sm">
Last render took {lastPerfReport.renderTime}ms:{' '}
<b className="text-medium font-mono">{lastPerfReport.numNodes} nodes</b>{' '}
|{' '}
<b className="text-medium font-mono">{lastPerfReport.numEdges} edges</b>
.
</p>
</div>
);
});
export default DebuggerPanel;
-39
View File
@@ -1,39 +0,0 @@
export interface EdgeNodeTooltipProps {
type: 'static' | 'dynamic' | 'implicit';
source: string;
target: string;
fileDependencies: Array<{ fileName: string }>;
}
function EdgeNodeTooltip({
type,
source,
target,
fileDependencies,
}: EdgeNodeTooltipProps) {
return (
<div>
<h4 className={type !== 'implicit' ? 'mb-3' : ''}>
<span className="tag">{type ?? 'unknown'}</span>
{source} &rarr; {target}
</h4>
{type !== 'implicit' ? (
<div className="overflow-hidden rounded-md border border-slate-200 dark:border-slate-800">
<div className="bg-slate-50 px-4 py-2 text-xs font-medium uppercase text-slate-500 dark:bg-slate-800 dark:text-slate-400">
<span>Files</span>
</div>
<ul className="max-h-[300px] divide-y divide-slate-200 overflow-auto dark:divide-slate-800">
{fileDependencies.map((fileDep) => (
<li className="whitespace-nowrap px-4 py-2 text-sm font-medium text-slate-800 dark:text-slate-300">
<span className="block truncate font-normal">
{fileDep.fileName}
</span>
</li>
))}
</ul>
</div>
) : null}
</div>
);
}
export default EdgeNodeTooltip;
@@ -1,11 +0,0 @@
import { useEnvironmentConfig } from './hooks/use-environment-config';
function ExperimentalFeature(props) {
const environment = useEnvironmentConfig();
const showExperimentalFeatures =
environment.appConfig.showExperimentalFeatures;
return showExperimentalFeatures ? props.children : null;
}
export default ExperimentalFeature;
@@ -1,21 +0,0 @@
// nx-ignore-next-line
import type { DepGraphClientResponse } from 'nx/src/command-line/dep-graph';
import { ProjectGraphService } from './interfaces';
export class FetchProjectGraphService implements ProjectGraphService {
async getHash(): Promise<string> {
const request = new Request('currentHash', { mode: 'no-cors' });
const response = await fetch(request);
return response.json();
}
async getProjectGraph(url: string): Promise<DepGraphClientResponse> {
const request = new Request(url, { mode: 'no-cors' });
const response = await fetch(request);
return response.json();
}
}
@@ -1,11 +0,0 @@
import { useSelector } from '@xstate/react';
import { DepGraphState } from '../machines/interfaces';
import { useDepGraphService } from './use-dep-graph';
export type DepGraphSelector<T> = (depGraphState: DepGraphState) => T;
export function useDepGraphSelector<T>(selectorFunc: DepGraphSelector<T>): T {
const depGraphService = useDepGraphService();
return useSelector<typeof depGraphService, T>(depGraphService, selectorFunc);
}
@@ -1,8 +0,0 @@
import { useContext } from 'react';
import { GlobalStateContext } from '../state.provider';
export function useDepGraphService() {
const globalState = useContext(GlobalStateContext);
return globalState;
}
@@ -1,30 +0,0 @@
// nx-ignore-next-line
import type { DepGraphClientResponse } from 'nx/src/command-line/dep-graph';
import { useRef } from 'react';
import { AppConfig } from '../interfaces';
export function useEnvironmentConfig(): {
exclude: string[];
watch: boolean;
localMode: 'serve' | 'build';
projectGraphResponse?: DepGraphClientResponse;
environment: 'dev' | 'watch' | 'release';
appConfig: AppConfig;
useXstateInspect: boolean;
} {
const environmentConfig = useRef(getEnvironmentConfig());
return environmentConfig.current;
}
export function getEnvironmentConfig() {
return {
exclude: window.exclude,
watch: window.watch,
localMode: window.localMode,
projectGraphResponse: window.projectGraphResponse,
environment: window.environment,
appConfig: window.appConfig,
useXstateInspect: window.useXstateInspect,
};
}
@@ -1,24 +0,0 @@
import { FetchProjectGraphService } from '../fetch-project-graph-service';
import { ProjectGraphService } from '../interfaces';
import { LocalProjectGraphService } from '../local-project-graph-service';
import { MockProjectGraphService } from '../mock-project-graph-service';
let projectGraphService: ProjectGraphService;
export function useProjectGraphDataService() {
if (projectGraphService === undefined) {
if (window.environment === 'dev') {
projectGraphService = new FetchProjectGraphService();
} else if (window.environment === 'watch') {
projectGraphService = new MockProjectGraphService();
} else if (window.environment === 'release') {
if (window.localMode === 'build') {
projectGraphService = new LocalProjectGraphService();
} else {
projectGraphService = new FetchProjectGraphService();
}
}
}
return projectGraphService;
}
-28
View File
@@ -1,28 +0,0 @@
// nx-ignore-next-line
import type { DepGraphClientResponse } from 'nx/src/command-line/dep-graph';
export interface ProjectGraphList {
id: string;
label: string;
url: string;
}
export interface WorkspaceLayout {
libsDir: string;
appsDir: string;
}
export interface ProjectGraphService {
getHash: () => Promise<string>;
getProjectGraph: (url: string) => Promise<DepGraphClientResponse>;
}
export interface Environment {
environment: 'dev' | 'watch' | 'release';
}
export interface AppConfig {
showDebugger: boolean;
showExperimentalFeatures: boolean;
projectGraphs: ProjectGraphList[];
defaultProjectGraph: string;
}
@@ -1,13 +0,0 @@
// nx-ignore-next-line
import type { DepGraphClientResponse } from 'nx/src/command-line/dep-graph';
import { ProjectGraphService } from './interfaces';
export class LocalProjectGraphService implements ProjectGraphService {
async getHash(): Promise<string> {
return new Promise((resolve) => resolve('some-hash'));
}
async getProjectGraph(url: string): Promise<DepGraphClientResponse> {
return new Promise((resolve) => resolve(window.projectGraphResponse));
}
}
@@ -1,430 +0,0 @@
import { assign } from '@xstate/immer';
import { Machine, send, spawn } from 'xstate';
import { customSelectedStateConfig } from './custom-selected.state';
import { focusedStateConfig } from './focused.state';
import { graphActor } from './graph.actor';
import {
DepGraphContext,
DepGraphSchema,
DepGraphUIEvents,
} from './interfaces';
import { createRouteMachine } from './route-setter.machine';
import { textFilteredStateConfig } from './text-filtered.state';
import { tracingStateConfig } from './tracing.state';
import { unselectedStateConfig } from './unselected.state';
export const initialContext: DepGraphContext = {
projects: [],
dependencies: {},
affectedProjects: [],
selectedProjects: [],
focusedProject: null,
textFilter: '',
includePath: false,
searchDepth: 1,
searchDepthEnabled: true,
groupByFolder: false,
collapseEdges: false,
workspaceLayout: {
libsDir: '',
appsDir: '',
},
graphActor: null,
routeSetterActor: null,
routeListenerActor: null,
lastPerfReport: {
numEdges: 0,
numNodes: 0,
renderTime: 0,
},
tracing: {
start: null,
end: null,
algorithm: 'shortest',
},
};
export const depGraphMachine = Machine<
DepGraphContext,
DepGraphSchema,
DepGraphUIEvents
>(
{
id: 'DepGraph',
initial: 'idle',
context: initialContext,
states: {
idle: {},
unselected: unselectedStateConfig,
customSelected: customSelectedStateConfig,
focused: focusedStateConfig,
textFiltered: textFilteredStateConfig,
tracing: tracingStateConfig,
},
on: {
initGraph: {
target: 'unselected',
actions: [
'setGraph',
send(
(ctx, event) => ({
type: 'notifyGraphInitGraph',
projects: ctx.projects,
dependencies: ctx.dependencies,
affectedProjects: ctx.affectedProjects,
workspaceLayout: ctx.workspaceLayout,
groupByFolder: ctx.groupByFolder,
collapseEdges: ctx.collapseEdges,
}),
{
to: (context) => context.graphActor,
}
),
],
},
setSelectedProjectsFromGraph: {
actions: [
assign((ctx, event) => {
ctx.selectedProjects = event.selectedProjectNames;
ctx.lastPerfReport = event.perfReport;
}),
],
},
selectProject: {
target: 'customSelected',
actions: ['notifyGraphShowProject'],
},
selectAll: {
target: 'customSelected',
actions: ['notifyGraphShowAllProjects', 'notifyRouteSelectAll'],
},
selectAffected: {
target: 'customSelected',
actions: [
'notifyGraphShowAffectedProjects',
'notifyRouteSelectAffected',
],
},
deselectProject: [
{
target: 'unselected',
cond: 'deselectLastProject',
},
{
target: 'customSelected',
actions: ['notifyGraphHideProject'],
},
],
deselectAll: {
target: 'unselected',
},
focusProject: {
target: 'focused',
},
setTracingStart: {
target: 'tracing',
},
setTracingEnd: {
target: 'tracing',
},
setCollapseEdges: {
actions: [
'setCollapseEdges',
send(
(ctx, event) => ({
type: 'notifyGraphUpdateGraph',
projects: ctx.projects,
dependencies: ctx.dependencies,
affectedProjects: ctx.affectedProjects,
workspaceLayout: ctx.workspaceLayout,
groupByFolder: ctx.groupByFolder,
collapseEdges: ctx.collapseEdges,
selectedProjects: ctx.selectedProjects,
}),
{
to: (context) => context.graphActor,
}
),
send(
(ctx, event) => {
if (event.type !== 'setCollapseEdges') return;
return {
type: 'notifyRouteCollapseEdges',
collapseEdges: event.collapseEdges,
};
},
{
to: (context) => context.routeSetterActor,
}
),
],
},
setGroupByFolder: {
actions: [
'setGroupByFolder',
send(
(ctx, event) => ({
type: 'notifyGraphUpdateGraph',
projects: ctx.projects,
dependencies: ctx.dependencies,
affectedProjects: ctx.affectedProjects,
workspaceLayout: ctx.workspaceLayout,
groupByFolder: ctx.groupByFolder,
collapseEdges: ctx.collapseEdges,
selectedProjects: ctx.selectedProjects,
}),
{
to: (context) => context.graphActor,
}
),
send(
(ctx, event) => {
if (event.type !== 'setGroupByFolder') return;
return {
type: 'notifyRouteGroupByFolder',
groupByFolder: event.groupByFolder,
};
},
{
to: (context) => context.routeSetterActor,
}
),
],
},
setIncludeProjectsByPath: {
actions: [
assign((ctx, event) => {
ctx.includePath = event.includeProjectsByPath;
}),
],
},
incrementSearchDepth: {
actions: ['incrementSearchDepth', 'notifyRouteSearchDepth'],
},
decrementSearchDepth: {
actions: ['decrementSearchDepth', 'notifyRouteSearchDepth'],
},
setSearchDepthEnabled: {
actions: ['setSearchDepthEnabled', 'notifyRouteSearchDepth'],
},
setSearchDepth: {
actions: ['setSearchDepth', 'notifyRouteSearchDepth'],
},
setTracingAlgorithm: {
actions: [
assign((ctx, event) => {
ctx.tracing.algorithm = event.algorithm;
}),
'notifyRouteTracing',
'notifyGraphTracing',
],
},
filterByText: {
target: 'textFiltered',
},
},
},
{
guards: {
deselectLastProject: (ctx) => {
return ctx.selectedProjects.length <= 1;
},
selectActionCannotBePersistedToRoute: (ctx, event) => {
return event.type !== 'selectAffected' && event.type !== 'selectAll';
},
},
actions: {
setGroupByFolder: assign((ctx, event) => {
if (event.type !== 'setGroupByFolder') return;
ctx.groupByFolder = event.groupByFolder;
}),
setCollapseEdges: assign((ctx, event) => {
if (event.type !== 'setCollapseEdges') return;
ctx.collapseEdges = event.collapseEdges;
}),
incrementSearchDepth: assign((ctx) => {
ctx.searchDepthEnabled = true;
ctx.searchDepth = ctx.searchDepth + 1;
}),
decrementSearchDepth: assign((ctx) => {
ctx.searchDepthEnabled = true;
ctx.searchDepth = ctx.searchDepth > 1 ? ctx.searchDepth - 1 : 1;
}),
setSearchDepth: assign((ctx, event) => {
if (event.type !== 'setSearchDepth') return;
ctx.searchDepthEnabled = true;
ctx.searchDepth = event.searchDepth > 1 ? event.searchDepth : 1;
}),
setSearchDepthEnabled: assign((ctx, event) => {
if (event.type !== 'setSearchDepthEnabled') return;
ctx.searchDepthEnabled = event.searchDepthEnabled;
}),
setIncludeProjectsByPath: assign((ctx, event) => {
if (event.type !== 'setIncludeProjectsByPath') return;
ctx.includePath = event.includeProjectsByPath;
}),
setGraph: assign((ctx, event) => {
if (event.type !== 'initGraph' && event.type !== 'updateGraph') return;
ctx.projects = event.projects;
ctx.dependencies = event.dependencies;
ctx.graphActor = spawn(graphActor, 'graphActor');
ctx.routeSetterActor = spawn(createRouteMachine(), {
name: 'route',
});
if (event.type === 'initGraph') {
ctx.workspaceLayout = event.workspaceLayout;
ctx.affectedProjects = event.affectedProjects;
}
}),
notifyGraphTracing: send(
(ctx, event) => {
return {
type: 'notifyGraphTracing',
start: ctx.tracing.start,
end: ctx.tracing.end,
algorithm: ctx.tracing.algorithm,
};
},
{
to: (context) => context.graphActor,
}
),
notifyGraphShowProject: send(
(context, event) => {
if (event.type !== 'selectProject') return;
return {
type: 'notifyGraphShowProject',
projectName: event.projectName,
};
},
{
to: (context) => context.graphActor,
}
),
notifyGraphHideProject: send(
(context, event) => {
if (event.type !== 'deselectProject') return;
return {
type: 'notifyGraphHideProject',
projectName: event.projectName,
};
},
{
to: (context) => context.graphActor,
}
),
notifyGraphShowAllProjects: send(
(context, event) => ({
type: 'notifyGraphShowAllProjects',
}),
{
to: (context) => context.graphActor,
}
),
notifyGraphHideAllProjects: send(
(context, event) => ({
type: 'notifyGraphHideAllProjects',
}),
{
to: (context) => context.graphActor,
}
),
notifyGraphShowAffectedProjects: send(
{
type: 'notifyGraphShowAffectedProjects',
},
{
to: (ctx) => ctx.graphActor,
}
),
notifyGraphFocusProject: send(
(context, event) => ({
type: 'notifyGraphFocusProject',
projectName: context.focusedProject,
searchDepth: context.searchDepthEnabled ? context.searchDepth : -1,
}),
{
to: (context) => context.graphActor,
}
),
notifyRouteUnfocusProject: send(
() => ({
type: 'notifyRouteUnfocusProject',
}),
{
to: (ctx) => ctx.routeSetterActor,
}
),
notifyRouteSelectAll: send(
() => ({
type: 'notifyRouteSelectAll',
}),
{
to: (ctx) => ctx.routeSetterActor,
}
),
notifyRouteSelectAffected: send(
() => ({
type: 'notifyRouteSelectAffected',
}),
{
to: (ctx) => ctx.routeSetterActor,
}
),
notifyRouteClearSelect: send(
() => ({
type: 'notifyRouteClearSelect',
}),
{
to: (ctx) => ctx.routeSetterActor,
}
),
notifyRouteTracing: send(
(ctx) => {
return {
type: 'notifyRouteTracing',
start: ctx.tracing.start,
end: ctx.tracing.end,
algorithm: ctx.tracing.algorithm,
};
},
{
to: (ctx) => ctx.routeSetterActor,
}
),
notifyRouteSearchDepth: send(
(ctx, event) => ({
type: 'notifyRouteSearchDepth',
searchDepth: ctx.searchDepth,
searchDepthEnabled: ctx.searchDepthEnabled,
}),
{
to: (ctx) => ctx.routeSetterActor,
}
),
notifyGraphFilterProjectsByText: send(
(context, event) => ({
type: 'notifyGraphFilterProjectsByText',
search: context.textFilter,
includeProjectsByPath: context.includePath,
searchDepth: context.searchDepthEnabled ? context.searchDepth : -1,
}),
{
to: (context) => context.graphActor,
}
),
},
}
);
@@ -1,25 +0,0 @@
import { interpret, Interpreter, Typestate } from 'xstate';
import { depGraphMachine } from './dep-graph.machine';
import {
DepGraphContext,
DepGraphSchema,
DepGraphUIEvents,
} from './interfaces';
let depGraphService: Interpreter<
DepGraphContext,
DepGraphSchema,
DepGraphUIEvents,
Typestate<DepGraphContext>
>;
export function getDepGraphService() {
if (!depGraphService) {
depGraphService = interpret(depGraphMachine, {
devTools: !!window.useXstateInspect,
});
depGraphService.start();
}
return depGraphService;
}
@@ -1,401 +0,0 @@
// nx-ignore-next-line
import type { ProjectGraphDependency, ProjectGraphNode } from '@nrwl/devkit';
import { interpret } from 'xstate';
import { depGraphMachine } from './dep-graph.machine';
export const mockProjects: ProjectGraphNode[] = [
{
name: 'app1',
type: 'app',
data: {
root: 'apps/app1',
},
},
{
name: 'app2',
type: 'app',
data: {
root: 'apps/app2',
},
},
{
name: 'ui-lib',
type: 'lib',
data: {
root: 'libs/ui-lib',
},
},
{
name: 'feature-lib1',
type: 'lib',
data: {
root: 'libs/feature/lib1',
},
},
{
name: 'feature-lib2',
type: 'lib',
data: {
root: 'libs/feature/lib2',
},
},
{
name: 'auth-lib',
type: 'lib',
data: {
root: 'libs/auth-lib',
},
},
];
export const mockDependencies: Record<string, ProjectGraphDependency[]> = {
app1: [
{
type: 'static',
source: 'app1',
target: 'auth-lib',
},
{
type: 'static',
source: 'app1',
target: 'feature-lib1',
},
],
app2: [
{
type: 'static',
source: 'app2',
target: 'auth-lib',
},
{
type: 'static',
source: 'app2',
target: 'feature-lib2',
},
],
'feature-lib1': [
{
type: 'static',
source: 'feature-lib1',
target: 'ui-lib',
},
],
'feature-lib2': [
{
type: 'static',
source: 'feature-lib2',
target: 'ui-lib',
},
],
'ui-lib': [],
'auth-lib': [],
};
describe('dep-graph machine', () => {
describe('initGraph', () => {
it('should set projects, dependencies, and workspaceLayout', () => {
const result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
expect(result.context.projects).toEqual(mockProjects);
expect(result.context.dependencies).toEqual(mockDependencies);
expect(result.context.workspaceLayout).toEqual({
appsDir: 'apps',
libsDir: 'libs',
});
});
it('should start with no projects selected', () => {
const result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
expect(result.value).toEqual('unselected');
expect(result.context.selectedProjects).toEqual([]);
});
});
describe('selecting projects', () => {
it('should select projects', (done) => {
let service = interpret(depGraphMachine).onTransition((state) => {
if (
state.matches('customSelected') &&
state.context.selectedProjects.includes('app1') &&
state.context.selectedProjects.includes('app2')
) {
done();
}
});
service.start();
service.send({
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
service.send({
type: 'selectProject',
projectName: 'app1',
});
service.send({
type: 'selectProject',
projectName: 'app2',
});
});
});
describe('deselecting projects', () => {
it('should deselect projects', (done) => {
let service = interpret(depGraphMachine).onTransition((state) => {
if (
state.matches('customSelected') &&
!state.context.selectedProjects.includes('app1') &&
state.context.selectedProjects.includes('app2')
) {
done();
}
});
service.start();
service.send({
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
service.send({
type: 'selectProject',
projectName: 'app1',
});
service.send({
type: 'selectProject',
projectName: 'app2',
});
service.send({
type: 'deselectProject',
projectName: 'app1',
});
});
it('should go to unselected when last project is deselected', () => {
let result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
result = depGraphMachine.transition(result, {
type: 'selectProject',
projectName: 'app1',
});
result = depGraphMachine.transition(result, {
type: 'selectProject',
projectName: 'app2',
});
result = depGraphMachine.transition(result, {
type: 'deselectProject',
projectName: 'app1',
});
result = depGraphMachine.transition(result, {
type: 'deselectProject',
projectName: 'app2',
});
expect(result.value).toEqual('unselected');
expect(result.context.selectedProjects).toEqual([]);
});
});
describe('focusing projects', () => {
it('should set the focused project', () => {
let result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
result = depGraphMachine.transition(result, {
type: 'focusProject',
projectName: 'app1',
});
expect(result.value).toEqual('focused');
expect(result.context.focusedProject).toEqual('app1');
});
it('should select the projects by the focused project', (done) => {
let service = interpret(depGraphMachine).onTransition((state) => {
if (
state.matches('focused') &&
state.context.selectedProjects.includes('app1') &&
state.context.selectedProjects.includes('ui-lib') &&
state.context.selectedProjects.includes('feature-lib1') &&
state.context.selectedProjects.includes('auth-lib')
) {
done();
}
});
service.start();
service.send({
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
service.send({
type: 'setSearchDepthEnabled',
searchDepthEnabled: false,
});
service.send({ type: 'focusProject', projectName: 'app1' });
});
it('should select no projects on unfocus', () => {
let result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
result = depGraphMachine.transition(result, {
type: 'focusProject',
projectName: 'app1',
});
result = depGraphMachine.transition(result, {
type: 'unfocusProject',
});
expect(result.value).toEqual('unselected');
expect(result.context.selectedProjects).toEqual([]);
});
});
describe('search depth', () => {
it('should not decrement search depth below 1', () => {
let result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
result = depGraphMachine.transition(result, {
type: 'filterByText',
search: 'app1',
});
expect(result.context.searchDepth).toEqual(1);
result = depGraphMachine.transition(result, {
type: 'incrementSearchDepth',
});
expect(result.context.searchDepth).toEqual(2);
result = depGraphMachine.transition(result, {
type: 'incrementSearchDepth',
});
result = depGraphMachine.transition(result, {
type: 'incrementSearchDepth',
});
expect(result.context.searchDepth).toEqual(4);
result = depGraphMachine.transition(result, {
type: 'decrementSearchDepth',
});
result = depGraphMachine.transition(result, {
type: 'decrementSearchDepth',
});
expect(result.context.searchDepth).toEqual(2);
result = depGraphMachine.transition(result, {
type: 'decrementSearchDepth',
});
expect(result.context.searchDepth).toEqual(1);
result = depGraphMachine.transition(result, {
type: 'decrementSearchDepth',
});
expect(result.context.searchDepth).toEqual(1);
result = depGraphMachine.transition(result, {
type: 'decrementSearchDepth',
});
expect(result.context.searchDepth).toEqual(1);
});
it('should activate search depth if incremented or decremented', () => {
let result = depGraphMachine.transition(depGraphMachine.initialState, {
type: 'initGraph',
projects: mockProjects,
dependencies: mockDependencies,
affectedProjects: [],
workspaceLayout: { appsDir: 'apps', libsDir: 'libs' },
});
result = depGraphMachine.transition(result, {
type: 'setSearchDepthEnabled',
searchDepthEnabled: false,
});
expect(result.context.searchDepthEnabled).toBe(false);
result = depGraphMachine.transition(result, {
type: 'incrementSearchDepth',
});
expect(result.context.searchDepthEnabled).toBe(true);
result = depGraphMachine.transition(result, {
type: 'setSearchDepthEnabled',
searchDepthEnabled: false,
});
expect(result.context.searchDepthEnabled).toBe(false);
result = depGraphMachine.transition(result, {
type: 'decrementSearchDepth',
});
expect(result.context.searchDepthEnabled).toBe(true);
});
});
});
@@ -1,87 +0,0 @@
import { assign } from '@xstate/immer';
import { send } from 'xstate';
import { DepGraphStateNodeConfig } from './interfaces';
export const focusedStateConfig: DepGraphStateNodeConfig = {
entry: [
assign((ctx, event) => {
if (event.type !== 'focusProject') return;
ctx.focusedProject = event.projectName;
}),
send(
(ctx, event) => {
if (event.type !== 'focusProject') return;
return {
type: 'notifyRouteFocusProject',
focusedProject: event.projectName,
};
},
{
to: (context) => context.routeSetterActor,
}
),
'notifyGraphFocusProject',
],
exit: [
assign((ctx) => {
ctx.focusedProject = null;
}),
'notifyRouteUnfocusProject',
],
on: {
incrementSearchDepth: {
actions: [
'incrementSearchDepth',
'notifyGraphFocusProject',
'notifyRouteSearchDepth',
],
},
decrementSearchDepth: {
actions: [
'decrementSearchDepth',
'notifyGraphFocusProject',
'notifyRouteSearchDepth',
],
},
setSearchDepthEnabled: {
actions: [
'setSearchDepthEnabled',
'notifyGraphFocusProject',
'notifyRouteSearchDepth',
],
},
setSearchDepth: {
actions: [
'setSearchDepth',
'notifyGraphFocusProject',
'notifyRouteSearchDepth',
],
},
unfocusProject: {
target: 'unselected',
actions: ['notifyRouteUnfocusProject'],
},
updateGraph: {
actions: [
'setGraph',
send(
(ctx, event) => ({
type: 'notifyGraphUpdateGraph',
projects: ctx.projects,
dependencies: ctx.dependencies,
affectedProjects: ctx.affectedProjects,
workspaceLayout: ctx.workspaceLayout,
groupByFolder: ctx.groupByFolder,
selectedProjects: ctx.selectedProjects,
}),
{
to: (context) => context.graphActor,
}
),
'notifyGraphFocusProject',
],
},
},
};
@@ -1,14 +0,0 @@
import { getGraphService } from './graph.service';
export const graphActor = (callback, receive) => {
const graphService = getGraphService();
receive((e) => {
const { selectedProjectNames, perfReport } = graphService.handleEvent(e);
callback({
type: 'setSelectedProjectsFromGraph',
selectedProjectNames,
perfReport,
});
});
};
@@ -1,12 +0,0 @@
import { getTooltipService } from '../tooltip-service';
import { GraphService } from './graph';
let graphService: GraphService;
export function getGraphService(): GraphService {
if (!graphService) {
graphService = new GraphService(getTooltipService(), 'cytoscape-graph');
}
return graphService;
}
-667
View File
@@ -1,667 +0,0 @@
// nx-ignore-next-line
import type {
ProjectGraphDependency,
ProjectGraphProjectNode,
} from '@nrwl/devkit';
import type { VirtualElement } from '@popperjs/core';
import cy from 'cytoscape';
import cytoscapeDagre from 'cytoscape-dagre';
import popper from 'cytoscape-popper';
import { edgeStyles, nodeStyles } from '../styles-graph';
import { selectValueByThemeStatic } from '../theme-resolver';
import { GraphTooltipService } from '../tooltip-service';
import {
CytoscapeDagreConfig,
ParentNode,
ProjectEdge,
ProjectNode,
} from '../util-cytoscape';
import { GraphPerfReport, GraphRenderEvents } from './interfaces';
export class GraphService {
private traversalGraph: cy.Core;
private renderGraph: cy.Core;
private collapseEdges = false;
constructor(
private tooltipService: GraphTooltipService,
private containerId: string
) {
cy.use(cytoscapeDagre);
cy.use(popper);
}
handleEvent(event: GraphRenderEvents): {
selectedProjectNames: string[];
perfReport: GraphPerfReport;
} {
const time = Date.now();
if (this.renderGraph && event.type !== 'notifyGraphUpdateGraph') {
this.renderGraph.nodes('.focused').removeClass('focused');
}
this.tooltipService.hideAll();
switch (event.type) {
case 'notifyGraphInitGraph':
this.initGraph(
event.projects,
event.groupByFolder,
event.workspaceLayout,
event.dependencies,
event.affectedProjects,
event.collapseEdges
);
break;
case 'notifyGraphUpdateGraph':
this.initGraph(
event.projects,
event.groupByFolder,
event.workspaceLayout,
event.dependencies,
event.affectedProjects,
event.collapseEdges
);
this.setShownProjects(
event.selectedProjects.length > 0
? event.selectedProjects
: this.renderGraph.nodes(':childless').map((node) => node.id())
);
break;
case 'notifyGraphFocusProject':
this.focusProject(event.projectName, event.searchDepth);
break;
case 'notifyGraphFilterProjectsByText':
this.filterProjectsByText(
event.search,
event.includeProjectsByPath,
event.searchDepth
);
break;
case 'notifyGraphShowProject':
this.showProjects([event.projectName]);
break;
case 'notifyGraphHideProject':
this.hideProject(event.projectName);
break;
case 'notifyGraphShowAllProjects':
this.showAllProjects();
break;
case 'notifyGraphHideAllProjects':
this.hideAllProjects();
break;
case 'notifyGraphShowAffectedProjects':
this.showAffectedProjects();
break;
case 'notifyGraphTracing':
if (event.start && event.end) {
if (event.algorithm === 'shortest') {
this.traceProjects(event.start, event.end);
} else {
this.traceAllProjects(event.start, event.end);
}
}
break;
}
let selectedProjectNames: string[] = [];
let perfReport: GraphPerfReport = {
numEdges: 0,
numNodes: 0,
renderTime: 0,
};
if (this.renderGraph) {
const elements = this.renderGraph.elements().sort((a, b) => {
return a.id().localeCompare(b.id());
});
elements
.layout({
name: 'dagre',
nodeDimensionsIncludeLabels: true,
rankSep: 75,
rankDir: 'TB',
edgeSep: 50,
ranker: 'network-simplex',
} as CytoscapeDagreConfig)
.run();
if (this.collapseEdges) {
this.renderGraph.remove(this.renderGraph.edges());
elements.edges().forEach((edge) => {
const sourceNode = edge.source();
const targetNode = edge.target();
if (
sourceNode.parent().first().id() ===
targetNode.parent().first().id()
) {
this.renderGraph.add(edge);
} else {
let sourceAncestors, targetAncestors;
const commonAncestors = edge.connectedNodes().commonAncestors();
if (commonAncestors.length > 0) {
sourceAncestors = sourceNode
.ancestors()
.filter((anc) => !commonAncestors.contains(anc));
targetAncestors = targetNode
.ancestors()
.filter((anc) => !commonAncestors.contains(anc));
} else {
sourceAncestors = sourceNode.ancestors();
targetAncestors = targetNode.ancestors();
}
let sourceId, targetId;
if (sourceAncestors.length > 0 && targetAncestors.length === 0) {
sourceId = sourceAncestors.last().id();
targetId = targetNode.id();
} else if (
targetAncestors.length > 0 &&
sourceAncestors.length === 0
) {
sourceId = sourceNode.id();
targetId = targetAncestors.last().id();
} else {
sourceId = sourceAncestors.last().id();
targetId = targetAncestors.last().id();
}
if (sourceId !== undefined && targetId !== undefined) {
const edgeId = `${sourceId}|${targetId}`;
if (this.renderGraph.$id(edgeId).length === 0) {
const ancestorEdge: cy.EdgeDefinition = {
group: 'edges',
data: {
id: edgeId,
source: sourceId,
target: targetId,
},
};
this.renderGraph.add(ancestorEdge);
}
} else {
console.log(`Couldn't figure out how to draw edge ${edge.id()}`);
console.log(
'source ancestors',
sourceAncestors.map((anc) => anc.id())
);
console.log(
'target ancestors',
targetAncestors.map((anc) => anc.id())
);
}
}
});
}
this.renderGraph.fit().center().resize();
selectedProjectNames = this.renderGraph
.nodes('[type!="dir"]')
.map((node) => node.id());
const renderTime = Date.now() - time;
perfReport = {
renderTime,
numNodes: this.renderGraph.nodes().length,
numEdges: this.renderGraph.edges().length,
};
}
return { selectedProjectNames, perfReport };
}
setShownProjects(selectedProjectNames: string[]) {
let nodesToAdd = this.traversalGraph.collection();
selectedProjectNames.forEach((name) => {
nodesToAdd = nodesToAdd.union(this.traversalGraph.$id(name));
});
const ancestorsToAdd = nodesToAdd.ancestors();
const nodesToRender = nodesToAdd.union(ancestorsToAdd);
const edgesToRender = nodesToRender.edgesTo(nodesToRender);
this.transferToRenderGraph(nodesToRender.union(edgesToRender));
}
showProjects(selectedProjectNames: string[]) {
const currentNodes =
this.renderGraph?.nodes() ?? this.traversalGraph.collection();
let nodesToAdd = this.traversalGraph.collection();
selectedProjectNames.forEach((name) => {
nodesToAdd = nodesToAdd.union(this.traversalGraph.$id(name));
});
const ancestorsToAdd = nodesToAdd.ancestors();
const nodesToRender = currentNodes.union(nodesToAdd).union(ancestorsToAdd);
const edgesToRender = nodesToRender.edgesTo(nodesToRender);
this.transferToRenderGraph(nodesToRender.union(edgesToRender));
}
hideProject(projectName: string) {
const currentNodes =
this.renderGraph?.nodes() ?? this.traversalGraph.collection();
const nodeToHide = this.renderGraph.$id(projectName);
const nodesToAdd = currentNodes
.difference(nodeToHide)
.difference(nodeToHide.ancestors());
const ancestorsToAdd = nodesToAdd.ancestors();
let nodesToRender = nodesToAdd.union(ancestorsToAdd);
const edgesToRender = nodesToRender.edgesTo(nodesToRender);
this.transferToRenderGraph(nodesToRender.union(edgesToRender));
}
showAffectedProjects() {
const affectedProjects = this.traversalGraph.nodes('.affected');
const affectedAncestors = affectedProjects.ancestors();
const affectedNodes = affectedProjects.union(affectedAncestors);
const affectedEdges = affectedNodes.edgesTo(affectedNodes);
this.transferToRenderGraph(affectedNodes.union(affectedEdges));
}
focusProject(focusedProjectName: string, searchDepth: number = 1) {
const focusedProject = this.traversalGraph.$id(focusedProjectName);
const includedProjects = this.includeProjectsByDepth(
focusedProject,
searchDepth
);
const includedNodes = focusedProject.union(includedProjects);
const includedAncestors = includedNodes.ancestors();
const nodesToRender = includedNodes.union(includedAncestors);
const edgesToRender = nodesToRender.edgesTo(nodesToRender);
this.transferToRenderGraph(nodesToRender.union(edgesToRender));
this.renderGraph.$id(focusedProjectName).addClass('focused');
}
showAllProjects() {
this.transferToRenderGraph(this.traversalGraph.elements());
}
hideAllProjects() {
this.transferToRenderGraph(this.traversalGraph.collection());
}
filterProjectsByText(
search: string,
includePath: boolean,
searchDepth: number = -1
) {
if (search === '') {
this.transferToRenderGraph(this.traversalGraph.collection());
} else {
const split = search.split(',');
let filteredProjects = this.traversalGraph.nodes().filter((node) => {
return (
split.findIndex((splitItem) => node.id().includes(splitItem)) > -1
);
});
if (includePath) {
filteredProjects = filteredProjects.union(
this.includeProjectsByDepth(filteredProjects, searchDepth)
);
}
filteredProjects = filteredProjects.union(filteredProjects.ancestors());
const edgesToRender = filteredProjects.edgesTo(filteredProjects);
this.transferToRenderGraph(filteredProjects.union(edgesToRender));
}
}
traceProjects(start: string, end: string) {
const dijkstra = this.traversalGraph
.elements()
.dijkstra({ root: `[id = "${start}"]`, directed: true });
const path = dijkstra.pathTo(this.traversalGraph.$(`[id = "${end}"]`));
this.transferToRenderGraph(path.union(path.ancestors()));
}
traceAllProjects(start: string, end: string) {
const startNode = this.traversalGraph.$id(start).nodes().first();
const queue: cy.NodeSingular[][] = [[startNode]];
const paths: cy.NodeSingular[][] = [];
let iterations = 0;
while (queue.length > 0 && iterations <= 1000) {
const currentPath = queue.pop();
const nodeToTest = currentPath[currentPath.length - 1];
const outgoers = nodeToTest.outgoers('node');
if (outgoers.length > 0) {
outgoers.forEach((outgoer) => {
const newPath = [...currentPath, outgoer];
if (outgoer.id() === end) {
paths.push(newPath);
} else {
queue.push(newPath);
}
});
}
iterations++;
}
if (iterations >= 1000) {
console.log('failsafe triggered!');
}
let finalCollection = this.traversalGraph.collection();
paths.forEach((path) => {
for (let i = 0; i < path.length; i++) {
finalCollection = finalCollection.union(path[i]);
const nextIndex = i + 1;
if (nextIndex < path.length) {
finalCollection = finalCollection.union(
path[i].edgesTo(path[nextIndex])
);
}
}
});
finalCollection.union(finalCollection.ancestors());
this.transferToRenderGraph(
finalCollection.union(finalCollection.ancestors())
);
}
private transferToRenderGraph(elements: cy.Collection) {
let currentFocusedProjectName;
if (this.renderGraph) {
currentFocusedProjectName = this.renderGraph
.nodes('.focused')
.first()
.id();
this.renderGraph.destroy();
delete this.renderGraph;
}
const container = document.getElementById(this.containerId);
this.renderGraph = cy({
container: container,
headless: !container,
boxSelectionEnabled: false,
style: [...nodeStyles, ...edgeStyles],
});
this.renderGraph.add(elements);
if (!!currentFocusedProjectName) {
this.renderGraph.$id(currentFocusedProjectName).addClass('focused');
}
this.renderGraph.on('zoom', () => {
this.tooltipService.hideAll();
});
this.listenForProjectNodeClicks();
this.listenForEdgeNodeClicks();
this.listenForProjectNodeHovers();
}
private includeProjectsByDepth(
projects: cy.NodeCollection | cy.NodeSingular,
depth: number = -1
) {
let predecessors = this.traversalGraph.collection();
if (depth === -1) {
predecessors = projects.predecessors();
} else {
predecessors = projects.incomers();
for (let i = 1; i < depth; i++) {
predecessors = predecessors.union(predecessors.incomers());
}
}
let successors = this.traversalGraph.collection();
if (depth === -1) {
successors = projects.successors();
} else {
successors = projects.outgoers();
for (let i = 1; i < depth; i++) {
successors = successors.union(successors.outgoers());
}
}
return projects.union(predecessors).union(successors);
}
initGraph(
allProjects: ProjectGraphProjectNode[],
groupByFolder: boolean,
workspaceLayout,
dependencies: Record<string, ProjectGraphDependency[]>,
affectedProjectIds: string[],
collapseEdges: boolean
) {
this.collapseEdges = collapseEdges;
this.tooltipService.hideAll();
this.generateCytoscapeLayout(
allProjects,
groupByFolder,
workspaceLayout,
dependencies,
affectedProjectIds
);
}
private generateCytoscapeLayout(
allProjects: ProjectGraphProjectNode[],
groupByFolder: boolean,
workspaceLayout,
dependencies: Record<string, ProjectGraphDependency[]>,
affectedProjectIds: string[]
) {
const elements = this.createElements(
allProjects,
groupByFolder,
workspaceLayout,
dependencies,
affectedProjectIds
);
this.traversalGraph = cy({
headless: true,
elements: [...elements],
boxSelectionEnabled: false,
style: [...nodeStyles, ...edgeStyles],
});
}
private createElements(
projects: ProjectGraphProjectNode[],
groupByFolder: boolean,
workspaceLayout: {
appsDir: string;
libsDir: string;
},
dependencies: Record<string, ProjectGraphDependency[]>,
affectedProjectIds: string[]
) {
let elements: cy.ElementDefinition[] = [];
const filteredProjectNames = projects.map((project) => project.name);
const projectNodes: ProjectNode[] = [];
const edgeNodes: ProjectEdge[] = [];
const parents: Record<
string,
{ id: string; parentId: string; label: string }
> = {};
projects.forEach((project) => {
const workspaceRoot =
project.type === 'app' || project.type === 'e2e'
? workspaceLayout.appsDir
: workspaceLayout.libsDir;
const projectNode = new ProjectNode(project, workspaceRoot);
projectNode.affected = affectedProjectIds.includes(project.name);
projectNodes.push(projectNode);
dependencies[project.name].forEach((dep) => {
if (filteredProjectNames.includes(dep.target)) {
const edge = new ProjectEdge(dep);
edgeNodes.push(edge);
}
});
if (groupByFolder) {
const ancestors = projectNode.getAncestors();
ancestors.forEach((ancestor) => (parents[ancestor.id] = ancestor));
}
});
const projectElements = projectNodes.map((projectNode) =>
projectNode.getCytoscapeNodeDef(groupByFolder)
);
const edgeElements = edgeNodes.map((edgeNode) =>
edgeNode.getCytosacpeNodeDef()
);
elements = projectElements.concat(edgeElements);
if (groupByFolder) {
const parentElements = Object.keys(parents).map((id) =>
new ParentNode(parents[id]).getCytoscapeNodeDef()
);
elements = parentElements.concat(elements);
}
return elements;
}
listenForProjectNodeClicks() {
this.renderGraph.$('node:childless').on('click', (event) => {
const node = event.target;
let ref: VirtualElement = node.popperRef(); // used only for positioning
this.tooltipService.openProjectNodeToolTip(ref, {
id: node.id(),
type: node.data('type'),
tags: node.data('tags'),
});
});
}
listenForEdgeNodeClicks() {
this.renderGraph.$('edge').on('click', (event) => {
const edge: cy.EdgeSingular = event.target;
let ref: VirtualElement = edge.popperRef(); // used only for positioning
this.tooltipService.openEdgeToolTip(ref, {
type: edge.data('type'),
source: edge.source().id(),
target: edge.target().id(),
fileDependencies: edge
.source()
.data('files')
.filter((file) => file.deps && file.deps.includes(edge.target().id()))
.map((file) => {
return {
fileName: file.file.replace(`${edge.source().data('root')}/`, ''),
target: edge.target().id(),
};
}),
});
});
}
listenForProjectNodeHovers(): void {
this.renderGraph.on('mouseover', (event) => {
const node = event.target;
if (!node.isNode || !node.isNode() || node.isParent()) return;
this.renderGraph
.elements()
.difference(node.outgoers().union(node.incomers()))
.not(node)
.addClass('transparent');
node
.addClass('highlight')
.outgoers()
.union(node.incomers())
.addClass('highlight');
});
this.renderGraph.on('mouseout', (event) => {
const node = event.target;
if (!node.isNode || !node.isNode() || node.isParent()) return;
this.renderGraph.elements().removeClass('transparent');
node
.removeClass('highlight')
.outgoers()
.union(node.incomers())
.removeClass('highlight');
});
}
getImage() {
const bg = selectValueByThemeStatic('#0F172A', '#FFFFFF');
return this.renderGraph.png({ bg, full: true });
}
evaluateStyles() {
if (this.renderGraph) {
const container = this.renderGraph.container();
this.renderGraph.unmount();
this.renderGraph.mount(container);
}
}
}
@@ -1,219 +0,0 @@
// nx-ignore-next-line
import type {
ProjectGraphDependency,
ProjectGraphProjectNode,
} from '@nrwl/devkit';
import { ActionObject, ActorRef, State, StateNodeConfig } from 'xstate';
// The hierarchical (recursive) schema for the states
export interface DepGraphSchema {
states: {
idle: {};
unselected: {};
focused: {};
textFiltered: {};
customSelected: {};
tracing: {};
};
}
export interface GraphPerfReport {
renderTime: number;
numNodes: number;
numEdges: number;
}
export type TracingAlgorithmType = 'shortest' | 'all';
// The events that the machine handles
export type DepGraphUIEvents =
| {
type: 'setSelectedProjectsFromGraph';
selectedProjectNames: string[];
perfReport: GraphPerfReport;
}
| { type: 'selectProject'; projectName: string }
| { type: 'deselectProject'; projectName: string }
| { type: 'selectAll' }
| { type: 'deselectAll' }
| { type: 'selectAffected' }
| { type: 'setGroupByFolder'; groupByFolder: boolean }
| { type: 'setTracingStart'; projectName: string }
| { type: 'setTracingEnd'; projectName: string }
| { type: 'clearTraceStart' }
| { type: 'clearTraceEnd' }
| { type: 'setTracingAlgorithm'; algorithm: TracingAlgorithmType }
| { type: 'setCollapseEdges'; collapseEdges: boolean }
| { type: 'setIncludeProjectsByPath'; includeProjectsByPath: boolean }
| { type: 'incrementSearchDepth' }
| { type: 'decrementSearchDepth' }
| { type: 'setSearchDepthEnabled'; searchDepthEnabled: boolean }
| { type: 'setSearchDepth'; searchDepth: number }
| { type: 'focusProject'; projectName: string }
| { type: 'unfocusProject' }
| { type: 'filterByText'; search: string }
| { type: 'clearTextFilter' }
| {
type: 'initGraph';
projects: ProjectGraphProjectNode[];
dependencies: Record<string, ProjectGraphDependency[]>;
affectedProjects: string[];
workspaceLayout: {
libsDir: string;
appsDir: string;
};
}
| {
type: 'updateGraph';
projects: ProjectGraphProjectNode[];
dependencies: Record<string, ProjectGraphDependency[]>;
};
// The events that the graph actor handles
export type GraphRenderEvents =
| {
type: 'notifyGraphInitGraph';
projects: ProjectGraphProjectNode[];
dependencies: Record<string, ProjectGraphDependency[]>;
affectedProjects: string[];
workspaceLayout: {
libsDir: string;
appsDir: string;
};
groupByFolder: boolean;
collapseEdges: boolean;
}
| {
type: 'notifyGraphUpdateGraph';
projects: ProjectGraphProjectNode[];
dependencies: Record<string, ProjectGraphDependency[]>;
affectedProjects: string[];
workspaceLayout: {
libsDir: string;
appsDir: string;
};
groupByFolder: boolean;
collapseEdges: boolean;
selectedProjects: string[];
}
| {
type: 'notifyGraphFocusProject';
projectName: string;
searchDepth: number;
}
| {
type: 'notifyGraphShowProject';
projectName: string;
}
| {
type: 'notifyGraphHideProject';
projectName: string;
}
| {
type: 'notifyGraphShowAllProjects';
}
| {
type: 'notifyGraphHideAllProjects';
}
| {
type: 'notifyGraphShowAffectedProjects';
}
| {
type: 'notifyGraphFilterProjectsByText';
search: string;
includeProjectsByPath: boolean;
searchDepth: number;
}
| {
type: 'notifyGraphTracing';
start: string;
end: string;
algorithm: TracingAlgorithmType;
};
export type RouteEvents =
| {
type: 'notifyRouteFocusProject';
focusedProject: string;
}
| {
type: 'notifyRouteGroupByFolder';
groupByFolder: boolean;
}
| {
type: 'notifyRouteCollapseEdges';
collapseEdges: boolean;
}
| {
type: 'notifyRouteSearchDepth';
searchDepthEnabled: boolean;
searchDepth: number;
}
| {
type: 'notifyRouteUnfocusProject';
}
| {
type: 'notifyRouteSelectAll';
}
| {
type: 'notifyRouteSelectAffected';
}
| { type: 'notifyRouteClearSelect' }
| {
type: 'notifyRouteTracing';
start: string;
end: string;
algorithm: TracingAlgorithmType;
};
export type AllEvents = DepGraphUIEvents | GraphRenderEvents | RouteEvents;
// The context (extended state) of the machine
export interface DepGraphContext {
projects: ProjectGraphProjectNode[];
dependencies: Record<string, ProjectGraphDependency[]>;
affectedProjects: string[];
selectedProjects: string[];
focusedProject: string | null;
textFilter: string;
includePath: boolean;
searchDepth: number;
searchDepthEnabled: boolean;
groupByFolder: boolean;
collapseEdges: boolean;
workspaceLayout: {
libsDir: string;
appsDir: string;
};
graphActor: ActorRef<GraphRenderEvents>;
routeSetterActor: ActorRef<RouteEvents>;
routeListenerActor: ActorRef<DepGraphUIEvents>;
lastPerfReport: GraphPerfReport;
tracing: {
start: string;
end: string;
algorithm: TracingAlgorithmType;
};
}
export type DepGraphStateNodeConfig = StateNodeConfig<
DepGraphContext,
{},
DepGraphUIEvents,
ActionObject<DepGraphContext, DepGraphUIEvents>
>;
export type DepGraphSend = (
event: DepGraphUIEvents | DepGraphUIEvents[]
) => void;
export type DepGraphState = State<
DepGraphContext,
DepGraphUIEvents,
any,
{
value: any;
context: DepGraphContext;
}
>;
@@ -1,71 +0,0 @@
import { createBrowserHistory } from 'history';
import { InvokeCallback } from 'xstate';
import { DepGraphUIEvents } from './interfaces';
function parseSearchParamsToEvents(searchParams: string): DepGraphUIEvents[] {
const events: DepGraphUIEvents[] = [];
const params = new URLSearchParams(searchParams);
params.forEach((value, key) => {
switch (key) {
case 'select':
if (value === 'all') {
events.push({ type: 'selectAll' });
} else if (value === 'affected') {
events.push({ type: 'selectAffected' });
}
break;
case 'focus':
events.push({ type: 'focusProject', projectName: value });
break;
case 'groupByFolder':
events.push({ type: 'setGroupByFolder', groupByFolder: true });
break;
case 'collapseEdges':
events.push({ type: 'setCollapseEdges', collapseEdges: true });
break;
case 'searchDepth':
const parsedValue = parseInt(value, 10);
if (parsedValue === 0) {
events.push({
type: 'setSearchDepthEnabled',
searchDepthEnabled: false,
});
} else if (parsedValue > 1) {
events.push({
type: 'setSearchDepth',
searchDepth: parseInt(value),
});
}
break;
case 'traceAlgorithm':
if (value === 'shortest' || value === 'all') {
// this needs to go before other tracing options or else the default of 'shortest' gets used
events.unshift({ type: 'setTracingAlgorithm', algorithm: value });
}
break;
case 'traceStart':
events.push({
type: 'setTracingStart',
projectName: value,
});
break;
case 'traceEnd':
events.push({ type: 'setTracingEnd', projectName: value });
break;
}
});
return events;
}
export const routeListener: InvokeCallback<
DepGraphUIEvents,
DepGraphUIEvents
> = (callback) => {
const history = createBrowserHistory();
parseSearchParamsToEvents(history.location.search).forEach((event) =>
callback(event)
);
};
@@ -1,163 +0,0 @@
import { assign } from '@xstate/immer';
import { createBrowserHistory } from 'history';
import { Machine } from 'xstate';
import { RouteEvents } from './interfaces';
type ParamKeys =
| 'focus'
| 'groupByFolder'
| 'searchDepth'
| 'select'
| 'collapseEdges'
| 'traceStart'
| 'traceEnd'
| 'traceAlgorithm';
type ParamRecord = Record<ParamKeys, string | null>;
function reduceParamRecordToQueryString(params: ParamRecord): string {
const newParams = Object.entries(params).reduce((acc, [key, value]) => {
if (value !== null) {
acc[key] = value;
}
return acc;
}, {});
return new URLSearchParams(newParams).toString();
}
export const createRouteMachine = () => {
const history = createBrowserHistory();
const params = new URLSearchParams(history.location.search);
const paramRecord: ParamRecord = {
focus: params.get('focus'),
groupByFolder: params.get('groupByFolder'),
collapseEdges: params.get('collapseEdges'),
searchDepth: params.get('searchDepth'),
select: params.get('select'),
traceStart: params.get('traceStart'),
traceEnd: params.get('traceEnd'),
traceAlgorithm: params.get('traceAlgorithm'),
};
const initialContext = {
currentParamString: reduceParamRecordToQueryString(paramRecord),
params: paramRecord,
};
return Machine<
{ currentParamString: string; params: Record<ParamKeys, string | null> },
{},
RouteEvents
>(
{
id: 'route',
context: {
currentParamString: '',
params: {
focus: null,
groupByFolder: null,
searchDepth: null,
select: null,
collapseEdges: null,
traceStart: null,
traceEnd: null,
traceAlgorithm: null,
},
},
always: {
actions: assign((ctx) => {
const history = createBrowserHistory();
const newParamString = reduceParamRecordToQueryString(ctx.params);
history.push({
search: newParamString,
});
ctx.currentParamString = newParamString;
}),
cond: 'didParamsChange',
},
on: {
notifyRouteSelectAll: {
actions: assign((ctx) => {
ctx.params.select = 'all';
ctx.params.focus = null;
}),
},
notifyRouteSelectAffected: {
actions: assign((ctx) => {
ctx.params.select = 'affected';
ctx.params.focus = null;
}),
},
notifyRouteClearSelect: {
actions: assign((ctx) => {
ctx.params.select = null;
}),
},
notifyRouteFocusProject: {
actions: assign((ctx, event) => {
ctx.params.focus = event.focusedProject;
ctx.params.select = null;
}),
},
notifyRouteUnfocusProject: {
actions: assign((ctx, event) => {
ctx.params.focus = null;
}),
},
notifyRouteGroupByFolder: {
actions: assign((ctx, event) => {
ctx.params.groupByFolder = event.groupByFolder ? 'true' : null;
}),
},
notifyRouteCollapseEdges: {
actions: assign((ctx, event) => {
ctx.params.collapseEdges = event.collapseEdges ? 'true' : null;
}),
},
notifyRouteSearchDepth: {
actions: assign((ctx, event) => {
if (event.searchDepthEnabled === false) {
ctx.params.searchDepth = '0';
} else if (event.searchDepthEnabled && event.searchDepth !== 1) {
ctx.params.searchDepth = event.searchDepth.toString();
} else {
ctx.params.searchDepth = null;
}
}),
},
notifyRouteTracing: {
actions: assign((ctx, event) => {
if (event.start !== null && event.end !== null && event.algorithm) {
ctx.params.traceStart = event.start;
ctx.params.traceEnd = event.end;
ctx.params.traceAlgorithm = event.algorithm;
ctx.params.focus = null;
ctx.params.select = null;
} else {
ctx.params.traceStart = null;
ctx.params.traceEnd = null;
ctx.params.traceAlgorithm = null;
}
}),
},
},
},
{
guards: {
didParamsChange: (ctx) => {
const cond =
ctx.currentParamString !==
reduceParamRecordToQueryString(ctx.params);
return cond;
},
},
}
).withContext(initialContext);
};
@@ -1,56 +0,0 @@
// nx-ignore-next-line
import type { ProjectGraphProjectNode } from '@nrwl/devkit';
import { DepGraphSelector } from '../hooks/use-dep-graph-selector';
import { WorkspaceLayout } from '../interfaces';
import { GraphPerfReport, TracingAlgorithmType } from './interfaces';
export const allProjectsSelector: DepGraphSelector<
ProjectGraphProjectNode[]
> = (state) => state.context.projects;
export const workspaceLayoutSelector: DepGraphSelector<WorkspaceLayout> = (
state
) => state.context.workspaceLayout;
export const selectedProjectNamesSelector: DepGraphSelector<string[]> = (
state
) => state.context.selectedProjects;
export const projectIsSelectedSelector: DepGraphSelector<boolean> = (state) =>
state.context.selectedProjects.length > 0;
export const lastPerfReportSelector: DepGraphSelector<GraphPerfReport> = (
state
) => state.context.lastPerfReport;
export const focusedProjectNameSelector: DepGraphSelector<string> = (state) =>
state.context.focusedProject;
export const searchDepthSelector: DepGraphSelector<{
searchDepth: number;
searchDepthEnabled: boolean;
}> = (state) => ({
searchDepth: state.context.searchDepth,
searchDepthEnabled: state.context.searchDepthEnabled,
});
export const includePathSelector: DepGraphSelector<boolean> = (state) =>
state.context.includePath;
export const groupByFolderSelector: DepGraphSelector<boolean> = (state) =>
state.context.groupByFolder;
export const collapseEdgesSelector: DepGraphSelector<boolean> = (state) =>
state.context.collapseEdges;
export const textFilterSelector: DepGraphSelector<string> = (state) =>
state.context.textFilter;
export const hasAffectedProjectsSelector: DepGraphSelector<boolean> = (state) =>
state.context.affectedProjects.length > 0;
export const getTracingInfo: DepGraphSelector<{
start: string;
end: string;
algorithm: TracingAlgorithmType;
}> = (state) => state.context.tracing;
@@ -1,52 +0,0 @@
import { assign } from '@xstate/immer';
import { send, spawn } from 'xstate';
import { DepGraphStateNodeConfig } from './interfaces';
import { routeListener } from './route-listener.actor';
export const unselectedStateConfig: DepGraphStateNodeConfig = {
entry: [
'notifyGraphHideAllProjects',
assign((ctx, event) => {
if (ctx.routeListenerActor === null) {
ctx.routeListenerActor = spawn(routeListener, 'routeListener');
}
}),
'notifyRouteClearSelect',
],
on: {
updateGraph: {
target: 'customSelected',
actions: [
assign((ctx, event) => {
const existingProjectNames = ctx.projects.map(
(project) => project.name
);
const newProjectNames = event.projects.map((project) => project.name);
const newSelectedProjects = newProjectNames.filter(
(projectName) => !existingProjectNames.includes(projectName)
);
ctx.selectedProjects = [
...ctx.selectedProjects,
...newSelectedProjects,
];
}),
'setGraph',
send(
(ctx, event) => ({
type: 'notifyGraphUpdateGraph',
projects: ctx.projects,
dependencies: ctx.dependencies,
affectedProjects: ctx.affectedProjects,
workspaceLayout: ctx.workspaceLayout,
groupByFolder: ctx.groupByFolder,
selectedProjects: ctx.selectedProjects,
}),
{
to: (context) => context.graphActor,
}
),
],
},
},
};
@@ -1,111 +0,0 @@
// nx-ignore-next-line
import type {
ProjectGraphDependency,
ProjectGraphProjectNode,
} from '@nrwl/devkit';
// nx-ignore-next-line
import type { DepGraphClientResponse } from 'nx/src/command-line/dep-graph';
import { ProjectGraphService } from '../app/interfaces';
export class MockProjectGraphService implements ProjectGraphService {
private response: DepGraphClientResponse = {
hash: '79054025255fb1a26e4bc422aef54eb4',
layout: {
appsDir: 'apps',
libsDir: 'libs',
},
projects: [
{
name: 'existing-app-1',
type: 'app',
data: {
root: 'apps/app1',
tags: [],
files: [
{
file: 'some/file.ts',
hash: 'ecccd8481d2e5eae0e59928be1bc4c2d071729d7',
deps: ['existing-lib-1'],
},
],
},
},
{
name: 'existing-lib-1',
type: 'lib',
data: {
root: 'libs/lib1',
tags: [],
files: [],
},
},
],
dependencies: {
'existing-app-1': [
{
source: 'existing-app-1',
target: 'existing-lib-1',
type: 'static',
},
],
'existing-lib-1': [],
},
affected: [],
focus: null,
exclude: [],
groupByFolder: false,
};
constructor(updateFrequency: number = 5000) {
setInterval(() => this.updateResponse(), updateFrequency);
}
async getHash(): Promise<string> {
return new Promise((resolve) => resolve(this.response.hash));
}
getProjectGraph(url: string): Promise<DepGraphClientResponse> {
return new Promise((resolve) => resolve(this.response));
}
private createNewProject(): ProjectGraphProjectNode {
const type = Math.random() > 0.25 ? 'lib' : 'app';
const name = `${type}-${this.response.projects.length + 1}`;
return {
name,
type,
data: {
root: type === 'app' ? `apps/${name}` : `libs/${name}`,
tags: [],
files: [],
},
};
}
private updateResponse() {
const newProject = this.createNewProject();
const libProjects = this.response.projects.filter(
(project) => project.type === 'lib'
);
const targetDependency =
libProjects[Math.floor(Math.random() * libProjects.length)];
const newDependency: ProjectGraphDependency[] = [
{
source: newProject.name,
target: targetDependency.name,
type: 'static',
},
];
this.response = {
...this.response,
projects: [...this.response.projects, newProject],
dependencies: {
...this.response.dependencies,
[newProject.name]: newDependency,
},
};
}
}
@@ -1,91 +0,0 @@
import { getDepGraphService } from './machines/dep-graph.service';
export interface ProjectNodeToolTipProps {
type: 'app' | 'lib' | 'e2e';
id: string;
tags: string[];
}
function ProjectNodeToolTip({ type, id, tags }: ProjectNodeToolTipProps) {
const depGraphService = getDepGraphService();
function onFocus() {
depGraphService.send({
type: 'focusProject',
projectName: id,
});
}
function onExclude() {
depGraphService.send({
type: 'deselectProject',
projectName: id,
});
}
function onStartTrace() {
depGraphService.send({
type: 'setTracingStart',
projectName: id,
});
}
function onEndTrace() {
depGraphService.send({
type: 'setTracingEnd',
projectName: id,
});
}
return (
<div>
<h4>
<span className="tag">{type}</span>
{id}
</h4>
{tags.length > 0 ? (
<p>
<strong>tags</strong>
<br></br>
{tags.join(', ')}
</p>
) : null}
<div className="flex">
<button onClick={onFocus}>Focus</button>
<button onClick={onExclude}>Exclude</button>
<button className="flex flex-row items-center" onClick={onStartTrace}>
<svg
xmlns="http://www.w3.org/2000/svg"
className="mr-2 h-5 w-5 text-slate-500"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fillRule="evenodd"
d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z"
clipRule="evenodd"
/>
</svg>
Start
</button>
<button className="flex flex-row items-center" onClick={onEndTrace}>
<svg
xmlns="http://www.w3.org/2000/svg"
className="mr-2 h-5 w-5 text-slate-500"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fillRule="evenodd"
d="M3 6a3 3 0 013-3h10a1 1 0 01.8 1.6L14.25 8l2.55 3.4A1 1 0 0116 13H6a1 1 0 00-1 1v3a1 1 0 11-2 0V6z"
clipRule="evenodd"
/>
</svg>
End
</button>
</div>
</div>
);
}
export default ProjectNodeToolTip;
-180
View File
@@ -1,180 +0,0 @@
import { ArrowCircleLeftIcon, DownloadIcon } from '@heroicons/react/solid';
import Tippy from '@tippyjs/react';
import classNames from 'classnames';
// nx-ignore-next-line
import type { DepGraphClientResponse } from 'nx/src/command-line/dep-graph';
import { useEffect, useState } from 'react';
import { useSyncExternalStore } from 'use-sync-external-store/shim';
import DebuggerPanel from './debugger-panel';
import { useDepGraphService } from './hooks/use-dep-graph';
import { useDepGraphSelector } from './hooks/use-dep-graph-selector';
import { useEnvironmentConfig } from './hooks/use-environment-config';
import { useIntervalWhen } from './hooks/use-interval-when';
import { useProjectGraphDataService } from './hooks/use-project-graph-data-service';
import { getGraphService } from './machines/graph.service';
import {
lastPerfReportSelector,
projectIsSelectedSelector,
} from './machines/selectors';
import Sidebar from './sidebar/sidebar';
import { selectValueByThemeStatic } from './theme-resolver';
import { getTooltipService } from './tooltip-service';
import ProjectNodeToolTip from './project-node-tooltip';
import EdgeNodeTooltip from './edge-tooltip';
const tooltipService = getTooltipService();
export function Shell() {
const depGraphService = useDepGraphService();
const currentTooltip = useSyncExternalStore(
(callback) => tooltipService.subscribe(callback),
() => tooltipService.currentTooltip
);
const projectGraphService = useProjectGraphDataService();
const environment = useEnvironmentConfig();
const lastPerfReport = useDepGraphSelector(lastPerfReportSelector);
const projectIsSelected = useDepGraphSelector(projectIsSelectedSelector);
const [selectedProjectId, setSelectedProjectId] = useState<string>(
environment.appConfig.defaultProjectGraph
);
function projectChange(projectGraphId: string) {
setSelectedProjectId(projectGraphId);
}
useEffect(() => {
const { appConfig } = environment;
const projectInfo = appConfig.projectGraphs.find(
(graph) => graph.id === selectedProjectId
);
const fetchProjectGraph = async () => {
const project: DepGraphClientResponse =
await projectGraphService.getProjectGraph(projectInfo.url);
const workspaceLayout = project?.layout;
depGraphService.send({
type: 'initGraph',
projects: project.projects,
dependencies: project.dependencies,
affectedProjects: project.affected,
workspaceLayout: workspaceLayout,
});
};
fetchProjectGraph();
}, [selectedProjectId, environment, depGraphService, projectGraphService]);
useIntervalWhen(
() => {
const projectInfo = environment.appConfig.projectGraphs.find(
(graph) => graph.id === selectedProjectId
);
const fetchProjectGraph = async () => {
const project: DepGraphClientResponse =
await projectGraphService.getProjectGraph(projectInfo.url);
depGraphService.send({
type: 'updateGraph',
projects: project.projects,
dependencies: project.dependencies,
});
};
fetchProjectGraph();
},
5000,
environment.watch
);
function downloadImage() {
const graph = getGraphService();
const data = graph.getImage();
let downloadLink = document.createElement('a');
downloadLink.href = data;
downloadLink.download = 'graph.png';
// this is necessary as link.click() does not work on the latest firefox
downloadLink.dispatchEvent(
new MouseEvent('click', {
bubbles: true,
cancelable: true,
view: window,
})
);
}
return (
<>
<Sidebar></Sidebar>
<div
id="main-content"
className="flex-grow overflow-hidden transition-all"
>
{environment.appConfig.showDebugger ? (
<DebuggerPanel
projectGraphs={environment.appConfig.projectGraphs}
selectedProjectGraph={selectedProjectId}
lastPerfReport={lastPerfReport}
projectGraphChange={projectChange}
></DebuggerPanel>
) : null}
{!projectIsSelected ? (
<div
id="no-projects-chosen"
className="flex text-slate-700 dark:text-slate-400"
>
<ArrowCircleLeftIcon className="mr-4 h-6 w-6" />
<h4>Please select projects in the sidebar.</h4>
</div>
) : null}
<div id="graph-container">
<div id="cytoscape-graph"></div>
{currentTooltip ? (
<Tippy
content={
currentTooltip.type === 'node' ? (
<ProjectNodeToolTip
{...currentTooltip.props}
></ProjectNodeToolTip>
) : (
<EdgeNodeTooltip {...currentTooltip.props}></EdgeNodeTooltip>
)
}
visible={true}
getReferenceClientRect={currentTooltip.ref.getBoundingClientRect}
theme={selectValueByThemeStatic('dark-nx', 'nx')}
interactive={true}
appendTo={document.body}
maxWidth="none"
></Tippy>
) : null}
<Tippy
content="Download Graph as PNG"
placement="right"
theme={selectValueByThemeStatic('dark-nx', 'nx')}
>
<button
type="button"
className={classNames(
!projectIsSelected ? 'opacity-0' : '',
'bg-green-nx-base fixed bottom-4 right-4 z-50 block h-16 w-16 transform rounded-full text-white shadow-sm transition duration-300'
)}
data-cy="downloadImageButton"
onClick={downloadImage}
>
<DownloadIcon className="absolute top-1/2 left-1/2 -mt-3 -ml-3 h-6 w-6" />
</button>
</Tippy>
</div>
</div>
</>
);
}
@@ -1,34 +0,0 @@
import { ArrowCircleRightIcon, XCircleIcon } from '@heroicons/react/solid';
import { memo } from 'react';
export interface FocusedProjectPanelProps {
focusedProject: string;
resetFocus: () => void;
}
export const FocusedProjectPanel = memo(
({ focusedProject, resetFocus }: FocusedProjectPanelProps) => {
return (
<div className="mt-10 px-4">
<div
className="bg-green-nx-base group relative flex cursor-pointer items-center overflow-hidden rounded-md border border-slate-200 p-2 text-slate-50 shadow-sm dark:border-slate-700"
data-cy="unfocusButton"
onClick={() => resetFocus()}
>
<p className="truncate transition duration-200 ease-in-out group-hover:opacity-60">
<ArrowCircleRightIcon className="-mt-1 mr-1 inline h-6 w-6" />
<span id="focused-project-name">Focused on {focusedProject}</span>
</p>
<div className="absolute right-2 flex translate-x-32 items-center rounded-md bg-white pl-2 text-sm font-medium text-slate-700 shadow-sm ring-1 ring-slate-500 transition-all duration-200 ease-in-out group-hover:translate-x-0 dark:bg-slate-800 dark:text-slate-300">
Reset
<span className="rounded-md p-1">
<XCircleIcon className="h-5 w-5" />
</span>
</div>
</div>
</div>
);
}
);
export default FocusedProjectPanel;
@@ -1,41 +0,0 @@
import { memo } from 'react';
export interface DisplayOptionsPanelProps {
groupByFolder: boolean;
groupByFolderChanged: (checked: boolean) => void;
}
export const GroupByFolderPanel = memo(
({ groupByFolder, groupByFolderChanged }: DisplayOptionsPanelProps) => {
return (
<div className="mt-8 px-4">
<div className="flex items-start">
<div className="flex h-5 items-center">
<input
id="displayOptions"
name="displayOptions"
value="groupByFolder"
type="checkbox"
className="h-4 w-4 rounded border-slate-300 dark:border-slate-700"
onChange={(event) => groupByFolderChanged(event.target.checked)}
checked={groupByFolder}
></input>
</div>
<div className="ml-3 text-sm">
<label
htmlFor="displayOptions"
className="cursor-pointer font-medium text-slate-600 dark:text-slate-400"
>
Group by folder
</label>
<p className="text-slate-400 dark:text-slate-500">
Visually arrange libraries by folders with different colors.
</p>
</div>
</div>
</div>
);
}
);
export default GroupByFolderPanel;
@@ -1,358 +0,0 @@
import {
DocumentSearchIcon,
FlagIcon,
LocationMarkerIcon,
} from '@heroicons/react/solid';
// nx-ignore-next-line
import type { ProjectGraphNode } from '@nrwl/devkit';
import { useDepGraphService } from '../hooks/use-dep-graph';
import { useDepGraphSelector } from '../hooks/use-dep-graph-selector';
import {
allProjectsSelector,
getTracingInfo,
selectedProjectNamesSelector,
workspaceLayoutSelector,
} from '../machines/selectors';
import { parseParentDirectoriesFromFilePath } from '../util';
import { TracingAlgorithmType } from '../machines/interfaces';
import ExperimentalFeature from '../experimental-feature';
function getProjectsByType(type: string, projects: ProjectGraphNode[]) {
return projects
.filter((project) => project.type === type)
.sort((a, b) => a.name.localeCompare(b.name));
}
interface SidebarProject {
projectGraphNode: ProjectGraphNode;
isSelected: boolean;
}
type DirectoryProjectRecord = Record<string, SidebarProject[]>;
interface TracingInfo {
start: string;
end: string;
algorithm: TracingAlgorithmType;
}
function groupProjectsByDirectory(
projects: ProjectGraphNode[],
selectedProjects: string[],
workspaceLayout: { appsDir: string; libsDir: string }
): DirectoryProjectRecord {
let groups = {};
projects.forEach((project) => {
const workspaceRoot =
project.type === 'app' || project.type === 'e2e'
? workspaceLayout.appsDir
: workspaceLayout.libsDir;
const directories = parseParentDirectoriesFromFilePath(
project.data.root,
workspaceRoot
);
const directory = directories.join('/');
if (!groups.hasOwnProperty(directory)) {
groups[directory] = [];
}
groups[directory].push({
projectGraphNode: project,
isSelected: selectedProjects.includes(project.name),
});
});
return groups;
}
function ProjectListItem({
project,
toggleProject,
focusProject,
startTrace,
endTrace,
tracingInfo,
}: {
project: SidebarProject;
toggleProject: (projectId: string, currentlySelected: boolean) => void;
focusProject: (projectId: string) => void;
startTrace: (projectId: string) => void;
endTrace: (projectId: string) => void;
tracingInfo: TracingInfo;
}) {
return (
<li className="relative block cursor-default select-none py-1 pl-2 pr-6 text-xs text-slate-600 dark:text-slate-400">
<div className="flex items-center">
<button
data-cy={`focus-button-${project.projectGraphNode.name}`}
type="button"
className="mr-1 flex rounded-md"
title="Focus on this library"
onClick={() => focusProject(project.projectGraphNode.name)}
>
<span className="flex items-center rounded-md border-slate-300 bg-white p-1 font-medium text-slate-700 shadow-sm ring-1 ring-slate-200 transition hover:bg-slate-50 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-400 dark:ring-slate-600 hover:dark:bg-slate-700">
<DocumentSearchIcon className="h-5 w-5" />
</span>
</button>
<ExperimentalFeature>
<button
type="button"
className="mr-1 flex rounded-md"
title="Start Trace"
onClick={() => startTrace(project.projectGraphNode.name)}
>
<span
className={`${
tracingInfo.start === project.projectGraphNode.name
? 'ring-blue-nx-base'
: 'ring-slate-200 dark:ring-slate-600'
} flex items-center rounded-md bg-white p-1 font-medium shadow-sm ring-1 transition hover:bg-slate-50 dark:bg-slate-800 dark:text-slate-400 dark:ring-slate-600 hover:dark:bg-slate-700`}
>
<LocationMarkerIcon className="h-5 w-5" />
</span>
</button>
<button
type="button"
className="flex rounded-md"
title="End Trace"
onClick={() => endTrace(project.projectGraphNode.name)}
>
<span
className={`${
tracingInfo.end === project.projectGraphNode.name
? 'ring-blue-nx-base'
: 'ring-slate-200 dark:ring-slate-600'
} flex items-center rounded-md bg-white p-1 font-medium shadow-sm ring-1 transition hover:bg-slate-50 dark:bg-slate-800 dark:text-slate-400 dark:ring-slate-600 hover:dark:bg-slate-700`}
>
<FlagIcon className="h-5 w-5" />
</span>
</button>
</ExperimentalFeature>
<label
className="ml-2 block w-full cursor-pointer truncate rounded-md p-2 font-mono font-normal transition hover:bg-slate-50 hover:dark:bg-slate-700"
data-project={project.projectGraphNode.name}
title={project.projectGraphNode.name}
data-active={project.isSelected.toString()}
onClick={() =>
toggleProject(project.projectGraphNode.name, project.isSelected)
}
>
{project.projectGraphNode.name}
</label>
</div>
{project.isSelected ? (
<span
title="This library is visible"
className="text-green-nx-base absolute inset-y-0 right-0 flex cursor-pointer items-center"
onClick={() =>
toggleProject(project.projectGraphNode.name, project.isSelected)
}
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
/>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
/>
</svg>
</span>
) : null}
</li>
);
}
function SubProjectList({
headerText = '',
projects,
selectProject,
deselectProject,
focusProject,
startTrace,
endTrace,
tracingInfo,
}: {
headerText: string;
projects: SidebarProject[];
selectProject: (projectName: string) => void;
deselectProject: (projectName: string) => void;
focusProject: (projectName: string) => void;
startTrace: (projectId: string) => void;
endTrace: (projectId: string) => void;
tracingInfo: TracingInfo;
}) {
let sortedProjects = [...projects];
sortedProjects.sort((a, b) => {
return a.projectGraphNode.name.localeCompare(b.projectGraphNode.name);
});
function toggleProject(projectName: string, currentlySelected: boolean) {
if (currentlySelected) {
deselectProject(projectName);
} else {
selectProject(projectName);
}
}
return (
<>
{headerText !== '' ? (
<h3 className="mt-4 cursor-text py-2 text-sm font-semibold uppercase tracking-wide text-slate-800 dark:text-slate-200 lg:text-xs">
{headerText}
</h3>
) : null}
<ul className="mt-2 -ml-3">
{sortedProjects.map((project) => {
return (
<ProjectListItem
key={project.projectGraphNode.name}
project={project}
toggleProject={toggleProject}
focusProject={focusProject}
startTrace={startTrace}
endTrace={endTrace}
tracingInfo={tracingInfo}
></ProjectListItem>
);
})}
</ul>
</>
);
}
export function ProjectList() {
const depGraphService = useDepGraphService();
const tracingInfo = useDepGraphSelector(getTracingInfo);
function deselectProject(projectName: string) {
depGraphService.send({ type: 'deselectProject', projectName });
}
function selectProject(projectName: string) {
depGraphService.send({ type: 'selectProject', projectName });
}
function focusProject(projectName: string) {
depGraphService.send({ type: 'focusProject', projectName });
}
function startTrace(projectName: string) {
depGraphService.send({ type: 'setTracingStart', projectName });
}
function endTrace(projectName: string) {
depGraphService.send({ type: 'setTracingEnd', projectName });
}
const projects = useDepGraphSelector(allProjectsSelector);
const workspaceLayout = useDepGraphSelector(workspaceLayoutSelector);
const selectedProjects = useDepGraphSelector(selectedProjectNamesSelector);
const appProjects = getProjectsByType('app', projects);
const libProjects = getProjectsByType('lib', projects);
const e2eProjects = getProjectsByType('e2e', projects);
const appDirectoryGroups = groupProjectsByDirectory(
appProjects,
selectedProjects,
workspaceLayout
);
const libDirectoryGroups = groupProjectsByDirectory(
libProjects,
selectedProjects,
workspaceLayout
);
const e2eDirectoryGroups = groupProjectsByDirectory(
e2eProjects,
selectedProjects,
workspaceLayout
);
const sortedAppDirectories = Object.keys(appDirectoryGroups).sort();
const sortedLibDirectories = Object.keys(libDirectoryGroups).sort();
const sortedE2EDirectories = Object.keys(e2eDirectoryGroups).sort();
return (
<div id="project-lists" className="mt-8 border-t border-slate-400/10 px-4">
<h2 className="mt-8 border-b border-solid border-slate-200/10 text-lg font-light text-slate-400 dark:text-slate-500">
app projects
</h2>
{sortedAppDirectories.map((directoryName) => {
return (
<SubProjectList
key={'app-' + directoryName}
headerText={directoryName}
projects={appDirectoryGroups[directoryName]}
deselectProject={deselectProject}
selectProject={selectProject}
focusProject={focusProject}
startTrace={startTrace}
endTrace={endTrace}
tracingInfo={tracingInfo}
></SubProjectList>
);
})}
<h2 className="mt-8 border-b border-solid border-slate-200/10 text-lg font-light">
e2e projects
</h2>
{sortedE2EDirectories.map((directoryName) => {
return (
<SubProjectList
key={'e2e-' + directoryName}
headerText={directoryName}
projects={e2eDirectoryGroups[directoryName]}
deselectProject={deselectProject}
selectProject={selectProject}
focusProject={focusProject}
startTrace={startTrace}
endTrace={endTrace}
tracingInfo={tracingInfo}
></SubProjectList>
);
})}
<h2 className="mt-8 border-b border-solid border-slate-200/10 text-lg font-light">
lib projects
</h2>
{sortedLibDirectories.map((directoryName) => {
return (
<SubProjectList
key={'lib-' + directoryName}
headerText={directoryName}
projects={libDirectoryGroups[directoryName]}
deselectProject={deselectProject}
selectProject={selectProject}
focusProject={focusProject}
startTrace={startTrace}
endTrace={endTrace}
tracingInfo={tracingInfo}
></SubProjectList>
);
})}
</div>
);
}
export default ProjectList;
@@ -1,104 +0,0 @@
import { memo } from 'react';
export interface SearchDepthProps {
searchDepth: number;
searchDepthEnabled: boolean;
searchDepthFilterEnabledChange: (checked: boolean) => void;
decrementDepthFilter: () => void;
incrementDepthFilter: () => void;
}
export const SearchDepth = memo(
({
searchDepth,
searchDepthEnabled,
searchDepthFilterEnabledChange,
decrementDepthFilter,
incrementDepthFilter,
}: SearchDepthProps) => {
return (
<div className="mt-4 px-4">
<div className="mt-4 flex items-start">
<div className="flex h-5 items-center">
<input
id="depthFilter"
name="depthFilter"
value="depthFilterActivated"
type="checkbox"
className="h-4 w-4 rounded border-slate-300 dark:text-slate-700"
checked={searchDepthEnabled}
onChange={(event) =>
searchDepthFilterEnabledChange(event.target.checked)
}
></input>
</div>
<div className="ml-3 text-sm">
<label
htmlFor="depthFilter"
className="cursor-pointer font-medium text-slate-600 dark:text-slate-400"
>
Activate proximity
</label>
<p className="text-slate-400 dark:text-slate-500">
Explore connected libraries step by step.
</p>
</div>
</div>
<div className="mt-3 px-10">
<div className="flex rounded-md shadow-sm">
<button
data-cy="decrement-depth-filter"
title="Remove ancestor level"
className="inline-flex items-center rounded-l-md border border-slate-300 bg-slate-50 py-2 px-4 text-slate-500 hover:bg-slate-100 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700"
onClick={decrementDepthFilter}
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-4 w-4"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M20 12H4"
/>
</svg>
</button>
<span
id="depthFilterValue"
className="block w-full flex-1 rounded-none border-t border-b border-slate-300 bg-white p-1.5 text-center font-mono dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700"
>
{searchDepth}
</span>
<button
data-cy="increment-depth-filter"
title="Add ancestor level"
className="inline-flex items-center rounded-r-md border border-slate-300 bg-slate-50 py-2 px-4 text-slate-500 hover:bg-slate-100 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700"
onClick={incrementDepthFilter}
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-4 w-4"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M12 6v6m0 0v6m0-6h6m-6 0H6"
/>
</svg>
</button>
</div>
</div>
</div>
);
}
);
export default SearchDepth;
@@ -1,100 +0,0 @@
import { memo } from 'react';
export interface ShowHideAllProjectsProps {
showAllProjects: () => void;
hideAllProjects: () => void;
showAffectedProjects: () => void;
hasAffectedProjects: boolean;
}
export const ShowHideAllProjects = memo(
({
showAllProjects,
hideAllProjects,
showAffectedProjects,
hasAffectedProjects: affectedProjects,
}: ShowHideAllProjectsProps) => {
return (
<div className="mt-8 px-4">
<button
onClick={showAllProjects}
type="button"
className="flex w-full items-center rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-sm hover:bg-slate-50 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700"
data-cy="selectAllButton"
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="-ml-1 mr-2 h-5 w-5 text-slate-400"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
/>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
/>
</svg>
Show all projects
</button>
{affectedProjects ? (
<button
onClick={showAffectedProjects}
type="button"
className="mt-3 flex w-full items-center rounded-md border border-red-300 bg-white px-4 py-2 text-sm font-medium text-red-500 shadow-sm hover:bg-red-50 dark:border-red-700 dark:bg-slate-800 hover:dark:bg-slate-700"
data-cy="affectedButton"
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="-ml-1 mr-2 h-5 w-5 text-red-500"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M13 10V3L4 14h7v7l9-11h-7z"
/>
</svg>
Show affected projects
</button>
) : null}
<button
onClick={hideAllProjects}
type="button"
className="mt-3 flex w-full items-center rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-sm hover:bg-slate-50 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700"
data-cy="deselectAllButton"
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="-ml-1 mr-2 h-5 w-5 text-slate-500"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"
/>
</svg>
Hide all projects
</button>
</div>
);
}
);
export default ShowHideAllProjects;
@@ -1,220 +0,0 @@
import { InformationCircleIcon } from '@heroicons/react/solid';
import { useCallback } from 'react';
import ExperimentalFeature from '../experimental-feature';
import { useDepGraphService } from '../hooks/use-dep-graph';
import { useDepGraphSelector } from '../hooks/use-dep-graph-selector';
import {
collapseEdgesSelector,
focusedProjectNameSelector,
getTracingInfo,
groupByFolderSelector,
hasAffectedProjectsSelector,
includePathSelector,
searchDepthSelector,
textFilterSelector,
} from '../machines/selectors';
import CollapseEdgesPanel from './collapse-edges-panel';
import FocusedProjectPanel from './focused-project-panel';
import GroupByFolderPanel from './group-by-folder-panel';
import ProjectList from './project-list';
import SearchDepth from './search-depth';
import ShowHideProjects from './show-hide-projects';
import TextFilterPanel from './text-filter-panel';
import ThemePanel from './theme-panel';
import TracingPanel from './tracing-panel';
import { TracingAlgorithmType } from '../machines/interfaces';
export function Sidebar() {
const depGraphService = useDepGraphService();
const focusedProject = useDepGraphSelector(focusedProjectNameSelector);
const searchDepthInfo = useDepGraphSelector(searchDepthSelector);
const includePath = useDepGraphSelector(includePathSelector);
const textFilter = useDepGraphSelector(textFilterSelector);
const hasAffectedProjects = useDepGraphSelector(hasAffectedProjectsSelector);
const groupByFolder = useDepGraphSelector(groupByFolderSelector);
const collapseEdges = useDepGraphSelector(collapseEdgesSelector);
const isTracing = depGraphService.state.matches('tracing');
// const isTracing = depGraphService.state.matches('tracing');
const tracingInfo = useDepGraphSelector(getTracingInfo);
function resetFocus() {
depGraphService.send({ type: 'unfocusProject' });
}
function showAllProjects() {
depGraphService.send({ type: 'selectAll' });
}
function hideAllProjects() {
depGraphService.send({ type: 'deselectAll' });
}
function showAffectedProjects() {
depGraphService.send({ type: 'selectAffected' });
}
function searchDepthFilterEnabledChange(checked: boolean) {
depGraphService.send({
type: 'setSearchDepthEnabled',
searchDepthEnabled: checked,
});
}
function groupByFolderChanged(checked: boolean) {
depGraphService.send({ type: 'setGroupByFolder', groupByFolder: checked });
}
function collapseEdgesChanged(checked: boolean) {
depGraphService.send({ type: 'setCollapseEdges', collapseEdges: checked });
}
function incrementDepthFilter() {
depGraphService.send({ type: 'incrementSearchDepth' });
}
function decrementDepthFilter() {
depGraphService.send({ type: 'decrementSearchDepth' });
}
function resetTextFilter() {
depGraphService.send({ type: 'clearTextFilter' });
}
function includeLibsInPathChange() {
depGraphService.send({
type: 'setIncludeProjectsByPath',
includeProjectsByPath: !includePath,
});
}
function resetTraceStart() {
depGraphService.send({ type: 'clearTraceStart' });
}
function resetTraceEnd() {
depGraphService.send({ type: 'clearTraceEnd' });
}
function setAlgorithm(algorithm: TracingAlgorithmType) {
depGraphService.send({ type: 'setTracingAlgorithm', algorithm: algorithm });
}
const updateTextFilter = useCallback(
(textFilter: string) => {
depGraphService.send({ type: 'filterByText', search: textFilter });
},
[depGraphService]
);
return (
<div
className="relative flex h-full w-72 flex-col overflow-y-scroll pb-10 shadow-lg ring-1 ring-slate-900/10 ring-opacity-10 transition-all dark:ring-slate-300/10"
id="sidebar"
>
<div className="bg-blue-nx-base border-b border-slate-900/10 dark:border-slate-300/10 dark:bg-transparent">
<div className="mx-4 my-5 flex items-center justify-between">
<svg
className="h-12 w-auto text-white"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<title>Nx</title>
<path d="M11.987 14.138l-3.132 4.923-5.193-8.427-.012 8.822H0V4.544h3.691l5.247 8.833.005-3.998 3.044 4.759zm.601-5.761c.024-.048 0-3.784.008-3.833h-3.65c.002.059-.005 3.776-.003 3.833h3.645zm5.634 4.134a2.061 2.061 0 0 0-1.969 1.336 1.963 1.963 0 0 1 2.343-.739c.396.161.917.422 1.33.283a2.1 2.1 0 0 0-1.704-.88zm3.39 1.061c-.375-.13-.8-.277-1.109-.681-.06-.08-.116-.17-.176-.265a2.143 2.143 0 0 0-.533-.642c-.294-.216-.68-.322-1.18-.322a2.482 2.482 0 0 0-2.294 1.536 2.325 2.325 0 0 1 4.002.388.75.75 0 0 0 .836.334c.493-.105.46.36 1.203.518v-.133c-.003-.446-.246-.55-.75-.733zm2.024 1.266a.723.723 0 0 0 .347-.638c-.01-2.957-2.41-5.487-5.37-5.487a5.364 5.364 0 0 0-4.487 2.418c-.01-.026-1.522-2.39-1.538-2.418H8.943l3.463 5.423-3.379 5.32h3.54l1.54-2.366 1.568 2.366h3.541l-3.21-5.052a.7.7 0 0 1-.084-.32 2.69 2.69 0 0 1 2.69-2.691h.001c1.488 0 1.736.89 2.057 1.308.634.826 1.9.464 1.9 1.541a.707.707 0 0 0 1.066.596zm.35.133c-.173.372-.56.338-.755.639-.176.271.114.412.114.412s.337.156.538-.311c.104-.231.14-.488.103-.74z" />
</svg>
<span className="ml-4 text-xl font-medium text-white">
{' '}
Project Graph{' '}
</span>
<ThemePanel />
</div>
</div>
<a
id="help"
className="
mt-3
flex cursor-pointer
items-center
px-4
text-xs
hover:underline
"
href="https://nx.dev/structure/dependency-graph"
rel="noreferrer"
target="_blank"
>
<InformationCircleIcon className="mr-2 h-4 w-4" />
Analyse and visualize your workspace.
</a>
{focusedProject ? (
<FocusedProjectPanel
focusedProject={focusedProject}
resetFocus={resetFocus}
></FocusedProjectPanel>
) : null}
{isTracing ? (
<TracingPanel
start={tracingInfo.start}
end={tracingInfo.end}
algorithm={tracingInfo.algorithm}
setAlgorithm={setAlgorithm}
resetStart={resetTraceStart}
resetEnd={resetTraceEnd}
></TracingPanel>
) : null}
<TextFilterPanel
includePath={includePath}
resetTextFilter={resetTextFilter}
textFilter={textFilter}
toggleIncludeLibsInPathChange={includeLibsInPathChange}
updateTextFilter={updateTextFilter}
></TextFilterPanel>
<div>
<ShowHideProjects
hideAllProjects={hideAllProjects}
showAllProjects={showAllProjects}
showAffectedProjects={showAffectedProjects}
hasAffectedProjects={hasAffectedProjects}
></ShowHideProjects>
<GroupByFolderPanel
groupByFolder={groupByFolder}
groupByFolderChanged={groupByFolderChanged}
></GroupByFolderPanel>
<SearchDepth
searchDepth={searchDepthInfo.searchDepth}
searchDepthEnabled={searchDepthInfo.searchDepthEnabled}
searchDepthFilterEnabledChange={searchDepthFilterEnabledChange}
incrementDepthFilter={incrementDepthFilter}
decrementDepthFilter={decrementDepthFilter}
></SearchDepth>
<ExperimentalFeature>
<div
data-cy="experimental-features"
className="mx-4 mt-4 rounded-lg border-2 border-dashed border-purple-500 p-4 shadow-lg dark:border-purple-600 dark:bg-[#0B1221]"
>
<h3 className="cursor-text px-4 py-2 text-sm font-semibold uppercase tracking-wide text-slate-800 dark:text-slate-200 lg:text-xs">
Experimental Features
</h3>
<CollapseEdgesPanel
collapseEdges={collapseEdges}
collapseEdgesChanged={collapseEdgesChanged}
></CollapseEdgesPanel>
</div>
</ExperimentalFeature>
</div>
<ProjectList></ProjectList>
</div>
);
}
export default Sidebar;
@@ -1,145 +0,0 @@
import { useEffect, useState } from 'react';
import type { KeyboardEvent } from 'react';
import { useDebounce } from '../hooks/use-debounce';
export interface TextFilterPanelProps {
textFilter: string;
resetTextFilter: () => void;
updateTextFilter: (textFilter: string) => void;
toggleIncludeLibsInPathChange: () => void;
includePath: boolean;
}
export function TextFilterPanel({
textFilter,
resetTextFilter,
updateTextFilter,
toggleIncludeLibsInPathChange,
includePath,
}: TextFilterPanelProps) {
const [currentTextFilter, setCurrentTextFilter] = useState('');
const [debouncedValue, setDebouncedValue] = useDebounce(
currentTextFilter,
500
);
function onTextFilterKeyUp(event: KeyboardEvent<HTMLInputElement>) {
if (event.key === 'Enter') {
updateTextFilter(event.currentTarget.value);
}
}
function onTextInputChange(change: string) {
if (change === '') {
setCurrentTextFilter('');
setDebouncedValue('');
resetTextFilter();
} else {
setCurrentTextFilter(change);
}
}
function resetClicked() {
setCurrentTextFilter('');
setDebouncedValue('');
resetTextFilter();
}
useEffect(() => {
updateTextFilter(debouncedValue);
}, [debouncedValue, updateTextFilter]);
return (
<div>
<div className="mt-10 px-4">
<form
className="group relative flex rounded-md shadow-sm"
onSubmit={(event) => event.preventDefault()}
>
<span className="inline-flex items-center rounded-l-md border border-r-0 border-slate-300 bg-slate-50 p-2 dark:border-slate-900 dark:bg-slate-800">
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-4 w-4"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"
/>
</svg>
</span>
<input
type="text"
className={`block w-full flex-1 rounded-none rounded-r-md border border-slate-300 bg-white p-1.5 font-light text-slate-400 placeholder:font-light placeholder:text-slate-400 dark:border-slate-900 dark:bg-slate-800 dark:text-white dark:hover:bg-slate-700`}
placeholder="lib name, other lib name"
data-cy="textFilterInput"
name="filter"
value={currentTextFilter}
onKeyUp={onTextFilterKeyUp}
onChange={(event) => onTextInputChange(event.currentTarget.value)}
></input>
{currentTextFilter.length > 0 ? (
<button
data-cy="textFilterReset"
type="reset"
onClick={resetClicked}
className="absolute top-1 right-1 inline-block rounded-md bg-slate-50 p-1 text-slate-400 dark:bg-slate-800"
>
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M12 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2M3 12l6.414 6.414a2 2 0 001.414.586H19a2 2 0 002-2V7a2 2 0 00-2-2h-8.172a2 2 0 00-1.414.586L3 12z"
/>
</svg>
</button>
) : null}
</form>
</div>
<div className="mt-4 px-4">
<div className="flex items-start">
<div className="flex h-5 items-center">
<input
disabled={textFilter.length === 0}
id="includeInPath"
name="textFilterCheckbox"
type="checkbox"
value="includeInPath"
className="h-4 w-4 rounded border-slate-300 dark:border-slate-700"
checked={includePath}
onChange={toggleIncludeLibsInPathChange}
></input>
</div>
<div className="ml-3 text-sm">
<label
htmlFor="includeInPath"
className="cursor-pointer font-medium text-slate-600 dark:text-slate-400"
>
Include related libraries
</label>
<p className="text-slate-400 dark:text-slate-500">
Show libraries that are related to your search.
</p>
</div>
</div>
</div>
</div>
);
}
export default TextFilterPanel;
@@ -1,102 +0,0 @@
import { Menu, Transition } from '@headlessui/react';
import { DesktopComputerIcon, MoonIcon, SunIcon } from '@heroicons/react/solid';
import classNames from 'classnames';
import { Fragment, useEffect, useState } from 'react';
import { localStorageThemeKey, Theme, themeResolver } from '../theme-resolver';
export default function ThemePanel() {
const [theme, setTheme] = useState(
(localStorage.getItem(localStorageThemeKey) as Theme) || 'system'
);
useEffect(() => {
themeResolver(theme);
}, [theme]);
return (
<Menu as="div" className="relative inline-block text-left">
<div>
<Menu.Button
className="dark:text-green-nx-base inline-flex w-full justify-center rounded-md p-2 text-sm font-medium text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75"
data-cy="theme-open-modal-button"
>
<span className="sr-only">Theme switcher</span>
{theme === 'system' && (
<DesktopComputerIcon className="h-5 w-5" aria-hidden="true" />
)}
{theme === 'light' && (
<SunIcon className="h-5 w-5" aria-hidden="true" />
)}
{theme === 'dark' && (
<MoonIcon className="h-5 w-5" aria-hidden="true" />
)}
</Menu.Button>
</div>
<Transition
as={Fragment}
enter="transition ease-out duration-100"
enterFrom="transform opacity-0 scale-95"
enterTo="transform opacity-100 scale-100"
leave="transition ease-in duration-75"
leaveFrom="transform opacity-100 scale-100"
leaveTo="transform opacity-0 scale-95"
>
<Menu.Items className="absolute right-0 z-50 mt-2 w-36 origin-top-right rounded-md bg-white text-slate-500 shadow-lg ring-1 ring-slate-900/10 ring-opacity-5 focus:outline-none dark:bg-slate-800 dark:text-slate-400 dark:ring-0">
<div className="px-1 py-1">
<Menu.Item>
{({ active }) => (
<button
data-cy="system-theme-button"
className={classNames(
theme === 'system' ? 'text-green-nx-base' : '',
active ? 'bg-slate-50 dark:bg-slate-600/30' : '',
'group flex w-full items-center rounded-md px-2 py-2 text-sm'
)}
onClick={() => setTheme('system')}
>
<DesktopComputerIcon
className="mr-2 h-5 w-5"
aria-hidden="true"
/>
System
</button>
)}
</Menu.Item>
<Menu.Item>
{({ active }) => (
<button
data-cy="light-theme-button"
className={classNames(
theme === 'light' ? 'text-green-nx-base' : '',
active ? 'bg-slate-50 dark:bg-slate-600/30' : '',
'group flex w-full items-center rounded-md px-2 py-2 text-sm'
)}
onClick={() => setTheme('light')}
>
<SunIcon className="mr-2 h-5 w-5" aria-hidden="true" />
Light
</button>
)}
</Menu.Item>
<Menu.Item>
{({ active }) => (
<button
data-cy="dark-theme-button"
className={classNames(
theme === 'dark' ? 'text-green-nx-base' : '',
active ? 'bg-slate-50 dark:bg-slate-600/30' : '',
'group flex w-full items-center rounded-md px-2 py-2 text-sm'
)}
onClick={() => setTheme('dark')}
>
<MoonIcon className="mr-2 h-5 w-5" aria-hidden="true" />
Dark
</button>
)}
</Menu.Item>
</div>
</Menu.Items>
</Transition>
</Menu>
);
}
@@ -1,18 +0,0 @@
import { createContext } from 'react';
import { InterpreterFrom } from 'xstate';
import { depGraphMachine } from './machines/dep-graph.machine';
import { getDepGraphService } from './machines/dep-graph.service';
export const GlobalStateContext = createContext<
InterpreterFrom<typeof depGraphMachine>
>({} as InterpreterFrom<typeof depGraphMachine>);
export const GlobalStateProvider = (props) => {
const depGraphService = getDepGraphService();
return (
<GlobalStateContext.Provider value={depGraphService as any}>
{props.children}
</GlobalStateContext.Provider>
);
};
@@ -1,65 +0,0 @@
import { Stylesheet } from 'cytoscape';
import { selectValueByThemeDynamic } from '../theme-resolver';
import { NrwlPalette } from './palette';
const allEdges: Stylesheet = {
selector: 'edge',
style: {
width: selectValueByThemeDynamic('2px', '1px'),
'line-color': selectValueByThemeDynamic(
NrwlPalette.gray,
NrwlPalette.black
),
'text-outline-color': NrwlPalette.black,
'text-outline-width': selectValueByThemeDynamic('1px', '0px'),
color: selectValueByThemeDynamic(NrwlPalette.white, NrwlPalette.black),
'curve-style': 'unbundled-bezier',
'target-arrow-shape': 'triangle',
'target-arrow-fill': 'filled',
'target-arrow-color': selectValueByThemeDynamic(
NrwlPalette.gray,
NrwlPalette.black
),
},
};
const affectedEdges: Stylesheet = {
selector: 'edge.affected',
style: {
'line-color': NrwlPalette.red,
'target-arrow-color': NrwlPalette.red,
'curve-style': 'unbundled-bezier',
},
};
const implicitEdges: Stylesheet = {
selector: 'edge.implicit',
style: {
label: 'implicit',
'font-size': '16px',
'curve-style': 'unbundled-bezier',
'text-rotation': 'autorotate',
},
};
const transparentEdges: Stylesheet = {
selector: 'edge.transparent',
style: { opacity: 0.2 },
};
const dynamicEdges: Stylesheet = {
selector: 'edge.dynamic',
style: {
'line-dash-pattern': [5, 5],
'line-style': 'dashed',
'curve-style': 'unbundled-bezier',
},
};
export const edgeStyles: Stylesheet[] = [
allEdges,
affectedEdges,
implicitEdges,
dynamicEdges,
transparentEdges,
];
@@ -1,28 +0,0 @@
import { NodeSingular } from 'cytoscape';
export class LabelWidthCalculator {
private cache: Map<string, number> = new Map<string, number>();
private ctx: CanvasRenderingContext2D;
calculateWidth(node: NodeSingular) {
if (!this.ctx) {
this.ctx = document.createElement('canvas').getContext('2d');
const fStyle = node.style('font-style');
const size = node.style('font-size');
const family = node.style('font-family');
const weight = node.style('font-weight');
this.ctx.font = fStyle + ' ' + weight + ' ' + size + ' ' + family;
}
const label = node.data('id');
if (this.cache.has(label)) {
return this.cache.get(label);
} else {
const width = this.ctx.measureText(node.data('id')).width;
this.cache.set(label, width);
return width;
}
}
}
@@ -1,102 +0,0 @@
import { Stylesheet } from 'cytoscape';
import { selectValueByThemeDynamic } from '../theme-resolver';
import { FONTS } from './fonts';
import { NrwlPalette } from './palette';
import { LabelWidthCalculator } from './label-width';
const labelWidthCalculator = new LabelWidthCalculator();
const allNodes: Stylesheet = {
selector: 'node',
style: {
'font-size': '32px',
'font-family': FONTS,
'border-style': 'solid',
'border-color': selectValueByThemeDynamic(
NrwlPalette.gray,
NrwlPalette.darkGray
),
'border-width': selectValueByThemeDynamic('2px', '1px'),
'text-halign': 'center',
'text-valign': 'center',
'padding-left': '16px',
color: selectValueByThemeDynamic(NrwlPalette.white, NrwlPalette.black),
label: 'data(id)',
// width: (node) => node.data('id').length * 16,
width: (node) => labelWidthCalculator.calculateWidth(node),
backgroundColor: selectValueByThemeDynamic(
NrwlPalette.black,
NrwlPalette.white
),
'transition-property':
'background-color, border-color, line-color, target-arrow-color',
'transition-duration': 250,
'transition-timing-function': 'ease-out',
shape: 'round-rectangle',
},
};
const focusedNodes: Stylesheet = {
selector: 'node.focused',
style: {
color: NrwlPalette.white,
'border-color': NrwlPalette.gray,
backgroundColor: NrwlPalette.green,
},
};
const affectedNodes: Stylesheet = {
selector: 'node.affected',
style: {
color: NrwlPalette.white,
'border-color': NrwlPalette.gray,
backgroundColor: NrwlPalette.red,
},
};
const parentNodes: Stylesheet = {
selector: ':parent',
style: {
'background-opacity': 0.5,
'background-color': NrwlPalette.gray,
'border-color': NrwlPalette.darkGray,
label: 'data(label)',
'text-halign': 'center',
'text-valign': 'top',
'font-weight': 'bold',
'font-size': '48px',
},
};
const highlightedNodes: Stylesheet = {
selector: 'node.highlight',
style: {
color: NrwlPalette.white,
'border-color': NrwlPalette.gray,
backgroundColor: NrwlPalette.blue,
},
};
const transparentProjectNodes: Stylesheet = {
selector: 'node.transparent:childless',
style: { opacity: 0.5 },
};
const transparentParentNodes: Stylesheet = {
selector: 'node.transparent:parent',
style: {
'text-opacity': 0.5,
'background-opacity': 0.25,
'border-opacity': 0.5,
},
};
export const nodeStyles = [
allNodes,
focusedNodes,
affectedNodes,
parentNodes,
highlightedNodes,
transparentProjectNodes,
transparentParentNodes,
];
@@ -1,11 +0,0 @@
export enum NrwlPalette {
blue = 'hsla(214, 62%, 21%, 1)',
green = 'hsla(162, 47%, 50%, 1)',
lightBlue = 'hsla(192, 75%, 59%, 1)',
gray = 'hsla(0, 0%, 92%, 1)',
darkGray = 'hsla(0, 0%, 72%, 1)',
black = 'hsla(220, 9%, 46%, 1)',
red = 'hsla(347, 92%, 65%, 1)',
white = '#fff',
stone = '#1c1917',
}
@@ -1,48 +0,0 @@
import { VirtualElement } from '@popperjs/core';
import { ProjectNodeToolTipProps } from './project-node-tooltip';
import { EdgeNodeTooltipProps } from './edge-tooltip';
export class GraphTooltipService {
private subscribers: Set<Function> = new Set();
currentTooltip:
| { ref: VirtualElement; type: 'node'; props: ProjectNodeToolTipProps }
| { ref: VirtualElement; type: 'edge'; props: EdgeNodeTooltipProps };
openProjectNodeToolTip(ref: VirtualElement, props: ProjectNodeToolTipProps) {
this.currentTooltip = { type: 'node', ref, props };
this.broadcastChange();
}
openEdgeToolTip(ref: VirtualElement, props: EdgeNodeTooltipProps) {
this.currentTooltip = { type: 'edge', ref, props };
this.broadcastChange();
}
broadcastChange() {
this.subscribers.forEach((subscriber) => subscriber(this.currentTooltip));
}
subscribe(callback: Function) {
this.subscribers.add(callback);
return () => {
this.subscribers.delete(callback);
};
}
hideAll() {
this.currentTooltip = null;
this.broadcastChange();
}
}
let tooltipService: GraphTooltipService;
export function getTooltipService(): GraphTooltipService {
if (!tooltipService) {
tooltipService = new GraphTooltipService();
}
return tooltipService;
}
@@ -1,28 +0,0 @@
// nx-ignore-next-line
import type { ProjectGraphDependency } from '@nrwl/devkit';
import * as cy from 'cytoscape';
export class ProjectEdge {
affected = false;
constructor(private dep: ProjectGraphDependency) {}
getCytosacpeNodeDef(): cy.NodeDefinition {
let edge: cy.EdgeDefinition;
edge = {
group: 'edges',
data: {
id: `${this.dep.source}|${this.dep.target}`,
source: this.dep.source,
target: this.dep.target,
type: this.dep.type,
},
};
edge.classes = this.dep.type ?? '';
if (this.affected) {
edge.classes += ' affected';
}
return edge;
}
}
@@ -1,4 +0,0 @@
export * from './cytoscape.models';
export * from './edge';
export * from './parent-node';
export * from './project-node';
@@ -1,97 +0,0 @@
// nx-ignore-next-line
import type { ProjectGraphProjectNode } from '@nrwl/devkit';
import * as cy from 'cytoscape';
import { parseParentDirectoriesFromFilePath } from '../util';
interface NodeDataDefinition extends cy.NodeDataDefinition {
id: string;
type: string;
tags: string[];
}
interface Ancestor {
id: string;
parentId: string;
label: string;
}
export class ProjectNode {
affected = false;
focused = false;
constructor(
private project: ProjectGraphProjectNode,
private workspaceRoot: string
) {}
getCytoscapeNodeDef(groupByFolder: boolean): cy.NodeDefinition {
return {
group: 'nodes',
data: this.getData(groupByFolder),
classes: this.getClasses(),
selectable: false,
grabbable: false,
pannable: true,
};
}
private getData(groupByFolder: boolean): NodeDataDefinition {
return {
id: this.project.name,
type: this.project.type,
tags: this.project.data.tags,
parent:
groupByFolder && this.project.data.hasOwnProperty('root')
? this.getParentId()
: null,
files: this.project.data.files,
root: this.project.data.root,
};
}
private getClasses(): string {
let classes = this.project.type ?? '';
if (this.affected) {
classes += ' affected';
}
return classes;
}
private getParentId(): string | null {
const ancestors = this.getAncestors();
if (ancestors.length > 0) {
return ancestors[ancestors.length - 1].id;
} else {
return null;
}
}
public getAncestors(): Ancestor[] {
// if there's no root, we can't figure out the parent
if (!this.project.data.root) {
return [];
}
const directories = parseParentDirectoriesFromFilePath(
this.project.data.root,
this.workspaceRoot
);
return directories.map((directory, index, allDirectories) => {
const label = [...allDirectories].slice(0, index + 1).join('/');
const id = `dir-${label}`;
const parentId =
index > 0
? `dir-${[...allDirectories].slice(0, index).join('/')}`
: null;
return {
label,
id,
parentId,
};
});
}
}
-50
View File
@@ -1,50 +0,0 @@
// nx-ignore-next-line
import { ProjectGraphDependency } from '@nrwl/devkit';
export function trimBackSlash(value: string): string {
return value.replace(/\/$/, '');
}
export function parseParentDirectoriesFromFilePath(
path: string,
workspaceRoot: string
) {
const directories = path
.replace(workspaceRoot, '')
.split('/')
.filter((directory) => directory !== '');
// last directory is the project
directories.pop();
return directories;
}
export function hasPath(
dependencies: Record<string, ProjectGraphDependency[]>,
target: string,
node: string,
visited: string[],
currentSearchDepth: number,
maxSearchDepth: number = -1 // -1 indicates unlimited search depth
) {
if (target === node) return true;
if (maxSearchDepth === -1 || currentSearchDepth <= maxSearchDepth) {
for (let d of dependencies[node] || []) {
if (visited.indexOf(d.target) > -1) continue;
visited.push(d.target);
if (
hasPath(
dependencies,
target,
d.target,
visited,
currentSearchDepth + 1,
maxSearchDepth
)
)
return true;
}
}
return false;
}
@@ -1,57 +0,0 @@
window.exclude = [];
window.watch = false;
window.environment = 'dev';
window.useXstateInspect = false;
window.appConfig = {
showDebugger: true,
showExperimentalFeatures: true,
projectGraphs: [
{
id: 'nx',
label: 'Nx',
url: 'assets/graphs/nx.json',
},
{
id: 'ocean',
label: 'Ocean',
url: 'assets/graphs/ocean.json',
},
{
id: 'nx-examples',
label: 'Nx Examples',
url: 'assets/graphs/nx-examples.json',
},
{
id: 'sub-apps',
label: 'Sub Apps',
url: 'assets/graphs/sub-apps.json',
},
{
id: 'storybook',
label: 'Storybook',
url: 'assets/graphs/storybook.json',
},
{
id: 'focus-testing',
label: 'Focus',
url: 'assets/graphs/focus-testing.json',
},
{
id: 'affected',
label: 'Affected',
url: 'assets/graphs/affected.json',
},
{
id: 'collapsing-edges-testing',
label: 'Collapsing Edges',
url: 'assets/graphs/collapsing-edges-testing.json',
},
{
id: 'nested-workspace-layout',
label: 'Nested Workspace Layout',
url: 'assets/graphs/nested-workspace-layout.json',
},
],
defaultProjectGraph: 'nx',
};
@@ -1,119 +0,0 @@
{
"hash": "1c2b69586aa096dc5e42eb252d0b5bfb94f20dc969a1e7b6f381a3b13add6928",
"layout": {
"appsDir": "apps",
"libsDir": "libs"
},
"projects": [
{
"name": "app1",
"type": "app",
"data": {
"tags": [],
"root": "apps/app1"
}
},
{
"name": "app2",
"type": "app",
"data": {
"tags": [],
"root": "apps/app2"
}
},
{
"name": "lib1",
"type": "lib",
"data": {
"tags": [],
"root": "libs/lib1"
}
},
{
"name": "lib2",
"type": "lib",
"data": {
"tags": [],
"root": "libs/lib2"
}
},
{
"name": "lib3",
"type": "lib",
"data": {
"tags": [],
"root": "libs/lib3"
}
},
{
"name": "lib4",
"type": "lib",
"data": {
"tags": [],
"root": "libs/lib4"
}
},
{
"name": "lib5",
"type": "lib",
"data": {
"tags": [],
"root": "libs/lib5"
}
}
],
"dependencies": {
"app1": [
{
"type": "static",
"source": "app1",
"target": "lib1"
}
],
"app2": [
{
"type": "static",
"source": "app2",
"target": "lib2"
},
{
"type": "static",
"source": "app2",
"target": "lib5"
}
],
"lib1": [
{
"type": "static",
"source": "lib1",
"target": "lib3"
}
],
"lib2": [
{
"type": "static",
"source": "lib2",
"target": "lib3"
}
],
"lib3": [
{
"type": "static",
"source": "lib3",
"target": "lib4"
}
],
"lib4": [],
"lib5": [
{
"type": "static",
"source": "lib5",
"target": "lib4"
}
]
},
"affected": ["lib3", "lib1", "lib2", "app1", "app2"],
"changes": {
"added": []
}
}
@@ -1,222 +0,0 @@
{
"hash": "1c2b69586aa096dc5e42eb252d0b5bfb94f20dc969a1e7b6f381a3b13add6928",
"layout": {
"appsDir": "apps",
"libsDir": "libs"
},
"projects": [
{
"name": "web",
"type": "app",
"data": {
"tags": [],
"root": "apps/app1"
}
},
{
"name": "admin",
"type": "app",
"data": {
"tags": [],
"root": "apps/app2"
}
},
{
"name": "core-util-auth",
"type": "lib",
"data": {
"tags": [],
"root": "core/util-auth"
}
},
{
"name": "web-feature-home-page",
"type": "lib",
"data": {
"tags": [],
"root": "web/feature-homepage"
}
},
{
"name": "web-feature-search",
"type": "lib",
"data": {
"tags": [],
"root": "web/feature-search"
}
},
{
"name": "web-data-access",
"type": "lib",
"data": {
"tags": [],
"root": "web/feature-search"
}
},
{
"name": "admin-feature-users",
"type": "lib",
"data": {
"tags": [],
"root": "admin/feature-users"
}
},
{
"name": "admin-feature-billing",
"type": "lib",
"data": {
"tags": [],
"root": "admin/feature-billing"
}
},
{
"name": "admin-data-access",
"type": "lib",
"data": {
"tags": [],
"root": "admin/data-access"
}
},
{
"name": "shared-components-ui-button",
"type": "lib",
"data": {
"tags": [],
"root": "shared/components/ui-button"
}
},
{
"name": "shared-components-ui-form",
"type": "lib",
"data": {
"tags": [],
"root": "shared/components/ui-form"
}
},
{
"name": "shared-util",
"type": "lib",
"data": {
"tags": [],
"root": "shared/util"
}
}
],
"dependencies": {
"web": [
{
"type": "dynamic",
"source": "web",
"target": "web-feature-home-page"
},
{
"type": "dynamic",
"source": "web",
"target": "web-feature-search"
},
{
"type": "static",
"source": "web",
"target": "core-util-auth"
}
],
"admin": [
{
"type": "dynamic",
"source": "admin",
"target": "admin-feature-users"
},
{
"type": "dynamic",
"source": "admin",
"target": "admin-feature-billing"
},
{
"type": "static",
"source": "admin",
"target": "core-util-auth"
}
],
"web-feature-home-page": [
{
"type": "static",
"source": "web-feature-home-page",
"target": "web-data-access"
},
{
"type": "static",
"source": "web-feature-home-page",
"target": "shared-components-ui-button"
}
],
"web-feature-search": [
{
"type": "static",
"source": "web-feature-search",
"target": "web-data-access"
},
{
"type": "static",
"source": "web-feature-search",
"target": "shared-components-ui-button"
},
{
"type": "static",
"source": "web-feature-search",
"target": "shared-components-ui-form"
}
],
"web-data-access": [
{
"type": "static",
"source": "web-data-access",
"target": "core-util-auth"
}
],
"admin-feature-users": [
{
"type": "static",
"source": "admin-feature-users",
"target": "admin-data-access"
},
{
"type": "static",
"source": "admin-feature-users",
"target": "shared-components-ui-button"
}
],
"admin-feature-billing": [
{
"type": "static",
"source": "admin-feature-billing",
"target": "admin-data-access"
},
{
"type": "static",
"source": "admin-feature-billing",
"target": "shared-components-ui-button"
}
],
"admin-data-access": [
{
"type": "static",
"source": "admin-data-access",
"target": "core-util-auth"
}
],
"core-util-auth": [],
"shared-components-ui-button": [],
"shared-components-ui-form": [
{
"type": "static",
"source": "shared-components-ui-form",
"target": "shared-util"
}
],
"shared-util": []
},
"affected": [],
"changes": {
"added": []
}
}

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