Skip to content

Commit 5b78458

Browse files
authored
Merge branch 'microsoft:main' into chore/support-users-to-provide-their-own-assets-file-for-init-subspace
2 parents ccbaf8b + 98e3f39 commit 5b78458

File tree

438 files changed

+7091
-2298
lines changed

Some content is hidden

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

438 files changed

+7091
-2298
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ These GitHub repositories provide supplementary resources for Rush Stack:
152152
| [/build-tests/api-extractor-test-02](./build-tests/api-extractor-test-02/) | Building this project is a regression test for api-extractor |
153153
| [/build-tests/api-extractor-test-03](./build-tests/api-extractor-test-03/) | Building this project is a regression test for api-extractor |
154154
| [/build-tests/api-extractor-test-04](./build-tests/api-extractor-test-04/) | Building this project is a regression test for api-extractor |
155+
| [/build-tests/api-extractor-test-05](./build-tests/api-extractor-test-05/) | Building this project is a regression test for api-extractor |
155156
| [/build-tests/eslint-7-11-test](./build-tests/eslint-7-11-test/) | This project contains a build test to validate ESLint 7.11.0 compatibility with the latest version of @rushstack/eslint-config (and by extension, the ESLint plugin) |
156157
| [/build-tests/eslint-7-7-test](./build-tests/eslint-7-7-test/) | This project contains a build test to validate ESLint 7.7.0 compatibility with the latest version of @rushstack/eslint-config (and by extension, the ESLint plugin) |
157158
| [/build-tests/eslint-7-test](./build-tests/eslint-7-test/) | This project contains a build test to validate ESLint 7 compatibility with the latest version of @rushstack/eslint-config (and by extension, the ESLint plugin) |

