This directory is where Blockly plugins are
authored and stored. These plugin packages are released to npm under the
@blockly
scope.
A full list of published packages can be found by searching for the @blockly
tag on npm.
@blockly/field-date
: A date picker field that uses the
Google Closure date picker.@blockly/field-slider
: A slider field.@blockly/block-plus-minus
: A group of blocks that
replace the built-in mutator UI with a +/- based UI.@blockly/block-test
: A group of Blockly test blocks.@blockly/create-package
: A tool for creating a Blockly
plugin based on a pre-existing template.@blockly/eslint-config
: ESlint configuration used by
Blockly plugins.@blockly/dev-tool
: A library of common utilities for Blockly
plugin development.@blockly/dev-scripts
: Configuration and scripts for Blockly
plugins.@blockly/plugin-workspace-search
: A plugin that adds
workspace search support.@blockly/plugin-typed-variable-modal
: A plugin to
create a modal for creating typed variables.Lerna is being used to manage all the packages released
under the @blockly
npm scope.
When you first check out the repo, or if additional packages are added, run
npm run boot
from the project root to bootstrap all packages.
Once you’ve bootstrapped the packages, you no longer need to run npm install
in each of the packages.