@nstudio/xplat 16.5.1 → 16.5.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 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
- // 1. Choose "None" at the prompt:
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
- // 2. Choose "Integrated" at the prompt:
35
+ # Choose "Integrated"
36
36
 
37
37
  ? Package-based or integrated? …
38
- Integrated: Nx creates a workspace structure most suitable for building apps.
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 i @nstudio/xplat -D
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@14.1.7
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.1",
3
+ "version": "16.5.2",
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.1",
47
- "@nstudio/xplat-utils": "16.5.1"
46
+ "@nstudio/focus": "16.5.2",
47
+ "@nstudio/xplat-utils": "16.5.2"
48
48
  },
49
49
  "author": "Nathan Walker",
50
50
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.nxVersion = exports.xplatVersion = void 0;
4
- exports.xplatVersion = '16.5.1';
4
+ exports.xplatVersion = '16.5.2';
5
5
  exports.nxVersion = '^16.0.0';