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: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

- [ ] Add tests
- [ ] Run tests
- [ ] `pnpm run format:fix && pnpm run lint:fix` to format the code
- [ ] `pnpm run check:fix` to format and lint the code
- [ ] Add [TSDoc](https://tsdoc.org/)/[JSDoc](https://jsdoc.app/about-getting-started) to document the code
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@ jobs:
- name: Build
run: pnpm run build

- name: Lint
run: pnpm run lint

- name: Format check
run: pnpm run format
- name: Format and lint
run: pnpm run check
9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

11 changes: 7 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ made for coding agents, not humans.
## Commands

- `pnpm install` — install dependencies
- `pnpm run build` — build (tsdown)
- `pnpm run build` — build (`vp pack`)
- `pnpm run watch` — build with auto-rebuild
- `pnpm run test` — run tests (Vitest)
- `pnpm run format:fix && pnpm run lint:fix` — fix format and lint
- `pnpm run test` — run tests (`vp test`)
- `pnpm run check:fix` — fix format and lint (`vp check`)

The toolchain is [Vite+](https://viteplus.dev), like honojs/hono. Its config
(format, lint, test, pack) is in `vite.config.ts`.

Runtime: Node.js 22+. Package manager: pnpm.

Expand All @@ -41,7 +44,7 @@ Runtime: Node.js 22+. Package manager: pnpm.
3. Run the quality gates. All must pass:

```bash
pnpm run format:fix && pnpm run lint:fix
pnpm run check:fix
pnpm run test
pnpm run build
```
Expand Down
3 changes: 0 additions & 3 deletions eslint.config.mjs

This file was deleted.

29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@
"hono": "dist/cli.js"
},
"scripts": {
"build": "tsdown",
"watch": "tsdown --watch",
"test": "vitest",
"test:run": "vitest --run",
"test:watch": "vitest watch",
"lint": "eslint --ext js,ts src",
"lint:fix": "eslint --ext js,ts src --fix",
"format": "prettier src --check",
"format:fix": "prettier src --write",
"build": "vp pack",
"watch": "vp pack --watch",
"test": "vp test",
"test:run": "vp test --run",
"test:watch": "vp test --watch",
"check": "vp check",
"check:fix": "vp check --fix",
"lint": "vp lint src",
"lint:fix": "vp lint --fix src",
"format": "vp fmt --check src",
"format:fix": "vp fmt src",
"postbuild": "publint",
"prerelease": "pnpm run build",
"release": "np --no-publish"
Expand Down Expand Up @@ -43,18 +45,15 @@
"devDependencies": {
"@babel/parser": "^7.28.5",
"@babel/types": "^7.28.5",
"@hono/eslint-config": "^1.1.1",
"@types/node": "^24.7.0",
"eslint": "^9.37.0",
"magic-string": "^0.30.21",
"np": "^10.2.0",
"pkg-pr-new": "^0.0.62",
"prettier": "^3.6.2",
"publint": "^0.3.14",
"tsdown": "^0.20.3",
"typescript": "^5.9.3",
"vite": "^7.3.6",
"vitest": "^3.2.4"
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
"vite-plus": "1.0.0",
"vitest": "5.0.1"
},
"packageManager": "pnpm@11.20.0",
"engines": {
Expand Down
Loading
Loading