Skip to content

Commit

Permalink
fixup! Use WebClient in the plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Dec 4, 2024
1 parent b873b47 commit 4b6764d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
18 changes: 1 addition & 17 deletions build-tests/rush-lib-declaration-paths-test/config/heft.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
}
}

const indexFileLines = ['/// <reference path="./npm-check-typings.d.ts" />', ''];
const indexFileLines = [];
for await (const dtsPath of collectDtsPaths(`${rushLibPath}/lib`, '@microsoft/rush-lib/lib')) {
indexFileLines.push(`import '${dtsPath}';`);
}
Expand Down

0 comments on commit 4b6764d

Please sign in to comment.