From 4b6764d7f21724593a677e5b2075079417fe69c0 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Tue, 3 Dec 2024 17:54:27 -0800 Subject: [PATCH] fixup! Use WebClient in the plugins. --- .../config/heft.json | 18 +----------------- .../scripts/createSrc.js | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/build-tests/rush-lib-declaration-paths-test/config/heft.json b/build-tests/rush-lib-declaration-paths-test/config/heft.json index d3967bd0396..857ca850bcb 100644 --- a/build-tests/rush-lib-declaration-paths-test/config/heft.json +++ b/build-tests/rush-lib-declaration-paths-test/config/heft.json @@ -18,24 +18,8 @@ } }, - "copy-src-typings": { - "taskPlugin": { - "pluginPackage": "@rushstack/heft", - "pluginName": "copy-files-plugin", - "options": { - "copyOperations": [ - { - "sourcePath": "node_modules/@microsoft/rush-lib/src", - "destinationFolders": ["src"], - "includeGlobs": ["npm-check-typings.d.ts"] - } - ] - } - } - }, - "typescript": { - "taskDependencies": ["create-src", "copy-src-typings"] + "taskDependencies": ["create-src"] } } } diff --git a/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js b/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js index cf8107f2da0..01bcec568b9 100644 --- a/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js +++ b/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js @@ -26,7 +26,7 @@ module.exports = { } } - const indexFileLines = ['/// ', '']; + const indexFileLines = []; for await (const dtsPath of collectDtsPaths(`${rushLibPath}/lib`, '@microsoft/rush-lib/lib')) { indexFileLines.push(`import '${dtsPath}';`); }