Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- run: pnpm install
- name: Lint code
run: pnpm lint
- name: Knip
run: pnpm knip
- run: pnpm test --coverage --watch=false
- run: pnpm build
- name: SonarCloud Scan
Expand Down
3 changes: 2 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
gitleaks git --pre-commit --redact --staged --verbose
gitleaks git --pre-commit --redact --staged --verbose
pnpm knip
4 changes: 4 additions & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"ignore": ["public/**"]
}
2 changes: 2 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "22"
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@
"devDependencies": {
"@playwright/test": "^1.45.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@types/node": "^22.0.0",
"@vitejs/plugin-react-swc": "^4.2.3",
"@vitest/coverage-v8": "^4.0.18",
"archiver": "^7.0.1",
"cross-env": "^7.0.3",
"husky": "^9.1.7",
"jsdom": "^24.1.1",
"knip": "^6.11.0",
"ncp": "^2.0.0",
"oxlint": "^1.29.0",
"prettier": "^3.3.3",
"prop-types": "^15.8.1",
"rollup": "^4.59.0",
"sanitize-html": "^2.14.0",
"vite": "^7.3.1",
"vitest": "^4.0.18"
Expand All @@ -36,10 +34,10 @@
"start": "pnpm pre-script vite",
"build": "pnpm pre-script pnpm build-react && pnpm copy-static && pnpm create-zip",
"test": "vitest test",
"eject": "react-scripts eject",
"create-zip": "node create-zip.js",
"lint": "oxlint src/",
"lint:fix": "oxlint src/ --fix",
"knip": "knip",
"_format": "prettier \"**/*.{js,jsx,css,html}\"",
"format": "npm run _format -- --write",
"prepare": "husky"
Expand Down
Loading
Loading