feat: support pnpm

resolves #926
This commit is contained in:
Jan De Dobbeleer 2021-09-04 20:43:43 +02:00 committed by Jan De Dobbeleer
parent cff273057a
commit 4305b3ad51

View file

@ -25,7 +25,7 @@ func (n *node) init(props *properties, env environmentInfo) {
n.language = &language{
env: env,
props: props,
extensions: []string{"*.js", "*.ts", "package.json", ".nvmrc"},
extensions: []string{"*.js", "*.ts", "package.json", ".nvmrc", "pnpm-workspace.yaml", ".pnpmfile.cjs", ".npmrc"},
commands: []*cmd{
{
executable: "node",