apps/api-documenter/CHANGELOG.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,42 @@
11
{
22
"name": "@microsoft/api-documenter",
33
"entries": [
4+
{
5+
"version": "7.26.13",
6+
"tag": "@microsoft/api-documenter_v7.26.13",
7+
"date": "Sat, 01 Mar 2025 05:00:09 GMT",
8+
"comments": {
9+
"dependency": [
10+
{
11+
"comment": "Updating dependency \"@rushstack/heft\" to `0.69.2`"
12+
}
13+
]
14+
}
15+
},
16+
{
17+
"version": "7.26.12",
18+
"tag": "@microsoft/api-documenter_v7.26.12",
19+
"date": "Thu, 27 Feb 2025 01:10:39 GMT",
20+
"comments": {
21+
"dependency": [
22+
{
23+
"comment": "Updating dependency \"@rushstack/heft\" to `0.69.1`"
24+
}
25+
]
26+
}
27+
},
28+
{
29+
"version": "7.26.11",
30+
"tag": "@microsoft/api-documenter_v7.26.11",
31+
"date": "Wed, 26 Feb 2025 16:11:11 GMT",
32+
"comments": {
33+
"dependency": [
34+
{
35+
"comment": "Updating dependency \"@rushstack/heft\" to `0.69.0`"
36+
}
37+
]
38+
}
39+
},
440
{
541
"version": "7.26.10",
642
"tag": "@microsoft/api-documenter_v7.26.10",

apps/api-documenter/CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Change Log - @microsoft/api-documenter
22

3-
This log was last generated on Sat, 22 Feb 2025 01:11:11 GMT and should not be manually modified.
3+
This log was last generated on Sat, 01 Mar 2025 05:00:09 GMT and should not be manually modified.
4+
5+
## 7.26.13
6+
Sat, 01 Mar 2025 05:00:09 GMT
7+
8+
_Version update only_
9+
10+
## 7.26.12
11+
Thu, 27 Feb 2025 01:10:39 GMT
12+
13+
_Version update only_
14+
15+
## 7.26.11
16+
Wed, 26 Feb 2025 16:11:11 GMT
17+
18+
_Version update only_
419

520
## 7.26.10
621
Sat, 22 Feb 2025 01:11:11 GMT

apps/api-documenter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/api-documenter",
3-
"version": "7.26.10",
3+
"version": "7.26.13",
44
"description": "Read JSON files from api-extractor, generate documentation pages",
55
"repository": {
66
"type": "git",

apps/api-extractor/CHANGELOG.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
{
22
"name": "@microsoft/api-extractor",
33
"entries": [
4+
{
5+
"version": "7.51.1",
6+
"tag": "@microsoft/api-extractor_v7.51.1",
7+
"date": "Sat, 01 Mar 2025 05:00:09 GMT",
8+
"comments": {
9+
"patch": [
10+
{
11+
"comment": "Include triple-slash references marked with `preserve=\"true\"` from files that only contain re-exports. There was a behavior change in TypeScript 5.5, where only triple-slash references that are explicitly marked with `preserve=\"true\"` are emitted into declaration files. This change adds support for placing these references in files that only contain re-exports, like the API entrypoint file."
12+
}
13+
]
14+
}
15+
},
16+
{
17+
"version": "7.51.0",
18+
"tag": "@microsoft/api-extractor_v7.51.0",
19+
"date": "Thu, 27 Feb 2025 01:10:39 GMT",
20+
"comments": {
21+
"minor": [
22+
{
23+
"comment": "Add a `docModel.releaseTagsToTrim` property to `api-extractor.json` to specify which release tags should be trimmed when the doc model is produced."
24+
}
25+
]
26+
}
27+
},
428
{
529
"version": "7.50.1",
630
"tag": "@microsoft/api-extractor_v7.50.1",

apps/api-extractor/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Change Log - @microsoft/api-extractor
22

3-
This log was last generated on Sat, 22 Feb 2025 01:11:11 GMT and should not be manually modified.
3+
This log was last generated on Sat, 01 Mar 2025 05:00:09 GMT and should not be manually modified.
4+
5+
## 7.51.1
6+
Sat, 01 Mar 2025 05:00:09 GMT
7+
8+
### Patches
9+
10+
- Include triple-slash references marked with `preserve="true"` from files that only contain re-exports. There was a behavior change in TypeScript 5.5, where only triple-slash references that are explicitly marked with `preserve="true"` are emitted into declaration files. This change adds support for placing these references in files that only contain re-exports, like the API entrypoint file.
11+
12+
## 7.51.0
13+
Thu, 27 Feb 2025 01:10:39 GMT
14+
15+
### Minor changes
16+
17+
- Add a `docModel.releaseTagsToTrim` property to `api-extractor.json` to specify which release tags should be trimmed when the doc model is produced.
418

519
## 7.50.1
620
Sat, 22 Feb 2025 01:11:11 GMT

apps/api-extractor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/api-extractor",
3-
"version": "7.50.1",
3+
"version": "7.51.1",
44
"description": "Analyze the exported API for a TypeScript library and generate reviews, documentation, and .d.ts rollups",
55
"keywords": [
66
"typescript",
@@ -52,8 +52,8 @@
5252
"typescript": "5.7.3"
5353
},
5454
"devDependencies": {
55-
"@rushstack/heft-node-rig": "2.6.48",
56-
"@rushstack/heft": "0.68.12",
55+
"@rushstack/heft-node-rig": "2.7.0",
56+
"@rushstack/heft": "0.69.2",
5757
"@types/heft-jest": "1.0.1",
5858
"@types/lodash": "4.14.116",
5959
"@types/minimatch": "3.0.5",

apps/api-extractor/src/analyzer/AstModule.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import type { AstEntity } from './AstEntity';
99
/**
1010
* Represents information collected by {@link AstSymbolTable.fetchAstModuleExportInfo}
1111
*/
12-
export class AstModuleExportInfo {
13-
public readonly exportedLocalEntities: Map<string, AstEntity> = new Map<string, AstEntity>();
14-
public readonly starExportedExternalModules: Set<AstModule> = new Set<AstModule>();
12+
export interface IAstModuleExportInfo {
13+
readonly visitedAstModules: Set<AstModule>;
14+
readonly exportedLocalEntities: Map<string, AstEntity>;
15+
readonly starExportedExternalModules: Set<AstModule>;
1516
}
1617

1718
/**
@@ -64,7 +65,7 @@ export class AstModule {
6465
/**
6566
* Additional state calculated by `AstSymbolTable.fetchWorkingPackageModule()`.
6667
*/
67-
public astModuleExportInfo: AstModuleExportInfo | undefined;
68+
public astModuleExportInfo: IAstModuleExportInfo | undefined;
6869

6970
public constructor(options: IAstModuleOptions) {
7071
this.sourceFile = options.sourceFile;

apps/api-extractor/src/analyzer/AstNamespaceImport.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import type * as ts from 'typescript';
55

6-
import type { AstModule, AstModuleExportInfo } from './AstModule';
6+
import type { AstModule, IAstModuleExportInfo } from './AstModule';
77
import { AstSyntheticEntity } from './AstEntity';
88
import type { Collector } from '../collector/Collector';
99

@@ -87,8 +87,8 @@ export class AstNamespaceImport extends AstSyntheticEntity {
8787
return this.namespaceName;
8888
}
8989

90-
public fetchAstModuleExportInfo(collector: Collector): AstModuleExportInfo {
91-
const astModuleExportInfo: AstModuleExportInfo = collector.astSymbolTable.fetchAstModuleExportInfo(
90+
public fetchAstModuleExportInfo(collector: Collector): IAstModuleExportInfo {
91+
const astModuleExportInfo: IAstModuleExportInfo = collector.astSymbolTable.fetchAstModuleExportInfo(
9292
this.astModule
9393
);
9494
return astModuleExportInfo;

apps/api-extractor/src/analyzer/AstSymbolTable.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { type PackageJsonLookup, InternalError } from '@rushstack/node-core-libr
99
import { AstDeclaration } from './AstDeclaration';
1010
import { TypeScriptHelpers } from './TypeScriptHelpers';
1111
import { AstSymbol } from './AstSymbol';
12-
import type { AstModule, AstModuleExportInfo } from './AstModule';
12+
import type { AstModule, IAstModuleExportInfo } from './AstModule';
1313
import { PackageMetadataManager } from './PackageMetadataManager';
1414
import { ExportAnalyzer } from './ExportAnalyzer';
1515
import type { AstEntity } from './AstEntity';
@@ -124,7 +124,7 @@ export class AstSymbolTable {
124124
/**
125125
* This crawls the specified entry point and collects the full set of exported AstSymbols.
126126
*/
127-
public fetchAstModuleExportInfo(astModule: AstModule): AstModuleExportInfo {
127+
public fetchAstModuleExportInfo(astModule: AstModule): IAstModuleExportInfo {
128128
return this._exportAnalyzer.fetchAstModuleExportInfo(astModule);
129129
}
130130

0 commit comments

Comments
 (0)