From 33591fa70c7f484bd6ce148a6fb54e6230195751 Mon Sep 17 00:00:00 2001 From: michael faith Date: Tue, 13 Jun 2023 06:07:20 -0500 Subject: [PATCH 1/8] feat(api-extractor): add support for cts and mts Since TS 4.7, two new type declaration extensions have been supported: - `.d.cts` for types from a compilation on `.cts` files - `.d.mts` for types from a compilation on `.mts` files Support has been added for both of these type declarations. I also included two new test packages, demonstrating the full .cts -> .cjs/.d.cts and .mts -> .mjs/.d.mts workflow --- README.md | 2 + apps/api-extractor/src/api/ExtractorConfig.ts | 3 +- .../api-extractor-lib4-test/.gitignore | 4 ++ build-tests/api-extractor-lib4-test/build.cjs | 27 +++++++++++ .../config/api-extractor.json | 22 +++++++++ .../config/rush-project.json | 10 +++++ .../etc/api-extractor-lib4-test.api.md | 22 +++++++++ .../api-extractor-lib4-test/package.json | 20 +++++++++ .../api-extractor-lib4-test/src/index.mts | 22 +++++++++ .../api-extractor-lib4-test/tsconfig.json | 16 +++++++ .../api-extractor-lib5-test/.gitignore | 4 ++ build-tests/api-extractor-lib5-test/build.js | 27 +++++++++++ .../config/api-extractor.json | 22 +++++++++ .../config/rush-project.json | 10 +++++ .../etc/api-extractor-lib4-test.api.md | 22 +++++++++ .../etc/api-extractor-lib5-test.api.md | 22 +++++++++ .../api-extractor-lib5-test/package.json | 19 ++++++++ .../api-extractor-lib5-test/src/index.cts | 22 +++++++++ .../api-extractor-lib5-test/tsconfig.json | 16 +++++++ .../workspace/common/pnpm-lock.yaml | 45 +++++++++++++------ ...feat-support-mts-cts_2023-06-17-12-27.json | 10 +++++ common/config/rush/pnpm-lock.yaml | 28 ++++++++++++ rush.json | 12 +++++ 23 files changed, 393 insertions(+), 14 deletions(-) create mode 100644 build-tests/api-extractor-lib4-test/.gitignore create mode 100644 build-tests/api-extractor-lib4-test/build.cjs create mode 100644 build-tests/api-extractor-lib4-test/config/api-extractor.json create mode 100644 build-tests/api-extractor-lib4-test/config/rush-project.json create mode 100644 build-tests/api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md create mode 100644 build-tests/api-extractor-lib4-test/package.json create mode 100644 build-tests/api-extractor-lib4-test/src/index.mts create mode 100644 build-tests/api-extractor-lib4-test/tsconfig.json create mode 100644 build-tests/api-extractor-lib5-test/.gitignore create mode 100644 build-tests/api-extractor-lib5-test/build.js create mode 100644 build-tests/api-extractor-lib5-test/config/api-extractor.json create mode 100644 build-tests/api-extractor-lib5-test/config/rush-project.json create mode 100644 build-tests/api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md create mode 100644 build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md create mode 100644 build-tests/api-extractor-lib5-test/package.json create mode 100644 build-tests/api-extractor-lib5-test/src/index.cts create mode 100644 build-tests/api-extractor-lib5-test/tsconfig.json create mode 100644 common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json diff --git a/README.md b/README.md index ae8e7af499e..b4081fd1cef 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,8 @@ These GitHub repositories provide supplementary resources for Rush Stack: | [/build-tests/api-extractor-lib1-test](./build-tests/api-extractor-lib1-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-lib2-test](./build-tests/api-extractor-lib2-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-lib3-test](./build-tests/api-extractor-lib3-test/) | Building this project is a regression test for api-extractor | +| [/build-tests/api-extractor-lib4-test](./build-tests/api-extractor-lib4-test/) | Building this project is a regression test for api-extractor | +| [/build-tests/api-extractor-lib5-test](./build-tests/api-extractor-lib5-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-scenarios](./build-tests/api-extractor-scenarios/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-test-01](./build-tests/api-extractor-test-01/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-test-02](./build-tests/api-extractor-test-02/) | Building this project is a regression test for api-extractor | diff --git a/apps/api-extractor/src/api/ExtractorConfig.ts b/apps/api-extractor/src/api/ExtractorConfig.ts index 95d5542df99..afaf75bbedd 100644 --- a/apps/api-extractor/src/api/ExtractorConfig.ts +++ b/apps/api-extractor/src/api/ExtractorConfig.ts @@ -210,7 +210,8 @@ export class ExtractorConfig { path.join(__dirname, '../schemas/api-extractor-defaults.json') ); - private static readonly _declarationFileExtensionRegExp: RegExp = /\.d\.ts$/i; + /** Match all three flavors for type declaration files (.d.ts, .d.mts, .d.cts) */ + private static readonly _declarationFileExtensionRegExp: RegExp = /\.d\.[cm]?ts$/i; /** {@inheritDoc IConfigFile.projectFolder} */ public readonly projectFolder: string; diff --git a/build-tests/api-extractor-lib4-test/.gitignore b/build-tests/api-extractor-lib4-test/.gitignore new file mode 100644 index 00000000000..e730b77542b --- /dev/null +++ b/build-tests/api-extractor-lib4-test/.gitignore @@ -0,0 +1,4 @@ +# This project's outputs are tracked to surface changes to API Extractor rollups during PRs +!dist +dist/* +!dist/*.d.ts diff --git a/build-tests/api-extractor-lib4-test/build.cjs b/build-tests/api-extractor-lib4-test/build.cjs new file mode 100644 index 00000000000..6378977fc0b --- /dev/null +++ b/build-tests/api-extractor-lib4-test/build.cjs @@ -0,0 +1,27 @@ +const fsx = require('fs-extra'); +const child_process = require('child_process'); +const path = require('path'); +const process = require('process'); + +function executeCommand(command) { + console.log('---> ' + command); + child_process.execSync(command, { stdio: 'inherit' }); +} + +// Clean the old build outputs +console.log(`==> Starting build.js for ${path.basename(process.cwd())}`); +fsx.emptyDirSync('dist'); +fsx.emptyDirSync('lib'); +fsx.emptyDirSync('temp'); + +// Run the TypeScript compiler +executeCommand('node node_modules/typescript/lib/tsc'); + +// Run the API Extractor command-line +if (process.argv.indexOf('--production') >= 0) { + executeCommand('node node_modules/@microsoft/api-extractor/lib/start run'); +} else { + executeCommand('node node_modules/@microsoft/api-extractor/lib/start run --local'); +} + +console.log(`==> Finished build.js for ${path.basename(process.cwd())}`); diff --git a/build-tests/api-extractor-lib4-test/config/api-extractor.json b/build-tests/api-extractor-lib4-test/config/api-extractor.json new file mode 100644 index 00000000000..0d47ad78c14 --- /dev/null +++ b/build-tests/api-extractor-lib4-test/config/api-extractor.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + "mainEntryPointFilePath": "/lib/index.d.mts", + + "apiReport": { + "enabled": true + }, + + "docModel": { + "enabled": true + }, + + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "/dist/.d.mts", + "alphaTrimmedFilePath": "/dist/-alpha.d.mts", + "publicTrimmedFilePath": "/dist/-public.d.mts" + }, + + "testMode": true +} diff --git a/build-tests/api-extractor-lib4-test/config/rush-project.json b/build-tests/api-extractor-lib4-test/config/rush-project.json new file mode 100644 index 00000000000..2af7036b0ef --- /dev/null +++ b/build-tests/api-extractor-lib4-test/config/rush-project.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", + + "operationSettings": [ + { + "operationName": "build", + "outputFolderNames": ["lib", "dist"] + } + ] +} diff --git a/build-tests/api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md b/build-tests/api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md new file mode 100644 index 00000000000..e6e40028932 --- /dev/null +++ b/build-tests/api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md @@ -0,0 +1,22 @@ +## API Report File for "api-extractor-lib4-test" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +class DefaultClass { +} +export default DefaultClass; + +// @public (undocumented) +export class Lib4Class { + // (undocumented) + prop: number; +} + +// @alpha (undocumented) +export interface Lib4Interface { +} + +``` diff --git a/build-tests/api-extractor-lib4-test/package.json b/build-tests/api-extractor-lib4-test/package.json new file mode 100644 index 00000000000..78a9c0ea10c --- /dev/null +++ b/build-tests/api-extractor-lib4-test/package.json @@ -0,0 +1,20 @@ +{ + "name": "api-extractor-lib4-test", + "description": "Building this project is a regression test for api-extractor", + "version": "1.0.0", + "private": true, + "module": "lib/index.mjs", + "type": "module", + "types": "dist/api-extractor-lib2-test.d.mts", + "scripts": { + "build": "node build.cjs", + "_phase:build": "node build.cjs" + }, + "devDependencies": { + "@microsoft/api-extractor": "workspace:*", + "@types/jest": "29.2.5", + "@types/node": "14.18.36", + "fs-extra": "~7.0.1", + "typescript": "~5.0.4" + } +} diff --git a/build-tests/api-extractor-lib4-test/src/index.mts b/build-tests/api-extractor-lib4-test/src/index.mts new file mode 100644 index 00000000000..0557671f750 --- /dev/null +++ b/build-tests/api-extractor-lib4-test/src/index.mts @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. +// See LICENSE in the project root for license information. + +/** + * api-extractor-lib4-test + * + * @remarks + * This library is consumed by api-extractor-scenarios. + * + * @packageDocumentation + */ + +/** @public */ +export class Lib4Class { + prop: number; +} + +/** @alpha */ +export interface Lib4Interface {} + +/** @public */ +export default class DefaultClass {} diff --git a/build-tests/api-extractor-lib4-test/tsconfig.json b/build-tests/api-extractor-lib4-test/tsconfig.json new file mode 100644 index 00000000000..5b46f57a170 --- /dev/null +++ b/build-tests/api-extractor-lib4-test/tsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "target": "es6", + "forceConsistentCasingInFileNames": true, + "module": "commonjs", + "declaration": true, + "sourceMap": true, + "declarationMap": true, + "experimentalDecorators": true, + "strictNullChecks": true, + "types": ["node", "jest"], + "lib": ["es5", "scripthost", "es2015.collection", "es2015.promise", "es2015.iterable", "dom"], + "outDir": "lib" + }, + "include": ["src/**/*.mts", "typings/tsd.d.ts"] +} diff --git a/build-tests/api-extractor-lib5-test/.gitignore b/build-tests/api-extractor-lib5-test/.gitignore new file mode 100644 index 00000000000..e730b77542b --- /dev/null +++ b/build-tests/api-extractor-lib5-test/.gitignore @@ -0,0 +1,4 @@ +# This project's outputs are tracked to surface changes to API Extractor rollups during PRs +!dist +dist/* +!dist/*.d.ts diff --git a/build-tests/api-extractor-lib5-test/build.js b/build-tests/api-extractor-lib5-test/build.js new file mode 100644 index 00000000000..6378977fc0b --- /dev/null +++ b/build-tests/api-extractor-lib5-test/build.js @@ -0,0 +1,27 @@ +const fsx = require('fs-extra'); +const child_process = require('child_process'); +const path = require('path'); +const process = require('process'); + +function executeCommand(command) { + console.log('---> ' + command); + child_process.execSync(command, { stdio: 'inherit' }); +} + +// Clean the old build outputs +console.log(`==> Starting build.js for ${path.basename(process.cwd())}`); +fsx.emptyDirSync('dist'); +fsx.emptyDirSync('lib'); +fsx.emptyDirSync('temp'); + +// Run the TypeScript compiler +executeCommand('node node_modules/typescript/lib/tsc'); + +// Run the API Extractor command-line +if (process.argv.indexOf('--production') >= 0) { + executeCommand('node node_modules/@microsoft/api-extractor/lib/start run'); +} else { + executeCommand('node node_modules/@microsoft/api-extractor/lib/start run --local'); +} + +console.log(`==> Finished build.js for ${path.basename(process.cwd())}`); diff --git a/build-tests/api-extractor-lib5-test/config/api-extractor.json b/build-tests/api-extractor-lib5-test/config/api-extractor.json new file mode 100644 index 00000000000..10c1ae9abdc --- /dev/null +++ b/build-tests/api-extractor-lib5-test/config/api-extractor.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + "mainEntryPointFilePath": "/lib/index.d.cts", + + "apiReport": { + "enabled": true + }, + + "docModel": { + "enabled": true + }, + + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "/dist/.d.cts", + "alphaTrimmedFilePath": "/dist/-alpha.d.cts", + "publicTrimmedFilePath": "/dist/-public.d.cts" + }, + + "testMode": true +} diff --git a/build-tests/api-extractor-lib5-test/config/rush-project.json b/build-tests/api-extractor-lib5-test/config/rush-project.json new file mode 100644 index 00000000000..2af7036b0ef --- /dev/null +++ b/build-tests/api-extractor-lib5-test/config/rush-project.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", + + "operationSettings": [ + { + "operationName": "build", + "outputFolderNames": ["lib", "dist"] + } + ] +} diff --git a/build-tests/api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md b/build-tests/api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md new file mode 100644 index 00000000000..e6e40028932 --- /dev/null +++ b/build-tests/api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md @@ -0,0 +1,22 @@ +## API Report File for "api-extractor-lib4-test" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +class DefaultClass { +} +export default DefaultClass; + +// @public (undocumented) +export class Lib4Class { + // (undocumented) + prop: number; +} + +// @alpha (undocumented) +export interface Lib4Interface { +} + +``` diff --git a/build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md b/build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md new file mode 100644 index 00000000000..bc7daba18e5 --- /dev/null +++ b/build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md @@ -0,0 +1,22 @@ +## API Report File for "api-extractor-lib5-test" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +class DefaultClass { +} +export default DefaultClass; + +// @public (undocumented) +export class Lib5Class { + // (undocumented) + prop: number; +} + +// @alpha (undocumented) +export interface Lib5Interface { +} + +``` diff --git a/build-tests/api-extractor-lib5-test/package.json b/build-tests/api-extractor-lib5-test/package.json new file mode 100644 index 00000000000..b1a2bdecfbd --- /dev/null +++ b/build-tests/api-extractor-lib5-test/package.json @@ -0,0 +1,19 @@ +{ + "name": "api-extractor-lib5-test", + "description": "Building this project is a regression test for api-extractor", + "version": "1.0.0", + "private": true, + "main": "lib/index.cjs", + "types": "dist/api-extractor-lib2-test.d.cts", + "scripts": { + "build": "node build.js", + "_phase:build": "node build.js" + }, + "devDependencies": { + "@microsoft/api-extractor": "workspace:*", + "@types/jest": "29.2.5", + "@types/node": "14.18.36", + "fs-extra": "~7.0.1", + "typescript": "~5.0.4" + } +} diff --git a/build-tests/api-extractor-lib5-test/src/index.cts b/build-tests/api-extractor-lib5-test/src/index.cts new file mode 100644 index 00000000000..00b0b799821 --- /dev/null +++ b/build-tests/api-extractor-lib5-test/src/index.cts @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. +// See LICENSE in the project root for license information. + +/** + * api-extractor-lib4-test + * + * @remarks + * This library is consumed by api-extractor-scenarios. + * + * @packageDocumentation + */ + +/** @public */ +export class Lib5Class { + prop: number; +} + +/** @alpha */ +export interface Lib5Interface {} + +/** @public */ +export default class DefaultClass {} diff --git a/build-tests/api-extractor-lib5-test/tsconfig.json b/build-tests/api-extractor-lib5-test/tsconfig.json new file mode 100644 index 00000000000..7dec6f5f99d --- /dev/null +++ b/build-tests/api-extractor-lib5-test/tsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "target": "es6", + "forceConsistentCasingInFileNames": true, + "module": "commonjs", + "declaration": true, + "sourceMap": true, + "declarationMap": true, + "experimentalDecorators": true, + "strictNullChecks": true, + "types": ["node", "jest"], + "lib": ["es5", "scripthost", "es2015.collection", "es2015.promise", "es2015.iterable", "dom"], + "outDir": "lib" + }, + "include": ["src/**/*.cts", "typings/tsd.d.ts"] +} diff --git a/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml b/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml index 192e437409a..034a5faca9e 100644 --- a/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml +++ b/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml @@ -79,6 +79,7 @@ packages: resolution: {integrity: sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==} dependencies: '@babel/highlight': 7.14.0 + dev: true /@babel/code-frame/7.22.5: resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} @@ -124,6 +125,7 @@ packages: /@babel/helper-validator-identifier/7.14.0: resolution: {integrity: sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==} + dev: true /@babel/helper-validator-identifier/7.22.5: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} @@ -135,6 +137,7 @@ packages: '@babel/helper-validator-identifier': 7.14.0 chalk: 2.4.2 js-tokens: 4.0.0 + dev: true /@babel/highlight/7.22.5: resolution: {integrity: sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==} @@ -308,6 +311,21 @@ packages: dependencies: rfc4648: 1.5.2 + /@pnpm/crypto.base32-hash/2.0.0: + resolution: {integrity: sha512-3ttOeHBpmWRbgJrpDQ8Nwd3W8s8iuiP5YZM0JRyKWaMtX8lu9d7/AKyxPmhYsMJuN+q/1dwHa7QFeDZJ53b0oA==} + engines: {node: '>=16.14'} + dependencies: + rfc4648: 1.5.2 + + /@pnpm/dependency-path/2.1.2: + resolution: {integrity: sha512-BXEMdGHZG2y8z7hZAVn+r0z+IdszFZbVPpAp3xyDH3gDN30A4HCVhhCUUf0mthqQZsT131jK4HW82EUwEiW01A==} + engines: {node: '>=16.14'} + dependencies: + '@pnpm/crypto.base32-hash': 2.0.0 + '@pnpm/types': 9.1.0 + encode-registry: 3.0.0 + semver: 7.5.1 + /@pnpm/error/1.4.0: resolution: {integrity: sha512-vxkRrkneBPVmP23kyjnYwVOtipwlSl6UfL+h+Xa3TrABJTz5rYBXemlTsU5BzST8U4pD7YDkTb3SQu+MMuIDKA==} engines: {node: '>=10.16'} @@ -378,6 +396,10 @@ packages: resolution: {integrity: sha512-3MYHYm8epnciApn6w5Fzx6sepawmsNU7l6lvIq+ER22/DPSrr83YMhU/EQWnf4lORn2YyiXFj0FJSyJzEtIGmw==} engines: {node: '>=14.6'} + /@pnpm/types/9.1.0: + resolution: {integrity: sha512-MMPDMLOY17bfNhLhR9Qmq6/2keoocnR5DWXZfZDC4dKXugrMsE1jB6RnuU8swJIo4zyCsMT/iVSAtl/XK+9Z+A==} + engines: {node: '>=16.14'} + /@pnpm/write-project-manifest/1.1.7: resolution: {integrity: sha512-OLkDZSqkA1mkoPNPvLFXyI6fb0enCuFji6Zfditi/CLAo9kmIhQFmEUDu4krSB8i908EljG8YwL5Xjxzm5wsWA==} engines: {node: '>=10.16'} @@ -468,7 +490,7 @@ packages: grapheme-splitter: 1.0.4 ignore: 5.2.0 natural-compare-lite: 1.4.0 - semver: 7.3.7 + semver: 7.5.1 tsutils: 3.21.0_typescript@5.0.4 typescript: 5.0.4 transitivePeerDependencies: @@ -496,7 +518,7 @@ packages: grapheme-splitter: 1.0.4 ignore: 5.2.0 natural-compare-lite: 1.4.0 - semver: 7.3.7 + semver: 7.5.1 tsutils: 3.21.0_typescript@4.7.4 typescript: 4.7.4 transitivePeerDependencies: @@ -636,7 +658,7 @@ packages: debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.3.7 + semver: 7.5.1 tsutils: 3.21.0_typescript@4.7.4 typescript: 4.7.4 transitivePeerDependencies: @@ -657,7 +679,7 @@ packages: debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.3.7 + semver: 7.5.1 tsutils: 3.21.0_typescript@5.0.4 typescript: 5.0.4 transitivePeerDependencies: @@ -678,7 +700,7 @@ packages: '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.0.4 eslint: 8.7.0 eslint-scope: 5.1.1 - semver: 7.3.7 + semver: 7.5.1 transitivePeerDependencies: - supports-color - typescript @@ -698,7 +720,7 @@ packages: '@typescript-eslint/typescript-estree': 5.59.9_typescript@4.7.4 eslint: 8.7.0 eslint-scope: 5.1.1 - semver: 7.3.7 + semver: 7.5.1 transitivePeerDependencies: - supports-color - typescript @@ -1883,10 +1905,6 @@ packages: /graceful-fs/4.2.4: resolution: {integrity: sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==} - /graceful-fs/4.2.6: - resolution: {integrity: sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==} - dev: true - /grapheme-splitter/1.0.4: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true @@ -2268,7 +2286,7 @@ packages: hasBin: true /json-buffer/3.0.0: - resolution: {integrity: sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=} + resolution: {integrity: sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==} /json-parse-even-better-errors/2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -2890,7 +2908,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.12.13 + '@babel/code-frame': 7.22.5 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -3754,7 +3772,7 @@ packages: engines: {node: '>=10.13.0'} dependencies: glob-to-regexp: 0.4.1 - graceful-fs: 4.2.6 + graceful-fs: 4.2.11 dev: true /wcwidth/1.0.1: @@ -3898,6 +3916,7 @@ packages: version: 5.99.0 engines: {node: '>=5.6.0'} dependencies: + '@pnpm/dependency-path': 2.1.2 '@pnpm/link-bins': 5.3.25 '@rushstack/heft-config-file': file:../temp/tarballs/rushstack-heft-config-file-0.12.4.tgz_@types+node@14.18.36 '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.59.3.tgz_@types+node@14.18.36 diff --git a/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json b/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json new file mode 100644 index 00000000000..f889d34fdd5 --- /dev/null +++ b/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-extractor", + "comment": "add support for cts and mts", + "type": "patch" + } + ], + "packageName": "@microsoft/api-extractor" +} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 6645353023c..921ccd1108a 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -689,6 +689,34 @@ importers: fs-extra: 7.0.1 typescript: 5.0.4 + ../../build-tests/api-extractor-lib4-test: + specifiers: + '@microsoft/api-extractor': workspace:* + '@types/jest': 29.2.5 + '@types/node': 14.18.36 + fs-extra: ~7.0.1 + typescript: ~5.0.4 + devDependencies: + '@microsoft/api-extractor': link:../../apps/api-extractor + '@types/jest': 29.2.5 + '@types/node': 14.18.36 + fs-extra: 7.0.1 + typescript: 5.0.4 + + ../../build-tests/api-extractor-lib5-test: + specifiers: + '@microsoft/api-extractor': workspace:* + '@types/jest': 29.2.5 + '@types/node': 14.18.36 + fs-extra: ~7.0.1 + typescript: ~5.0.4 + devDependencies: + '@microsoft/api-extractor': link:../../apps/api-extractor + '@types/jest': 29.2.5 + '@types/node': 14.18.36 + fs-extra: 7.0.1 + typescript: 5.0.4 + ../../build-tests/api-extractor-scenarios: specifiers: '@microsoft/api-extractor': workspace:* diff --git a/rush.json b/rush.json index 20b8148525d..10edfbcfecc 100644 --- a/rush.json +++ b/rush.json @@ -498,6 +498,18 @@ "reviewCategory": "tests", "shouldPublish": false }, + { + "packageName": "api-extractor-lib4-test", + "projectFolder": "build-tests/api-extractor-lib4-test", + "reviewCategory": "tests", + "shouldPublish": false + }, + { + "packageName": "api-extractor-lib5-test", + "projectFolder": "build-tests/api-extractor-lib5-test", + "reviewCategory": "tests", + "shouldPublish": false + }, { "packageName": "api-extractor-scenarios", "projectFolder": "build-tests/api-extractor-scenarios", From e8636f025076e567d36cdf68c7788cb6dc665165 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:26:20 -0800 Subject: [PATCH 2/8] Rename test projects --- .../.gitignore | 0 .../build.js | 0 .../config/api-extractor.json | 0 .../config/rush-project.json | 0 .../etc/api-extractor-d-cts-test.api.md} | 0 .../package.json | 0 .../src/index.cts | 0 .../tsconfig.json | 0 .../.gitignore | 0 .../build.js} | 0 .../config/api-extractor.json | 0 .../config/rush-project.json | 0 .../etc/api-extractor-d-mts-test.api.md} | 0 .../package.json | 0 .../src/index.mts | 0 .../tsconfig.json | 0 .../etc/api-extractor-lib5-test.api.md | 22 ------------------- 17 files changed, 22 deletions(-) rename build-tests/{api-extractor-lib4-test => api-extractor-d-cts-test}/.gitignore (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-cts-test}/build.js (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-cts-test}/config/api-extractor.json (100%) rename build-tests/{api-extractor-lib4-test => api-extractor-d-cts-test}/config/rush-project.json (100%) rename build-tests/{api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md => api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md} (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-cts-test}/package.json (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-cts-test}/src/index.cts (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-cts-test}/tsconfig.json (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-mts-test}/.gitignore (100%) rename build-tests/{api-extractor-lib4-test/build.cjs => api-extractor-d-mts-test/build.js} (100%) rename build-tests/{api-extractor-lib4-test => api-extractor-d-mts-test}/config/api-extractor.json (100%) rename build-tests/{api-extractor-lib5-test => api-extractor-d-mts-test}/config/rush-project.json (100%) rename build-tests/{api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md => api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md} (100%) rename build-tests/{api-extractor-lib4-test => api-extractor-d-mts-test}/package.json (100%) rename build-tests/{api-extractor-lib4-test => api-extractor-d-mts-test}/src/index.mts (100%) rename build-tests/{api-extractor-lib4-test => api-extractor-d-mts-test}/tsconfig.json (100%) delete mode 100644 build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md diff --git a/build-tests/api-extractor-lib4-test/.gitignore b/build-tests/api-extractor-d-cts-test/.gitignore similarity index 100% rename from build-tests/api-extractor-lib4-test/.gitignore rename to build-tests/api-extractor-d-cts-test/.gitignore diff --git a/build-tests/api-extractor-lib5-test/build.js b/build-tests/api-extractor-d-cts-test/build.js similarity index 100% rename from build-tests/api-extractor-lib5-test/build.js rename to build-tests/api-extractor-d-cts-test/build.js diff --git a/build-tests/api-extractor-lib5-test/config/api-extractor.json b/build-tests/api-extractor-d-cts-test/config/api-extractor.json similarity index 100% rename from build-tests/api-extractor-lib5-test/config/api-extractor.json rename to build-tests/api-extractor-d-cts-test/config/api-extractor.json diff --git a/build-tests/api-extractor-lib4-test/config/rush-project.json b/build-tests/api-extractor-d-cts-test/config/rush-project.json similarity index 100% rename from build-tests/api-extractor-lib4-test/config/rush-project.json rename to build-tests/api-extractor-d-cts-test/config/rush-project.json diff --git a/build-tests/api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md b/build-tests/api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md similarity index 100% rename from build-tests/api-extractor-lib4-test/etc/api-extractor-lib4-test.api.md rename to build-tests/api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md diff --git a/build-tests/api-extractor-lib5-test/package.json b/build-tests/api-extractor-d-cts-test/package.json similarity index 100% rename from build-tests/api-extractor-lib5-test/package.json rename to build-tests/api-extractor-d-cts-test/package.json diff --git a/build-tests/api-extractor-lib5-test/src/index.cts b/build-tests/api-extractor-d-cts-test/src/index.cts similarity index 100% rename from build-tests/api-extractor-lib5-test/src/index.cts rename to build-tests/api-extractor-d-cts-test/src/index.cts diff --git a/build-tests/api-extractor-lib5-test/tsconfig.json b/build-tests/api-extractor-d-cts-test/tsconfig.json similarity index 100% rename from build-tests/api-extractor-lib5-test/tsconfig.json rename to build-tests/api-extractor-d-cts-test/tsconfig.json diff --git a/build-tests/api-extractor-lib5-test/.gitignore b/build-tests/api-extractor-d-mts-test/.gitignore similarity index 100% rename from build-tests/api-extractor-lib5-test/.gitignore rename to build-tests/api-extractor-d-mts-test/.gitignore diff --git a/build-tests/api-extractor-lib4-test/build.cjs b/build-tests/api-extractor-d-mts-test/build.js similarity index 100% rename from build-tests/api-extractor-lib4-test/build.cjs rename to build-tests/api-extractor-d-mts-test/build.js diff --git a/build-tests/api-extractor-lib4-test/config/api-extractor.json b/build-tests/api-extractor-d-mts-test/config/api-extractor.json similarity index 100% rename from build-tests/api-extractor-lib4-test/config/api-extractor.json rename to build-tests/api-extractor-d-mts-test/config/api-extractor.json diff --git a/build-tests/api-extractor-lib5-test/config/rush-project.json b/build-tests/api-extractor-d-mts-test/config/rush-project.json similarity index 100% rename from build-tests/api-extractor-lib5-test/config/rush-project.json rename to build-tests/api-extractor-d-mts-test/config/rush-project.json diff --git a/build-tests/api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md b/build-tests/api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md similarity index 100% rename from build-tests/api-extractor-lib5-test/etc/api-extractor-lib4-test.api.md rename to build-tests/api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md diff --git a/build-tests/api-extractor-lib4-test/package.json b/build-tests/api-extractor-d-mts-test/package.json similarity index 100% rename from build-tests/api-extractor-lib4-test/package.json rename to build-tests/api-extractor-d-mts-test/package.json diff --git a/build-tests/api-extractor-lib4-test/src/index.mts b/build-tests/api-extractor-d-mts-test/src/index.mts similarity index 100% rename from build-tests/api-extractor-lib4-test/src/index.mts rename to build-tests/api-extractor-d-mts-test/src/index.mts diff --git a/build-tests/api-extractor-lib4-test/tsconfig.json b/build-tests/api-extractor-d-mts-test/tsconfig.json similarity index 100% rename from build-tests/api-extractor-lib4-test/tsconfig.json rename to build-tests/api-extractor-d-mts-test/tsconfig.json diff --git a/build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md b/build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md deleted file mode 100644 index bc7daba18e5..00000000000 --- a/build-tests/api-extractor-lib5-test/etc/api-extractor-lib5-test.api.md +++ /dev/null @@ -1,22 +0,0 @@ -## API Report File for "api-extractor-lib5-test" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -// @public (undocumented) -class DefaultClass { -} -export default DefaultClass; - -// @public (undocumented) -export class Lib5Class { - // (undocumented) - prop: number; -} - -// @alpha (undocumented) -export interface Lib5Interface { -} - -``` From f03bff8652434aff50f2d8d602247aa1876d52c3 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:36:17 -0800 Subject: [PATCH 3/8] Rename test projects --- .../etc/api-extractor-d-cts-test.api.md | 6 ++--- .../api-extractor-d-cts-test/package.json | 6 ++--- .../api-extractor-d-cts-test/src/index.cts | 2 +- .../{build.js => build.cjs} | 0 .../etc/api-extractor-d-mts-test.api.md | 2 +- .../api-extractor-d-mts-test/package.json | 6 ++--- .../api-extractor-d-mts-test/src/index.mts | 2 +- rush.json | 26 ++++++++++--------- 8 files changed, 26 insertions(+), 24 deletions(-) rename build-tests/api-extractor-d-mts-test/{build.js => build.cjs} (100%) diff --git a/build-tests/api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md b/build-tests/api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md index e6e40028932..163443bda1a 100644 --- a/build-tests/api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md +++ b/build-tests/api-extractor-d-cts-test/etc/api-extractor-d-cts-test.api.md @@ -1,4 +1,4 @@ -## API Report File for "api-extractor-lib4-test" +## API Report File for "api-extractor-d-cts-test" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). @@ -10,13 +10,13 @@ class DefaultClass { export default DefaultClass; // @public (undocumented) -export class Lib4Class { +export class Lib5Class { // (undocumented) prop: number; } // @alpha (undocumented) -export interface Lib4Interface { +export interface Lib5Interface { } ``` diff --git a/build-tests/api-extractor-d-cts-test/package.json b/build-tests/api-extractor-d-cts-test/package.json index b1a2bdecfbd..21c255fed6a 100644 --- a/build-tests/api-extractor-d-cts-test/package.json +++ b/build-tests/api-extractor-d-cts-test/package.json @@ -1,10 +1,10 @@ { - "name": "api-extractor-lib5-test", + "name": "api-extractor-d-cts-test", "description": "Building this project is a regression test for api-extractor", "version": "1.0.0", "private": true, "main": "lib/index.cjs", - "types": "dist/api-extractor-lib2-test.d.cts", + "types": "dist/api-extractor-d-cts-test.d.cts", "scripts": { "build": "node build.js", "_phase:build": "node build.js" @@ -12,7 +12,7 @@ "devDependencies": { "@microsoft/api-extractor": "workspace:*", "@types/jest": "29.2.5", - "@types/node": "14.18.36", + "@types/node": "18.17.15", "fs-extra": "~7.0.1", "typescript": "~5.0.4" } diff --git a/build-tests/api-extractor-d-cts-test/src/index.cts b/build-tests/api-extractor-d-cts-test/src/index.cts index 00b0b799821..754a8ba3af5 100644 --- a/build-tests/api-extractor-d-cts-test/src/index.cts +++ b/build-tests/api-extractor-d-cts-test/src/index.cts @@ -2,7 +2,7 @@ // See LICENSE in the project root for license information. /** - * api-extractor-lib4-test + * api-extractor-d-cts-test * * @remarks * This library is consumed by api-extractor-scenarios. diff --git a/build-tests/api-extractor-d-mts-test/build.js b/build-tests/api-extractor-d-mts-test/build.cjs similarity index 100% rename from build-tests/api-extractor-d-mts-test/build.js rename to build-tests/api-extractor-d-mts-test/build.cjs diff --git a/build-tests/api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md b/build-tests/api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md index e6e40028932..f1aeecb6710 100644 --- a/build-tests/api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md +++ b/build-tests/api-extractor-d-mts-test/etc/api-extractor-d-mts-test.api.md @@ -1,4 +1,4 @@ -## API Report File for "api-extractor-lib4-test" +## API Report File for "api-extractor-d-mts-test" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/build-tests/api-extractor-d-mts-test/package.json b/build-tests/api-extractor-d-mts-test/package.json index 78a9c0ea10c..2712f33f25d 100644 --- a/build-tests/api-extractor-d-mts-test/package.json +++ b/build-tests/api-extractor-d-mts-test/package.json @@ -1,11 +1,11 @@ { - "name": "api-extractor-lib4-test", + "name": "api-extractor-d-mts-test", "description": "Building this project is a regression test for api-extractor", "version": "1.0.0", "private": true, "module": "lib/index.mjs", "type": "module", - "types": "dist/api-extractor-lib2-test.d.mts", + "types": "dist/api-extractor-d-mts-test.d.mts", "scripts": { "build": "node build.cjs", "_phase:build": "node build.cjs" @@ -13,7 +13,7 @@ "devDependencies": { "@microsoft/api-extractor": "workspace:*", "@types/jest": "29.2.5", - "@types/node": "14.18.36", + "@types/node": "18.17.15", "fs-extra": "~7.0.1", "typescript": "~5.0.4" } diff --git a/build-tests/api-extractor-d-mts-test/src/index.mts b/build-tests/api-extractor-d-mts-test/src/index.mts index 0557671f750..6b2966543e7 100644 --- a/build-tests/api-extractor-d-mts-test/src/index.mts +++ b/build-tests/api-extractor-d-mts-test/src/index.mts @@ -2,7 +2,7 @@ // See LICENSE in the project root for license information. /** - * api-extractor-lib4-test + * api-extractor-d-mts-test * * @remarks * This library is consumed by api-extractor-scenarios. diff --git a/rush.json b/rush.json index 3def28dc6ae..ebac4cfc767 100644 --- a/rush.json +++ b/rush.json @@ -494,37 +494,39 @@ "tags": ["api-extractor-tests"] }, { - "packageName": "api-extractor-lib1-test", - "projectFolder": "build-tests/api-extractor-lib1-test", + "packageName": "api-extractor-d-cts-test", + "projectFolder": "build-tests/api-extractor-d-cts-test", "reviewCategory": "tests", "shouldPublish": false, "tags": ["api-extractor-tests"] }, { - "packageName": "api-extractor-lib2-test", - "projectFolder": "build-tests/api-extractor-lib2-test", + "packageName": "api-extractor-d-mts-test", + "projectFolder": "build-tests/api-extractor-d-mts-test", "reviewCategory": "tests", "shouldPublish": false, "tags": ["api-extractor-tests"] }, { - "packageName": "api-extractor-lib3-test", - "projectFolder": "build-tests/api-extractor-lib3-test", + "packageName": "api-extractor-lib1-test", + "projectFolder": "build-tests/api-extractor-lib1-test", "reviewCategory": "tests", "shouldPublish": false, "tags": ["api-extractor-tests"] }, { - "packageName": "api-extractor-lib4-test", - "projectFolder": "build-tests/api-extractor-lib4-test", + "packageName": "api-extractor-lib2-test", + "projectFolder": "build-tests/api-extractor-lib2-test", "reviewCategory": "tests", - "shouldPublish": false + "shouldPublish": false, + "tags": ["api-extractor-tests"] }, { - "packageName": "api-extractor-lib5-test", - "projectFolder": "build-tests/api-extractor-lib5-test", + "packageName": "api-extractor-lib3-test", + "projectFolder": "build-tests/api-extractor-lib3-test", "reviewCategory": "tests", - "shouldPublish": false + "shouldPublish": false, + "tags": ["api-extractor-tests"] }, { "packageName": "api-extractor-scenarios", From cf030307255641e1b00d00890d08d3ad83bfdb12 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:36:24 -0800 Subject: [PATCH 4/8] rush update --- common/config/rush/pnpm-lock.yaml | 82 ++++++++++++++++-------------- common/config/rush/repo-state.json | 2 +- 2 files changed, 46 insertions(+), 38 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 480ee25599f..a3dff1ec18e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -850,6 +850,42 @@ importers: specifier: ~5.0.4 version: 5.0.4 + ../../build-tests/api-extractor-d-cts-test: + devDependencies: + '@microsoft/api-extractor': + specifier: workspace:* + version: link:../../apps/api-extractor + '@types/jest': + specifier: 29.2.5 + version: 29.2.5 + '@types/node': + specifier: 18.17.15 + version: 18.17.15 + fs-extra: + specifier: ~7.0.1 + version: 7.0.1 + typescript: + specifier: ~5.0.4 + version: 5.0.4 + + ../../build-tests/api-extractor-d-mts-test: + devDependencies: + '@microsoft/api-extractor': + specifier: workspace:* + version: link:../../apps/api-extractor + '@types/jest': + specifier: 29.2.5 + version: 29.2.5 + '@types/node': + specifier: 18.17.15 + version: 18.17.15 + fs-extra: + specifier: ~7.0.1 + version: 7.0.1 + typescript: + specifier: ~5.0.4 + version: 5.0.4 + ../../build-tests/api-extractor-lib1-test: devDependencies: '@microsoft/api-extractor': @@ -902,34 +938,6 @@ importers: specifier: ~5.0.4 version: 5.0.4 - ../../build-tests/api-extractor-lib4-test: - specifiers: - '@microsoft/api-extractor': workspace:* - '@types/jest': 29.2.5 - '@types/node': 14.18.36 - fs-extra: ~7.0.1 - typescript: ~5.0.4 - devDependencies: - '@microsoft/api-extractor': link:../../apps/api-extractor - '@types/jest': 29.2.5 - '@types/node': 14.18.36 - fs-extra: 7.0.1 - typescript: 5.0.4 - - ../../build-tests/api-extractor-lib5-test: - specifiers: - '@microsoft/api-extractor': workspace:* - '@types/jest': 29.2.5 - '@types/node': 14.18.36 - fs-extra: ~7.0.1 - typescript: ~5.0.4 - devDependencies: - '@microsoft/api-extractor': link:../../apps/api-extractor - '@types/jest': 29.2.5 - '@types/node': 14.18.36 - fs-extra: 7.0.1 - typescript: 5.0.4 - ../../build-tests/api-extractor-scenarios: devDependencies: '@microsoft/api-extractor': @@ -1726,10 +1734,10 @@ importers: version: link:../../heft-plugins/heft-typescript-plugin '@types/jest': specifier: ts4.9 - version: 29.5.6 + version: 29.5.8 '@types/node': specifier: ts4.9 - version: 20.8.7 + version: 20.9.0 eslint: specifier: ~8.7.0 version: 8.7.0 @@ -11250,8 +11258,8 @@ packages: expect: 29.6.2 pretty-format: 29.6.2 - /@types/jest@29.5.6: - resolution: {integrity: sha512-/t9NnzkOpXb4Nfvg17ieHE6EeSjDS2SGSpNYfoLbUAeL/EOueU/RSdOWFpfQTXBEM7BguYW1XQ0EbM+6RlIh6w==} + /@types/jest@29.5.8: + resolution: {integrity: sha512-fXEFTxMV2Co8ZF5aYFJv+YeA08RTYJfhtN5c9JSv/mFEMe+xxjufCb+PHL+bJcMs/ebPUsBu+UNTEz+ydXrR6g==} dependencies: expect: 29.6.2 pretty-format: 29.6.2 @@ -11363,10 +11371,10 @@ packages: /@types/node@18.17.15: resolution: {integrity: sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==} - /@types/node@20.8.7: - resolution: {integrity: sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==} + /@types/node@20.9.0: + resolution: {integrity: sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==} dependencies: - undici-types: 5.25.3 + undici-types: 5.26.5 dev: true /@types/normalize-package-data@2.4.1: @@ -24821,8 +24829,8 @@ packages: resolution: {integrity: sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==} dev: true - /undici-types@5.25.3: - resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==} + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} dev: true /unfetch@4.2.0: diff --git a/common/config/rush/repo-state.json b/common/config/rush/repo-state.json index 685cc7dca67..0e64f315e01 100644 --- a/common/config/rush/repo-state.json +++ b/common/config/rush/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "a292292be45a1f217c2433bb27a80cb6abfeedb0", + "pnpmShrinkwrapHash": "49da9415d87b73dfece0df5ff66e4b3be101780a", "preferredVersionsHash": "1926a5b12ac8f4ab41e76503a0d1d0dccc9c0e06" } From ee6cdfa50aba584865eae0b03551dabcb296e6f7 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:37:47 -0800 Subject: [PATCH 5/8] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b116cf41f4e..566c09b36ae 100644 --- a/README.md +++ b/README.md @@ -129,11 +129,11 @@ These GitHub repositories provide supplementary resources for Rush Stack: | [/build-tests-samples/packlets-tutorial](./build-tests-samples/packlets-tutorial/) | (Copy of sample project) Building this project is a regression test for @rushstack/eslint-plugin-packlets | | [/build-tests/api-documenter-scenarios](./build-tests/api-documenter-scenarios/) | Building this project is a regression test for api-documenter | | [/build-tests/api-documenter-test](./build-tests/api-documenter-test/) | Building this project is a regression test for api-documenter | +| [/build-tests/api-extractor-d-cts-test](./build-tests/api-extractor-d-cts-test/) | Building this project is a regression test for api-extractor | +| [/build-tests/api-extractor-d-mts-test](./build-tests/api-extractor-d-mts-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-lib1-test](./build-tests/api-extractor-lib1-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-lib2-test](./build-tests/api-extractor-lib2-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-lib3-test](./build-tests/api-extractor-lib3-test/) | Building this project is a regression test for api-extractor | -| [/build-tests/api-extractor-lib4-test](./build-tests/api-extractor-lib4-test/) | Building this project is a regression test for api-extractor | -| [/build-tests/api-extractor-lib5-test](./build-tests/api-extractor-lib5-test/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-scenarios](./build-tests/api-extractor-scenarios/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-test-01](./build-tests/api-extractor-test-01/) | Building this project is a regression test for api-extractor | | [/build-tests/api-extractor-test-02](./build-tests/api-extractor-test-02/) | Building this project is a regression test for api-extractor | From ec6f5c41d160b22434575dd3b02e6c9af334ac2d Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:38:08 -0800 Subject: [PATCH 6/8] rush build --- .../workspace/common/pnpm-lock.yaml | 135 +++++++++--------- 1 file changed, 67 insertions(+), 68 deletions(-) diff --git a/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml b/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml index 7bdabc351f0..d779d53fe70 100644 --- a/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml +++ b/build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml @@ -11,8 +11,8 @@ importers: rush-lib-test: dependencies: '@microsoft/rush-lib': - specifier: file:microsoft-rush-lib-5.109.1.tgz - version: file:../temp/tarballs/microsoft-rush-lib-5.109.1.tgz(@types/node@18.17.15) + specifier: file:microsoft-rush-lib-5.110.2.tgz + version: file:../temp/tarballs/microsoft-rush-lib-5.110.2.tgz(@types/node@18.17.15) colors: specifier: ^1.4.0 version: 1.4.0 @@ -30,15 +30,15 @@ importers: rush-sdk-test: dependencies: '@rushstack/rush-sdk': - specifier: file:rushstack-rush-sdk-5.109.1.tgz - version: file:../temp/tarballs/rushstack-rush-sdk-5.109.1.tgz(@types/node@18.17.15) + specifier: file:rushstack-rush-sdk-5.110.2.tgz + version: file:../temp/tarballs/rushstack-rush-sdk-5.110.2.tgz(@types/node@18.17.15) colors: specifier: ^1.4.0 version: 1.4.0 devDependencies: '@microsoft/rush-lib': - specifier: file:microsoft-rush-lib-5.109.1.tgz - version: file:../temp/tarballs/microsoft-rush-lib-5.109.1.tgz(@types/node@18.17.15) + specifier: file:microsoft-rush-lib-5.110.2.tgz + version: file:../temp/tarballs/microsoft-rush-lib-5.110.2.tgz(@types/node@18.17.15) '@types/node': specifier: 18.17.15 version: 18.17.15 @@ -55,14 +55,14 @@ importers: specifier: file:rushstack-eslint-config-3.4.1.tgz version: file:../temp/tarballs/rushstack-eslint-config-3.4.1.tgz(eslint@8.7.0)(typescript@5.0.4) '@rushstack/heft': - specifier: file:rushstack-heft-0.62.3.tgz - version: file:../temp/tarballs/rushstack-heft-0.62.3.tgz + specifier: file:rushstack-heft-0.63.2.tgz + version: file:../temp/tarballs/rushstack-heft-0.63.2.tgz '@rushstack/heft-lint-plugin': - specifier: file:rushstack-heft-lint-plugin-0.2.9.tgz - version: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.9.tgz(@rushstack/heft@0.62.3) + specifier: file:rushstack-heft-lint-plugin-0.2.12.tgz + version: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.12.tgz(@rushstack/heft@0.63.2) '@rushstack/heft-typescript-plugin': - specifier: file:rushstack-heft-typescript-plugin-0.2.9.tgz - version: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.9.tgz(@rushstack/heft@0.62.3) + specifier: file:rushstack-heft-typescript-plugin-0.2.12.tgz + version: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.12.tgz(@rushstack/heft@0.63.2) eslint: specifier: ~8.7.0 version: 8.7.0 @@ -79,14 +79,14 @@ importers: specifier: file:rushstack-eslint-config-3.4.1.tgz version: file:../temp/tarballs/rushstack-eslint-config-3.4.1.tgz(eslint@8.7.0)(typescript@4.7.4) '@rushstack/heft': - specifier: file:rushstack-heft-0.62.3.tgz - version: file:../temp/tarballs/rushstack-heft-0.62.3.tgz + specifier: file:rushstack-heft-0.63.2.tgz + version: file:../temp/tarballs/rushstack-heft-0.63.2.tgz '@rushstack/heft-lint-plugin': - specifier: file:rushstack-heft-lint-plugin-0.2.9.tgz - version: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.9.tgz(@rushstack/heft@0.62.3) + specifier: file:rushstack-heft-lint-plugin-0.2.12.tgz + version: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.12.tgz(@rushstack/heft@0.63.2) '@rushstack/heft-typescript-plugin': - specifier: file:rushstack-heft-typescript-plugin-0.2.9.tgz - version: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.9.tgz(@rushstack/heft@0.62.3) + specifier: file:rushstack-heft-typescript-plugin-0.2.12.tgz + version: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.12.tgz(@rushstack/heft@0.63.2) eslint: specifier: ~8.7.0 version: 8.7.0 @@ -2301,7 +2301,7 @@ packages: hasBin: true /json-buffer@3.0.0: - resolution: {integrity: sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=} + resolution: {integrity: sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==} /json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -3923,23 +3923,23 @@ packages: optionalDependencies: commander: 2.20.3 - file:../temp/tarballs/microsoft-rush-lib-5.109.1.tgz(@types/node@18.17.15): - resolution: {tarball: file:../temp/tarballs/microsoft-rush-lib-5.109.1.tgz} - id: file:../temp/tarballs/microsoft-rush-lib-5.109.1.tgz + file:../temp/tarballs/microsoft-rush-lib-5.110.2.tgz(@types/node@18.17.15): + resolution: {tarball: file:../temp/tarballs/microsoft-rush-lib-5.110.2.tgz} + id: file:../temp/tarballs/microsoft-rush-lib-5.110.2.tgz name: '@microsoft/rush-lib' - version: 5.109.1 + version: 5.110.2 engines: {node: '>=5.6.0'} dependencies: '@pnpm/dependency-path': 2.1.2 '@pnpm/link-bins': 5.3.25 '@rushstack/heft-config-file': file:../temp/tarballs/rushstack-heft-config-file-0.14.2.tgz(@types/node@18.17.15) '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) - '@rushstack/package-deps-hash': file:../temp/tarballs/rushstack-package-deps-hash-4.1.9.tgz(@types/node@18.17.15) - '@rushstack/package-extractor': file:../temp/tarballs/rushstack-package-extractor-0.6.10.tgz(@types/node@18.17.15) + '@rushstack/package-deps-hash': file:../temp/tarballs/rushstack-package-deps-hash-4.1.12.tgz(@types/node@18.17.15) + '@rushstack/package-extractor': file:../temp/tarballs/rushstack-package-extractor-0.6.14.tgz(@types/node@18.17.15) '@rushstack/rig-package': file:../temp/tarballs/rushstack-rig-package-0.5.1.tgz - '@rushstack/stream-collator': file:../temp/tarballs/rushstack-stream-collator-4.1.10.tgz(@types/node@18.17.15) - '@rushstack/terminal': file:../temp/tarballs/rushstack-terminal-0.7.9.tgz(@types/node@18.17.15) - '@rushstack/ts-command-line': file:../temp/tarballs/rushstack-ts-command-line-4.16.1.tgz + '@rushstack/stream-collator': file:../temp/tarballs/rushstack-stream-collator-4.1.13.tgz(@types/node@18.17.15) + '@rushstack/terminal': file:../temp/tarballs/rushstack-terminal-0.7.12.tgz(@types/node@18.17.15) + '@rushstack/ts-command-line': file:../temp/tarballs/rushstack-ts-command-line-4.17.1.tgz '@types/node-fetch': 2.6.2 '@yarnpkg/lockfile': 1.0.2 builtin-modules: 3.1.0 @@ -4125,10 +4125,10 @@ packages: - typescript dev: true - file:../temp/tarballs/rushstack-heft-0.62.3.tgz: - resolution: {tarball: file:../temp/tarballs/rushstack-heft-0.62.3.tgz} + file:../temp/tarballs/rushstack-heft-0.63.2.tgz: + resolution: {tarball: file:../temp/tarballs/rushstack-heft-0.63.2.tgz} name: '@rushstack/heft' - version: 0.62.3 + version: 0.63.2 engines: {node: '>=10.13.0'} hasBin: true dependencies: @@ -4136,9 +4136,8 @@ packages: '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) '@rushstack/operation-graph': file:../temp/tarballs/rushstack-operation-graph-0.2.0.tgz '@rushstack/rig-package': file:../temp/tarballs/rushstack-rig-package-0.5.1.tgz - '@rushstack/ts-command-line': file:../temp/tarballs/rushstack-ts-command-line-4.16.1.tgz + '@rushstack/ts-command-line': file:../temp/tarballs/rushstack-ts-command-line-4.17.1.tgz '@types/tapable': 1.0.6 - argparse: 1.0.10 chokidar: 3.4.3 fast-glob: 3.3.1 git-repo-info: 2.1.1 @@ -4163,30 +4162,30 @@ packages: transitivePeerDependencies: - '@types/node' - file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.9.tgz(@rushstack/heft@0.62.3): - resolution: {tarball: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.9.tgz} - id: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.9.tgz + file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.12.tgz(@rushstack/heft@0.63.2): + resolution: {tarball: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.12.tgz} + id: file:../temp/tarballs/rushstack-heft-lint-plugin-0.2.12.tgz name: '@rushstack/heft-lint-plugin' - version: 0.2.9 + version: 0.2.12 peerDependencies: '@rushstack/heft': '*' dependencies: - '@rushstack/heft': file:../temp/tarballs/rushstack-heft-0.62.3.tgz + '@rushstack/heft': file:../temp/tarballs/rushstack-heft-0.63.2.tgz '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) semver: 7.5.4 transitivePeerDependencies: - '@types/node' dev: true - file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.9.tgz(@rushstack/heft@0.62.3): - resolution: {tarball: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.9.tgz} - id: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.9.tgz + file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.12.tgz(@rushstack/heft@0.63.2): + resolution: {tarball: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.12.tgz} + id: file:../temp/tarballs/rushstack-heft-typescript-plugin-0.2.12.tgz name: '@rushstack/heft-typescript-plugin' - version: 0.2.9 + version: 0.2.12 peerDependencies: '@rushstack/heft': '*' dependencies: - '@rushstack/heft': file:../temp/tarballs/rushstack-heft-0.62.3.tgz + '@rushstack/heft': file:../temp/tarballs/rushstack-heft-0.63.2.tgz '@rushstack/heft-config-file': file:../temp/tarballs/rushstack-heft-config-file-0.14.2.tgz(@types/node@18.17.15) '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) '@types/tapable': 1.0.6 @@ -4229,25 +4228,25 @@ packages: '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) dev: true - file:../temp/tarballs/rushstack-package-deps-hash-4.1.9.tgz(@types/node@18.17.15): - resolution: {tarball: file:../temp/tarballs/rushstack-package-deps-hash-4.1.9.tgz} - id: file:../temp/tarballs/rushstack-package-deps-hash-4.1.9.tgz + file:../temp/tarballs/rushstack-package-deps-hash-4.1.12.tgz(@types/node@18.17.15): + resolution: {tarball: file:../temp/tarballs/rushstack-package-deps-hash-4.1.12.tgz} + id: file:../temp/tarballs/rushstack-package-deps-hash-4.1.12.tgz name: '@rushstack/package-deps-hash' - version: 4.1.9 + version: 4.1.12 dependencies: '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) transitivePeerDependencies: - '@types/node' - file:../temp/tarballs/rushstack-package-extractor-0.6.10.tgz(@types/node@18.17.15): - resolution: {tarball: file:../temp/tarballs/rushstack-package-extractor-0.6.10.tgz} - id: file:../temp/tarballs/rushstack-package-extractor-0.6.10.tgz + file:../temp/tarballs/rushstack-package-extractor-0.6.14.tgz(@types/node@18.17.15): + resolution: {tarball: file:../temp/tarballs/rushstack-package-extractor-0.6.14.tgz} + id: file:../temp/tarballs/rushstack-package-extractor-0.6.14.tgz name: '@rushstack/package-extractor' - version: 0.6.10 + version: 0.6.14 dependencies: '@pnpm/link-bins': 5.3.25 '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) - '@rushstack/terminal': file:../temp/tarballs/rushstack-terminal-0.7.9.tgz(@types/node@18.17.15) + '@rushstack/terminal': file:../temp/tarballs/rushstack-terminal-0.7.12.tgz(@types/node@18.17.15) ignore: 5.1.9 jszip: 3.8.0 minimatch: 3.0.8 @@ -4264,11 +4263,11 @@ packages: resolve: 1.22.1 strip-json-comments: 3.1.1 - file:../temp/tarballs/rushstack-rush-sdk-5.109.1.tgz(@types/node@18.17.15): - resolution: {tarball: file:../temp/tarballs/rushstack-rush-sdk-5.109.1.tgz} - id: file:../temp/tarballs/rushstack-rush-sdk-5.109.1.tgz + file:../temp/tarballs/rushstack-rush-sdk-5.110.2.tgz(@types/node@18.17.15): + resolution: {tarball: file:../temp/tarballs/rushstack-rush-sdk-5.110.2.tgz} + id: file:../temp/tarballs/rushstack-rush-sdk-5.110.2.tgz name: '@rushstack/rush-sdk' - version: 5.109.1 + version: 5.110.2 dependencies: '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) '@types/node-fetch': 2.6.2 @@ -4277,22 +4276,22 @@ packages: - '@types/node' dev: false - file:../temp/tarballs/rushstack-stream-collator-4.1.10.tgz(@types/node@18.17.15): - resolution: {tarball: file:../temp/tarballs/rushstack-stream-collator-4.1.10.tgz} - id: file:../temp/tarballs/rushstack-stream-collator-4.1.10.tgz + file:../temp/tarballs/rushstack-stream-collator-4.1.13.tgz(@types/node@18.17.15): + resolution: {tarball: file:../temp/tarballs/rushstack-stream-collator-4.1.13.tgz} + id: file:../temp/tarballs/rushstack-stream-collator-4.1.13.tgz name: '@rushstack/stream-collator' - version: 4.1.10 + version: 4.1.13 dependencies: '@rushstack/node-core-library': file:../temp/tarballs/rushstack-node-core-library-3.61.0.tgz(@types/node@18.17.15) - '@rushstack/terminal': file:../temp/tarballs/rushstack-terminal-0.7.9.tgz(@types/node@18.17.15) + '@rushstack/terminal': file:../temp/tarballs/rushstack-terminal-0.7.12.tgz(@types/node@18.17.15) transitivePeerDependencies: - '@types/node' - file:../temp/tarballs/rushstack-terminal-0.7.9.tgz(@types/node@18.17.15): - resolution: {tarball: file:../temp/tarballs/rushstack-terminal-0.7.9.tgz} - id: file:../temp/tarballs/rushstack-terminal-0.7.9.tgz + file:../temp/tarballs/rushstack-terminal-0.7.12.tgz(@types/node@18.17.15): + resolution: {tarball: file:../temp/tarballs/rushstack-terminal-0.7.12.tgz} + id: file:../temp/tarballs/rushstack-terminal-0.7.12.tgz name: '@rushstack/terminal' - version: 0.7.9 + version: 0.7.12 peerDependencies: '@types/node': '*' peerDependenciesMeta: @@ -4308,10 +4307,10 @@ packages: version: 0.3.1 dev: true - file:../temp/tarballs/rushstack-ts-command-line-4.16.1.tgz: - resolution: {tarball: file:../temp/tarballs/rushstack-ts-command-line-4.16.1.tgz} + file:../temp/tarballs/rushstack-ts-command-line-4.17.1.tgz: + resolution: {tarball: file:../temp/tarballs/rushstack-ts-command-line-4.17.1.tgz} name: '@rushstack/ts-command-line' - version: 4.16.1 + version: 4.17.1 dependencies: '@types/argparse': 1.0.38 argparse: 1.0.10 From c2fb892cad066d44a3ebd7e572c7bb26b471e064 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:38:50 -0800 Subject: [PATCH 7/8] Remove old change file --- .../feat-support-mts-cts_2023-06-17-12-27.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json diff --git a/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json b/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json deleted file mode 100644 index f889d34fdd5..00000000000 --- a/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-06-17-12-27.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@microsoft/api-extractor", - "comment": "add support for cts and mts", - "type": "patch" - } - ], - "packageName": "@microsoft/api-extractor" -} \ No newline at end of file From dd74f98bac2f7238985b84756f4ff8c7421d2169 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:39:09 -0800 Subject: [PATCH 8/8] rush change --- .../feat-support-mts-cts_2023-11-16-05-38.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-11-16-05-38.json diff --git a/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-11-16-05-38.json b/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-11-16-05-38.json new file mode 100644 index 00000000000..752ad7dd46f --- /dev/null +++ b/common/changes/@microsoft/api-extractor/feat-support-mts-cts_2023-11-16-05-38.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-extractor", + "comment": "", + "type": "none" + } + ], + "packageName": "@microsoft/api-extractor" +} \ No newline at end of file