Skip to content

feat: npm install -g readiness — files field, publishConfig, --version flag #286

@flyingrobots

Description

@flyingrobots

Summary

Make @neuroglyph/git-mind ready for npm install -g by adding:

  • files field to package.json (controls what gets published)
  • publishConfig: { "access": "public" } (required for scoped packages)
  • Fix exports — remove non-existent types entry
  • Add homepage and bugs fields
  • --version / -v flag to CLI
  • src/version.js — reads version from package.json
  • Export VERSION and NAME from public API

Acceptance Criteria

  • npm pack --dry-run shows only runtime files
  • git mind --version prints the version
  • VERSION and NAME exported from src/index.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions