Skip to content

Conversation

@josephadamsdev
Copy link

Summary

This PR adds a postinstall script that runs the build after npm install, ensuring the CLI (lib/bin.js) is available immediately after a fresh clone.

Related Issue

Fixes #1668

Changes Made

  • Added "postinstall": "npm run build" to package.json scripts

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=105917501

josephadamsdev and others added 2 commits January 9, 2026 00:09
This ensures the CLI is usable immediately after a fresh clone and npm install,
without requiring contributors to manually run the build step.

Fixes typicode#1668

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=105917501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI unusable in fresh clone: bin points to lib/bin.js before build

1 participant