Switch from yarn to pnpm

This commit is contained in:
ajnart
2023-11-09 03:43:04 +01:00
parent 694acafe21
commit f8a5de2727
12 changed files with 9641 additions and 13773 deletions

View File

@@ -5,7 +5,7 @@ export NEXTAUTH_URL_INTERNAL="http://$HOSTNAME:7575"
mv node_modules _node_modules
mv node_modules_migrate node_modules
echo "Migrating database..."
yarn ts-node src/migrate.ts & PID=$!
pnpm ts-node src/migrate.ts & PID=$!
# Wait for migration to finish
wait $PID
@@ -17,7 +17,7 @@ cp /app/node_modules/better-sqlite3/build/Release/better_sqlite3.node /app/_node
mv node_modules node_modules_migrate
mv _node_modules node_modules
cp ./temp_package.json package.json
cp ./temp_yarn.lock yarn.lock
cp ./tepm_pnpm-lock.yaml pnpm-lock.yaml
echo "Starting production server..."
node /app/server.js