2.0.5 • Published 12 days ago

@blockly/create-package v2.0.5

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
12 days ago

@blockly/create-package Built on Blockly

A tool for creating a Blockly plugin or application based on a pre-existing template.

Creating a plugin

A plugin is a library designed to add functionality to Blockly. It is reusable and can be added to an application that uses Blockly. For more information about creating plugins in Blockly, see the developer documentation.

This script can be used to create a new Blockly plugin based on a template.

Usage

npx @blockly/create-package plugin my-plugin --type plugin
cd my-plugin
npm start

Available templates

--type field: A field template.

--type block: A block template.

--type theme: A theme template.

--type plugin: A generic plugin template. (Default)

Options

Run npx @blockly/create-package plugin --help to see the available options.

Adding TypeScript

npx @blockly/create-package plugin my-plugin --type plugin --typescript

Creating a new application

An application that uses Blockly is a standalone program, unlike a plugin. If you're just getting started with Blockly, you can create a new application based on our sample using this script. The app that will be generated contains basic infrastructure for running, building, testing, etc. that you can use even if you don't understand how to configure the related tool yet. When your needs outgrow the functionality provided by it, you can replace the provided configuration or tool with your own.

Usage

npx @blockly/create-package app hello-world
cd hello-world
npm start

See the generated README.md file after creation for more information.

Options

Run npx @blockly/create-package app --help to see the available options.

License

Apache 2.0

2.0.5

12 days ago

2.0.4

5 months ago

2.0.3

6 months ago

2.0.2

7 months ago

2.0.1

8 months ago

2.0.0

11 months ago

1.4.1

12 months ago

1.4.0

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

2 years ago

1.1.12

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.8

2 years ago

1.1.11

2 years ago

1.1.7

2 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago

0.20200422.7

4 years ago

0.20200422.5

4 years ago

0.20200422.4

4 years ago

0.20200422.3

4 years ago

0.20200422.1

4 years ago

0.20200422.2

4 years ago

0.20200422.0

4 years ago

0.20200407.3

4 years ago

0.20200407.4

4 years ago

0.20200407.1

4 years ago

0.20200407.2

4 years ago

0.20200407.0

4 years ago