diff --git a/.env.development b/.env.development index 9305237..225571e 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.851 +NEXT_PUBLIC_APP_VERSION=1.6.852 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index e231183..9238aaa 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.851 +NEXT_PUBLIC_APP_VERSION=1.6.852 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml index 52d5930..a991008 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -38,7 +38,7 @@ steps: - env npm_config_production=false npm ci --ignore-scripts - npm run build # Start local static simulator in background - - node scripts/local-cpl-sim.mjs & + - npm run server:sim & # Wait until simulator responds on port 3000 (no curl dependency) - node -e "const http=require('http');let n=120;function ping(){http.get('http://localhost:3000',res=>{console.log('Server is up');process.exit(0)}).on('error',()=>{if(n--<=0){console.error('Server did not start');process.exit(1)}setTimeout(ping,1000)});}ping();" - npx playwright test --project=chromium diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c1e99d..6593a34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.852] – 2025-09-05 + +- fix: woodpecker + +--- ## [1.6.851] – 2025-09-05 - fix: woodpecker rimraf not found diff --git a/package-lock.json b/package-lock.json index ad65554..4476c1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.851", + "version": "1.6.852", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.851", + "version": "1.6.852", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 04e44d4..5acde01 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "cpl-v4", - "version": "1.6.851", + "version": "1.6.852", "private": true, "scripts": { "dev": "next dev -p 3000", "clean": "rimraf .next out", "build": "npm run clean && cross-env EXPORT_STATIC=true next build", "postbuild": "node -e \"const fs=require('fs');const path=require('path');fs.mkdirSync('out',{recursive:true});fs.copyFileSync('LICENSE_ICONIFY.txt', path.join('out','LICENSE_ICONIFY.txt'))\"", - "serve:sim": "node ./scripts/local-cpl-sim.mjs", + "server:sim": "node ./scripts/local-cpl-sim.mjs", "start": "next start", "typecheck": "tsc --noEmit", "check": "npm run lint && npm run typecheck", diff --git a/tsconfig.json b/tsconfig.json index 8306867..16c35e0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -55,5 +55,10 @@ "types/global.d.ts" ], - "exclude": ["node_modules", ".next", "out"] + "exclude": [ + "node_modules", + ".next", + "out", + "public" + ] }