@eeacms/volto-group-block 6.3.1 → 6.3.3

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.
package/CHANGELOG.md CHANGED
@@ -4,7 +4,24 @@ 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
- ### [6.3.1](https://github.com/eea/volto-group-block/compare/6.3.0...6.3.1) - 18 September 2023
7
+ ### [6.3.3](https://github.com/eea/volto-group-block/compare/6.3.2...6.3.3) - 17 October 2023
8
+
9
+ #### :house: Internal changes
10
+
11
+ - chore: husky, lint-staged use fixed versions [valentinab25 - [`e683e8b`](https://github.com/eea/volto-group-block/commit/e683e8bde1d2a9b7b6bf9e27581420286cbaf5c1)]
12
+ - chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`9595c2d`](https://github.com/eea/volto-group-block/commit/9595c2ddb2ec1aa70ba8efcfd10e0b0d34166fe9)]
13
+
14
+ #### :hammer_and_wrench: Others
15
+
16
+ - Update README [Cretu Mihaela - [`d91c0f5`](https://github.com/eea/volto-group-block/commit/d91c0f54f0dbe7c20164a5768ec8a5aa9fb72c75)]
17
+ ### [6.3.2](https://github.com/eea/volto-group-block/compare/6.3.1...6.3.2) - 29 September 2023
18
+
19
+ #### :house: Documentation changes
20
+
21
+ - docs: Update README and DEVELOP [Alin Voinea - [`fcad0c8`](https://github.com/eea/volto-group-block/commit/fcad0c8303aa1807d1cc7fda1477951a22032b0b)]
22
+ - docs: Update DEVELOP [Alin Voinea - [`13ab983`](https://github.com/eea/volto-group-block/commit/13ab983ea94a1032a8ae20cd7dc2bb4fff3dd224)]
23
+
24
+ ### [6.3.1](https://github.com/eea/volto-group-block/compare/6.3.0...6.3.1) - 19 September 2023
8
25
 
9
26
  #### :bug: Bug Fixes
10
27
 
@@ -32,7 +49,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
32
49
 
33
50
  - Release #39 from eea/develop [ichim-david - [`283e1e8`](https://github.com/eea/volto-group-block/commit/283e1e8dd1047415bae054cfd502d1691deaeb59)]
34
51
  - Release 6.3.0 [Alin Voinea - [`3d74bb5`](https://github.com/eea/volto-group-block/commit/3d74bb5342e3882e0ddee1aa8edab7e90949def6)]
35
- - test: Fix eslint and yarn i18n [Alin Voinea - [`763f764`](https://github.com/eea/volto-group-block/commit/763f76448625e05b53a2bde86ca48dda0cb263cb)]
36
52
  - i18n: Add en [Alin Voinea - [`f3385cd`](https://github.com/eea/volto-group-block/commit/f3385cd33bfbe3efe514fd82fd140d17e33051e1)]
37
53
  - test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`3aa996b`](https://github.com/eea/volto-group-block/commit/3aa996b4c115da6f37ca771f07f10d58fbfa33e8)]
38
54
  - fix eslint warnings [nileshgulia1 - [`cfdf2e9`](https://github.com/eea/volto-group-block/commit/cfdf2e900bcc456fa5a24ce7b03859170ad024ba)]
@@ -63,7 +79,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
63
79
 
64
80
  #### :house: Internal changes
65
81
 
66
- - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`ad30e83`](https://github.com/eea/volto-group-block/commit/ad30e832bb869b67dc4e64ed99590b51cb80ab75)]
67
82
 
68
83
  #### :hammer_and_wrench: Others
69
84
 
@@ -80,19 +95,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
80
95
 
81
96
  #### :hammer_and_wrench: Others
82
97
 
83
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`37ffae5`](https://github.com/eea/volto-group-block/commit/37ffae512967b36af22cbed208a3ec9e1ddc392b)]
84
98
  ## [6.0.0](https://github.com/eea/volto-group-block/compare/5.0.1...6.0.0) - 24 March 2023
85
99
 
86
100
  #### :hammer_and_wrench: Others
87
101
 
88
102
  - (feat): Possibility to copy/cut/paste blocks within section group block - refs #157469 [dobri1408 - [`e9fc098`](https://github.com/eea/volto-group-block/commit/e9fc09825ba2ae258feb77864491d97d94c585b4)]
89
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`db4b09a`](https://github.com/eea/volto-group-block/commit/db4b09a6c14a8b271dec0c766886ffbcc3fe205e)]
90
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`b8c2bf4`](https://github.com/eea/volto-group-block/commit/b8c2bf471868bb0394b2dbbf75ccb7917a9ef0bf)]
91
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`b343119`](https://github.com/eea/volto-group-block/commit/b3431196931fd568476fa8bf6fbc508e086229ae)]
92
103
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`2f42e7c`](https://github.com/eea/volto-group-block/commit/2f42e7c19a1da5a9c6a883cb4f101e8fa224ff94)]
93
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`73afcc2`](https://github.com/eea/volto-group-block/commit/73afcc2f417797cedaa78cceefb007001d6c2406)]
94
- - yarn 3 [Alin Voinea - [`3c00ccc`](https://github.com/eea/volto-group-block/commit/3c00ccc7110bbf12a4d268182313418fb46b1a5d)]
95
- - Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`9b9662b`](https://github.com/eea/volto-group-block/commit/9b9662bda1da70ba0c3a7b4b05cebf130ed89e9e)]
96
104
  ### [5.0.1](https://github.com/eea/volto-group-block/compare/5.0.0...5.0.1) - 16 November 2022
97
105
 
98
106
  #### :nail_care: Enhancements
@@ -109,8 +117,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
109
117
 
110
118
  - Prepare 5.0.0 release [Miu Razvan - [`88c0ddd`](https://github.com/eea/volto-group-block/commit/88c0ddd569aeda7ee34d1eadea6a087f4e7dc257)]
111
119
  - Update dependencies [Alin Voinea - [`c8405af`](https://github.com/eea/volto-group-block/commit/c8405afb830cdf62e7877bf30b619933519e1d71)]
112
- - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`18e26c6`](https://github.com/eea/volto-group-block/commit/18e26c6939706d572ab8574e9b1826b9abc76314)]
113
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`8ed6d21`](https://github.com/eea/volto-group-block/commit/8ed6d21d8489911cc4cb471e3f8823c35f4adc50)]
114
120
  ### [4.3.8](https://github.com/eea/volto-group-block/compare/4.3.7...4.3.8) - 26 August 2022
115
121
 
116
122
  ### [4.3.7](https://github.com/eea/volto-group-block/compare/4.3.6...4.3.7) - 22 August 2022
@@ -123,9 +129,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
123
129
 
124
130
  #### :hammer_and_wrench: Others
125
131
 
126
- - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`4e73f8b`](https://github.com/eea/volto-group-block/commit/4e73f8be3c73559557efadc410cb56abc055d82d)]
127
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`3040335`](https://github.com/eea/volto-group-block/commit/3040335002c63b50208c95918413bc958150e7a9)]
128
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`386f730`](https://github.com/eea/volto-group-block/commit/386f730ed65f73fe1468b9b77351c97fb70edcc5)]
129
132
  ### [4.3.5](https://github.com/eea/volto-group-block/compare/4.3.4...4.3.5) - 4 January 2022
130
133
 
131
134
  ### [4.3.4](https://github.com/eea/volto-group-block/compare/4.3.3...4.3.4) - 3 January 2022
@@ -134,23 +137,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
134
137
 
135
138
  #### :hammer_and_wrench: Others
136
139
 
137
- - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`3e62d79`](https://github.com/eea/volto-group-block/commit/3e62d79a7ed37d10d623bc845d43e1144f8080f7)]
138
140
  ### [4.3.2](https://github.com/eea/volto-group-block/compare/4.3.1...4.3.2) - 10 December 2021
139
141
 
140
142
  #### :hammer_and_wrench: Others
141
143
 
142
144
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`bc36cf5`](https://github.com/eea/volto-group-block/commit/bc36cf58c39e2b43c2fbf5189df6ddefc1260857)]
143
- - Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`8038e78`](https://github.com/eea/volto-group-block/commit/8038e783c1e8ddd71e21f72070fdfa8e7e098993)]
144
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`daccdbc`](https://github.com/eea/volto-group-block/commit/daccdbc733e47be7d6536eb67f8f2eea038dc94b)]
145
145
  ### [4.3.1](https://github.com/eea/volto-group-block/compare/4.3.0...4.3.1) - 11 October 2021
146
146
 
147
147
  #### :hammer_and_wrench: Others
148
148
 
149
- - Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`b0092e4`](https://github.com/eea/volto-group-block/commit/b0092e4f78a1a0184e22e32bb9806cd57417dfb2)]
150
- - Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`ff8889c`](https://github.com/eea/volto-group-block/commit/ff8889cb7b0761b1df43b201984ce40b14e1561b)]
151
- - Add Sonarqube tag using climate-energy-frontend addons list [EEA Jenkins - [`0375c28`](https://github.com/eea/volto-group-block/commit/0375c28ed1ffe9186a4790b454795c0ca8039f72)]
152
- - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`c392190`](https://github.com/eea/volto-group-block/commit/c392190f044f5d9397bd2fb8c3d6a357f84960d0)]
153
- - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`9694501`](https://github.com/eea/volto-group-block/commit/9694501141e6780eba89464d36406e3c93629fd8)]
154
149
  ### [4.3.0](https://github.com/eea/volto-group-block/compare/4.2.3...4.3.0) - 24 June 2021
155
150
 
156
151
  #### :hammer_and_wrench: Others
@@ -266,7 +261,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
266
261
  - Release 1.0.0 [Alin Voinea - [`b6ef873`](https://github.com/eea/volto-group-block/commit/b6ef873cb6f61e17db66fdd4de1d9d4902a66fc6)]
267
262
  - Update package meta info [Alin Voinea - [`143b7d4`](https://github.com/eea/volto-group-block/commit/143b7d44438d7afa5e346a9d21a85352df4e925f)]
268
263
  - Add Jenkinkins pipeline [Alin Voinea - [`866a4e1`](https://github.com/eea/volto-group-block/commit/866a4e14ea1eb8f5adb01222e576e5ab6dc73a70)]
269
- - yarn prettier [Alin Voinea - [`e3fe0a3`](https://github.com/eea/volto-group-block/commit/e3fe0a36b89878769341b45198d6c9e2f2584d15)]
270
264
  ### [0.1.3](https://github.com/eea/volto-group-block/compare/0.1.2...0.1.3) - 9 November 2020
271
265
 
272
266
  #### :hammer_and_wrench: Others
@@ -306,5 +300,4 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
306
300
  - Render meta block [Alin Voinea - [`0d44560`](https://github.com/eea/volto-group-block/commit/0d4456011ca56454068a54c610250b02df4ccb3b)]
307
301
  - Implement meta block allowedBlocks settings [Alin Voinea - [`f24feb1`](https://github.com/eea/volto-group-block/commit/f24feb1a1751f04841c21c7cd52a517fb02074ba)]
308
302
  - Edit meta block [Alin Voinea - [`236d291`](https://github.com/eea/volto-group-block/commit/236d29156fa835a7aa54eecdb4f120de0d64b271)]
309
- - yarn bootstrap [Alin Voinea - [`e009dfb`](https://github.com/eea/volto-group-block/commit/e009dfb6b9b74d101a6722f0982a5359fc522b6b)]
310
303
  - Initial commit [Alin Voinea - [`6a7b0de`](https://github.com/eea/volto-group-block/commit/6a7b0deb8f873d1462fd6a9c61edfc1562b3aace)]
package/DEVELOP.md CHANGED
@@ -16,12 +16,14 @@
16
16
 
17
17
  1. Go to http://localhost:3000
18
18
 
19
- 1. Happy hacking!
19
+ 1. Initialize git hooks
20
20
 
21
21
  ```Bash
22
- cd src/addons/volto-group-block/
22
+ yarn prepare
23
23
  ```
24
24
 
25
+ 1. Happy hacking!
26
+
25
27
  ### Or add @eeacms/volto-group-block to your Volto project
26
28
 
27
29
  Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
@@ -32,8 +34,8 @@ Before starting make sure your development environment is properly set. See [Vol
32
34
 
33
35
  1. Create new volto app
34
36
 
35
- yo @plone/volto my-dev-project --addon @eeacms/volto-group-block --skip-install
36
- cd my-dev-project
37
+ yo @plone/volto my-volto-project --addon @eeacms/volto-group-block --skip-install
38
+ cd my-volto-project
37
39
 
38
40
  1. Add the following to `mrs.developer.json`:
39
41
 
@@ -48,17 +50,15 @@ Before starting make sure your development environment is properly set. See [Vol
48
50
 
49
51
  1. Install
50
52
 
51
- yarn develop
53
+ make develop
52
54
  yarn
53
55
 
54
56
  1. Start backend
55
57
 
56
- docker run -d --name plone -p 8080:8080 -e SITE=Plone plone
58
+ docker run --pull always -it --rm --name plone -p 8080:8080 -e SITE=Plone plone/plone-backend
57
59
 
58
60
  ...wait for backend to setup and start - `Ready to handle requests`:
59
61
 
60
- docker logs -f plone
61
-
62
62
  ...you can also check http://localhost:8080/Plone
63
63
 
64
64
  1. Start frontend
package/README.md CHANGED
@@ -18,34 +18,18 @@
18
18
 
19
19
  ## Features
20
20
 
21
- ![Group blocks and restrict available blocks](https://github.com/eea/volto-group-block/raw/docs/docs/volto-group-block.gif)
21
+ ![Group blocks and restrict available blocks](https://github.com/eea/volto-group-block/raw/master/docs/volto-group-block.gif)
22
22
 
23
- ### Try volto-group-block with Docker
24
-
25
- 1. Get the latest Docker images
26
-
27
- ```
28
- docker pull plone
29
- docker pull plone/volto
30
- ```
23
+ ## Getting started
31
24
 
32
- 1. Start Plone backend
33
-
34
- ```
35
- docker run -d --name plone -p 8080:8080 -e SITE=Plone -e PROFILES="profile-plone.restapi:blocks" plone
36
- ```
37
-
38
- 1. Start Volto frontend
39
-
40
- ```
41
- docker run -it --rm -p 3000:3000 --link plone -e ADDONS="@eeacms/volto-group-block" plone/volto
42
- ```
43
-
44
- 1. Go to http://localhost:3000
25
+ ### Try volto-group-block with Docker
45
26
 
46
- 1. Login with **admin:admin**
27
+ git clone https://github.com/eea/volto-group-block.gits
28
+ cd volto-group-block
29
+ make
30
+ make start
47
31
 
48
- 1. Create a new **Page** and add a new **Section (Group)** block.
32
+ Go to http://localhost:3000
49
33
 
50
34
  ### Add volto-group-block to your Volto project
51
35
 
@@ -57,25 +41,25 @@
57
41
 
58
42
  1. Start Volto frontend
59
43
 
60
- - If you already have a volto project, just update `package.json`:
44
+ * If you already have a volto project, just update `package.json`:
61
45
 
62
- ```JSON
63
- "addons": [
64
- "@eeacms/volto-group-block"
65
- ],
46
+ ```JSON
47
+ "addons": [
48
+ "@eeacms/volto-group-block"
49
+ ],
66
50
 
67
- "dependencies": {
68
- "@eeacms/volto-group-block": "^4.0.0"
69
- }
70
- ```
51
+ "dependencies": {
52
+ "@eeacms/volto-group-block": "*"
53
+ }
54
+ ```
71
55
 
72
- - If not, create one:
56
+ * If not, create one:
73
57
 
74
- ```
75
- npm install -g yo @plone/generator-volto
76
- yo @plone/volto my-volto-project --addon @eeacms/volto-group-block
77
- cd my-volto-project
78
- ```
58
+ ```
59
+ npm install -g yo @plone/generator-volto
60
+ yo @plone/volto my-volto-project --canary --addon @eeacms/volto-group-block
61
+ cd my-volto-project
62
+ ```
79
63
 
80
64
  1. Install new add-ons and restart Volto:
81
65
 
package/RELEASE.md CHANGED
@@ -20,9 +20,9 @@ You need to first install the [release-it](https://github.com/release-it/release
20
20
  ```
21
21
  npm install -g release-it
22
22
  ```
23
-
23
+
24
24
  Release-it uses the configuration written in the [`.release-it.json`](./.release-it.json) file located in the root of the repository.
25
-
25
+
26
26
  Release-it is a tool that automates 4 important steps in the release process:
27
27
 
28
28
  1. Version increase in `package.json` ( increased from the current version in `package.json`)
@@ -30,45 +30,45 @@ Release-it is a tool that automates 4 important steps in the release process:
30
30
  3. GitHub release on the commit with the changelog and package.json modification on the develop branch
31
31
  4. NPM release ( by default it's disabled, but can be enabled in the configuration file )
32
32
 
33
- To configure the authentification, you need to export GITHUB_TOKEN for [GitHub](https://github.com/settings/tokens)
33
+ To configure the authentification, you need to export GITHUB_TOKEN for [GitHub](https://github.com/settings/tokens)
34
34
 
35
35
  ```
36
36
  export GITHUB_TOKEN=XXX-XXXXXXXXXXXXXXXXXXXXXX
37
37
  ```
38
-
38
+
39
39
  To configure npm, you can use the `npm login` command or use a configuration file with a TOKEN :
40
-
40
+
41
41
  ```
42
42
  echo "//registry.npmjs.org/:_authToken=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" > .npmrc
43
43
  ```
44
44
 
45
45
  #### Using release-it tool
46
-
46
+
47
47
  There are 3 yarn scripts that can be run to do the release
48
48
 
49
49
  ##### yarn release-beta
50
50
 
51
- Automatically calculates and presents 3 beta versions - patch, minor and major for you to choose ( or Other for manual input).
51
+ Automatically calculates and presents 3 beta versions - patch, minor and major for you to choose ( or Other for manual input).
52
52
 
53
53
  ```
54
- ? Select increment (next version):
55
- ❯ prepatch (0.1.1-beta.0)
56
- preminor (0.2.0-beta.0)
57
- premajor (1.0.0-beta.0)
58
- Other, please specify...
54
+ ? Select increment (next version):
55
+ ❯ prepatch (0.1.1-beta.0)
56
+ preminor (0.2.0-beta.0)
57
+ premajor (1.0.0-beta.0)
58
+ Other, please specify...
59
59
  ```
60
60
 
61
61
  ##### yarn release-major-beta
62
62
 
63
63
  Same as `yarn release-beta`, but with premajor version pre-selected.
64
-
64
+
65
65
  ##### yarn release
66
66
 
67
67
  Generic command, does not automatically add the `beta` to version, but you can still manually write it if you choose Other.
68
68
 
69
69
  #### Important notes
70
70
 
71
- > 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.
71
+ > 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.
72
72
 
73
73
  > 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).
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-group-block",
3
- "version": "6.3.1",
3
+ "version": "6.3.3",
4
4
  "description": "volto-group-block: Volto block to be used to group other blocks",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -22,8 +22,8 @@
22
22
  "@cypress/code-coverage": "^3.10.0",
23
23
  "@plone/scripts": "*",
24
24
  "babel-plugin-transform-class-properties": "^6.24.1",
25
- "husky": "*",
26
- "lint-staged": "*",
25
+ "husky": "^8.0.3",
26
+ "lint-staged": "^14.0.1",
27
27
  "md5": "^2.3.0"
28
28
  },
29
29
  "lint-staged": {