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)
|
||||
do
|
||||
if [ $char = "i" ]; then
|
||||
yarn install
|
||||
pnpm i -r
|
||||
elif [ $char = "d" ]; then
|
||||
yarn dev
|
||||
pnpm dev
|
||||
elif [ $char = "b" ]; then
|
||||
yarn build
|
||||
pnpm build
|
||||
elif [ $char = "a" ]; then
|
||||
yarn add
|
||||
pnpm add
|
||||
elif [ $char = "u" ]; then
|
||||
yarn upgrade
|
||||
pnpm upgrade
|
||||
elif [ $char = "t" ]; then
|
||||
yarn test
|
||||
pnpm test
|
||||
elif [ $char = "c" ]; then
|
||||
yarn coverage
|
||||
pnpm coverage
|
||||
fi
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue
Block a user