🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
25
node_modules/which-pm/index.d.ts
generated
vendored
Normal file
25
node_modules/which-pm/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
declare function whichpm (pkgPath: string): Promise<whichpm.Result>
|
||||
|
||||
declare namespace whichpm {
|
||||
type Result = NPM | YARN | PNPM | Other
|
||||
|
||||
interface NPM {
|
||||
readonly name: 'npm'
|
||||
}
|
||||
|
||||
interface YARN {
|
||||
readonly name: 'yarn'
|
||||
}
|
||||
|
||||
interface PNPM {
|
||||
readonly name: 'pnpm'
|
||||
readonly version: string
|
||||
}
|
||||
|
||||
interface Other {
|
||||
readonly name: string
|
||||
readonly version?: string
|
||||
}
|
||||
}
|
||||
|
||||
export = whichpm
|
||||
Loading…
Add table
Add a link
Reference in a new issue