feat(frontend): Prettier, add openapi client generation

This commit is contained in:
2025-02-21 12:17:36 +01:00
parent d6effcd1d5
commit 31ff737221
20 changed files with 3840 additions and 4861 deletions

View File

@@ -11,6 +11,7 @@
"format": "prettier . --write",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"api:generate": "openapi-generator-cli generate -i ../legalconsenthub-backend/api/legalconsenthub.yml -g typescript-fetch -o .api-client",
"fix:bettersqlite": "cd node_modules/better-sqlite3 && npx node-gyp rebuild && cd ../.."
},
"dependencies": {
@@ -23,6 +24,7 @@
},
"devDependencies": {
"@nuxt/eslint": "^1.1.0",
"@openapitools/openapi-generator-cli": "^2.16.3",
"@types/better-sqlite3": "^7.6.12",
"eslint": "^9.20.1",
"prettier": "3.5.1",