@nstudio/xplat 16.5.8 → 16.5.9
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 +1 -5
- package/package.json +3 -4
- package/src/utils/testing-utils.js +4 -4
- package/src/utils/versions.js +1 -1
package/README.md
CHANGED
@@ -64,11 +64,7 @@ You are now ready to create apps:
|
|
64
64
|
npx nx g @nstudio/xplat:app
|
65
65
|
```
|
66
66
|
|
67
|
-
**
|
68
|
-
|
69
|
-
```
|
70
|
-
npx create-nx-workspace@16.5.0
|
71
|
-
```
|
67
|
+
**Potential schematics error:** If you encounter a `SchematicNameCollisionException` issue, you can see this gist to apply a patch: https://gist.github.com/NathanWalker/a8554c1e0bba700affeb0c4672d26b0e
|
72
68
|
|
73
69
|
## App generation examples
|
74
70
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nstudio/xplat",
|
3
|
-
"version": "16.5.
|
3
|
+
"version": "16.5.9",
|
4
4
|
"description": "Cross-platform (xplat) tools for Nx workspaces.",
|
5
5
|
"homepage": "https://nstudio.io/xplat",
|
6
6
|
"repository": {
|
@@ -44,9 +44,8 @@
|
|
44
44
|
"@nx/angular": "^16.0.0",
|
45
45
|
"@nx/devkit": "^16.0.0",
|
46
46
|
"@nx/js": "^16.0.0",
|
47
|
-
"@nstudio/focus": "16.5.
|
48
|
-
"@nstudio/xplat-utils": "16.5.
|
49
|
-
"patch-package": "^7.0.0"
|
47
|
+
"@nstudio/focus": "16.5.9",
|
48
|
+
"@nstudio/xplat-utils": "16.5.9"
|
50
49
|
},
|
51
50
|
"author": "Nathan Walker",
|
52
51
|
"license": "MIT",
|
@@ -157,7 +157,7 @@ function createXplatNativeScriptAngular(tree, framework) {
|
|
157
157
|
// nativescript
|
158
158
|
import { NativeScriptModule, NativeScriptHttpClientModule } from '@nativescript/angular';
|
159
159
|
import { Device } from '@nativescript/core';
|
160
|
-
import {
|
160
|
+
import { FontIconModule } from 'nativescript-fonticon/angular';
|
161
161
|
|
162
162
|
// libs
|
163
163
|
import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
|
@@ -181,7 +181,7 @@ function createXplatNativeScriptAngular(tree, framework) {
|
|
181
181
|
imports: [
|
182
182
|
NativeScriptModule,
|
183
183
|
NativeScriptHttpClientModule,
|
184
|
-
|
184
|
+
FontIconModule.forRoot({
|
185
185
|
fa: './assets/fontawesome.min.css'
|
186
186
|
}),
|
187
187
|
CoreModule.forRoot([
|
@@ -218,7 +218,7 @@ function createXplatNativeScriptAngular(tree, framework) {
|
|
218
218
|
|
219
219
|
import { NativeScriptCommonModule, NativeScriptFormsModule, NativeScriptRouterModule } from '@nativescript/angular';
|
220
220
|
|
221
|
-
import {
|
221
|
+
import { FontIconModule } from 'nativescript-fonticon/angular';
|
222
222
|
import { UISharedModule } from '@<%= npmScope %>/xplat/features';
|
223
223
|
import { UI_COMPONENTS } from './components';
|
224
224
|
|
@@ -226,7 +226,7 @@ function createXplatNativeScriptAngular(tree, framework) {
|
|
226
226
|
NativeScriptCommonModule,
|
227
227
|
NativeScriptFormsModule,
|
228
228
|
NativeScriptRouterModule,
|
229
|
-
|
229
|
+
FontIconModule,
|
230
230
|
UISharedModule
|
231
231
|
];
|
232
232
|
|
package/src/utils/versions.js
CHANGED