npm.io
9.0.0 • Published 12h ago

@eeacms/volto-block-divider

Licence
MIT
Version
9.0.0
Deps
2
Size
69 kB
Vulns
0
Weekly
0
Stars
1

@eeacms/volto-block-divider

Releases Pipeline Coverage

Volto Divider Block

Features

Divider

Upgrade

Upgrading to 9.x

This version requires Volto 18 or Volto 19 and Node.js 22.

The block, its schema and the color picker keep the same API, so upgrading from 8.x on Volto 18 needs no code changes. The release adds Volto 19 support and moves the repository to the Volto 19 layout, where the published package lives in packages/volto-block-divider.

Breaking changes
  • Volto 17 is dropped. The package declares @plone/volto >=18.0.0 <20.0.0; stay on 8.x if the project runs Volto 17.
  • Node.js 22 or newer is required (engines.node >= 22), 8.x declared no engine.
  • Peer dependencies are declared (react, react-dom, react-intl, classnames, semantic-ui-react), so a project with different major versions gets an install warning instead of installing silently.
Upgrading to 5.x

This version requires: @plone/volto >= 16.0.0.alpha.46 (schemaEnhancer / addStyling).

Requirements

Backend
Frontend
  • Volto: @plone/volto >=18.0.0 <20.0.0
  • Node.js: >=22.0.0

Installation

  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "dependencies": {
        "@eeacms/volto-block-divider": "*"
    }

    and volto.config.js:

    const addons = ['@eeacms/volto-block-divider'];
  • If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:

    uvx cookieplone project
    cd project-title
  1. Install or update dependencies, then start the project:

    make install

    For a Cookieplone project, start the backend and frontend in separate terminals:

    make backend-start
    make frontend-start
  2. Go to http://localhost:3000

  3. Happy editing!

License

See LICENSE.md for details.

Funding

European Environment Agency (EU)

Keywords