@ng-native/nx 0.1.1 → 0.1.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/files/AGENTS.md CHANGED
@@ -8,7 +8,7 @@ The whole documentation, for reading before a change: https://ng-native.com/llms
8
8
  outline with a line per page: https://ng-native.com/llms.txt.
9
9
 
10
10
  Angular's own rules apply as well: https://angular.dev/assets/context/best-practices.md. Its
11
- browser-only parts do not: there is no `NgOptimizedImage` (use `<image>`), and no AXE or ARIA
11
+ browser-only parts do not: there is no `NgOptimizedImage` (use `<image>`), and no AXE
12
12
  (accessibility is the props below). Where the two disagree, this file wins.
13
13
 
14
14
  ## Commands
@@ -41,7 +41,9 @@ change; both are fast.
41
41
  - **No backticks inside an inline template**, even in an HTML comment: they end the template string
42
42
  and the build fails with a misleading parse error.
43
43
  - **Accessibility is props:** `accessibilityRole="button"`, `accessibilityLabel`,
44
- `[accessibilityState]`. Screen readers and the testing library's `getByRole` both read them.
44
+ `[accessibilityState]`. The web spellings work too, as aliases: `role`, and the `aria-*` names
45
+ React Native maps (`aria-label`, `aria-checked`, `aria-hidden` and so on). Screen readers and
46
+ the testing library's `getByRole` both read them.
45
47
 
46
48
  ## Styling
47
49
 
package/native-app.cjs CHANGED
@@ -38,8 +38,9 @@ const dependencies = {
38
38
  ...Object.fromEntries(FRAMEWORK.map((name) => [name, version])),
39
39
  '@angular/common': '^22.0.0',
40
40
  '@angular/core': '^22.0.0',
41
- expo: '~57.0.20',
41
+ expo: '~57.0.26',
42
42
  'expo-status-bar': '~57.0.1',
43
+ 'expo-system-ui': '~57.0.4',
43
44
  react: '19.2.3',
44
45
  'react-native': '0.86.3',
45
46
  'react-native-safe-area-context': '~5.7.0',
@@ -52,7 +53,7 @@ const dependencies = {
52
53
  */
53
54
  const expoCompanions = {
54
55
  'react-dom': dependencies.react,
55
- '@expo/cli': '^57.0.22',
56
+ '@expo/cli': '^57.0.27',
56
57
  '@babel/runtime': '^7.20.0',
57
58
  };
58
59
 
@@ -111,6 +112,7 @@ function appJson(name) {
111
112
  scheme: slug.replace(/[^a-z0-9]/gi, '').toLowerCase(),
112
113
  // The template's: Expo otherwise guesses a router root from src/app and says so on every start.
113
114
  extra: { router: { root: 'src/app' } },
115
+ plugins: ['@ng-native/metro'],
114
116
  };
115
117
  return JSON.stringify({ expo }, null, 2) + '\n';
116
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-native/nx",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Nx generators for Angular Native: nx add, and an Expo app project whose targets run it.",
5
5
  "keywords": [
6
6
  "angular",