Add CI workflow and development best practices from template#6
Merged
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #5
This commit implements the requirements from issue #5 by adding: ## CI/CD Workflow - GitHub Actions workflow for tests on push to main and PRs - Changeset validation on pull requests - Linting and formatting checks - Code duplication checks - Multi-platform testing (Ubuntu, macOS, Windows) - Automated release workflow with npm publishing support ## Development Tools - Changeset configuration for version management - Prettier for consistent code formatting - ESLint with Prettier integration - jscpd for code duplication detection - Husky pre-commit hooks with lint-staged ## Configuration Files - .changeset/ - Version management configuration - .github/workflows/release.yml - CI/CD workflow - .prettierrc, .prettierignore - Prettier configuration - .jscpd.json - Code duplication settings - eslint.config.js - ESLint configuration - .husky/pre-commit - Pre-commit hook - bunfig.toml, deno.json - Multi-runtime support - CHANGELOG.md - Version history ## Scripts Added - format, format:check - Code formatting - check:duplication - Code duplication check - check - Run all checks - changeset commands - Version management - Release scripts for automated publishing ## Code Quality Fixes - Formatted all files with Prettier - Fixed duplicate import in bindings.js - Fixed page reference bug in test mocks Fixes #5 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This reverts commit b6c231f.
Member
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
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.
Summary
This PR implements the requirements from issue #5 by:
Changes
CI/CD Workflow (
.github/workflows/release.yml)Development Tools
Configuration Files Added
.changeset/config.json.github/workflows/release.yml.prettierrc,.prettierignore.jscpd.jsoneslint.config.js.husky/pre-commitbunfig.toml,deno.jsonCHANGELOG.mdNPM Scripts Added
format,format:check- Code formattingcheck:duplication- Code duplication checkcheck- Run all checks (lint + format + duplication)changeset,changeset:version,changeset:publish,changeset:status- Version managementRelease Scripts (
scripts/)validate-changeset.mjs- Validate changeset in PRsversion-and-commit.mjs- Version bump and commitpublish-to-npm.mjs- Publish to npmcreate-github-release.mjs- Create GitHub releaseformat-github-release.mjs- Format release notesCode Quality Fixes
src/bindings.jstests/helpers/mocks.jsTest Plan
Issue Reference
Fixes #5
🤖 Generated with Claude Code