Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 733 Bytes

DEVELOPMENT.md

File metadata and controls

37 lines (28 loc) · 733 Bytes

Development instruction for R2 Explorer

Build and publish Dashboard into Dev

cd packages/dashboard/
npm run build
wrangler pages publish --branch dev --project-name r2-explorer-dashboard dist/

Build and publish Dashboard into Production

cd packages/dashboard/
npm run build
wrangler pages publish --branch main --project-name r2-explorer-dashboard dist/

Publish create-r2-explorer package

Increase version in packages/create-r2-explorer/package.json

cd packages/create-r2-explorer/
npm run build
npm publish --access public

Manually publish worker

cd worker
export RELEASE_VERSION=v1.0.0
node config/preparePublish.js
npm run build
npm publish --access public