Added
-
Init Command: New
devintern initcommand for easy project setup- Creates
.devintern-code/folder with project-specific configuration - Generates
.envfile for JIRA credentials - Creates
.env.sampletemplate with all configuration options - Creates
settings.jsonfor per-project settings - Automatic .gitignore Protection: Automatically adds
.devintern-code/.envand.devintern-code/.env.localto.gitignoreto prevent credential leaks
- Creates
-
Per-Project Settings: New
settings.jsonconfiguration file for project-specific behavior- Configure different PR status transitions for different JIRA projects
- Example:
{"projects": {"PROJ": {"prStatus": "In Review"}, "ABC": {"prStatus": "Code Review"}}} - Automatically extracts project key from task key (e.g., “PROJ-123” → “PROJ”)
- Per-project configuration takes precedence over global environment variables
-
Enhanced Environment Configuration: Improved configuration loading with priority order
- Custom path (via
--env-file) - Project-specific (
.devintern-code/.env) - NEW - Current working directory (
.env) - Home directory (
~/.env) - Tool installation directory
- Custom path (via
-
Comprehensive Test Suite: Added 29 unit tests for reliability
- Settings management tests (8 tests)
- CLI argument handling tests (21 tests)
- All tests organized in
tests/directory - Full TypeScript type coverage including tests
Changed
-
JIRA PR Status Configuration: Moved from environment variable to
settings.jsonJIRA_PR_STATUSenvironment variable deprecated in favor of per-project configuration- Each JIRA project can now have its own status workflow
- Removed
JIRA_PR_STATUSfrom.env.sampletemplate
-
CLI Architecture: Improved command-line argument handling
- Fixed issue where
initcommand conflicted with task key parsing - Task keys like “DISCO-123” now work correctly alongside subcommands
- Early detection of
initcommand to avoid Commander.js conflicts
- Fixed issue where
Dependencies
- Added
@types/bunfor better test type safety