Skip to content

Commit 87fbc41

Browse files
committed
Fix some remaining build issues.
1 parent afc3c5d commit 87fbc41

70 files changed

Lines changed: 324 additions & 100 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-documenter/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.0/includes/tsconfig-node.json",
33
"compilerOptions": {
44
"types": [
55
"jest"

apps/api-documenter/tslint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "@microsoft/rush-stack-compiler/includes/tslint.json"
2+
"extends": "@microsoft/rush-stack-compiler-3.0/includes/tslint.json"
33
}

apps/api-extractor/src/ast/AstNamespace.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,10 @@ export class AstNamespace extends AstModule {
105105
// the JSDoc comment Node can be found.
106106
// If there is no parent or grandparent of this VariableDeclaration then
107107
// we do not know how to obtain the JSDoc comment.
108-
let jsdocNode: ts.Node | undefined = undefined;
109108
if (!declaration.parent || !declaration.parent.parent ||
110109
declaration.parent.parent.kind !== ts.SyntaxKind.VariableStatement) {
111110
this.reportWarning(`Unable to locate the documentation node for "${exportSymbol.name}"; `
112111
+ `this may be an API Extractor bug`);
113-
} else {
114-
jsdocNode = declaration.parent.parent;
115112
}
116113

117114
const exportMemberOptions: IAstItemOptions = {

apps/api-extractor/src/ast/AstStructuredType.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ReleaseTag } from '../aedoc/ReleaseTag';
1010
import { Markup } from '../markup/Markup';
1111
import { AstMethod } from './AstMethod';
1212
import { AstProperty } from './AstProperty';
13-
import { AstItem, AstItemKind, IAstItemOptions } from './AstItem';
13+
import { AstItemKind, IAstItemOptions } from './AstItem';
1414
import { AstItemContainer } from './AstItemContainer';
1515
import { TypeScriptHelpers } from '../utils/TypeScriptHelpers';
1616
import { PrettyPrinter } from '../utils/PrettyPrinter';

apps/api-extractor/src/cli/RunAction.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import { ApiExtractorCommandLine } from './ApiExtractorCommandLine';
2525
const AE_CONFIG_FILENAME: string = 'api-extractor.json';
2626

2727
export class RunAction extends CommandLineAction {
28-
private _parser: ApiExtractorCommandLine;
2928
private _configFileParameter: CommandLineStringParameter;
3029
private _localParameter: CommandLineFlagParameter;
3130
private _typescriptCompilerFolder: CommandLineStringParameter;
@@ -37,7 +36,6 @@ export class RunAction extends CommandLineAction {
3736
summary: 'Invoke API Extractor on a project',
3837
documentation: 'Invoke API Extractor on a project'
3938
});
40-
this._parser = parser;
4139
}
4240

4341
protected onDefineParameters(): void { // override

apps/api-extractor/src/generators/ApiJsonGenerator.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { AstFunction } from '../ast/AstFunction';
1414
import { AstItem, AstItemKind } from '../ast/AstItem';
1515
import { AstItemVisitor } from './AstItemVisitor';
1616
import { AstPackage } from '../ast/AstPackage';
17-
import { AstParameter } from '../ast/AstParameter';
1817
import { AstProperty } from '../ast/AstProperty';
1918
import { AstMember, ApiAccessModifier } from '../ast/AstMember';
2019
import { AstNamespace } from '../ast/AstNamespace';
@@ -38,7 +37,6 @@ import { ApiJsonFile } from '../api/ApiJsonFile';
3837
* @public
3938
*/
4039
export class ApiJsonGenerator extends AstItemVisitor {
41-
private static _methodCounter: number = 0;
4240
private static _MEMBERS_KEY: string = 'members';
4341
private static _EXPORTS_KEY: string = 'exports';
4442

@@ -109,8 +107,6 @@ export class ApiJsonGenerator extends AstItemVisitor {
109107

110108
refObject![astStructuredType.name] = structureNode;
111109

112-
ApiJsonGenerator._methodCounter = 0;
113-
114110
const members: AstItem[] = astStructuredType.getSortedMemberItems();
115111

116112
if (members && members.length) {

apps/api-extractor/src/generators/dtsRollup/DtsRollupGenerator.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ export class DtsRollupGenerator {
124124
});
125125
}
126126

127-
private get astEntryPoint(): AstEntryPoint {
128-
if (!this._astEntryPoint) {
129-
throw new Error('DtsRollupGenerator.analyze() was not called');
130-
}
131-
return this._astEntryPoint;
132-
}
133-
134127
private _createDtsEntryForSymbol(astSymbol: AstSymbol, exportedName: string | undefined): void {
135128
let dtsEntry: DtsEntry | undefined = this._dtsEntriesByAstSymbol.get(astSymbol);
136129

apps/rush-lib/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.0/includes/tsconfig-node.json",
33
"compilerOptions": {
44
"types": [
55
"jest"

apps/rush-lib/tslint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "@microsoft/rush-stack-compiler/includes/tslint.json"
2+
"extends": "@microsoft/rush-stack-compiler-3.0/includes/tslint.json"
33
}

apps/rush/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.0/includes/tsconfig-node.json",
33
"compilerOptions": {
44
"types": [
55
"mocha"

0 commit comments

Comments
 (0)