Skip to content

Commit

Permalink
Merge pull request #6 from collective/upgrade_to_volto16
Browse files Browse the repository at this point in the history
Upgraded dependencies and babel config for volto 16
  • Loading branch information
pnicolli authored Oct 30, 2022
2 parents a57c83c + 13aabcb commit bfb43db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ A widget for [Volto](https://github.com/plone/volto) to have a block with subblo

To be used with mrs-developer, see [Volto docs](https://docs.voltocms.com/customizing/add-ons/) for further usage informations.

> If you are using Volto < 16, then use v1.2.3.
## Usage

This is meant to edit blocks with sub-blocks, where the sub-blocks are all of the same type.
Expand Down
6 changes: 3 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module.exports = function (api) {
api.cache(true);
const presets = ["razzle/babel"];
const presets = ['razzle'];
const plugins = [
[
"react-intl", // React Intl extractor, required for the whole i18n infrastructure to work
'react-intl', // React Intl extractor, required for the whole i18n infrastructure to work
{
messagesDir: "./build/messages/",
messagesDir: './build/messages/',
},
],
];
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"author": "Giulia Ghisini",
"license": "MIT",
"devDependencies": {
"@plone/scripts": "^2.0.0",
"release-it": "*"
},
"dependencies": {
"@plone/scripts": "^1.0.3",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1"
},
"peerDependencies": {
"@plone/volto": ">=14.0.0"
"@plone/volto": ">=16.0.0-alpha.38"
},
"scripts": {
"i18n": "rm -rf build/messages && NODE_ENV=production i18n -a",
Expand Down

0 comments on commit bfb43db

Please sign in to comment.