diff --git a/package.json b/package.json index d794982..6572455 100644 --- a/package.json +++ b/package.json @@ -99,5 +99,10 @@ "vite": { "optional": true } + }, + "pnpm": { + "patchedDependencies": { + "@microsoft/api-extractor@7.36.4": "patches/@microsoft__api-extractor@7.36.4.patch" + } } } diff --git a/patches/@microsoft__api-extractor@7.36.4.patch b/patches/@microsoft__api-extractor@7.36.4.patch new file mode 100644 index 0000000..e436ec1 --- /dev/null +++ b/patches/@microsoft__api-extractor@7.36.4.patch @@ -0,0 +1,24 @@ +diff --git a/lib/api/Extractor.js b/lib/api/Extractor.js +index 781b5b59330c5a54feb01d06efe431aadd733b32..20cbdea06d359c8ba6f7379b2b992b43ed0a05b7 100644 +--- a/lib/api/Extractor.js ++++ b/lib/api/Extractor.js +@@ -258,7 +258,7 @@ class Extractor { + }); + } + static _checkCompilerCompatibility(extractorConfig, messageRouter) { +- messageRouter.logInfo("console-preamble" /* ConsoleMessageId.Preamble */, `Analysis will use the bundled TypeScript version ${ts.version}`); ++ // messageRouter.logInfo("console-preamble" /* ConsoleMessageId.Preamble */, `Analysis will use the bundled TypeScript version ${ts.version}`); + try { + const typescriptPath = resolve.sync('typescript', { + basedir: extractorConfig.projectFolder, +@@ -273,8 +273,8 @@ class Extractor { + const theirMajor = semver.major(packageJson.version); + const theirMinor = semver.minor(packageJson.version); + if (theirMajor > ourMajor || (theirMajor === ourMajor && theirMinor > ourMinor)) { +- messageRouter.logInfo("console-compiler-version-notice" /* ConsoleMessageId.CompilerVersionNotice */, `*** The target project appears to use TypeScript ${packageJson.version} which is newer than the` + +- ` bundled compiler engine; consider upgrading API Extractor.`); ++ // messageRouter.logInfo("console-compiler-version-notice" /* ConsoleMessageId.CompilerVersionNotice */, `*** The target project appears to use TypeScript ${packageJson.version} which is newer than the` + ++ // ` bundled compiler engine; consider upgrading API Extractor.`); + } + } + } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 04b7288..a57c85e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,12 +1,21 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +patchedDependencies: + '@microsoft/api-extractor@7.36.4': + hash: euowp2yvqs26f55373vaqnab3e + path: patches/@microsoft__api-extractor@7.36.4.patch + importers: .: dependencies: '@microsoft/api-extractor': specifier: ^7.36.4 - version: 7.36.4(@types/node@20.4.10) + version: 7.36.4(patch_hash=euowp2yvqs26f55373vaqnab3e)(@types/node@20.4.10) '@rollup/pluginutils': specifier: ^5.0.2 version: 5.0.2(rollup@3.25.2) @@ -1455,7 +1464,7 @@ packages: - '@types/node' dev: false - /@microsoft/api-extractor@7.36.4(@types/node@20.4.10): + /@microsoft/api-extractor@7.36.4(patch_hash=euowp2yvqs26f55373vaqnab3e)(@types/node@20.4.10): resolution: {integrity: sha512-21UECq8C/8CpHT23yiqTBQ10egKUacIpxkPyYR7hdswo/M5yTWdBvbq+77YC9uPKQJOUfOD1FImBQ1DzpsdeQQ==} hasBin: true dependencies: @@ -1474,6 +1483,7 @@ packages: transitivePeerDependencies: - '@types/node' dev: false + patched: true /@microsoft/tsdoc-config@0.16.2: resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==}