Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

Publish your blocklet to the world

ArcBlock
2024-03-14 04:09
· edited

Publish to Blocklet Store#

  1. Register as a developer from Blocklet Store
  • Blocklet Store is decentralized
  • Arcblock provides 2 official Store: blocklet store and blocklet store(dev)
  • You can setup a self-hosted store refer to Host Blocklet Store
  • You need to apply for a developer first, after the administrator has approved, you can proceed to the next step
  1. Create a new access key
  • Use blocklet connect <store-url> command to create and access key from store
  1. Bundle your blocklet
  1. Upload your blocklet
  • Use blocklet upload to upload your blocklet bundle to store
  1. Login to the uploaded Blocklet Store, you can see the uploaded Blocklet in the "My Blocklet" page in Admin Dashboard
  2. The uploaded Blocklet is still in the "draft" status, click the "publish" button to publish

Publish to multiple stores#

  • Use blocklet connect <store-url> --profile <profile> to save access token of different stores
  • Use blocklet upload --profile <profile> to upload your blocklet bundle to multiple stores

Caveats#

If you need to publish your blocklet to multiple stores during the distribution workflow, and if your blocklet has dependency components, the recommended way to declare dependency is following:

  • Development: Set COMPONENT_STORE_URL="https://test.store.blocklet.dev" in your .env.local
  • Production: Set COMPONENT_STORE_URL in your github action workflow.




Sticker