Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
build(ui): add prettier and format command
Browse files Browse the repository at this point in the history
Signed-off-by: András Jáky <[email protected]>
  • Loading branch information
akijakya committed Jul 25, 2024
1 parent 94c46f8 commit b817ff0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions ui/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
9 changes: 5 additions & 4 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"happy-dom": "^14.12.0",
"prettier": "3.3.3",
"vite": "^5.0.13",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^1.6.0"
Expand All @@ -54,6 +54,8 @@
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"prettier:format": "prettier --log-level warn --write .",
"prettier:check": "prettier --check .",
"lint": "eslint ./src --ext .ts,.tsx",
"test": "vitest",
"generate-api": "npx @openapitools/openapi-generator-cli generate -i ../api/openapi.yaml -g typescript-axios -o ./src/api/generated-api --openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=VMClarity && npx @openapitools/openapi-generator-cli generate -i ../uibackend/openapi.yaml -g typescript-axios -o ./src/api/generated-ui-backend --openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=VMClarityUIBackend",
Expand Down

0 comments on commit b817ff0

Please sign in to comment.