Skip to content

feat(WOR-TSK-203): implement configShow NAPI function - #114

Merged
miguelramos merged 10 commits into
mainfrom
feat/WOR-TSK-203-CONFIG-SHOW
Jan 5, 2026
Merged

feat(WOR-TSK-203): implement configShow NAPI function#114
miguelramos merged 10 commits into
mainfrom
feat/WOR-TSK-203-CONFIG-SHOW

Conversation

@miguelramos

Copy link
Copy Markdown
Member
  • Add discover_config_file async function for config file discovery
  • Add conversion functions from pkg config types to NAPI types
  • Implement config_show async function with parameter validation
  • Support all config sections: changeset, version, dependency, upgrade,
    changelog, audit, git, execute
  • Handle config file formats: JSON, TOML, YAML
  • Add TODO placeholder for configValidate (Story 7.3)

Sublime Git Bot added 9 commits January 5, 2026 12:19
- Add discover_config_file async function for config file discovery
- Add conversion functions from pkg config types to NAPI types
- Implement config_show async function with parameter validation
- Support all config sections: changeset, version, dependency, upgrade,
  changelog, audit, git, execute
- Handle config file formats: JSON, TOML, YAML
- Add TODO placeholder for configValidate (Story 7.3)
- Add config_show export in commands/mod.rs
- Re-export config_show in lib.rs for public API
- Update TODO comments to reflect Story 7.2 completion
- Add validation tests for root path and config path parameters
- Add format conversion tests for JSON, TOML, YAML
- Add type conversion tests for all config sections
- Add params builder tests for ConfigShowParams
- Add discovery tests for config file paths
- Add default values tests verifying pkg crate defaults
- Total: 34 new tests for config_show functionality
- Add configShow function export in binding.js
- Generate TypeScript definitions for ConfigShowParams,
  ConfigShowApiResponse, ConfigShowData and ConfigData types
- Include all configuration section types in binding.d.ts
- Import configShow from binding module
- Export configShow for public API
- Update module documentation with Story 7.2 reference
- Add Configuration section to Overview
- Add configShow to Core Functions table
- Add new Config Functions section with table
- Add detailed API documentation for configShow
- Include ConfigShowParams, ConfigShowData, ConfigData interfaces
- Add usage examples with basic and custom config path
- Update TypeScript Support section with config types
- Update configShow acceptance criteria checkbox to [x]
- Update version in main package.json
- Update versions in all npm platform packages
…dule

- Add #[allow(clippy::unwrap_used)] to permit unwrap() in tests
- Add #[allow(clippy::expect_used)] to permit expect() in tests
- Replace "".to_string() with String::new() per clippy::manual_string_new

This follows the same pattern used by other test modules (e.g., status_tests)
and fixes CI pipeline clippy errors.
@miguelramos
miguelramos merged commit f99e50c into main Jan 5, 2026
31 checks passed
@miguelramos
miguelramos deleted the feat/WOR-TSK-203-CONFIG-SHOW branch January 5, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ TYPE: Feature New feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant