Skip to content

Commit c506db9

Browse files
committed
fix(dts-generator): regenerate api-report from monorepo root context
api-extractor produces different output when run from the monorepo root (as CI does via yarn build) vs from the package directory. Regenerated using the same path CI takes to avoid dirty-tree during release.
1 parent 0613655 commit c506db9

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

‎packages/dts-generator/api-report/dts-generator.api.md‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
55
```ts
66

7-
import { ApiJSON } from './types/api-json.js';
8-
import { ConcreteSymbol } from './types/api-json.js';
7+
import type { FunctionType } from './ast.d.ts';
98
import ts from 'typescript';
9+
import type { TypeReference } from './ast.d.ts';
1010

11-
export { ApiJSON }
11+
// @public
12+
export type ApiJSON = {
13+
library: string;
14+
version: string;
15+
symbols: ConcreteSymbol[];
16+
};
1217

1318
// @public
1419
export function checkCompile(options: CheckCompileConfig): boolean;
@@ -116,6 +121,10 @@ export const ModuleResolutionKind: typeof ts.ModuleResolutionKind;
116121
// @public (undocumented)
117122
export const ScriptTarget: typeof ts.ScriptTarget;
118123

124+
// Warnings were encountered during analysis:
125+
//
126+
// dist/types/api-json.d.ts:13:3 - (ae-forgotten-export) The symbol "ConcreteSymbol" needs to be exported by the entry point index.d.ts
127+
119128
// (No @packageDocumentation comment for this package)
120129

121130
```

0 commit comments

Comments
 (0)