Skip to content

Commit c863fec

Browse files
committed
fixing mac
1 parent d5b6afa commit c863fec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

web-report/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ This will build the project and copy static test files from `tests/static` direc
7272
- `build` - Build for production
7373
- `preview` - Preview production build
7474
- `lint` - Run ESLint
75-
- `installAndBuild` - Install dependencies, run tests and build (Yarn only)
75+
- `installAndBuild` - Install dependencies, run tests and build
7676
- `debug` - Build the project and run in debug mode using static test files from `tests/static` directory

web-report/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"dev": "vite",
88
"generate": "json2ts ../src/main/resources/wfc/schemas/report.yaml src/types/GeneratedTypes.tsx && ts-to-zod src/types/GeneratedTypes.tsx src/types/GeneratedTypesZod.ts",
99
"build": "tsc -b && vite build",
10-
"installAndBuild": "yarn install && yarn generate && vitest --no-watch && tsc -b && vite build && yarn copyRunFiles",
11-
"copyRunFiles": "cpx webreport.bat ../target/classes/webreport && cpx webreport.command ../target/classes/webreport && cpx webreport.py ../target/classes/webreport && cpx src-e2e/static/robots.txt ../target/classes/webreport",
10+
"installAndBuild": "npm install && npm run generate && vitest --no-watch && tsc -b && vite build && npm run copyRunFiles",
11+
"copyRunFiles": "cpx webreport.bat '../target/classes/webreport' && cpx webreport.command '../target/classes/webreport' && cpx webreport.py '../target/classes/webreport' && cpx 'src-e2e/static/robots.txt' '../target/classes/webreport'",
1212
"lint": "eslint .",
1313
"preview": "vite preview",
14-
"debug": "vite build && cpx src-e2e/static/* ../target/classes/webreport && vite preview",
14+
"debug": "vite build && cpx 'src-e2e/static/*' '../target/classes/webreport' && vite preview",
1515
"test": "vitest"
1616
},
1717
"dependencies": {

0 commit comments

Comments
 (0)