create-nx-workspace 13.5.0-beta.1 → 13.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -23
- package/bin/create-nx-workspace.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,10 +17,13 @@
|
|
|
17
17
|
|
|
18
18
|
# `> npx create-nx-workspace`
|
|
19
19
|
|
|
20
|
-
# Smart, Fast and Extensible Build System
|
|
21
|
-
|
|
22
20
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
|
23
21
|
|
|
22
|
+
{{getting-started}}
|
|
23
|
+
|
|
24
|
+
## What is It?
|
|
25
|
+
|
|
26
|
+
It's a command to create a new Nx workspace.
|
|
24
27
|
|
|
25
28
|
## Getting Started
|
|
26
29
|
|
|
@@ -62,7 +65,7 @@ The `create-nx-workspace` command will ask you to select a preset, which will co
|
|
|
62
65
|
react-express [a workspace with a full stack application (React + Express)]
|
|
63
66
|
```
|
|
64
67
|
|
|
65
|
-
Select the preset that works best for you
|
|
68
|
+
Select the preset that works best for you
|
|
66
69
|
|
|
67
70
|
### Adding Nx to an Existing Monorepo
|
|
68
71
|
|
|
@@ -72,25 +75,7 @@ Run:
|
|
|
72
75
|
npx add-nx-to-monorepo@latest
|
|
73
76
|
```
|
|
74
77
|
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
? Workspace name (e.g., org name) happyorg
|
|
78
|
-
? What to create in the new workspace web components [a workspace with a single app built using web components]
|
|
79
|
-
? Application name myapp
|
|
80
|
-
? Default stylesheet format CSS
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
If it's your first Nx project, the command will recommend you to install the `nx` package globally, so you can invoke `nx` directly without going through yarn or npm.
|
|
84
|
-
|
|
85
|
-
## Serving Application
|
|
86
|
-
|
|
87
|
-
- Run `nx serve myapp` to serve the newly generated application!
|
|
88
|
-
- Run `nx test myapp` to test it.
|
|
89
|
-
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
|
90
|
-
|
|
91
|
-
Angular users can also run `ng g/serve/test/e2e`.
|
|
92
|
-
|
|
93
|
-
## Documentation & Resources
|
|
78
|
+
### Documentation & Resources
|
|
94
79
|
|
|
95
80
|
A few links to help you get started:
|
|
96
81
|
|
|
@@ -99,6 +84,6 @@ A few links to help you get started:
|
|
|
99
84
|
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
|
|
100
85
|
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
|
|
101
86
|
|
|
102
|
-
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank"><img src="
|
|
87
|
+
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
103
88
|
width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
|
|
104
89
|
|
|
@@ -87,8 +87,8 @@ const presetOptions = [
|
|
|
87
87
|
},
|
|
88
88
|
];
|
|
89
89
|
const tsVersion = '~4.4.3';
|
|
90
|
-
const cliVersion = '13.5.0-beta.
|
|
91
|
-
const nxVersion = '13.5.0-beta.
|
|
90
|
+
const cliVersion = '13.5.0-beta.2';
|
|
91
|
+
const nxVersion = '13.5.0-beta.2';
|
|
92
92
|
const prettierVersion = '2.3.2';
|
|
93
93
|
const parsedArgs = yargsParser(process.argv.slice(2), {
|
|
94
94
|
string: [
|