Skip to content

Commit defb4f8

Browse files
author
Alexander Vakrilov
authored
test: execute api-extractor on CI properly (NativeScript#8123)
1 parent 3daca66 commit defb4f8

File tree

3 files changed

+36
-34
lines changed

3 files changed

+36
-34
lines changed

api-reports/NativeScript.api.md

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export class Animation {
219219
// (undocumented)
220220
public isPlaying: boolean;
221221
// Warning: (ae-forgotten-export) The symbol "AnimationPromise" needs to be exported by the entry point index.d.ts
222-
//
222+
//
223223
// (undocumented)
224224
public play: (resetOnFinish?: boolean) => AnimationPromise;
225225
// (undocumented)
@@ -432,7 +432,7 @@ export interface CommonLayoutParams {
432432
// (undocumented)
433433
heightPercent: number;
434434
// Warning: (ae-forgotten-export) The symbol "HorizontalAlignment" needs to be exported by the entry point index.d.ts
435-
//
435+
//
436436
// (undocumented)
437437
horizontalAlignment: HorizontalAlignment;
438438
// (undocumented)
@@ -448,7 +448,7 @@ export interface CommonLayoutParams {
448448
// (undocumented)
449449
topMarginPercent: number;
450450
// Warning: (ae-forgotten-export) The symbol "VerticalAlignment" needs to be exported by the entry point index.d.ts
451-
//
451+
//
452452
// (undocumented)
453453
verticalAlignment: VerticalAlignment;
454454
// (undocumented)
@@ -466,7 +466,7 @@ export const Connectivity: {
466466
};
467467

468468
// Warning: (ae-forgotten-export) The symbol "AddChildFromBuilder" needs to be exported by the entry point index.d.ts
469-
//
469+
//
470470
// @public
471471
export class ContentView extends View implements AddChildFromBuilder {
472472
// (undocumented)
@@ -524,7 +524,7 @@ export class DefaultErrorHandler implements ErrorHandler {
524524
}
525525

526526
// Warning: (ae-forgotten-export) The symbol "Device" needs to be exported by the entry point index.d.ts
527-
//
527+
//
528528
// @public
529529
export const Device: Device_2;
530530

@@ -668,19 +668,19 @@ export class FileSystemEntity {
668668
// @public (undocumented)
669669
export class FlexboxLayout extends LayoutBase {
670670
// Warning: (ae-forgotten-export) The symbol "AlignContent" needs to be exported by the entry point index.d.ts
671-
//
671+
//
672672
// (undocumented)
673673
public alignContent: AlignContent;
674674
// Warning: (ae-forgotten-export) The symbol "AlignItems" needs to be exported by the entry point index.d.ts
675-
//
675+
//
676676
// (undocumented)
677677
public alignItems: AlignItems;
678678
// Warning: (ae-forgotten-export) The symbol "FlexDirection" needs to be exported by the entry point index.d.ts
679-
//
679+
//
680680
// (undocumented)
681681
public flexDirection: FlexDirection;
682682
// Warning: (ae-forgotten-export) The symbol "FlexWrap" needs to be exported by the entry point index.d.ts
683-
//
683+
//
684684
// (undocumented)
685685
public flexWrap: FlexWrap;
686686
// (undocumented)
@@ -694,11 +694,11 @@ export class FlexboxLayout extends LayoutBase {
694694
// (undocumented)
695695
public static getOrder(view: View): number;
696696
// Warning: (ae-forgotten-export) The symbol "JustifyContent" needs to be exported by the entry point index.d.ts
697-
//
697+
//
698698
// (undocumented)
699699
public justifyContent: JustifyContent;
700700
// Warning: (ae-forgotten-export) The symbol "AlignSelf" needs to be exported by the entry point index.d.ts
701-
//
701+
//
702702
// (undocumented)
703703
public static setAlignSelf(view: View, align: AlignSelf);
704704
// (undocumented)
@@ -845,7 +845,7 @@ export class Frame extends View {
845845
_removeFromFrameStack();
846846

847847
// Warning: (ae-forgotten-export) The symbol "NavigationType" needs to be exported by the entry point index.d.ts
848-
//
848+
//
849849
// (undocumented)
850850
setCurrent(entry: BackstackEntry, navigationType: NavigationType): void;
851851

@@ -1309,7 +1309,7 @@ export interface LaunchEventData extends ApplicationEventData {
13091309
}
13101310

13111311
// Warning: (ae-forgotten-export) The symbol "CustomLayoutView" needs to be exported by the entry point index.d.ts
1312-
//
1312+
//
13131313
// @public
13141314
export class LayoutBase extends CustomLayoutView {
13151315
addChild(view: View): void;
@@ -1832,7 +1832,7 @@ export class SearchBar extends View {
18321832
}
18331833

18341834
// Warning: (ae-forgotten-export) The symbol "AddArrayFromBuilder" needs to be exported by the entry point index.d.ts
1835-
//
1835+
//
18361836
// @public
18371837
export class SegmentedBar extends View implements AddChildFromBuilder, AddArrayFromBuilder {
18381838
// (undocumented)
@@ -1875,6 +1875,8 @@ export interface ShowModalOptions {
18751875

18761876
animated?: boolean;
18771877

1878+
cancelable?: boolean
1879+
18781880
closeCallback: Function;
18791881

18801882
context: any;
@@ -1962,17 +1964,17 @@ export class Style extends Observable {
19621964
// (undocumented)
19631965
public backgroundColor: Color;
19641966
// Warning: (ae-forgotten-export) The symbol "LinearGradient" needs to be exported by the entry point index.d.ts
1965-
//
1967+
//
19661968
// (undocumented)
19671969
public backgroundImage: string | LinearGradient;
19681970
// Warning: (ae-forgotten-export) The symbol "Background" needs to be exported by the entry point index.d.ts
1969-
//
1971+
//
19701972
// (undocumented)
19711973
public backgroundInternal: Background;
19721974
// (undocumented)
19731975
public backgroundPosition: string;
19741976
// Warning: (ae-forgotten-export) The symbol "BackgroundRepeat" needs to be exported by the entry point index.d.ts
1975-
//
1977+
//
19761978
// (undocumented)
19771979
public backgroundRepeat: BackgroundRepeat;
19781980
// (undocumented)
@@ -2014,17 +2016,17 @@ export class Style extends Observable {
20142016
// (undocumented)
20152017
public flexDirection: FlexDirection;
20162018
// Warning: (ae-forgotten-export) The symbol "FlexGrow" needs to be exported by the entry point index.d.ts
2017-
//
2019+
//
20182020
// (undocumented)
20192021
public flexGrow: FlexGrow;
20202022
// Warning: (ae-forgotten-export) The symbol "FlexShrink" needs to be exported by the entry point index.d.ts
2021-
//
2023+
//
20222024
// (undocumented)
20232025
public flexShrink: FlexShrink;
20242026
// (undocumented)
20252027
public flexWrap: FlexWrap;
20262028
// Warning: (ae-forgotten-export) The symbol "FlexWrapBefore" needs to be exported by the entry point index.d.ts
2027-
//
2029+
//
20282030
// (undocumented)
20292031
public flexWrapBefore: FlexWrapBefore;
20302032
// (undocumented)
@@ -2067,7 +2069,7 @@ export class Style extends Observable {
20672069
// (undocumented)
20682070
public opacity: number;
20692071
// Warning: (ae-forgotten-export) The symbol "Order" needs to be exported by the entry point index.d.ts
2070-
//
2072+
//
20712073
// (undocumented)
20722074
public order: Order;
20732075
// (undocumented)
@@ -2109,19 +2111,19 @@ export class Style extends Observable {
21092111
// (undocumented)
21102112
public tabTextFontSize: number;
21112113
// Warning: (ae-forgotten-export) The symbol "TextAlignment" needs to be exported by the entry point index.d.ts
2112-
//
2114+
//
21132115
// (undocumented)
21142116
public textAlignment: TextAlignment;
21152117
// (undocumented)
21162118
public textDecoration: TextDecoration;
21172119
// Warning: (ae-forgotten-export) The symbol "TextTransform" needs to be exported by the entry point index.d.ts
2118-
//
2120+
//
21192121
// (undocumented)
21202122
public textTransform: TextTransform;
21212123
// (undocumented)
21222124
public tintColor: Color;
21232125
// Warning: (ae-forgotten-export) The symbol "dip" needs to be exported by the entry point index.d.ts
2124-
//
2126+
//
21252127
// (undocumented)
21262128
public translateX: dip;
21272129
// (undocumented)
@@ -2133,11 +2135,11 @@ export class Style extends Observable {
21332135
// (undocumented)
21342136
public viewRef: WeakRef<ViewBase>;
21352137
// Warning: (ae-forgotten-export) The symbol "Visibility" needs to be exported by the entry point index.d.ts
2136-
//
2138+
//
21372139
// (undocumented)
21382140
public visibility: Visibility;
21392141
// Warning: (ae-forgotten-export) The symbol "WhiteSpace" needs to be exported by the entry point index.d.ts
2140-
//
2142+
//
21412143
// (undocumented)
21422144
public whiteSpace: WhiteSpace;
21432145
// (undocumented)
@@ -2749,7 +2751,7 @@ export abstract class ViewBase extends Observable {
27492751
public _automaticallyAdjustsScrollViewInsets: boolean;
27502752
public _batchUpdate<T>(callback: () => T): T;
27512753
// Warning: (ae-forgotten-export) The symbol "BindingOptions" needs to be exported by the entry point index.d.ts
2752-
//
2754+
//
27532755
// (undocumented)
27542756
public bind(options: BindingOptions, source?: Object): void;
27552757
// (undocumented)
@@ -2793,7 +2795,7 @@ export abstract class ViewBase extends Observable {
27932795
// (undocumented)
27942796
_domId: number;
27952797
// Warning: (ae-forgotten-export) The symbol "DOMNode" needs to be exported by the entry point index.d.ts
2796-
//
2798+
//
27972799
// (undocumented)
27982800
domNode: DOMNode;
27992801
public eachChild(callback: (child: ViewBase) => boolean): void;
@@ -2987,7 +2989,7 @@ export class XmlParser {
29872989

29882990

29892991
// Warnings were encountered during analysis:
2990-
//
2992+
//
29912993
// nativescript-core/index.d.ts:15:5 - (ae-forgotten-export) The symbol "getMainEntry" needs to be exported by the entry point index.d.ts
29922994
// nativescript-core/index.d.ts:16:5 - (ae-forgotten-export) The symbol "getRootView" needs to be exported by the entry point index.d.ts
29932995
// 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 {
30613063
// nativescript-core/index.d.ts:117:5 - (ae-forgotten-export) The symbol "layout" needs to be exported by the entry point index.d.ts
30623064
// nativescript-core/index.d.ts:118:5 - (ae-forgotten-export) The symbol "ad" needs to be exported by the entry point index.d.ts
30633065
// nativescript-core/index.d.ts:119:5 - (ae-forgotten-export) The symbol "ios" needs to be exported by the entry point index.d.ts
3064-
// 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
3065-
// 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
3066-
// 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
3066+
// 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
3067+
// 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
3068+
// 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
30673069

30683070
// (No @packageDocumentation comment for this package)
30693071

build/prepare-core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mkdir -p "$DIST"
5151
npx rimraf "$DIST/$PACKAGE"
5252
npx rimraf "$DIST/$PACKAGE*.tgz"
5353

54-
npm run api-extractor
54+
npm run api-extractor-ci
5555

5656
echo "Copying $PACKAGE $DIST/$PACKAGE..."
5757
npx ncp "$PACKAGE" "$DIST/$PACKAGE"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"license": "Apache-2.0",
1010
"devDependencies": {
11-
"@microsoft/api-extractor": "^7.5.0",
11+
"@microsoft/api-extractor": "7.6.1",
1212
"@nativescript/tslint-rules": "0.0.5",
1313
"@types/chai": "^4.0.4",
1414
"@types/mocha": "^2.2.42",

0 commit comments

Comments
 (0)