chore(release): merge dev to main for v1.11.1

This commit is contained in:
mARTin 2026-03-02 21:04:04 +01:00
commit 7ad86ec4c8
4 changed files with 7 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "my-weekly-todo-list", "name": "my-weekly-todo-list",
"version": "1.10.5", "version": "1.11.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "my-weekly-todo-list", "name": "my-weekly-todo-list",
"version": "1.10.5", "version": "1.11.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@auth/prisma-adapter": "^2.11.1", "@auth/prisma-adapter": "^2.11.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "my-weekly-todo-list", "name": "my-weekly-todo-list",
"version": "1.11.0", "version": "1.11.1",
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -53,10 +53,11 @@ if [ ! -d "$NEXT_DIR" ] || [ "$LOCAL" != "$REMOTE" ]; then
log "Building application..." log "Building application..."
npm run build 2>&1 | tee -a "$LOG_FILE" npm run build 2>&1 | tee -a "$LOG_FILE"
log "Preparing standalone directory (copying static assets)..." log "Preparing standalone directory (copying static assets and env)..."
cp -r public .next/standalone/ 2>&1 | tee -a "$LOG_FILE" cp -r public .next/standalone/ 2>&1 | tee -a "$LOG_FILE"
mkdir -p .next/standalone/.next/static 2>&1 | tee -a "$LOG_FILE" mkdir -p .next/standalone/.next/static 2>&1 | tee -a "$LOG_FILE"
cp -r .next/static .next/standalone/.next/ 2>&1 | tee -a "$LOG_FILE" cp -r .next/static .next/standalone/.next/ 2>&1 | tee -a "$LOG_FILE"
cp .env .next/standalone/ 2>/dev/null || true 2>&1 | tee -a "$LOG_FILE"
fi fi
log "=== Boot update finished (verified/rebuilt) ===" log "=== Boot update finished (verified/rebuilt) ==="

View File

@ -23,10 +23,11 @@ npx prisma generate
echo -e "${YELLOW}Step 5: Building application...${NC}" echo -e "${YELLOW}Step 5: Building application...${NC}"
npm run build npm run build
echo -e "${YELLOW}Step 5.5: Preparing standalone directory (copying static assets)...${NC}" echo -e "${YELLOW}Step 5.5: Preparing standalone directory (copying static assets and env)...${NC}"
cp -r public .next/standalone/ cp -r public .next/standalone/
mkdir -p .next/standalone/.next/static mkdir -p .next/standalone/.next/static
cp -r .next/static .next/standalone/.next/ cp -r .next/static .next/standalone/.next/
cp .env .next/standalone/ 2>/dev/null || true
echo -e "${YELLOW}Step 6: Restarting server with PM2 (Standalone Mode)...${NC}" echo -e "${YELLOW}Step 6: Restarting server with PM2 (Standalone Mode)...${NC}"
# Delete old process if it exists to ensure fresh config # Delete old process if it exists to ensure fresh config