@replit/protocol
v0.4.8
Published
JavaScript bindings for the Replit protocol
Downloads
14,489
Maintainers
Keywords
Readme
Developing on Replit on Replit
- On your Replit on Replit Repl:
git clone https://github.com/replit/goval.git cd goval # checkout your branch with api protocol changes cd $REPL_HOME/goval/api/npm npm run build cd $REPL_HOME
- Change repl-it-web/package.json:
to"@replit/protocol": "^0.3.39",
"@replit/protocol": "link:./goval/api/npm",
Developing
- Change goval/api/types.proto
- In this directory:
npm run build
- Change repl-it-web/package.json:
to"@replit/protocol": "^0.3.39",
"@replit/protocol": "link:../goval/api/npm",
Publishing
After your .proto
changes are merged:
- create a new branch
- cd into
api/npm
npm --no-git-tag-version version <new-version>
- submit a pull request
- merged
- pull latest
main
- cd into
api/npm
npm login
if you're not authed (will need to be in our npm org)npm publish
- it will run a build
- you be asked for 2fa
- package will be published