Skip to content

Comments

Add Typescript/Node bindings for terrable#47

Draft
leo-petrucci wants to merge 1 commit intoterrable-dev:mainfrom
leo-petrucci:add-node-bindings
Draft

Add Typescript/Node bindings for terrable#47
leo-petrucci wants to merge 1 commit intoterrable-dev:mainfrom
leo-petrucci:add-node-bindings

Conversation

@leo-petrucci
Copy link

@leo-petrucci leo-petrucci commented Nov 15, 2024

This PR adds a Node monorepo setup to the original repo as well as a cli package. The CLI package contains a Typescript CLI that leverages the built binary to make the CLI installable and executable via NPM.

The idea is that instead of installing the CLI with Go (which requires extra setup) people would just be able to run npm install terrable and have it working.

To run locally:

  • build terrable go build -o packages/cli/terrable
  • link it locally npm link
  • run terrable offline

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.

1 participant