Skip to content

Commit 018b13e

Browse files
authored
Merge pull request microsoft#1155 from Microsoft/octogonz/bump-cyclics
Bump cyclic dependencies, including API Extractor upgrade
2 parents 086ee79 + 3aa3de6 commit 018b13e

50 files changed

Lines changed: 880 additions & 595 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/api-extractor-model/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@types/node": "8.5.8"
2323
},
2424
"devDependencies": {
25-
"@microsoft/node-library-build": "6.0.29",
26-
"@microsoft/rush-stack-compiler-3.2": "0.2.2",
25+
"@microsoft/node-library-build": "6.0.39",
26+
"@microsoft/rush-stack-compiler-3.2": "0.2.12",
2727
"@types/jest": "23.3.11",
2828
"gulp": "~3.9.1",
2929
"tslint-microsoft-contrib": "~5.2.1"

‎apps/api-extractor-model/src/index.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export {
2424
export {
2525
ApiItemKind,
2626
IApiItemOptions,
27-
ApiItem
27+
ApiItem,
28+
IApiItemConstructor
2829
} from './items/ApiItem';
2930
export {
3031
IApiPropertyItemOptions,

‎apps/api-extractor-model/src/items/ApiItem.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,10 @@ export class ApiItem {
194194
}
195195
}
196196

197-
// For mixins
197+
/**
198+
* This abstraction is used by the mixin pattern.
199+
* It describes a class type that inherits from {@link ApiItem}.
200+
*
201+
* @public
202+
*/
198203
export interface IApiItemConstructor extends Constructor<ApiItem>, PropertiesOf<typeof ApiItem> { }

‎apps/api-extractor-model/src/mixins/Mixin.ts‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
// See LICENSE in the project root for license information.
33

44
/**
5+
* This abstraction is used by the mixin pattern.
6+
* It describes a class constructor.
57
* @public
68
*/
79
export type Constructor<T = {}> = new (...args: any[]) => T; // tslint:disable-line:no-any
810

911
/**
12+
* This abstraction is used by the mixin pattern.
13+
* It describes the "static side" of a class.
14+
*
1015
* @public
1116
*/
1217
export type PropertiesOf<T> = { [K in keyof T]: T[K] };
13-
14-
export type Mixin<TBase, TMixin> = TBase & Constructor<TMixin>;

‎apps/api-extractor/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"typescript": "~3.1.6"
4747
},
4848
"devDependencies": {
49-
"@microsoft/node-library-build": "6.0.29",
50-
"@microsoft/rush-stack-compiler-3.2": "0.2.2",
49+
"@microsoft/node-library-build": "6.0.39",
50+
"@microsoft/rush-stack-compiler-3.2": "0.2.12",
5151
"@types/jest": "23.3.11",
5252
"@types/lodash": "4.14.116",
5353
"@types/node": "8.5.8",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/api-extractor-model",
5+
"comment": "Export IApiItemConstructor to eliminate the ae-forgotten-export warning",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@microsoft/api-extractor-model",
10+
"email": "4673363+octogonz@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/api-extractor",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/api-extractor",
10+
"email": "4673363+octogonz@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/gulp-core-build-mocha",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/gulp-core-build-mocha",
10+
"email": "4673363+octogonz@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/gulp-core-build-typescript",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/gulp-core-build-typescript",
10+
"email": "4673363+octogonz@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/gulp-core-build",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/gulp-core-build",
10+
"email": "4673363+octogonz@users.noreply.github.com"
11+
}

0 commit comments

Comments
 (0)