Feature/#28 change package name#29
Conversation
Release v0.1.0
fix: cause error by rollup module on release
# 1.0.0 (2025-12-31) ### Bug Fixes * add npm rebuild step to resolve rollup native binary issue in CI ([4ec06ad](4ec06ad)) * add pull-requests write permission to claude-code-review workflow ([be5b41d](be5b41d)) * add rollup as explicit devDependency to resolve CI build issue ([01061e5](01061e5)) * clear npm cache to resolve rollup native binary issue in CI ([0cd15bd](0cd15bd)) * correct collectCoverageFrom pattern order in Jest config ([dbac613](dbac613)) * prevent command injection in git-diff by using spawnSync ([105a9c2](105a9c2)) * reinstall rollup to ensure native binaries are installed in CI ([389e7af](389e7af)) * run npm install after npm ci to fix rollup native binary issue ([2816913](2816913)) * translate remaining japanese character to english in src/utils/fix.ts ([68c57ba](68c57ba)) * update project root to use config ([97724b3](97724b3)) ### Features * add ESLint configuration for scripts directory ([236ad04](236ad04)) * add variable reference support in CODE_REF ([d098259](d098259)) * implement CLI with commander and programmatic API ([3ec29f8](3ec29f8)) * implement configuration system ([43bf006](43bf006)) * integrate configuration system into fix.ts ([6192ccd](6192ccd)) * integrate configuration system into validate.ts ([b6638ef](b6638ef)) * migrate core logic and utils from figma-a11y-reviewer ([19efe8c](19efe8c)) * translate comments and logs to english in src/cli/fix.ts ([f4cd0b8](f4cd0b8)) * translate comments and messages to english in src/core/validate.ts and tests ([79f609e](79f609e)) * translate comments and messages to english in src/utils/fix.ts and tests ([7b2dafb](7b2dafb)) * translate japanese logs and comments to english ([4a20066](4a20066))
Test Release
# [1.0.0](v0.1.0...v1.0.0) (2026-01-01) ### Bug Fixes * exclude CODE_REF comments in unclosed code blocks from validation ([f1f5287](f1f5287)) * handle variable-length backtick sequences in code blocks ([b5674ad](b5674ad)) ### Features * remove default .docsignore value from configuration ([67967d3](67967d3)) ### BREAKING CHANGES * The `ignoreFile` configuration no longer defaults to '.docsignore'. To continue using .docsignore, explicitly set `ignoreFile: '.docsignore'` in your configuration file (.coderefrc.json or package.json). This change makes the ignore file behavior explicit rather than implicit, applying ignore patterns only when intentionally configured. All documentation examples now use `.gitignore` instead of `.docsignore` to reflect this generic approach. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changes: - Package name: @cawpea/coderef → docs-coderef (remove scope) - CLI command: coderef → docs-coderef - Config file: .coderefrc.json → .docs-coderefrc.json - package.json field: "coderef" → "docs-coderef" - Environment variables: CODEREF_* → DOCS_CODEREF_* - Binary: bin/coderef.js → bin/docs-coderef.js - Repository URLs updated to cawpea/docs-coderef 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Code ReviewOverviewThis PR implements a package rename from ✅ Positive Aspects
🐛 Issues FoundCritical Issue: CHANGELOG.md Line 14Location: - **Config file**: Renamed from `.docs-coderefrc.json` to `.docs-coderefrc.json`Problem: This line shows the config file being renamed from Expected: Should be: - **Config file**: Renamed from `.coderefrc.json` to `.docs-coderefrc.json`📋 Recommendations1. Breaking Change Communication (High Priority)This is a major breaking change that will affect all existing users. Consider:
2. Version Bump (Medium Priority)The
3. Testing (High Priority)Before merging:
4. Package Scope Consideration (Low Priority - Informational)Removing the package scope (
🔒 Security ConcernsNo security issues identified in this refactoring. ⚡ Performance ConcernsNo performance implications from this naming change. 🧪 Test CoverageTest coverage appears adequate - the config tests have been properly updated to test the new naming conventions. However, I recommend running the full test suite before merge to ensure nothing was missed. 📚 DocumentationDocumentation has been comprehensively updated. However, consider adding:
SummaryThe PR is well-executed with comprehensive changes across the codebase. The main blocker is the CHANGELOG.md error on line 14 that must be fixed before merge. Additionally, strong consideration should be given to migration documentation for existing users. Recommendation: Request changes to fix the CHANGELOG error, then approve after verification. |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request Review: Package Rename from @cawpea/coderef to docs-coderefSummaryThis PR successfully renames the package from ✅ StrengthsComprehensive Coverage
Consistency
Excellent Changelog
📝 Issues & Recommendations🔴 Critical: Version Bump MissingIssue: The package version remains at Impact: According to your semantic versioning conventions, changing:
All of these are breaking changes that will break existing user setups. Recommendation: - "version": "0.1.0",
+ "version": "1.0.0",Since this is pre-1.0, you could also consider bumping to
|
Pull Request Review: Package Rename from @cawpea/coderef to docs-coderefSummaryThis PR successfully renames the package from ✅ Positive Aspects1. Comprehensive Rename
2. Documentation Quality
3. Test Coverage
4. Code Quality
🔍 Areas of Concern1. Version Number Inconsistency
|
PR Review: Package Rename from @cawpea/coderef to docs-coderefSummaryThis PR successfully renames the package from ✅ Strengths
🐛 Issues FoundCritical1. Incorrect import in documentation ( // Current (incorrect):
import { validate, fix } from '@cawpea/docs-coderef';
// Should be:
import { validate, fix } from 'docs-coderef';2. Test file reference not updated ( // Current (incorrect):
const changedFiles = ['bin/coderef.js'];
// Should be:
const changedFiles = ['bin/docs-coderef.js'];3. Version inconsistency in package-lock.json
Since this is a breaking change and you're using semantic-release, the version should likely stay at Minor4. Comment in release.md could be clearer ( // Current:
- For scoped packages (e.g., `@company/package-name`), verify `publishConfig.access: "public"` is set
// Consider:
- For scoped packages (e.g., `@company/package-name`), verify `publishConfig.access: "public"` is set. Note: This package is no longer scoped and doesn't require this configuration.📋 RecommendationsBefore Merge
Migration Guide SuggestionConsider adding this to your CHANGELOG.md under "Migration Guide" section: ### Migration from @cawpea/coderef to docs-coderef
If you're upgrading from `@cawpea/coderef`, follow these steps:
1. Uninstall the old package:
\`\`\`bash
npm uninstall @cawpea/coderef
\`\`\`
2. Install the new package:
\`\`\`bash
npm install --save-dev docs-coderef
\`\`\`
3. Update your imports:
\`\`\`diff
- import { validate } from '@cawpea/coderef';
+ import { validate } from 'docs-coderef';
\`\`\`
4. Update CLI commands:
\`\`\`diff
- npx coderef validate
+ npx docs-coderef validate
\`\`\`
5. Rename config file:
\`\`\`bash
mv .coderefrc.json .docs-coderefrc.json
\`\`\`
6. Update package.json field:
\`\`\`diff
- "coderef": { ... }
+ "docs-coderef": { ... }
\`\`\`
7. Update environment variables:
\`\`\`diff
- CODEREF_VERBOSE=true
+ DOCS_CODEREF_VERBOSE=true
\`\`\`🔒 SecurityNo security concerns identified. 📊 Test CoverageThe PR updates tests to reflect the new naming conventions. However, please ensure all tests pass after fixing the issues above, particularly:
📝 DocumentationDocumentation is comprehensive and well-updated. Just needs the fix in ⚡ PerformanceNo performance impact. 🎯 Code QualityThe code quality remains consistent with the project's standards. All changes follow the established patterns. ConclusionThis is a well-executed package rename with thorough documentation. After addressing the 3 critical issues above (incorrect import, test file reference, and package-lock.json version), this PR will be ready to merge. Recommendation: Fix the critical issues, then approve and merge. |
Pull Request Review: Package Rename from @cawpea/coderef to docs-coderefThank you for this comprehensive package renaming PR! I've conducted a thorough review and here are my findings: ✅ Strengths
|
PR Review: Package Rename from
|
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 0.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Issue
closes #28