@ng-native/schematics 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/native-app.cjs +3 -0
  2. package/package.json +1 -1
package/native-app.cjs CHANGED
@@ -93,11 +93,14 @@ function appJson(name) {
93
93
  name,
94
94
  slug: name,
95
95
  version: '1.0.0',
96
+ platforms: ['ios', 'android'],
96
97
  orientation: 'portrait',
97
98
  userInterfaceStyle: 'dark',
98
99
  ios: { supportsTablet: true },
99
100
  android: { predictiveBackGestureEnabled: false },
100
101
  scheme: name.replace(/[^a-z0-9]/gi, '').toLowerCase(),
102
+ // The template's: Expo otherwise guesses a router root from src/app and says so on every start.
103
+ extra: { router: { root: 'src/app' } },
101
104
  };
102
105
  return JSON.stringify({ expo }, null, 2) + '\n';
103
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-native/schematics",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "ng add and ng generate for Angular Native: an Expo app in an Angular CLI workspace, with builders that run it.",
5
5
  "keywords": [
6
6
  "angular",