use pnpm for next-with-deps
(#54847)
This fixes the "Usage Error: This project is configured to use pnpm" error when running `next-with-deps` since we [enforce a package manager](https://github.com/vercel/next.js/blob/canary/package.json#L252)
This commit is contained in:
parent
826ef8c715
commit
f0fa7c5406
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ done
|
||||||
|
|
||||||
if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then
|
if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then
|
||||||
cd $PROJECT_DIR
|
cd $PROJECT_DIR
|
||||||
yarn install
|
pnpm i --ignore-workspace
|
||||||
for dep in ${CONFLICTING_DEPS[@]};do
|
for dep in ${CONFLICTING_DEPS[@]};do
|
||||||
rm -rf node_modules/$dep
|
rm -rf node_modules/$dep
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue