mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
test: execute api-extractor on CI properly (#8123)
This commit is contained in:

committed by
GitHub

parent
3daca6638b
commit
defb4f8880
@ -219,7 +219,7 @@ export class Animation {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public isPlaying: boolean;
|
public isPlaying: boolean;
|
||||||
// Warning: (ae-forgotten-export) The symbol "AnimationPromise" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AnimationPromise" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public play: (resetOnFinish?: boolean) => AnimationPromise;
|
public play: (resetOnFinish?: boolean) => AnimationPromise;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -432,7 +432,7 @@ export interface CommonLayoutParams {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
heightPercent: number;
|
heightPercent: number;
|
||||||
// Warning: (ae-forgotten-export) The symbol "HorizontalAlignment" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "HorizontalAlignment" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
horizontalAlignment: HorizontalAlignment;
|
horizontalAlignment: HorizontalAlignment;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -448,7 +448,7 @@ export interface CommonLayoutParams {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
topMarginPercent: number;
|
topMarginPercent: number;
|
||||||
// Warning: (ae-forgotten-export) The symbol "VerticalAlignment" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "VerticalAlignment" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
verticalAlignment: VerticalAlignment;
|
verticalAlignment: VerticalAlignment;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -466,7 +466,7 @@ export const Connectivity: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Warning: (ae-forgotten-export) The symbol "AddChildFromBuilder" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AddChildFromBuilder" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// @public
|
// @public
|
||||||
export class ContentView extends View implements AddChildFromBuilder {
|
export class ContentView extends View implements AddChildFromBuilder {
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -524,7 +524,7 @@ export class DefaultErrorHandler implements ErrorHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Warning: (ae-forgotten-export) The symbol "Device" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "Device" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// @public
|
// @public
|
||||||
export const Device: Device_2;
|
export const Device: Device_2;
|
||||||
|
|
||||||
@ -668,19 +668,19 @@ export class FileSystemEntity {
|
|||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export class FlexboxLayout extends LayoutBase {
|
export class FlexboxLayout extends LayoutBase {
|
||||||
// Warning: (ae-forgotten-export) The symbol "AlignContent" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AlignContent" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public alignContent: AlignContent;
|
public alignContent: AlignContent;
|
||||||
// Warning: (ae-forgotten-export) The symbol "AlignItems" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AlignItems" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public alignItems: AlignItems;
|
public alignItems: AlignItems;
|
||||||
// Warning: (ae-forgotten-export) The symbol "FlexDirection" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "FlexDirection" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexDirection: FlexDirection;
|
public flexDirection: FlexDirection;
|
||||||
// Warning: (ae-forgotten-export) The symbol "FlexWrap" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "FlexWrap" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexWrap: FlexWrap;
|
public flexWrap: FlexWrap;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -694,11 +694,11 @@ export class FlexboxLayout extends LayoutBase {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public static getOrder(view: View): number;
|
public static getOrder(view: View): number;
|
||||||
// Warning: (ae-forgotten-export) The symbol "JustifyContent" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "JustifyContent" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public justifyContent: JustifyContent;
|
public justifyContent: JustifyContent;
|
||||||
// Warning: (ae-forgotten-export) The symbol "AlignSelf" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AlignSelf" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public static setAlignSelf(view: View, align: AlignSelf);
|
public static setAlignSelf(view: View, align: AlignSelf);
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -845,7 +845,7 @@ export class Frame extends View {
|
|||||||
_removeFromFrameStack();
|
_removeFromFrameStack();
|
||||||
|
|
||||||
// Warning: (ae-forgotten-export) The symbol "NavigationType" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "NavigationType" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
setCurrent(entry: BackstackEntry, navigationType: NavigationType): void;
|
setCurrent(entry: BackstackEntry, navigationType: NavigationType): void;
|
||||||
|
|
||||||
@ -1309,7 +1309,7 @@ export interface LaunchEventData extends ApplicationEventData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Warning: (ae-forgotten-export) The symbol "CustomLayoutView" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "CustomLayoutView" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// @public
|
// @public
|
||||||
export class LayoutBase extends CustomLayoutView {
|
export class LayoutBase extends CustomLayoutView {
|
||||||
addChild(view: View): void;
|
addChild(view: View): void;
|
||||||
@ -1832,7 +1832,7 @@ export class SearchBar extends View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Warning: (ae-forgotten-export) The symbol "AddArrayFromBuilder" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AddArrayFromBuilder" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// @public
|
// @public
|
||||||
export class SegmentedBar extends View implements AddChildFromBuilder, AddArrayFromBuilder {
|
export class SegmentedBar extends View implements AddChildFromBuilder, AddArrayFromBuilder {
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -1875,6 +1875,8 @@ export interface ShowModalOptions {
|
|||||||
|
|
||||||
animated?: boolean;
|
animated?: boolean;
|
||||||
|
|
||||||
|
cancelable?: boolean
|
||||||
|
|
||||||
closeCallback: Function;
|
closeCallback: Function;
|
||||||
|
|
||||||
context: any;
|
context: any;
|
||||||
@ -1962,17 +1964,17 @@ export class Style extends Observable {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public backgroundColor: Color;
|
public backgroundColor: Color;
|
||||||
// Warning: (ae-forgotten-export) The symbol "LinearGradient" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "LinearGradient" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public backgroundImage: string | LinearGradient;
|
public backgroundImage: string | LinearGradient;
|
||||||
// Warning: (ae-forgotten-export) The symbol "Background" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "Background" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public backgroundInternal: Background;
|
public backgroundInternal: Background;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public backgroundPosition: string;
|
public backgroundPosition: string;
|
||||||
// Warning: (ae-forgotten-export) The symbol "BackgroundRepeat" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "BackgroundRepeat" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public backgroundRepeat: BackgroundRepeat;
|
public backgroundRepeat: BackgroundRepeat;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -2014,17 +2016,17 @@ export class Style extends Observable {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexDirection: FlexDirection;
|
public flexDirection: FlexDirection;
|
||||||
// Warning: (ae-forgotten-export) The symbol "FlexGrow" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "FlexGrow" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexGrow: FlexGrow;
|
public flexGrow: FlexGrow;
|
||||||
// Warning: (ae-forgotten-export) The symbol "FlexShrink" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "FlexShrink" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexShrink: FlexShrink;
|
public flexShrink: FlexShrink;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexWrap: FlexWrap;
|
public flexWrap: FlexWrap;
|
||||||
// Warning: (ae-forgotten-export) The symbol "FlexWrapBefore" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "FlexWrapBefore" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public flexWrapBefore: FlexWrapBefore;
|
public flexWrapBefore: FlexWrapBefore;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -2067,7 +2069,7 @@ export class Style extends Observable {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public opacity: number;
|
public opacity: number;
|
||||||
// Warning: (ae-forgotten-export) The symbol "Order" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "Order" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public order: Order;
|
public order: Order;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -2109,19 +2111,19 @@ export class Style extends Observable {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public tabTextFontSize: number;
|
public tabTextFontSize: number;
|
||||||
// Warning: (ae-forgotten-export) The symbol "TextAlignment" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "TextAlignment" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public textAlignment: TextAlignment;
|
public textAlignment: TextAlignment;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public textDecoration: TextDecoration;
|
public textDecoration: TextDecoration;
|
||||||
// Warning: (ae-forgotten-export) The symbol "TextTransform" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "TextTransform" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public textTransform: TextTransform;
|
public textTransform: TextTransform;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public tintColor: Color;
|
public tintColor: Color;
|
||||||
// Warning: (ae-forgotten-export) The symbol "dip" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "dip" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public translateX: dip;
|
public translateX: dip;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -2133,11 +2135,11 @@ export class Style extends Observable {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
public viewRef: WeakRef<ViewBase>;
|
public viewRef: WeakRef<ViewBase>;
|
||||||
// Warning: (ae-forgotten-export) The symbol "Visibility" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "Visibility" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public visibility: Visibility;
|
public visibility: Visibility;
|
||||||
// Warning: (ae-forgotten-export) The symbol "WhiteSpace" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "WhiteSpace" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public whiteSpace: WhiteSpace;
|
public whiteSpace: WhiteSpace;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -2749,7 +2751,7 @@ export abstract class ViewBase extends Observable {
|
|||||||
public _automaticallyAdjustsScrollViewInsets: boolean;
|
public _automaticallyAdjustsScrollViewInsets: boolean;
|
||||||
public _batchUpdate<T>(callback: () => T): T;
|
public _batchUpdate<T>(callback: () => T): T;
|
||||||
// Warning: (ae-forgotten-export) The symbol "BindingOptions" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "BindingOptions" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
public bind(options: BindingOptions, source?: Object): void;
|
public bind(options: BindingOptions, source?: Object): void;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
@ -2793,7 +2795,7 @@ export abstract class ViewBase extends Observable {
|
|||||||
// (undocumented)
|
// (undocumented)
|
||||||
_domId: number;
|
_domId: number;
|
||||||
// Warning: (ae-forgotten-export) The symbol "DOMNode" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "DOMNode" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
domNode: DOMNode;
|
domNode: DOMNode;
|
||||||
public eachChild(callback: (child: ViewBase) => boolean): void;
|
public eachChild(callback: (child: ViewBase) => boolean): void;
|
||||||
@ -2987,7 +2989,7 @@ export class XmlParser {
|
|||||||
|
|
||||||
|
|
||||||
// Warnings were encountered during analysis:
|
// Warnings were encountered during analysis:
|
||||||
//
|
//
|
||||||
// nativescript-core/index.d.ts:15:5 - (ae-forgotten-export) The symbol "getMainEntry" needs to be exported by the entry point index.d.ts
|
// nativescript-core/index.d.ts:15:5 - (ae-forgotten-export) The symbol "getMainEntry" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/index.d.ts:16:5 - (ae-forgotten-export) The symbol "getRootView" needs to be exported by the entry point index.d.ts
|
// nativescript-core/index.d.ts:16:5 - (ae-forgotten-export) The symbol "getRootView" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/index.d.ts:17:5 - (ae-forgotten-export) The symbol "setResources" needs to be exported by the entry point index.d.ts
|
// nativescript-core/index.d.ts:17:5 - (ae-forgotten-export) The symbol "setResources" needs to be exported by the entry point index.d.ts
|
||||||
@ -3061,9 +3063,9 @@ export class XmlParser {
|
|||||||
// nativescript-core/index.d.ts:117:5 - (ae-forgotten-export) The symbol "layout" needs to be exported by the entry point index.d.ts
|
// nativescript-core/index.d.ts:117:5 - (ae-forgotten-export) The symbol "layout" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/index.d.ts:118:5 - (ae-forgotten-export) The symbol "ad" needs to be exported by the entry point index.d.ts
|
// nativescript-core/index.d.ts:118:5 - (ae-forgotten-export) The symbol "ad" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/index.d.ts:119:5 - (ae-forgotten-export) The symbol "ios" needs to be exported by the entry point index.d.ts
|
// nativescript-core/index.d.ts:119:5 - (ae-forgotten-export) The symbol "ios" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/ui/core/view-base/view-base.d.ts:166:26 - (ae-forgotten-export) The symbol "Property" needs to be exported by the entry point index.d.ts
|
// nativescript-core/ui/core/view-base/view-base.d.ts:171:26 - (ae-forgotten-export) The symbol "Property" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/ui/core/view-base/view-base.d.ts:166:26 - (ae-forgotten-export) The symbol "CssProperty" needs to be exported by the entry point index.d.ts
|
// nativescript-core/ui/core/view-base/view-base.d.ts:171:26 - (ae-forgotten-export) The symbol "CssProperty" needs to be exported by the entry point index.d.ts
|
||||||
// nativescript-core/ui/core/view-base/view-base.d.ts:166:26 - (ae-forgotten-export) The symbol "CssAnimationProperty" needs to be exported by the entry point index.d.ts
|
// nativescript-core/ui/core/view-base/view-base.d.ts:171:26 - (ae-forgotten-export) The symbol "CssAnimationProperty" needs to be exported by the entry point index.d.ts
|
||||||
|
|
||||||
// (No @packageDocumentation comment for this package)
|
// (No @packageDocumentation comment for this package)
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ mkdir -p "$DIST"
|
|||||||
npx rimraf "$DIST/$PACKAGE"
|
npx rimraf "$DIST/$PACKAGE"
|
||||||
npx rimraf "$DIST/$PACKAGE*.tgz"
|
npx rimraf "$DIST/$PACKAGE*.tgz"
|
||||||
|
|
||||||
npm run api-extractor
|
npm run api-extractor-ci
|
||||||
|
|
||||||
echo "Copying $PACKAGE $DIST/$PACKAGE..."
|
echo "Copying $PACKAGE $DIST/$PACKAGE..."
|
||||||
npx ncp "$PACKAGE" "$DIST/$PACKAGE"
|
npx ncp "$PACKAGE" "$DIST/$PACKAGE"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/api-extractor": "^7.5.0",
|
"@microsoft/api-extractor": "7.6.1",
|
||||||
"@nativescript/tslint-rules": "0.0.5",
|
"@nativescript/tslint-rules": "0.0.5",
|
||||||
"@types/chai": "^4.0.4",
|
"@types/chai": "^4.0.4",
|
||||||
"@types/mocha": "^2.2.42",
|
"@types/mocha": "^2.2.42",
|
||||||
|
Reference in New Issue
Block a user