chore: Node 22 upgrade, CI, Prettier (v0.2.1)#1
Merged
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
All 115 tests pass. No source logic changes.