@ng-native/template 0.4.0 → 0.6.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/README.md +3 -3
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -14,9 +14,9 @@ npm run typecheck
|
|
|
14
14
|
release build or a native module Expo Go does not include needs a development build
|
|
15
15
|
(`npx expo run:ios`).
|
|
16
16
|
|
|
17
|
-
The app targets iOS and Android, so
|
|
18
|
-
|
|
19
|
-
https://ng-native.com/
|
|
17
|
+
The app targets iOS and Android, so `npm run web`, which `create-expo-app` suggests as it finishes,
|
|
18
|
+
only says so and exits. Angular Native components can also render in a browser, set up as
|
|
19
|
+
https://ng-native.com/packages/web#beside-a-native-app describes.
|
|
20
20
|
|
|
21
21
|
`AGENTS.md` tells a coding agent how this framework differs from the web Angular it knows
|
|
22
22
|
(Claude Code reads it through `CLAUDE.md`). Add your own conventions to it as the app grows.
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-native/template",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "An Angular app rendering real native views. Use with create-expo-app --template.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/main.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@ng-native/components": "0.
|
|
9
|
-
"@ng-native/device": "0.
|
|
10
|
-
"@ng-native/fabric": "0.
|
|
11
|
-
"@ng-native/metro": "0.
|
|
12
|
-
"@ng-native/platform": "0.
|
|
8
|
+
"@ng-native/components": "0.6.0",
|
|
9
|
+
"@ng-native/device": "0.6.0",
|
|
10
|
+
"@ng-native/fabric": "0.6.0",
|
|
11
|
+
"@ng-native/metro": "0.6.0",
|
|
12
|
+
"@ng-native/platform": "0.6.0",
|
|
13
13
|
"@angular/common": "^22.0.0",
|
|
14
14
|
"@angular/core": "^22.0.0",
|
|
15
15
|
"expo": "~57.0.26",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@angular/compiler-cli": "^22.0.0",
|
|
24
24
|
"@babel/core": "^7.29.7",
|
|
25
|
-
"@ng-native/testing": "0.
|
|
25
|
+
"@ng-native/testing": "0.6.0",
|
|
26
26
|
"@types/react": "~19.2.2",
|
|
27
27
|
"typescript": "~6.0.3",
|
|
28
28
|
"vitest": "^5.0.0"
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"start": "expo start",
|
|
37
37
|
"android": "expo start --android",
|
|
38
38
|
"ios": "expo start --ios",
|
|
39
|
+
"web": "node -e \"console.error('This app targets iOS and Android: use npm start, npm run ios or npm run android. To render it in a browser, see https://ng-native.com/packages/web#beside-a-native-app'); process.exit(1)\"",
|
|
39
40
|
"typecheck": "node metro.config.js && ngc -p tsconfig.json --noEmit",
|
|
40
41
|
"test": "vitest run"
|
|
41
42
|
}
|