A public collection of Block Protocol blocks developed by HASH.
The blocks/ directory contains 22 blocks, including their source code, assets and licenses. See the block catalog for descriptions and links to published blocks.
These blocks were moved from hashintel/labs, retaining the blocks/<name> paths and package versions.
The imported packages depend on tooling from the original HASH monorepo. A standalone build requires the following setup:
- A root Yarn workspace and lockfile must be restored.
- The shared
@local/eslint,@local/tsconfigand@local/hash-isomorphic-utilspackages must be provided or replaced. - The Yarn patches referenced by the
embedandtablepackages must be restored.
These requirements already existed in Labs. Once the shared tooling is available, each block's package.json provides its development, build and serve scripts.
The repository uses HASH's shared PR checks and Renovate workflow. Scheduled dependency updates require access to the VAULT_STAGE_ADDR and CF_ACCESS_STAGE_CLIENT_ID organization variables, plus the CF_ACCESS_STAGE_CLIENT_SECRET and RENOVATE_TOKEN_ENC_KEY organization secrets. Pull requests validate the workflow and configuration without starting dependency updates.
Block publishing workflows must also be configured before publishing from this repository.
The blocks are dual-licensed under the MIT and Apache 2.0 licenses. Each block directory contains its license texts and notices.