-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add tests for new conversions
- Loading branch information
Showing
4 changed files
with
243 additions
and
18 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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,15 +1,3 @@ | ||
export declare const unchangedCLICommands: string[]; | ||
export declare const yarnCLICommands: string[]; | ||
export declare const npmCLICommands: string[]; | ||
/** | ||
* Returns the current package manager | ||
* @param command The command to get the package manager from | ||
* @returns The package manager | ||
*/ | ||
export declare function getManager(command: string): 'npm' | 'yarn' | 'pnpm' | 'bun'; | ||
/** | ||
* Checks whether the command is other than npm command | ||
* @param command The command to check | ||
* @returns Whether the command is other than npm command | ||
*/ | ||
export declare function isOtherManagerCommand(command: string): boolean; |
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