Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 456 Bytes

PUBLISH.md

File metadata and controls

12 lines (11 loc) · 456 Bytes

Publishing/Tagging new version

  • Bump version
  • pnpm i
  • pnpm build-widget
  • BUNDLE_NAME=main-$(node -e "console.log(require('./package.json').version);") && cp ./public/$BUNDLE_NAME.js ./public/main-v3.js
  • Publish

Scoping Tailwind Preflight CSS

  • cp node_modules/tailwindcss/lib/css/preflight.css ./preflight.stylus
  • Scope entire file with #jupiter-terminal
  • npx stylus ./preflight.stylus -o ./public/scoped-preflight.css
  • rm ./preflight.stylus