@replit/protocol
TypeScript icon, indicating that this package has built-in type declarations

0.4.6 • Public • Published

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:
    "@replit/protocol": "^0.3.39",
    
    to
    "@replit/protocol": "link:./goval/api/npm",
    

Developing

  • Change goval/api/types.proto
  • In this directory:
    • npm run build
  • Change repl-it-web/package.json:
    "@replit/protocol": "^0.3.39",
    
    to
    "@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

Readme

Keywords

none

Package Sidebar

Install

npm i @replit/protocol

Weekly Downloads

5,743

Version

0.4.6

License

none

Unpacked Size

7.6 MB

Total Files

8

Last publish

Collaborators

  • sareini
  • krishatreplit
  • mikewesthad
  • replitdstewart
  • ryanweingast
  • theflowingsky
  • jonesit-replit
  • szymon_k
  • cdmistman
  • jackyzha0
  • jamesaustinreplit
  • lopezhoracio
  • bradymaddenreplit
  • ryantm
  • alexisreplit
  • ink404
  • brianpool
  • tobyho
  • brenoafb
  • masad-frost
  • stkenned
  • cbrewster
  • ltazmin_replit
  • moudy
  • lhchavez