chore(frontend): switch from pnpm to npm
This commit is contained in:
parent
1adb26e8b8
commit
a89a5b3494
8 changed files with 6369 additions and 4249 deletions
8
build.sh
8
build.sh
|
@ -25,12 +25,12 @@ echo "Building Node.js frontend"
|
|||
|
||||
cd "$ROOT_DIR/Foxnouns.Frontend"
|
||||
[ -d "$ROOT_DIR/Foxnouns.Frontend/build" ] && rm -r "$ROOT_DIR/Foxnouns.Frontend/build"
|
||||
pnpm install
|
||||
pnpm build
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
mkdir "$ROOT_DIR/build/fe"
|
||||
cp -r build .env* package.json pnpm-lock.yaml "$ROOT_DIR/build/fe"
|
||||
cp -r build .env* package.json package-lock.json "$ROOT_DIR/build/fe"
|
||||
cd "$ROOT_DIR/build/fe"
|
||||
pnpm install -P
|
||||
NODE_ENV=production npm ci
|
||||
|
||||
echo "Finished building Foxnouns.NET"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue