Skip to content

Fix the CLI's hardcoded version string — it doesn't match package.json #426

Description

@grantfox-oss

cli/open-audit-cli.ts hardcodes .version("1.0.0"). package.json's actual version field is "0.1.0". These are already out of sync today — running open-audit-cli --version reports a release that doesn't exist.

Scope: Read the version from package.json at build/run time instead of hardcoding it (e.g. importing the package.json version field, or injecting it at build time — whichever fits this project's existing build setup for the CLI).

Acceptance criteria:

open-audit-cli --version reports the same version as package.json
Bumping package.json's version updates the CLI's reported version with no other code change

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions