blob: cc5f41350c6feb43e1ae61364edd7aef36f07b78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { CommandInfo } from '../command';
import { CommandParser } from './command-parser';
/**
* Finds wildcards in npm/yarn/pnpm/bun run commands and replaces them with all matching scripts in the
* `package.json` file of the current directory.
*/
export declare class ExpandNpmWildcard implements CommandParser {
private readonly readPackage;
static readPackage(): any;
private scripts?;
constructor(readPackage?: typeof ExpandNpmWildcard.readPackage);
parse(commandInfo: CommandInfo): CommandInfo | CommandInfo[];
}
|