This document is intended to help Retool engineers contribute to this project.
To build the package:
npm run build:npm
Reference these docs for importing this as an NPM package in another repo/folder locally to develop against your work.
I had good luck using nwb to quickly spin up a test vanilla JS app as a client for embedding a retool app. I hit the backend server in our (internal) embed debug repo to generate an embed URL and used that in my test app.
npm run test
- Make sure you're a member of the
@tryretool
organization - Bump version with
npm version [major|minor|patch]
- Build the latest code and sync relevant files using
npm run build:npm
. This will build the latest version in/dst
cd dst
npm login
npm publish