From ef215e99e186c2f48c73105ef6783500340f9d54 Mon Sep 17 00:00:00 2001 From: Victor Savkin Date: Mon, 23 Jan 2023 16:14:39 -0500 Subject: [PATCH] feat(misc): update package readmes --- scripts/readme-fragments/content.md | 28 ++++----------------------- scripts/readme-fragments/resources.md | 6 ++---- 2 files changed, 6 insertions(+), 28 deletions(-) diff --git a/scripts/readme-fragments/content.md b/scripts/readme-fragments/content.md index ae4d0bdb78c89..513fe2d20450f 100644 --- a/scripts/readme-fragments/content.md +++ b/scripts/readme-fragments/content.md @@ -20,38 +20,18 @@ npm init nx-workspace yarn create nx-workspace ``` -The `create-nx-workspace` command will ask you to select a preset, which will configure some plugins and create your applications to help you get started. - -``` -? What to create in the new workspace (Use arrow keys) -❯ apps [an empty workspace with no plugins with a layout that works best for building apps] - core [an empty workspace with no plugins set up to publish npm packages (similar to yarn workspaces)] - ts [an empty workspace with the JS/TS plugin preinstalled] - react [a workspace with a single React application] - angular [a workspace with a single Angular application] - next.js [a workspace with a single Next.js application] - nest [a workspace with a single Nest application] - express [a workspace with a single Express application] - web components [a workspace with a single app built using web components] - react-native [a workspace with a single React Native application] -``` - -Select the preset that works best for you - -### Adding Nx to an Existing Monorepo +### Adding Nx to an Existing Repository Run: ```bash -npx add-nx-to-monorepo@latest +npx nx@latest init ``` ## Documentation & Resources -A few links to help you get started: - -- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev) -- [Tutorial: Adding Nx to an Existing Monorepo](/recipes/adopting-nx/adding-to-monorepo) +- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev) +- [Intro to Nx](https://nx.dev/getting-started/intro) - [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io) - [Blog Posts About Nx](https://blog.nrwl.io/nx/home) diff --git a/scripts/readme-fragments/resources.md b/scripts/readme-fragments/resources.md index ff861228367b0..920784e515adc 100644 --- a/scripts/readme-fragments/resources.md +++ b/scripts/readme-fragments/resources.md @@ -1,9 +1,7 @@ ## Documentation & Resources -A few links to help you get started: - -- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev) -- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/recipes/adopting-nx/adding-to-monorepo) +- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev) +- [Intro to Nx](https://nx.dev/getting-started/intro) - [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io) - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)