Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
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
3 changes: 2 additions & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:

- name: Validate commits
run: |
pnpm dlx commitlint \
pnpm exec commitlint \
--from ${{ github.event.pull_request.base.sha }} \
--to ${{ github.event.pull_request.head.sha }}

- run: pnpm lint
- run: pnpm build
- run: pnpm test
1 change: 1 addition & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:

- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test

- name: Release
id: release
Expand Down
9 changes: 9 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [0, 'always'],
'footer-max-line-length': [0, 'always'],
'header-max-length': [0, 'always'],
},
};

11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"test": "vitest",
"test:watch": "vitest --watch",
"prepare": "husky",
"release": "semantic-release",
"check:all": "pnpm run type-check && pnpm run lint && pnpm run format"
Expand Down Expand Up @@ -55,9 +57,14 @@
"superdoc": "^0.22.0"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^9.36.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.5.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.1",
Expand All @@ -66,14 +73,16 @@
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.1.0",
"husky": "^9.1.7",
"jsdom": "^27.0.0",
"prettier": "^3.6.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"semantic-release": "^24.2.9",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.1",
"vite": "^7.1.7",
"vite-plugin-dts": "^4.5.4"
"vite-plugin-dts": "^4.5.4",
"vitest": "^3.2.4"
},
"publishConfig": {
"access": "public"
Expand Down
Loading