Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

A build-block npm script #1

@SofiaSousa

Description

@SofiaSousa

Last Cloud Blocks release (1.0.7) allows the upload of custom blocks via zip files.

Would be nice that generated blocks have a build-block script to create the zip file (which should include the build folder and package.json file at least).

My suggestion:

"build-block": "zip -r [block-name].zip build package.json"

"scripts": { 
  "build-block": "cd .. && zip -r [block-name]/[block-name].zip [block-name]/build [block-name]/package.json"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions