-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow duplicate devdep and dep when pkg is library and dep is r…
…ange BREAKING CHANGE: isLibrary is now an option on createCheckPackage instead of checkRecommended
- Loading branch information
1 parent
089732f
commit 3697f8d
Showing
21 changed files
with
192 additions
and
78 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
dist/definitions/checks/checkDirectDuplicateDependencies.d.ts
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import type { GetDependencyPackageJson } from 'utils/createGetDependencyPackageJson'; | ||
import type { GetDependencyPackageJson } from '../utils/createGetDependencyPackageJson'; | ||
import { createReportError } from '../utils/createReportError'; | ||
import type { PackageJson, DependencyTypes } from '../utils/packageTypes'; | ||
import type { OnlyWarnsForMappingCheck } from '../utils/warnForUtils'; | ||
export declare function checkDirectDuplicateDependencies(pkg: PackageJson, pkgPathName: string, depType: DependencyTypes, getDependencyPackageJson: GetDependencyPackageJson, onlyWarnsForCheck: OnlyWarnsForMappingCheck, reportErrorNamePrefix?: string, customCreateReportError?: typeof createReportError): Promise<void>; | ||
export declare function checkDirectDuplicateDependencies(pkg: PackageJson, pkgPathName: string, isPackageALibrary: boolean, depType: DependencyTypes, getDependencyPackageJson: GetDependencyPackageJson, onlyWarnsForCheck: OnlyWarnsForMappingCheck, reportErrorNamePrefix?: string, customCreateReportError?: typeof createReportError): Promise<void>; | ||
//# sourceMappingURL=checkDirectDuplicateDependencies.d.ts.map |
2 changes: 1 addition & 1 deletion
2
dist/definitions/checks/checkDirectDuplicateDependencies.d.ts.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import type { ReportError } from '../utils/createReportError'; | ||
import type { PackageJson, DependencyTypes } from '../utils/packageTypes'; | ||
import type { OnlyWarnsForCheck } from '../utils/warnForUtils'; | ||
export declare function checkDuplicateDependencies(reportError: ReportError, pkg: PackageJson, depType: DependencyTypes, searchIn: DependencyTypes[], depPkg: PackageJson, onlyWarnsForCheck: OnlyWarnsForCheck): void; | ||
export declare function checkDuplicateDependencies(reportError: ReportError, pkg: PackageJson, isPkgLibrary: boolean, depType: DependencyTypes, searchIn: DependencyTypes[], depPkg: PackageJson, onlyWarnsForCheck: OnlyWarnsForCheck): void; | ||
//# sourceMappingURL=checkDuplicateDependencies.d.ts.map |
Oops, something went wrong.