Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export type { CliOptions } from './cli/types.js';
// Config
export type { RepomixConfigFile as RepomixConfig } from './config/configSchema.js';

// Execute action
export { executeAction } from './cli/cliRun.js';
Comment on lines +8 to +9
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

❓ Verification inconclusive

Consider exporting type information for executeAction.

Since this is a TypeScript project, it would be beneficial to export the type definition for executeAction to ensure type safety for library consumers.

Let's check if type definitions exist:


🏁 Script executed:

#!/bin/bash
# Search for type definitions of executeAction
ast-grep --pattern 'export type $name = $$$' ./cli/cliRun.ts
ast-grep --pattern 'type $name = $$$' ./cli/cliRun.ts
ast-grep --pattern 'interface $name { $$$}' ./cli/cliRun.ts

Length of output: 369


Action Required: Export Type Information for executeAction

The current export in src/index.ts re-exports executeAction from ./cli/cliRun.js, but our investigation did not locate any corresponding type definitions—our search for definitions in ./cli/cliRun.ts returned file not found errors. To improve type safety for consumers of this library, please consider one of the following:

  • Create and export a dedicated type definition (for example, in a cliRun.d.ts file),
  • Or add inline JSDoc/type annotations for executeAction in cliRun.js and update the exports accordingly.

Please verify that the consumers will receive accurate type information once these changes are applied.


// Init action
export { runInitAction } from './cli/actions/initAction.js';

Expand Down