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

0.3.60 • 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

41,224

Version

0.3.60

License

none

Unpacked Size

7.53 MB

Total Files

8

Last publish

Collaborators

  • mikewesthad
  • motzyball
  • juan.replit
  • ahulbert-replit
  • james-addison-replit
  • replitdstewart
  • ryanweingast
  • harryatreplit
  • theflowingsky
  • jonesit-replit
  • szymon_k
  • cdmistman
  • jackyzha0
  • jamesaustinreplit
  • lopezhoracio
  • bradymaddenreplit
  • ryantm
  • alexisreplit
  • ink404
  • brianpool
  • tobyho
  • brenoafb
  • masad-frost
  • lincolnreplit
  • stkenned
  • replitmatt
  • cbrewster
  • ltazmin_replit
  • moudy
  • schestakov
  • lhchavez
  • slmjkdbtl
  • lunaroyster