Skip to content

Commit

Permalink
feat(misc): update package readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jan 23, 2023
1 parent c134efe commit ef215e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 28 deletions.
28 changes: 4 additions & 24 deletions scripts/readme-fragments/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 2 additions & 4 deletions scripts/readme-fragments/resources.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit ef215e9

Please sign in to comment.