@eeacms/volto-group-block 4.3.7 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ const defaultBabel = require('@plone/volto/babel');
2
2
 
3
3
  function applyDefault(api) {
4
4
  const voltoBabel = defaultBabel(api);
5
- voltoBabel.plugins.push('@babel/plugin-transform-modules-commonjs', 'transform-class-properties', 'istanbul');
5
+ voltoBabel.plugins.push('istanbul');
6
6
  return voltoBabel;
7
7
  }
8
8
 
@@ -0,0 +1 @@
1
+ module.exports = require('@plone/volto/babel');
@@ -0,0 +1,46 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ const projectRootPath = fs.realpathSync('./project'); // __dirname
5
+ const packageJson = require(path.join(projectRootPath, 'package.json'));
6
+ const jsConfig = require(path.join(projectRootPath, 'jsconfig.json')).compilerOptions;
7
+
8
+ const pathsConfig = jsConfig.paths;
9
+
10
+ let voltoPath = path.join(projectRootPath, 'node_modules/@plone/volto');
11
+
12
+ Object.keys(pathsConfig).forEach(pkg => {
13
+ if (pkg === '@plone/volto') {
14
+ voltoPath = `./${jsConfig.baseUrl}/${pathsConfig[pkg][0]}`;
15
+ }
16
+ });
17
+ const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`);
18
+ const reg = new AddonConfigurationRegistry(projectRootPath);
19
+
20
+ // Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
21
+ const addonAliases = Object.keys(reg.packages).map(o => [
22
+ o,
23
+ reg.packages[o].modulePath,
24
+ ]);
25
+
26
+
27
+ module.exports = {
28
+ extends: `${projectRootPath}/node_modules/@plone/volto/.eslintrc`,
29
+ settings: {
30
+ 'import/resolver': {
31
+ alias: {
32
+ map: [
33
+ ['@plone/volto', '@plone/volto/src'],
34
+ ...addonAliases,
35
+ ['@package', `${__dirname}/src`],
36
+ ['~', `${__dirname}/src`],
37
+ ],
38
+ extensions: ['.js', '.jsx', '.json'],
39
+ },
40
+ 'babel-plugin-root-import': {
41
+ rootPathSuffix: 'src',
42
+ },
43
+ },
44
+ },
45
+ };
46
+
package/CHANGELOG.md CHANGED
@@ -4,231 +4,197 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- #### [4.3.7](https://github.com/eea/volto-group-block/compare/4.3.6...4.3.7)
7
+ ### [5.0.0](https://github.com/eea/volto-group-block/compare/4.3.8...5.0.0) - 27 October 2022
8
8
 
9
- - fix(countTextInBlocks): Don't count text if maxChars is not set - refs #153110 [`230298a`](https://github.com/eea/volto-group-block/commit/230298a23f9f67d76721b201cafdfd60c8be0f17)
9
+ #### :nail_care: Enhancements
10
10
 
11
- #### [4.3.6](https://github.com/eea/volto-group-block/compare/4.3.5...4.3.6)
11
+ - refactor: Latest volto compatibility [Miu Razvan - [`f4d7a93`](https://github.com/eea/volto-group-block/commit/f4d7a933c166d5501a5e147fdd6664840a67047e)]
12
12
 
13
- > 30 June 2022
13
+ #### :hammer_and_wrench: Others
14
14
 
15
- - develop [`#20`](https://github.com/eea/volto-group-block/pull/20)
15
+ - Prepare 5.0.0 release [Miu Razvan - [`88c0ddd`](https://github.com/eea/volto-group-block/commit/88c0ddd569aeda7ee34d1eadea6a087f4e7dc257)]
16
+ - Update dependencies [Alin Voinea - [`c8405af`](https://github.com/eea/volto-group-block/commit/c8405afb830cdf62e7877bf30b619933519e1d71)]
17
+ ### [4.3.8](https://github.com/eea/volto-group-block/compare/4.3.7...4.3.8) - 26 August 2022
16
18
 
17
- #### [4.3.5](https://github.com/eea/volto-group-block/compare/4.3.4...4.3.5)
19
+ ### [4.3.7](https://github.com/eea/volto-group-block/compare/4.3.6...4.3.7) - 22 August 2022
18
20
 
19
- > 4 January 2022
21
+ #### :bug: Bug Fixes
20
22
 
21
- - Fix cypress tests when using with volto-slate [`#18`](https://github.com/eea/volto-group-block/pull/18)
23
+ - fix(countTextInBlocks): Don't count text if maxChars is not set - refs #153110 [Alin Voinea - [`230298a`](https://github.com/eea/volto-group-block/commit/230298a23f9f67d76721b201cafdfd60c8be0f17)]
22
24
 
23
- #### [4.3.4](https://github.com/eea/volto-group-block/compare/4.3.3...4.3.4)
25
+ ### [4.3.6](https://github.com/eea/volto-group-block/compare/4.3.5...4.3.6) - 30 June 2022
24
26
 
25
- > 3 January 2022
27
+ #### :hammer_and_wrench: Others
26
28
 
27
- - Release [`#17`](https://github.com/eea/volto-group-block/pull/17)
28
- - add cy tests [`#16`](https://github.com/eea/volto-group-block/pull/16)
29
+ ### [4.3.5](https://github.com/eea/volto-group-block/compare/4.3.4...4.3.5) - 4 January 2022
29
30
 
30
- #### [4.3.3](https://github.com/eea/volto-group-block/compare/4.3.2...4.3.3)
31
+ ### [4.3.4](https://github.com/eea/volto-group-block/compare/4.3.3...4.3.4) - 3 January 2022
31
32
 
32
- > 18 December 2021
33
+ ### [4.3.3](https://github.com/eea/volto-group-block/compare/4.3.2...4.3.3) - 18 December 2021
33
34
 
34
- - Add SonarQube badges [`#15`](https://github.com/eea/volto-group-block/pull/15)
35
+ #### :hammer_and_wrench: Others
35
36
 
36
- #### [4.3.2](https://github.com/eea/volto-group-block/compare/4.3.1...4.3.2)
37
+ ### [4.3.2](https://github.com/eea/volto-group-block/compare/4.3.1...4.3.2) - 10 December 2021
37
38
 
38
- > 10 December 2021
39
+ #### :hammer_and_wrench: Others
39
40
 
40
- - Develop [`#14`](https://github.com/eea/volto-group-block/pull/14)
41
- - Correct Cypress tests [`#13`](https://github.com/eea/volto-group-block/pull/13)
42
- - Refs #142010 - Optimize Volto-addons gitflow pipelines [`bc36cf5`](https://github.com/eea/volto-group-block/commit/bc36cf58c39e2b43c2fbf5189df6ddefc1260857)
41
+ - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`bc36cf5`](https://github.com/eea/volto-group-block/commit/bc36cf58c39e2b43c2fbf5189df6ddefc1260857)]
42
+ ### [4.3.1](https://github.com/eea/volto-group-block/compare/4.3.0...4.3.1) - 11 October 2021
43
43
 
44
- #### [4.3.1](https://github.com/eea/volto-group-block/compare/4.3.0...4.3.1)
44
+ #### :hammer_and_wrench: Others
45
45
 
46
- > 11 October 2021
46
+ ### [4.3.0](https://github.com/eea/volto-group-block/compare/4.2.3...4.3.0) - 24 June 2021
47
47
 
48
- - Possibility to ignore spaces with maxChars [`#11`](https://github.com/eea/volto-group-block/pull/11)
49
- - No space count [`#10`](https://github.com/eea/volto-group-block/pull/10)
48
+ #### :hammer_and_wrench: Others
50
49
 
51
- #### [4.3.0](https://github.com/eea/volto-group-block/compare/4.2.3...4.3.0)
50
+ - Show help icon only if block instructions differ from section instructions [Alin Voinea - [`a4ca4e5`](https://github.com/eea/volto-group-block/commit/a4ca4e58968dcfb947072a255c8f797df7977852)]
51
+ ### [4.2.3](https://github.com/eea/volto-group-block/compare/4.2.2...4.2.3) - 27 May 2021
52
52
 
53
- > 24 June 2021
53
+ ### [4.2.2](https://github.com/eea/volto-group-block/compare/4.2.1...4.2.2) - 14 May 2021
54
54
 
55
- - Refactor counter to use CSS class instead of inline style [`#9`](https://github.com/eea/volto-group-block/pull/9)
56
- - Show help icon only if block instructions differ from section instructions [`a4ca4e5`](https://github.com/eea/volto-group-block/commit/a4ca4e58968dcfb947072a255c8f797df7977852)
55
+ ### [4.2.1](https://github.com/eea/volto-group-block/compare/4.2.0...4.2.1) - 12 April 2021
57
56
 
58
- #### [4.2.3](https://github.com/eea/volto-group-block/compare/4.2.2...4.2.3)
57
+ #### :hammer_and_wrench: Others
59
58
 
60
- > 27 May 2021
59
+ - Release 4.2.1 [Alin Voinea - [`9742085`](https://github.com/eea/volto-group-block/commit/974208542a7b8b0a77b4f6a9af9884ffb82b85b7)]
60
+ - Fix onChangeField for inner blocks/metadata [Alin Voinea - [`80cf9c2`](https://github.com/eea/volto-group-block/commit/80cf9c2c3f7da6d03982c68a82eb8132616a08eb)]
61
+ ### [4.2.0](https://github.com/eea/volto-group-block/compare/4.1.4...4.2.0) - 7 April 2021
61
62
 
62
- - Cypress coverage [`#8`](https://github.com/eea/volto-group-block/pull/8)
63
+ #### :hammer_and_wrench: Others
63
64
 
64
- #### [4.2.2](https://github.com/eea/volto-group-block/compare/4.2.1...4.2.2)
65
+ - Release 4.2.0 [Alin Voinea - [`a33bad6`](https://github.com/eea/volto-group-block/commit/a33bad68af278e94376e5a68e39b82a0a92dd513)]
66
+ - Add support for onInsertBlock with BlockChooser [Alin Voinea - [`020ee19`](https://github.com/eea/volto-group-block/commit/020ee19929005733fcaff4a1786f5210c8a5421e)]
67
+ - Revert "Add support for newId returned by onMutateBlock" [Alin Voinea - [`c53bc1b`](https://github.com/eea/volto-group-block/commit/c53bc1b1986f1d67ed5a6e21a53fafeed81eb068)]
68
+ - Add support for newId returned by onMutateBlock [Alin Voinea - [`94740c6`](https://github.com/eea/volto-group-block/commit/94740c671faf84fd00adb228c0407ea5602d0739)]
69
+ ### [4.1.4](https://github.com/eea/volto-group-block/compare/4.1.3...4.1.4) - 5 April 2021
65
70
 
66
- > 14 May 2021
71
+ #### :hammer_and_wrench: Others
67
72
 
73
+ - Release 4.1.4 [Alin Voinea - [`16550db`](https://github.com/eea/volto-group-block/commit/16550db572895b525559888dc8a050ef9a310e06)]
74
+ - Add fixedLayout settings [Alin Voinea - [`8c3936c`](https://github.com/eea/volto-group-block/commit/8c3936c4b210a32511d2171be40d297a1e761bb1)]
75
+ - Fix block propType [Alin Voinea - [`d8abe50`](https://github.com/eea/volto-group-block/commit/d8abe50ae09a8c4edddf7a15f86063c33f032b3f)]
76
+ ### [4.1.3](https://github.com/eea/volto-group-block/compare/4.1.2...4.1.3) - 30 March 2021
68
77
 
69
- #### [4.2.1](https://github.com/eea/volto-group-block/compare/4.2.0...4.2.1)
78
+ #### :hammer_and_wrench: Others
70
79
 
71
- > 12 April 2021
80
+ - Release 4.1.3 [Alin Voinea - [`3bddac3`](https://github.com/eea/volto-group-block/commit/3bddac317acc290b7759315223fa6a1ad3689aaf)]
81
+ - Fix first selecting an inner block SidebarPortal [Alin Voinea - [`77ae916`](https://github.com/eea/volto-group-block/commit/77ae9160281447554b579f241a93dff767f59e60)]
82
+ ### [4.1.2](https://github.com/eea/volto-group-block/compare/4.1.1...4.1.2) - 29 March 2021
72
83
 
73
- - Release 4.2.1 [`9742085`](https://github.com/eea/volto-group-block/commit/974208542a7b8b0a77b4f6a9af9884ffb82b85b7)
74
- - Fix onChangeField for inner blocks/metadata [`80cf9c2`](https://github.com/eea/volto-group-block/commit/80cf9c2c3f7da6d03982c68a82eb8132616a08eb)
84
+ #### :hammer_and_wrench: Others
75
85
 
76
- #### [4.2.0](https://github.com/eea/volto-group-block/compare/4.1.4...4.2.0)
86
+ - Release 4.1.2 [Alin Voinea - [`5d23d46`](https://github.com/eea/volto-group-block/commit/5d23d464ea32869185c6e515c17070f623cfae61)]
87
+ - Update docs [Alin Voinea - [`6dde4e0`](https://github.com/eea/volto-group-block/commit/6dde4e0fb9bb3196fa694b9a9d0401f204408757)]
88
+ - Show instructions button when instructions available [Alin Voinea - [`02ba2ac`](https://github.com/eea/volto-group-block/commit/02ba2ac520f594ac16da7a2e0ffac6debe505251)]
89
+ ### [4.1.1](https://github.com/eea/volto-group-block/compare/4.1.0...4.1.1) - 26 March 2021
77
90
 
78
- > 7 April 2021
91
+ #### :hammer_and_wrench: Others
79
92
 
80
- - Release 4.2.0 [`a33bad6`](https://github.com/eea/volto-group-block/commit/a33bad68af278e94376e5a68e39b82a0a92dd513)
81
- - Add support for onInsertBlock with BlockChooser [`020ee19`](https://github.com/eea/volto-group-block/commit/020ee19929005733fcaff4a1786f5210c8a5421e)
82
- - Revert "Add support for newId returned by onMutateBlock" [`c53bc1b`](https://github.com/eea/volto-group-block/commit/c53bc1b1986f1d67ed5a6e21a53fafeed81eb068)
83
- - Add support for newId returned by onMutateBlock [`94740c6`](https://github.com/eea/volto-group-block/commit/94740c671faf84fd00adb228c0407ea5602d0739)
93
+ - Release 4.1.1 [Alin Voinea - [`22df819`](https://github.com/eea/volto-group-block/commit/22df819680e66849f5b41bc004103aefb98494e0)]
94
+ - Fix delete button visibility on Section group block [Alin Voinea - [`514df57`](https://github.com/eea/volto-group-block/commit/514df57ff155f04f73639413f7458ee8a03d877d)]
95
+ ### [4.1.0](https://github.com/eea/volto-group-block/compare/4.0.1...4.1.0) - 24 March 2021
84
96
 
85
- #### [4.1.4](https://github.com/eea/volto-group-block/compare/4.1.3...4.1.4)
97
+ #### :hammer_and_wrench: Others
86
98
 
87
- > 5 April 2021
99
+ - Release 4.1.0 [Alin Voinea - [`7dbcd32`](https://github.com/eea/volto-group-block/commit/7dbcd32ff498abc3cefbc70b947cfa93dccc5488)]
100
+ - Allow editing section title and HTML tag in edit mode [Alin Voinea - [`286cb0b`](https://github.com/eea/volto-group-block/commit/286cb0bc9dd94da07d51d6608cb2f0e3a6dd56fd)]
101
+ - Fix eslint and stylelint [Alin Voinea - [`fd7738f`](https://github.com/eea/volto-group-block/commit/fd7738f16120ea013ac699b551d51061be12a2d6)]
102
+ - Make Section block more visible and selectable within Edit form [Alin Voinea - [`4a368b6`](https://github.com/eea/volto-group-block/commit/4a368b6158d753cf8545452ff921c26553da3b2b)]
103
+ ### [4.0.1](https://github.com/eea/volto-group-block/compare/4.0.0...4.0.1) - 24 March 2021
88
104
 
89
- - Release 4.1.4 [`16550db`](https://github.com/eea/volto-group-block/commit/16550db572895b525559888dc8a050ef9a310e06)
90
- - Add fixedLayout settings [`8c3936c`](https://github.com/eea/volto-group-block/commit/8c3936c4b210a32511d2171be40d297a1e761bb1)
91
- - Fix block propType [`d8abe50`](https://github.com/eea/volto-group-block/commit/d8abe50ae09a8c4edddf7a15f86063c33f032b3f)
105
+ #### :hammer_and_wrench: Others
92
106
 
93
- #### [4.1.3](https://github.com/eea/volto-group-block/compare/4.1.2...4.1.3)
107
+ - Release 4.0.1 [Alin Voinea - [`e24241a`](https://github.com/eea/volto-group-block/commit/e24241a72028afbfec9aa445325bed820adf5d9b)]
108
+ - Display group block instructions within sidebar [Alin Voinea - [`2ac0cce`](https://github.com/eea/volto-group-block/commit/2ac0cce488dda671ba77151853a20168055954de)]
109
+ ## [4.0.0](https://github.com/eea/volto-group-block/compare/3.0.0...4.0.0) - 23 March 2021
94
110
 
95
- > 30 March 2021
111
+ #### :hammer_and_wrench: Others
96
112
 
97
- - Release 4.1.3 [`3bddac3`](https://github.com/eea/volto-group-block/commit/3bddac317acc290b7759315223fa6a1ad3689aaf)
98
- - Fix first selecting an inner block SidebarPortal [`77ae916`](https://github.com/eea/volto-group-block/commit/77ae9160281447554b579f241a93dff767f59e60)
113
+ - Release 4.0.0 [Alin Voinea - [`185b248`](https://github.com/eea/volto-group-block/commit/185b248410daf5438cf7ceb8ace311e1aed3e73a)]
114
+ - Better icon for groups block [Alin Voinea - [`b570fe0`](https://github.com/eea/volto-group-block/commit/b570fe082c2d910e70598a56b3d209e4d72e121b)]
115
+ - Fix stylelint [Alin Voinea - [`06aba53`](https://github.com/eea/volto-group-block/commit/06aba53f82207088b1bb62d192b955a699ca8a0f)]
116
+ - Add possibility to disable buttons inside group block [Alin Voinea - [`fc21b15`](https://github.com/eea/volto-group-block/commit/fc21b1509d30c00f975169269f8f19e451e3f3f1)]
117
+ - Custom Edit Block Wrapper [Alin Voinea - [`5b83746`](https://github.com/eea/volto-group-block/commit/5b83746282692f22e8866a6faab10f3c8b9c08bd)]
118
+ ## [3.0.0](https://github.com/eea/volto-group-block/compare/2.0.0...3.0.0) - 8 March 2021
99
119
 
100
- #### [4.1.2](https://github.com/eea/volto-group-block/compare/4.1.1...4.1.2)
120
+ #### :hammer_and_wrench: Others
101
121
 
102
- > 29 March 2021
122
+ - Release 3.0.0 [Alin Voinea - [`a83216e`](https://github.com/eea/volto-group-block/commit/a83216ed496b3a14ea49fd9697cd50ac64866092)]
123
+ - Cleanup Jenkinsfile DEPENDENCIES [Alin Voinea - [`9d2a5d0`](https://github.com/eea/volto-group-block/commit/9d2a5d04308ecef93ca2682d928d0919b0f861ea)]
124
+ - Cosmetics [Alin Voinea - [`03d6ed8`](https://github.com/eea/volto-group-block/commit/03d6ed8cbb796bacef3b3b78a1cee4114874033c)]
125
+ - Fix focus management [Alin Voinea - [`35327d7`](https://github.com/eea/volto-group-block/commit/35327d7b457beeed15b7129541bb1665cab4586b)]
126
+ - Change imports from volto core [Alin Voinea - [`d1dcc14`](https://github.com/eea/volto-group-block/commit/d1dcc14116fa408731d545d45d01669a06563b46)]
127
+ ## [2.0.0](https://github.com/eea/volto-group-block/compare/1.0.3...2.0.0) - 28 February 2021
103
128
 
104
- - Release 4.1.2 [`5d23d46`](https://github.com/eea/volto-group-block/commit/5d23d464ea32869185c6e515c17070f623cfae61)
105
- - Update docs [`6dde4e0`](https://github.com/eea/volto-group-block/commit/6dde4e0fb9bb3196fa694b9a9d0401f204408757)
106
- - Show instructions button when instructions available [`02ba2ac`](https://github.com/eea/volto-group-block/commit/02ba2ac520f594ac16da7a2e0ffac6debe505251)
129
+ #### :hammer_and_wrench: Others
107
130
 
108
- #### [4.1.1](https://github.com/eea/volto-group-block/compare/4.1.0...4.1.1)
131
+ - Release 2.0.0 [Alin Voinea - [`0ddb88c`](https://github.com/eea/volto-group-block/commit/0ddb88cd34e9bb7a623c3ce86662048845781e72)]
132
+ - Volto 12 upgrade: ~/config -> @plone/volto/registry [Alin Voinea - [`3153769`](https://github.com/eea/volto-group-block/commit/3153769d8d87ede91321a90b77d258beed50b647)]
133
+ ### [1.0.3](https://github.com/eea/volto-group-block/compare/1.0.2...1.0.3) - 14 January 2021
109
134
 
110
- > 26 March 2021
135
+ #### :hammer_and_wrench: Others
111
136
 
112
- - Release 4.1.1 [`22df819`](https://github.com/eea/volto-group-block/commit/22df819680e66849f5b41bc004103aefb98494e0)
113
- - Fix delete button visibility on Section group block [`514df57`](https://github.com/eea/volto-group-block/commit/514df57ff155f04f73639413f7458ee8a03d877d)
137
+ - Release 1.0.3 [Alin Voinea - [`90986ff`](https://github.com/eea/volto-group-block/commit/90986ff6ec3dc8fe869477d404d9aa89d9ad19ba)]
138
+ - made counter work also for text inside columns and accordions, even nest [Alex Medesan - [`b3c0c16`](https://github.com/eea/volto-group-block/commit/b3c0c1651bb85b5252afe204107852aad0ef500c)]
139
+ - fix adding new blocks [Alex Medesan - [`ec3a37a`](https://github.com/eea/volto-group-block/commit/ec3a37a153106acec64e28e116c6f96cef00ce03)]
140
+ ### [1.0.2](https://github.com/eea/volto-group-block/compare/1.0.1...1.0.2) - 5 January 2021
114
141
 
115
- #### [4.1.0](https://github.com/eea/volto-group-block/compare/4.0.1...4.1.0)
142
+ #### :hammer_and_wrench: Others
116
143
 
117
- > 24 March 2021
144
+ - Release 1.0.2 [Alin Voinea - [`4aa34c3`](https://github.com/eea/volto-group-block/commit/4aa34c374fb1520d6f83a430e2156271ca81847a)]
145
+ - fixed count values from child groups with text [Alex Medesan - [`5151e33`](https://github.com/eea/volto-group-block/commit/5151e33455d504660b8b16eb9f7fbf1fbd7a5aff)]
146
+ - fixed counter for new props schema [Alex Medesan - [`6005d82`](https://github.com/eea/volto-group-block/commit/6005d82a7191a88efab6be7b0909d7287f1534a0)]
147
+ ### [1.0.1](https://github.com/eea/volto-group-block/compare/1.0.0...1.0.1) - 11 December 2020
118
148
 
119
- - Release 4.1.0 [`7dbcd32`](https://github.com/eea/volto-group-block/commit/7dbcd32ff498abc3cefbc70b947cfa93dccc5488)
120
- - Allow editing section title and HTML tag in edit mode [`286cb0b`](https://github.com/eea/volto-group-block/commit/286cb0bc9dd94da07d51d6608cb2f0e3a6dd56fd)
121
- - Fix eslint and stylelint [`fd7738f`](https://github.com/eea/volto-group-block/commit/fd7738f16120ea013ac699b551d51061be12a2d6)
122
- - Make Section block more visible and selectable within Edit form [`4a368b6`](https://github.com/eea/volto-group-block/commit/4a368b6158d753cf8545452ff921c26553da3b2b)
149
+ #### :hammer_and_wrench: Others
123
150
 
124
- #### [4.0.1](https://github.com/eea/volto-group-block/compare/4.0.0...4.0.1)
151
+ - Release 1.0.1 [Alin Voinea - [`06a5b74`](https://github.com/eea/volto-group-block/commit/06a5b74f65f0015665b3f3ba94d0f59ab82ba792)]
152
+ - Release to npm by default [Alin Voinea - [`a499afa`](https://github.com/eea/volto-group-block/commit/a499afa63ca80b73c3d462e619af701c187e92ce)]
153
+ - Fix docs about install commands [Alin Voinea - [`460c0d2`](https://github.com/eea/volto-group-block/commit/460c0d21ed0896eba720d59e18457e0118161057)]
154
+ ## [1.0.0](https://github.com/eea/volto-group-block/compare/0.1.3...1.0.0) - 16 November 2020
125
155
 
126
- > 24 March 2021
156
+ #### :hammer_and_wrench: Others
127
157
 
128
- - Release 4.0.1 [`e24241a`](https://github.com/eea/volto-group-block/commit/e24241a72028afbfec9aa445325bed820adf5d9b)
129
- - Display group block instructions within sidebar [`2ac0cce`](https://github.com/eea/volto-group-block/commit/2ac0cce488dda671ba77151853a20168055954de)
158
+ - Release 1.0.0 [Alin Voinea - [`b6ef873`](https://github.com/eea/volto-group-block/commit/b6ef873cb6f61e17db66fdd4de1d9d4902a66fc6)]
159
+ - Update package meta info [Alin Voinea - [`143b7d4`](https://github.com/eea/volto-group-block/commit/143b7d44438d7afa5e346a9d21a85352df4e925f)]
160
+ - Add Jenkinkins pipeline [Alin Voinea - [`866a4e1`](https://github.com/eea/volto-group-block/commit/866a4e14ea1eb8f5adb01222e576e5ab6dc73a70)]
161
+ ### [0.1.3](https://github.com/eea/volto-group-block/compare/0.1.2...0.1.3) - 9 November 2020
130
162
 
131
- ### [4.0.0](https://github.com/eea/volto-group-block/compare/3.0.0...4.0.0)
163
+ #### :hammer_and_wrench: Others
132
164
 
133
- > 23 March 2021
165
+ - Release 0.1.3 [Alin Voinea - [`1bdc665`](https://github.com/eea/volto-group-block/commit/1bdc6658918057c13e1a39d8e04fc177d9cf724f)]
166
+ - Update docs [Alin Voinea - [`832e15d`](https://github.com/eea/volto-group-block/commit/832e15d9257edf8aecb5e4106ac3f67630bad8fe)]
167
+ - Prepare release [Alin Voinea - [`5211fa0`](https://github.com/eea/volto-group-block/commit/5211fa07a4667631b351b1335932bb5d5755bb55)]
168
+ - Cosmetics [Alin Voinea - [`38dd486`](https://github.com/eea/volto-group-block/commit/38dd4861006798d3b2fa23a7dbbccff99466f9ec)]
169
+ - minor fixes and checks [Alex Medesan - [`e4a5c66`](https://github.com/eea/volto-group-block/commit/e4a5c6664a5c8b93f6d12120172956b11fc5c1e1)]
170
+ - implemented character count on groups [Alex Medesan - [`b6d8f1d`](https://github.com/eea/volto-group-block/commit/b6d8f1d3c57f44b2965787af5aeb0e41f9c3e0b6)]
171
+ ### [0.1.2](https://github.com/eea/volto-group-block/compare/0.1.1...0.1.2) - 6 October 2020
134
172
 
135
- - Release 4.0.0 [`185b248`](https://github.com/eea/volto-group-block/commit/185b248410daf5438cf7ceb8ace311e1aed3e73a)
136
- - Better icon for groups block [`b570fe0`](https://github.com/eea/volto-group-block/commit/b570fe082c2d910e70598a56b3d209e4d72e121b)
137
- - Fix stylelint [`06aba53`](https://github.com/eea/volto-group-block/commit/06aba53f82207088b1bb62d192b955a699ca8a0f)
138
- - Add possibility to disable buttons inside group block [`fc21b15`](https://github.com/eea/volto-group-block/commit/fc21b1509d30c00f975169269f8f19e451e3f3f1)
139
- - Custom Edit Block Wrapper [`5b83746`](https://github.com/eea/volto-group-block/commit/5b83746282692f22e8866a6faab10f3c8b9c08bd)
173
+ #### :hammer_and_wrench: Others
140
174
 
141
- ### [3.0.0](https://github.com/eea/volto-group-block/compare/2.0.0...3.0.0)
175
+ - Propagate parent metadata properties within inner form view [Alin Voinea - [`0620b99`](https://github.com/eea/volto-group-block/commit/0620b9933d1e1a38dacfee3d2f0c28556368db9e)]
176
+ - Propagate parent metadata properties within inner forms [Alin Voinea - [`76e2cc2`](https://github.com/eea/volto-group-block/commit/76e2cc23d11b043c6a10f98987b928b91e327709)]
177
+ ### [0.1.1](https://github.com/eea/volto-group-block/compare/0.1.0...0.1.1) - 29 September 2020
142
178
 
143
- > 8 March 2021
179
+ #### :hammer_and_wrench: Others
144
180
 
145
- - Drop volto-blocks-form dependency [`#6`](https://github.com/eea/volto-group-block/pull/6)
146
- - Release 3.0.0 [`a83216e`](https://github.com/eea/volto-group-block/commit/a83216ed496b3a14ea49fd9697cd50ac64866092)
147
- - Cosmetics [`03d6ed8`](https://github.com/eea/volto-group-block/commit/03d6ed8cbb796bacef3b3b78a1cee4114874033c)
148
- - Fix focus management [`35327d7`](https://github.com/eea/volto-group-block/commit/35327d7b457beeed15b7129541bb1665cab4586b)
149
- - Change imports from volto core [`d1dcc14`](https://github.com/eea/volto-group-block/commit/d1dcc14116fa408731d545d45d01669a06563b46)
181
+ - Render group of blocks as section, article, etc. [Alin Voinea - [`765b513`](https://github.com/eea/volto-group-block/commit/765b51357e22e96d022a2fabf1d7fa1cf165bb5f)]
182
+ - Update docs [Alin Voinea - [`bbe8939`](https://github.com/eea/volto-group-block/commit/bbe89396fefd53ee692920d88f8c55dde446a21c)]
183
+ ### 0.1.0 - 25 September 2020
150
184
 
151
- ### [2.0.0](https://github.com/eea/volto-group-block/compare/1.0.3...2.0.0)
185
+ #### :hammer_and_wrench: Others
152
186
 
153
- > 28 February 2021
154
-
155
- - Release 2.0.0 [`0ddb88c`](https://github.com/eea/volto-group-block/commit/0ddb88cd34e9bb7a623c3ce86662048845781e72)
156
- - Volto 12 upgrade: ~/config -> @plone/volto/registry [`3153769`](https://github.com/eea/volto-group-block/commit/3153769d8d87ede91321a90b77d258beed50b647)
157
-
158
- #### [1.0.3](https://github.com/eea/volto-group-block/compare/1.0.2...1.0.3)
159
-
160
- > 14 January 2021
161
-
162
- - Release 1.0.3 [`90986ff`](https://github.com/eea/volto-group-block/commit/90986ff6ec3dc8fe869477d404d9aa89d9ad19ba)
163
- - made counter work also for text inside columns and accordions, even nest [`b3c0c16`](https://github.com/eea/volto-group-block/commit/b3c0c1651bb85b5252afe204107852aad0ef500c)
164
- - fix adding new blocks [`ec3a37a`](https://github.com/eea/volto-group-block/commit/ec3a37a153106acec64e28e116c6f96cef00ce03)
165
-
166
- #### [1.0.2](https://github.com/eea/volto-group-block/compare/1.0.1...1.0.2)
167
-
168
- > 5 January 2021
169
-
170
- - Fixed count values from child groups with text [`#4`](https://github.com/eea/volto-group-block/pull/4)
171
- - Release 1.0.2 [`4aa34c3`](https://github.com/eea/volto-group-block/commit/4aa34c374fb1520d6f83a430e2156271ca81847a)
172
- - fixed count values from child groups with text [`5151e33`](https://github.com/eea/volto-group-block/commit/5151e33455d504660b8b16eb9f7fbf1fbd7a5aff)
173
- - fixed counter for new props schema [`6005d82`](https://github.com/eea/volto-group-block/commit/6005d82a7191a88efab6be7b0909d7287f1534a0)
174
-
175
- #### [1.0.1](https://github.com/eea/volto-group-block/compare/1.0.0...1.0.1)
176
-
177
- > 11 December 2020
178
-
179
- - Release 1.0.1 [`06a5b74`](https://github.com/eea/volto-group-block/commit/06a5b74f65f0015665b3f3ba94d0f59ab82ba792)
180
- - Release to npm by default [`a499afa`](https://github.com/eea/volto-group-block/commit/a499afa63ca80b73c3d462e619af701c187e92ce)
181
- - Fix docs about install commands [`460c0d2`](https://github.com/eea/volto-group-block/commit/460c0d21ed0896eba720d59e18457e0118161057)
182
-
183
- ### [1.0.0](https://github.com/eea/volto-group-block/compare/0.1.3...1.0.0)
184
-
185
- > 16 November 2020
186
-
187
- - Release 1.0.0 [`b6ef873`](https://github.com/eea/volto-group-block/commit/b6ef873cb6f61e17db66fdd4de1d9d4902a66fc6)
188
- - Update package meta info [`143b7d4`](https://github.com/eea/volto-group-block/commit/143b7d44438d7afa5e346a9d21a85352df4e925f)
189
- - Add Jenkinkins pipeline [`866a4e1`](https://github.com/eea/volto-group-block/commit/866a4e14ea1eb8f5adb01222e576e5ab6dc73a70)
190
-
191
- #### [0.1.3](https://github.com/eea/volto-group-block/compare/0.1.2...0.1.3)
192
-
193
- > 9 November 2020
194
-
195
- - Feature/count [`#2`](https://github.com/eea/volto-group-block/pull/2)
196
- - Release 0.1.3 [`1bdc665`](https://github.com/eea/volto-group-block/commit/1bdc6658918057c13e1a39d8e04fc177d9cf724f)
197
- - Update docs [`832e15d`](https://github.com/eea/volto-group-block/commit/832e15d9257edf8aecb5e4106ac3f67630bad8fe)
198
- - Prepare release [`5211fa0`](https://github.com/eea/volto-group-block/commit/5211fa07a4667631b351b1335932bb5d5755bb55)
199
- - Cosmetics [`38dd486`](https://github.com/eea/volto-group-block/commit/38dd4861006798d3b2fa23a7dbbccff99466f9ec)
200
- - minor fixes and checks [`e4a5c66`](https://github.com/eea/volto-group-block/commit/e4a5c6664a5c8b93f6d12120172956b11fc5c1e1)
201
- - implemented character count on groups [`b6d8f1d`](https://github.com/eea/volto-group-block/commit/b6d8f1d3c57f44b2965787af5aeb0e41f9c3e0b6)
202
-
203
- #### [0.1.2](https://github.com/eea/volto-group-block/compare/0.1.1...0.1.2)
204
-
205
- > 6 October 2020
206
-
207
- - Propagate parent metadata properties within inner form view [`0620b99`](https://github.com/eea/volto-group-block/commit/0620b9933d1e1a38dacfee3d2f0c28556368db9e)
208
- - Propagate parent metadata properties within inner forms [`76e2cc2`](https://github.com/eea/volto-group-block/commit/76e2cc23d11b043c6a10f98987b928b91e327709)
209
-
210
- #### [0.1.1](https://github.com/eea/volto-group-block/compare/0.1.0...0.1.1)
211
-
212
- > 29 September 2020
213
-
214
- - Render group of blocks as section, article, etc. [`765b513`](https://github.com/eea/volto-group-block/commit/765b51357e22e96d022a2fabf1d7fa1cf165bb5f)
215
- - Update docs [`bbe8939`](https://github.com/eea/volto-group-block/commit/bbe89396fefd53ee692920d88f8c55dde446a21c)
216
-
217
- #### 0.1.0
218
-
219
- > 25 September 2020
220
-
221
- - Remove sidebar [`e5d35fe`](https://github.com/eea/volto-group-block/commit/e5d35fed034c73386d67bf1e45ccd87e839d4d33)
222
- - Fix select bug [`dfb0de6`](https://github.com/eea/volto-group-block/commit/dfb0de6447f4886a1ca474539b8f794a4112f2a4)
223
- - Update docs [`0d5d313`](https://github.com/eea/volto-group-block/commit/0d5d31343413ab81afab637b878a1ea72a04bcb0)
224
- - Cosmetics [`fcbef4a`](https://github.com/eea/volto-group-block/commit/fcbef4af8538913fcd7aabdfc9f71cc4139788f5)
225
- - Cosmetics [`be8e4f9`](https://github.com/eea/volto-group-block/commit/be8e4f99eadfd70d0e4b1a1d1eb744582978553f)
226
- - Add group to allowedBlocks settings [`a6ce43f`](https://github.com/eea/volto-group-block/commit/a6ce43fddd9143b468b5e1ac04d1e84403ff3720)
227
- - Fix inner groups margins [`3e05b61`](https://github.com/eea/volto-group-block/commit/3e05b61de8cc5b797cf291c597d0e4fba0e69154)
228
- - Add editing instructions to Group block settings [`d820b98`](https://github.com/eea/volto-group-block/commit/d820b988432f56674ead145e9ec2a75e2f21eed6)
229
- - Rename package and block: Group [`7475d28`](https://github.com/eea/volto-group-block/commit/7475d284c7fbcdc87735a1923e2580765819a1e9)
230
- - Avoid removing all blocks within meta-block [`d078df7`](https://github.com/eea/volto-group-block/commit/d078df74648f0673f1cf5d7c537ff0b2558654c2)
231
- - Render meta block [`0d44560`](https://github.com/eea/volto-group-block/commit/0d4456011ca56454068a54c610250b02df4ccb3b)
232
- - Implement meta block allowedBlocks settings [`f24feb1`](https://github.com/eea/volto-group-block/commit/f24feb1a1751f04841c21c7cd52a517fb02074ba)
233
- - Edit meta block [`236d291`](https://github.com/eea/volto-group-block/commit/236d29156fa835a7aa54eecdb4f120de0d64b271)
234
- - Initial commit [`6a7b0de`](https://github.com/eea/volto-group-block/commit/6a7b0deb8f873d1462fd6a9c61edfc1562b3aace)
187
+ - Remove sidebar [Alin Voinea - [`e5d35fe`](https://github.com/eea/volto-group-block/commit/e5d35fed034c73386d67bf1e45ccd87e839d4d33)]
188
+ - Fix select bug [Tiberiu Ichim - [`dfb0de6`](https://github.com/eea/volto-group-block/commit/dfb0de6447f4886a1ca474539b8f794a4112f2a4)]
189
+ - Update docs [Alin Voinea - [`0d5d313`](https://github.com/eea/volto-group-block/commit/0d5d31343413ab81afab637b878a1ea72a04bcb0)]
190
+ - Cosmetics [Alin Voinea - [`fcbef4a`](https://github.com/eea/volto-group-block/commit/fcbef4af8538913fcd7aabdfc9f71cc4139788f5)]
191
+ - Cosmetics [Alin Voinea - [`be8e4f9`](https://github.com/eea/volto-group-block/commit/be8e4f99eadfd70d0e4b1a1d1eb744582978553f)]
192
+ - Add group to allowedBlocks settings [Alin Voinea - [`a6ce43f`](https://github.com/eea/volto-group-block/commit/a6ce43fddd9143b468b5e1ac04d1e84403ff3720)]
193
+ - Fix inner groups margins [Alin Voinea - [`3e05b61`](https://github.com/eea/volto-group-block/commit/3e05b61de8cc5b797cf291c597d0e4fba0e69154)]
194
+ - Add editing instructions to Group block settings [Alin Voinea - [`d820b98`](https://github.com/eea/volto-group-block/commit/d820b988432f56674ead145e9ec2a75e2f21eed6)]
195
+ - Rename package and block: Group [Alin Voinea - [`7475d28`](https://github.com/eea/volto-group-block/commit/7475d284c7fbcdc87735a1923e2580765819a1e9)]
196
+ - Avoid removing all blocks within meta-block [Alin Voinea - [`d078df7`](https://github.com/eea/volto-group-block/commit/d078df74648f0673f1cf5d7c537ff0b2558654c2)]
197
+ - Render meta block [Alin Voinea - [`0d44560`](https://github.com/eea/volto-group-block/commit/0d4456011ca56454068a54c610250b02df4ccb3b)]
198
+ - Implement meta block allowedBlocks settings [Alin Voinea - [`f24feb1`](https://github.com/eea/volto-group-block/commit/f24feb1a1751f04841c21c7cd52a517fb02074ba)]
199
+ - Edit meta block [Alin Voinea - [`236d291`](https://github.com/eea/volto-group-block/commit/236d29156fa835a7aa54eecdb4f120de0d64b271)]
200
+ - Initial commit [Alin Voinea - [`6a7b0de`](https://github.com/eea/volto-group-block/commit/6a7b0deb8f873d1462fd6a9c61edfc1562b3aace)]
package/README.md CHANGED
@@ -14,7 +14,6 @@
14
14
  [![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-group-block-develop&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-group-block-develop)
15
15
  [![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-group-block-develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-group-block-develop)
16
16
 
17
-
18
17
  [Volto](https://github.com/plone/volto) add-on to group blocks in sections and filter available blocks per content-type per section
19
18
 
20
19
  ## Features
@@ -31,6 +30,7 @@
31
30
  ```
32
31
 
33
32
  1. Start Plone backend
33
+
34
34
  ```
35
35
  docker run -d --name plone -p 8080:8080 -e SITE=Plone -e PROFILES="profile-plone.restapi:blocks" plone
36
36
  ```
@@ -53,25 +53,25 @@
53
53
 
54
54
  1. Start Volto frontend
55
55
 
56
- * If you already have a volto project, just update `package.json`:
56
+ - If you already have a volto project, just update `package.json`:
57
57
 
58
- ```JSON
59
- "addons": [
60
- "@eeacms/volto-group-block"
61
- ],
58
+ ```JSON
59
+ "addons": [
60
+ "@eeacms/volto-group-block"
61
+ ],
62
62
 
63
- "dependencies": {
64
- "@eeacms/volto-group-block": "^4.0.0"
65
- }
66
- ```
63
+ "dependencies": {
64
+ "@eeacms/volto-group-block": "^4.0.0"
65
+ }
66
+ ```
67
67
 
68
- * If not, create one:
68
+ - If not, create one:
69
69
 
70
- ```
71
- npm install -g yo @plone/generator-volto
72
- yo @plone/volto my-volto-project --addon @eeacms/volto-group-block
73
- cd my-volto-project
74
- ```
70
+ ```
71
+ npm install -g yo @plone/generator-volto
72
+ yo @plone/volto my-volto-project --addon @eeacms/volto-group-block
73
+ cd my-volto-project
74
+ ```
75
75
 
76
76
  1. Install new add-ons and restart Volto:
77
77
 
@@ -86,78 +86,7 @@
86
86
 
87
87
  ## Release
88
88
 
89
- ### Automatic release using Jenkins
90
-
91
- * The automatic release is started by creating a [Pull Request](../../compare/master...develop) from `develop` to `master`. The pull request status checks correlated to the branch and PR Jenkins jobs need to be processed successfully. 1 review from a github user with rights is mandatory.
92
- * It runs on every commit on `master` branch, which is protected from direct commits, only allowing pull request merge commits.
93
- * The automatic release is done by [Jenkins](https://ci.eionet.europa.eu). The status of the release job can be seen both in the Readme.md badges and the green check/red cross/yellow circle near the last commit information. If you click on the icon, you will have the list of checks that were run. The `continuous-integration/jenkins/branch` link goes to the Jenkins job execution webpage.
94
- * Automated release scripts are located in the `eeacms/gitflow` docker image, specifically [js-release.sh](https://github.com/eea/eea.docker.gitflow/blob/master/src/js-release.sh) script. It uses the `release-it` tool.
95
- * As long as a PR request is open from develop to master, the PR Jenkins job will automatically re-create the CHANGELOG.md and package.json files to be production-ready.
96
- * The version format must be MAJOR.MINOR.PATCH. By default, next release is set to next minor version (with patch 0).
97
- * You can manually change the version in `package.json`. The new version must not be already present in the tags/releases of the repository, otherwise it will be automatically increased by the script. Any changes to the version will trigger a `CHANGELOG.md` re-generation.
98
- * Automated commits and commits with [JENKINS] or [YARN] in the commit log are excluded from `CHANGELOG.md` file.
99
-
100
- ### Manual release from the develop branch ( beta release )
101
-
102
- #### Installation and configuration of release-it
103
-
104
- You need to first install the [release-it](https://github.com/release-it/release-it) client.
105
-
106
- ```
107
- npm install -g release-it
108
- ```
109
-
110
- Release-it uses the configuration written in the [`.release-it.json`](./.release-it.json) file located in the root of the repository.
111
-
112
- Release-it is a tool that automates 4 important steps in the release process:
113
-
114
- 1. Version increase in `package.json` ( increased from the current version in `package.json`)
115
- 2. `CHANGELOG.md` automatic generation from commit messages ( grouped by releases )
116
- 3. GitHub release on the commit with the changelog and package.json modification on the develop branch
117
- 4. NPM release ( by default it's disabled, but can be enabled in the configuration file )
118
-
119
- To configure the authentification, you need to export GITHUB_TOKEN for [GitHub](https://github.com/settings/tokens)
120
-
121
- ```
122
- export GITHUB_TOKEN=XXX-XXXXXXXXXXXXXXXXXXXXXX
123
- ```
124
-
125
- To configure npm, you can use the `npm login` command or use a configuration file with a TOKEN :
126
-
127
- ```
128
- echo "//registry.npmjs.org/:_authToken=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" > .npmrc
129
- ```
130
-
131
- #### Using release-it tool
132
-
133
- There are 3 yarn scripts that can be run to do the release
134
-
135
- ##### yarn release-beta
136
-
137
- Automatically calculates and presents 3 beta versions - patch, minor and major for you to choose ( or Other for manual input).
138
-
139
- ```
140
- ? Select increment (next version):
141
- ❯ prepatch (0.1.1-beta.0)
142
- preminor (0.2.0-beta.0)
143
- premajor (1.0.0-beta.0)
144
- Other, please specify...
145
- ```
146
-
147
- ##### yarn release-major-beta
148
-
149
- Same as `yarn release-beta`, but with premajor version pre-selected.
150
-
151
- ##### yarn release
152
-
153
- Generic command, does not automatically add the `beta` to version, but you can still manually write it if you choose Other.
154
-
155
- #### Important notes
156
-
157
- > Do not use release-it tool on master branch, the commit on CHANGELOG.md file and the version increase in the package.json file can't be done without a PULL REQUEST.
158
-
159
- > Do not keep Pull Requests from develop to master branches open when you are doing beta releases from the develop branch. As long as a PR to master is open, an automatic script will run on every commit and will update both the version and the changelog to a production-ready state - ( MAJOR.MINOR.PATCH mandatory format for version).
160
-
89
+ See [RELEASE.md](https://github.com/eea/volto-group-block/blob/master/RELEASE.md).
161
90
 
162
91
  ## How to contribute
163
92