Skip to content

Publish @spore-host/truffle-ts to npm (drop the git dependency) #28

Description

@scttfrdmn

spawn-ts consumes truffle-ts as a git dependency (git+https://github.com/spore-host/truffle-ts.git#v0.3.0), which required a CI/Pages workaround: git config url."https://github.com/".insteadOf "git@github.com:" before npm ci (npm normalizes the lockfile URL to git+ssh). Publishing to npm removes that friction for any consumer.

Work

  • truffle-ts: decide npm org/scope access for @spore-host; add a publish workflow (tag-triggered, npm provenance / --provenance); publish v0.3.0 (or next).
  • spawn-ts: flip the dependency from the git URL to a semver range (^0.3.0); remove the insteadOf rewrite steps from .github/workflows/ci.yml + pages.yml.

Acceptance

  • @spore-host/truffle-ts resolvable via npm install @spore-host/truffle-ts.
  • spawn-ts package.json uses a semver range; lockfile no longer has a git URL.
  • The git@github→HTTPS CI steps are gone and CI stays green.

Size: small. (Cross-repo; the publish half lives in truffle-ts.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ciBuild, tests, release automationarea: docsDocumentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions