Skip to content

chore: Node 22 upgrade, CI, Prettier (v0.2.1)#1

Merged
jfomhover merged 4 commits into
mainfrom
node-22-ci
Apr 23, 2026
Merged

chore: Node 22 upgrade, CI, Prettier (v0.2.1)#1
jfomhover merged 4 commits into
mainfrom
node-22-ci

Conversation

@jfomhover

Copy link
Copy Markdown
Contributor

Changes

  • Node 22: Raise \�ngines.node\ from >=20\ to >=22\
  • CI: GitHub Actions workflow — build, typecheck, test, and format check on Ubuntu, macOS, and Windows (Node 22)
  • Prettier: Added as formatter with \ ormat:check\ in CI; formatted entire codebase
  • Version: Bumped to 0.2.1
  • README: Added experimental disclaimer
  • CHANGELOG: Updated for 0.2.1

All 115 tests pass. No source logic changes.

jfomhover and others added 4 commits April 22, 2026 21:00
- Raise engines.node from >=20 to >=22
- Add GitHub Actions CI workflow (Ubuntu, macOS, Windows × Node 22)
- Bump version to 0.2.1
- Add experimental disclaimer to README
- Update CHANGELOG

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Install prettier as devDependency
- Add .prettierrc (singleQuote, trailingComma, printWidth: 100)
- Add .prettierignore (dist, node_modules, package-lock.json)
- Add format and format:check npm scripts
- Add format:check step to CI workflow
- Format entire codebase

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The 'save creates parent directories' test assumed Windows-style
APPDATA path on all platforms. On macOS/Linux, getTokenPath() uses
os.homedir()/.config/todo-mcp instead. Fix by mocking os.homedir()
on non-Windows and using the correct expected path per platform.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Git converts LF to CRLF on Windows checkout, causing Prettier to
flag all files. Setting endOfLine: auto accepts existing line endings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jfomhover
jfomhover merged commit 6189b57 into main Apr 23, 2026
3 checks passed
@jfomhover
jfomhover deleted the node-22-ci branch April 23, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant