forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add target to generate api manifest (angular#52472)
This adds a target to generate a manifest of all public api symbols. The majority of inputs are generated from the extraction rules, but API entries that don't have a TypeScript source symbol (elements and blocks) are defined in hand-written json collections. PR Close angular#52472
- Loading branch information
Showing
10 changed files
with
180 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
filegroup( | ||
name = "reference-manifests", | ||
srcs = glob(["*.json"]), | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Manual API manifests | ||
|
||
This directory contains handwritten JSON entries that are aggregated into Angular's | ||
API documentation manifest. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"moduleName": "@angular/core", | ||
"entries": [ | ||
{ | ||
"name": "@if", | ||
"entryType": "block", | ||
"jsdocTags": [] | ||
}, | ||
{ | ||
"name": "@for", | ||
"entryType": "block", | ||
"jsdocTags": [] | ||
}, | ||
{ | ||
"name": "@switch", | ||
"entryType": "block", | ||
"jsdocTags": [] | ||
}, | ||
{ | ||
"name": "@defer", | ||
"entryType": "block", | ||
"jsdocTags": [] | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
packages/core/reference-manifests/element-api-manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"moduleName": "@angular/core", | ||
"entries": [ | ||
{ | ||
"name": "ng-content", | ||
"entryType": "element", | ||
"jsdocTags": [] | ||
}, | ||
{ | ||
"name": "ng-template", | ||
"entryType": "element", | ||
"jsdocTags": [] | ||
}, | ||
{ | ||
"name": "ng-container", | ||
"entryType": "element", | ||
"jsdocTags": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.