-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Knip for dep checking - working example for build-cli package
- Loading branch information
Showing
10 changed files
with
375 additions
and
572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/*! | ||
* Copyright (c) Microsoft Corporation and contributors. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
// Enable TypeScript type-checking for this file. | ||
// See https://www.typescriptlang.org/docs/handbook/intro-to-js-ts.html#ts-check | ||
// @ts-check | ||
|
||
// Import the shared config from the root of the repo. | ||
import sharedConfig from "../../../knip.base.ts"; | ||
|
||
export default { | ||
include: [...sharedConfig.include], | ||
ignoreDependencies: [ | ||
...sharedConfig.ignoreDependencies, | ||
|
||
// Oclif plugins are used dynamically at runtime. | ||
"@oclif/plugin-*", | ||
// Danger is used at runtime in the dangerfile. | ||
"danger", | ||
// Types from this package are used in markdown.ts. | ||
"mdast", | ||
// This is needed by the fluid-build task integration in policy-check. | ||
"tslib", | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.