@nstudio/xplat 16.2.0-beta.0 → 16.5.1
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 -6
- package/package.json +3 -3
- package/src/utils/general.js +0 -7
- package/src/utils/versions.js +1 -1
package/README.md
CHANGED
@@ -25,15 +25,17 @@
|
|
25
25
|
```
|
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
|
-
|
31
|
-
> Integrated monorepo: Nx configures your favorite frameworks and lets you focus on shipping features.
|
30
|
+
// 1. Choose "None" at the prompt:
|
32
31
|
|
33
|
-
|
32
|
+
? Which stack do you want to use? …
|
33
|
+
None: Configures a minimal structure without specific frameworks or technologies.
|
34
34
|
|
35
|
-
|
36
|
-
|
35
|
+
// 2. Choose "Integrated" at the prompt:
|
36
|
+
|
37
|
+
? Package-based or integrated? …
|
38
|
+
Integrated: Nx creates a workspace structure most suitable for building apps.
|
37
39
|
```
|
38
40
|
|
39
41
|
Install the tools:
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nstudio/xplat",
|
3
|
-
"version": "16.
|
3
|
+
"version": "16.5.1",
|
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.
|
47
|
-
"@nstudio/xplat-utils": "16.
|
46
|
+
"@nstudio/focus": "16.5.1",
|
47
|
+
"@nstudio/xplat-utils": "16.5.1"
|
48
48
|
},
|
49
49
|
"author": "Nathan Walker",
|
50
50
|
"license": "MIT",
|
package/src/utils/general.js
CHANGED
@@ -96,13 +96,6 @@ function readWorkspaceJson(tree) {
|
|
96
96
|
return (0, xplat_utils_1.getJsonFromFile)(tree, 'workspace.json');
|
97
97
|
}
|
98
98
|
exports.readWorkspaceJson = readWorkspaceJson;
|
99
|
-
// export function persistPrefix(prefix: string) {
|
100
|
-
// return (tree: Tree) => {
|
101
|
-
// const nxConfig = getNxWorkspaceConfig(tree);
|
102
|
-
// ngConfig.defaults.prefix = prefix;
|
103
|
-
// return updateJsonFile(tree, 'angular.json', ngConfig);
|
104
|
-
// };
|
105
|
-
// }
|
106
99
|
function getPrefixWarning(prefix) {
|
107
100
|
return `A default prefix had already been set for your workspace: ${prefix}. Since xplat had already been configured we will be using '${prefix}' as the prefix.`;
|
108
101
|
}
|
package/src/utils/versions.js
CHANGED