replace yarn with pnpm in y command
This commit is contained in:
parent
8eb6af4701
commit
88a4bb542b
@ -3,19 +3,19 @@ function y(){
|
|||||||
for char in $(echo $word)
|
for char in $(echo $word)
|
||||||
do
|
do
|
||||||
if [ $char = "i" ]; then
|
if [ $char = "i" ]; then
|
||||||
yarn install
|
pnpm i -r
|
||||||
elif [ $char = "d" ]; then
|
elif [ $char = "d" ]; then
|
||||||
yarn dev
|
pnpm dev
|
||||||
elif [ $char = "b" ]; then
|
elif [ $char = "b" ]; then
|
||||||
yarn build
|
pnpm build
|
||||||
elif [ $char = "a" ]; then
|
elif [ $char = "a" ]; then
|
||||||
yarn add
|
pnpm add
|
||||||
elif [ $char = "u" ]; then
|
elif [ $char = "u" ]; then
|
||||||
yarn upgrade
|
pnpm upgrade
|
||||||
elif [ $char = "t" ]; then
|
elif [ $char = "t" ]; then
|
||||||
yarn test
|
pnpm test
|
||||||
elif [ $char = "c" ]; then
|
elif [ $char = "c" ]; then
|
||||||
yarn coverage
|
pnpm coverage
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user