@nstudio/xplat 16.5.1 → 16.5.3
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 +21 -7
- package/package.json +3 -3
- package/src/utils/versions.js +1 -1
package/README.md
CHANGED
@@ -22,26 +22,40 @@
|
|
22
22
|
|
23
23
|
## Quickstart
|
24
24
|
|
25
|
-
```
|
25
|
+
```sh
|
26
26
|
npx create-nx-workspace@latest
|
27
27
|
|
28
28
|
✔ Where would you like to create your workspace? · {your-workspace-name}
|
29
29
|
|
30
|
-
|
30
|
+
# Choose "None"
|
31
31
|
|
32
32
|
? Which stack do you want to use? …
|
33
33
|
None: Configures a minimal structure without specific frameworks or technologies.
|
34
34
|
|
35
|
-
|
35
|
+
# Choose "Integrated"
|
36
36
|
|
37
37
|
? Package-based or integrated? …
|
38
|
-
Integrated:
|
38
|
+
Integrated: Nx creates a workspace structure most suitable for building apps.
|
39
|
+
```
|
40
|
+
|
41
|
+
### Init workspace
|
42
|
+
|
43
|
+
Install the @nx/js plugin.
|
44
|
+
|
45
|
+
```sh
|
46
|
+
npm install @nx/js -D
|
47
|
+
```
|
48
|
+
|
49
|
+
Now initialize -- This will ensure a `tsconfig.base.json` is created to begin building your workspace.
|
50
|
+
|
51
|
+
```sh
|
52
|
+
npx nx g @nx/js:init
|
39
53
|
```
|
40
54
|
|
41
|
-
Install the tools:
|
55
|
+
### Install the tools:
|
42
56
|
|
43
57
|
```
|
44
|
-
npm
|
58
|
+
npm install @nstudio/xplat -D
|
45
59
|
```
|
46
60
|
|
47
61
|
You are now ready to create apps:
|
@@ -53,7 +67,7 @@ npx nx g @nstudio/xplat:app
|
|
53
67
|
**NOTE:** If you encounter any issue, you can try creating an Nx workspace with version specified, for example:
|
54
68
|
|
55
69
|
```
|
56
|
-
npx create-nx-workspace@
|
70
|
+
npx create-nx-workspace@16.5.0
|
57
71
|
```
|
58
72
|
|
59
73
|
## App generation examples
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nstudio/xplat",
|
3
|
-
"version": "16.5.
|
3
|
+
"version": "16.5.3",
|
4
4
|
"description": "Cross-platform (xplat) tools for Nx workspaces.",
|
5
5
|
"homepage": "https://nstudio.io/xplat",
|
6
6
|
"repository": {
|
@@ -43,8 +43,8 @@
|
|
43
43
|
"dependencies": {
|
44
44
|
"@nx/devkit": "^16.0.0",
|
45
45
|
"@nx/js": "^16.0.0",
|
46
|
-
"@nstudio/focus": "16.5.
|
47
|
-
"@nstudio/xplat-utils": "16.5.
|
46
|
+
"@nstudio/focus": "16.5.3",
|
47
|
+
"@nstudio/xplat-utils": "16.5.3"
|
48
48
|
},
|
49
49
|
"author": "Nathan Walker",
|
50
50
|
"license": "MIT",
|
package/src/utils/versions.js
CHANGED