Skip to content

Commit

Permalink
Changed package manager for install-native.mjs to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
syedtaqi95 committed Jul 20, 2023
1 parent 7a0297c commit 236d853
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/install-native.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ import fs from 'fs-extra'
path.join(tmpdir, 'package.json'),
JSON.stringify(pkgJson)
)
let { stdout } = await execa('yarn', ['--force'], { cwd: tmpdir })
let { stdout } = await execa('pnpm', ['install', '--force'], {
cwd: tmpdir,
})
console.log(stdout)
let pkgs = await fs.readdir(path.join(tmpdir, 'node_modules/@next'))
await fs.ensureDir(path.join(cwd, 'node_modules/@next'))
Expand Down

0 comments on commit 236d853

Please sign in to comment.