@ng-native/schematics 0.12.0 → 0.14.0
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 +1 -1
- package/migrations.json +6 -1
- package/package.json +2 -2
package/files/AGENTS.md
CHANGED
|
@@ -29,7 +29,7 @@ change; both are fast.
|
|
|
29
29
|
- **Element names are lowercase:** `<view>`, `<text>`, `<pressable>`, `<scroll-view>`,
|
|
30
30
|
`<text-input>`, `<image>`, `<switch>`, `<safe-area-view>`, `<virtual-list>`, `<modal>`. Each is
|
|
31
31
|
imported from `@ng-native/components` into the component's `imports`, like any Angular
|
|
32
|
-
component: `imports: [View, Text]`. `<View>`
|
|
32
|
+
component: `imports: [View, Text]`. `<View>` matches no component and fails the build, and an element used
|
|
33
33
|
without its import renders as a plain view.
|
|
34
34
|
- **There is no DOM.** No `document`, no `window`, no `<button>`, `<a>`, `<input>` or `<img>`, no
|
|
35
35
|
`@angular/platform-browser`, and no `@angular/animations`. Use the native elements above. HTML's
|
package/migrations.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
3
|
"schematics": {
|
|
4
4
|
"sync-app-versions": {
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.14.0",
|
|
6
6
|
"description": "Move the @ng-native packages each project's own package.json lists to the new version.",
|
|
7
7
|
"factory": "./migrations/run.cjs#sync-app-versions"
|
|
8
8
|
},
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"version": "0.3.0",
|
|
21
21
|
"description": "Note each import of reactNative or ReactNative from @ng-native/device, which no longer exports them.",
|
|
22
22
|
"factory": "./migrations/run.cjs#device-react-native-import"
|
|
23
|
+
},
|
|
24
|
+
"engine-node-tag": {
|
|
25
|
+
"version": "0.14.0",
|
|
26
|
+
"description": "Read an engine node's element tag as tag rather than name.",
|
|
27
|
+
"factory": "./migrations/run.cjs#engine-node-tag"
|
|
23
28
|
}
|
|
24
29
|
}
|
|
25
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-native/schematics",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@angular-devkit/architect": ">=0.2200.0 <0.2300.0",
|
|
47
47
|
"@angular-devkit/core": "^22.0.0",
|
|
48
48
|
"@angular-devkit/schematics": "^22.0.0",
|
|
49
|
-
"@ng-native/migrate": "0.
|
|
49
|
+
"@ng-native/migrate": "0.14.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@schematics/angular": "22.1.9"
|