refactor(ivy): Update @publicApi to @codeGenApi on ivy instructions (#29820)
- Removes `@publicApi` annotation from ivy instructions - Adds new `@codeGenApi` annotation to ivy instructions - Updates ts_api_guardian to support the new annotation properly PR Close #29820
This commit is contained in:
@ -30,18 +30,18 @@ export function startCli() {
|
||||
// Angular project tag rules unless specified explicitly through a given option.
|
||||
if (argv['useAngularTagRules']) {
|
||||
options.exportTags = {
|
||||
required: ['publicApi'],
|
||||
requireAtLeastOne: ['publicApi', 'codeGenApi'],
|
||||
banned: ['experimental'],
|
||||
toCopy: ['deprecated']
|
||||
};
|
||||
options.memberTags = {
|
||||
required: [],
|
||||
banned: ['experimental', 'publicApi'],
|
||||
requireAtLeastOne: [],
|
||||
banned: ['experimental', 'publicApi', 'codeGenApi'],
|
||||
toCopy: ['deprecated']
|
||||
};
|
||||
options.paramTags = {
|
||||
required: [],
|
||||
banned: ['experimental', 'publicApi'],
|
||||
requireAtLeastOne: [],
|
||||
banned: ['experimental', 'publicApi', 'codeGenApi'],
|
||||
toCopy: ['deprecated']
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user