@nrwl/workspace 13.5.0 → 13.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +61 -1
- package/package.json +5 -5
- package/src/utils/versions.js +1 -1
package/README.md
CHANGED
@@ -19,4 +19,64 @@
|
|
19
19
|
|
20
20
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
21
21
|
|
22
|
-
|
22
|
+
## Getting Started
|
23
|
+
|
24
|
+
### Creating an Nx Workspace
|
25
|
+
|
26
|
+
**Using `npx`**
|
27
|
+
|
28
|
+
```bash
|
29
|
+
npx create-nx-workspace
|
30
|
+
```
|
31
|
+
|
32
|
+
**Using `npm init`**
|
33
|
+
|
34
|
+
```bash
|
35
|
+
npm init nx-workspace
|
36
|
+
```
|
37
|
+
|
38
|
+
**Using `yarn create`**
|
39
|
+
|
40
|
+
```bash
|
41
|
+
yarn create nx-workspace
|
42
|
+
```
|
43
|
+
|
44
|
+
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.
|
45
|
+
|
46
|
+
```
|
47
|
+
? What to create in the new workspace (Use arrow keys)
|
48
|
+
❯ apps [an empty workspace with no plugins with a layout that works best for building apps]
|
49
|
+
core [an empty workspace with no plugins set up to publish npm packages (similar to yarn workspaces)]
|
50
|
+
ts [an empty workspace with the JS/TS plugin preinstalled]
|
51
|
+
react [a workspace with a single React application]
|
52
|
+
angular [a workspace with a single Angular application]
|
53
|
+
next.js [a workspace with a single Next.js application]
|
54
|
+
nest [a workspace with a single Nest application]
|
55
|
+
express [a workspace with a single Express application]
|
56
|
+
web components [a workspace with a single app built using web components]
|
57
|
+
react-native [a workspace with a single React Native application]
|
58
|
+
react-express [a workspace with a full stack application (React + Express)]
|
59
|
+
```
|
60
|
+
|
61
|
+
Select the preset that works best for you
|
62
|
+
|
63
|
+
### Adding Nx to an Existing Monorepo
|
64
|
+
|
65
|
+
Run:
|
66
|
+
|
67
|
+
```bash
|
68
|
+
npx add-nx-to-monorepo@latest
|
69
|
+
```
|
70
|
+
|
71
|
+
### Documentation & Resources
|
72
|
+
|
73
|
+
A few links to help you get started:
|
74
|
+
|
75
|
+
- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
|
76
|
+
- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
|
77
|
+
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
|
78
|
+
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
|
79
|
+
|
80
|
+
<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"
|
81
|
+
width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
|
82
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/workspace",
|
3
|
-
"version": "13.5.
|
3
|
+
"version": "13.5.1",
|
4
4
|
"description": "Smart, Fast and Extensible Build System",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -81,10 +81,10 @@
|
|
81
81
|
"minimatch": "3.0.4",
|
82
82
|
"enquirer": "~2.3.6",
|
83
83
|
"tslib": "^2.3.0",
|
84
|
-
"@nrwl/cli": "13.5.
|
85
|
-
"@nrwl/devkit": "13.5.
|
86
|
-
"@nrwl/jest": "13.5.
|
87
|
-
"@nrwl/linter": "13.5.
|
84
|
+
"@nrwl/cli": "13.5.1",
|
85
|
+
"@nrwl/devkit": "13.5.1",
|
86
|
+
"@nrwl/jest": "13.5.1",
|
87
|
+
"@nrwl/linter": "13.5.1"
|
88
88
|
},
|
89
89
|
"nx-migrations": {
|
90
90
|
"migrations": "./migrations.json"
|
package/src/utils/versions.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.eslintConfigPrettierVersion = exports.eslintVersion = exports.typescriptESLintVersion = exports.tslintVersion = exports.prettierVersion = exports.typescriptVersion = exports.angularCliVersion = exports.nxVersion = void 0;
|
4
|
-
exports.nxVersion = '13.5.
|
4
|
+
exports.nxVersion = '13.5.1';
|
5
5
|
exports.angularCliVersion = '~13.1.0';
|
6
6
|
exports.typescriptVersion = '~4.4.3';
|
7
7
|
exports.prettierVersion = '^2.5.1';
|