Skip to content

Commit 06c21b6

Browse files
committed
feat: add support for package types generation
1 parent 4aa1f8b commit 06c21b6

37 files changed

+4397
-583
lines changed

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// {
2-
// "html.customData": ["./type-gen/out/core_angular_metadata.json"]
3-
// }
1+
{
2+
"html.customData": ["./type-gen/out/core_angular_metadata.json", "./type-gen/demos/angular/types/*.json"]
3+
}

type-gen/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
demos
22
src
3-
out
3+
out
4+
tsconfig.json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"html.customData": ["../../../out/core_angular_metadata.json"]
2+
"html.customData": ["../../../out/core_angular_metadata.json", "./types/@nativescript-community_ui-collectionview_angular_metadata.json"]
33
}

type-gen/demos/angular/package-lock.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

type-gen/demos/angular/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@angular/platform-browser": "~20.0.0",
1313
"@angular/platform-browser-dynamic": "~20.0.0",
1414
"@angular/router": "~20.0.0",
15+
"@nativescript-community/ui-collectionview": "^6.0.13",
1516
"@nativescript/angular": "^20.0.0",
1617
"@nativescript/core": "~8.9.0",
1718
"rxjs": "~7.8.0",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<GridLayout>
22
<page-router-outlet></page-router-outlet>
33

4+
<CollectionView>
5+
</CollectionView>
6+
47
</GridLayout>

type-gen/demos/angular/types/@nativescript-community_ui-collectionview_angular_metadata.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

type-gen/demos/angular/types/@nativescript-community_ui-collectionview_angular_web-types.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import hooks from "@nativescript/core/cli-hooks/before-checkForChanges.mjs";
2+
export default hooks;

0 commit comments

Comments
 (0)