@eeacms/volto-timeline-block 2.0.1 → 3.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ 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
+ ### [3.0.0](https://github.com/eea/volto-timeline-block/compare/2.0.1...3.0.0) - 25 March 2026
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: Volto 18 support - refs #287700 [Alin Voinea - [`13eb695`](https://github.com/eea/volto-timeline-block/commit/13eb695942ed8f4c0c69b9aac7688e6ceec2f3ef)]
12
+
13
+ #### :house: Internal changes
14
+
15
+
16
+ #### :hammer_and_wrench: Others
17
+
18
+ - tests: Fix Sonar Qube tags - refs #297339 [Alin Voinea - [`4461c68`](https://github.com/eea/volto-timeline-block/commit/4461c686427cf899b7b8d3d7e397ebaf2183b231)]
7
19
  ### [2.0.1](https://github.com/eea/volto-timeline-block/compare/2.0.0...2.0.1) - 30 January 2025
8
20
 
9
21
  ## [2.0.0](https://github.com/eea/volto-timeline-block/compare/1.1.5...2.0.0) - 22 April 2024
@@ -15,18 +27,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
15
27
 
16
28
  #### :house: Internal changes
17
29
 
18
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`ace80c9`](https://github.com/eea/volto-timeline-block/commit/ace80c908ac26f6aa6e988b0fe22dd0a46818009)]
19
30
 
20
31
  #### :hammer_and_wrench: Others
21
32
 
22
- - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`91f1fc6`](https://github.com/eea/volto-timeline-block/commit/91f1fc6542186489cd3269d15067a76023bc33a1)]
23
- - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`cb93c4f`](https://github.com/eea/volto-timeline-block/commit/cb93c4f45d184f5cbf019f953addd75d46280bfc)]
24
- - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`f600f4b`](https://github.com/eea/volto-timeline-block/commit/f600f4b8c6b69d08289447641a13ca9c650ad9a7)]
25
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`df4d772`](https://github.com/eea/volto-timeline-block/commit/df4d77258f003ee6a6f51e18a25010cc0fe53c6a)]
26
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`5e55c01`](https://github.com/eea/volto-timeline-block/commit/5e55c0195e78f61a8f1f8c65f13989dadc2b340c)]
27
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`e8676e8`](https://github.com/eea/volto-timeline-block/commit/e8676e8e49f216131ba02e1984ee0bfc6fc0e4e1)]
28
- - test: [JENKINS] Improve cypress time [valentinab25 - [`1c27a93`](https://github.com/eea/volto-timeline-block/commit/1c27a93a0b5cc940a2f301f15cbe5fa225082ba9)]
29
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`70ac7ed`](https://github.com/eea/volto-timeline-block/commit/70ac7edbfe59b4dc40febd18ccf4177d14268fc2)]
30
33
  ### [1.1.5](https://github.com/eea/volto-timeline-block/compare/1.1.4...1.1.5) - 22 October 2023
31
34
 
32
35
  #### :house: Internal changes
@@ -62,7 +65,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
62
65
  - test: Add cypress test for timeline in DX Layout - refs #254894 [Crețu Mihaela - [`f144abd`](https://github.com/eea/volto-timeline-block/commit/f144abd41e77557cac5308b248d825b24c95893f)]
63
66
  - i18n: Add en [Alin Voinea - [`eb85ad0`](https://github.com/eea/volto-timeline-block/commit/eb85ad074e8dfe027c4751ed4e7b99bf727ddc70)]
64
67
  - test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`2c84c80`](https://github.com/eea/volto-timeline-block/commit/2c84c80259b0d1aeaa397b80a563c4d863d6755f)]
65
- - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`31e6132`](https://github.com/eea/volto-timeline-block/commit/31e613228a5a4ad1253914671bfb37b162b5c3a9)]
66
68
  ### [1.1.2](https://github.com/eea/volto-timeline-block/compare/1.1.1...1.1.2) - 24 July 2023
67
69
 
68
70
  ### [1.1.1](https://github.com/eea/volto-timeline-block/compare/1.1.0...1.1.1) - 12 June 2023
@@ -72,31 +74,16 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
72
74
  - test: jest should look for addons in node_modules Refs #253277 [valentinab25 - [`9e46798`](https://github.com/eea/volto-timeline-block/commit/9e46798e251fba50d9ef8756f3f72de4684f6c44)]
73
75
  - test: Add cypress test for basic functionality and demo gif to README - refs #253277 [ana-oprea - [`5afd16a`](https://github.com/eea/volto-timeline-block/commit/5afd16ab58e0a4f6b4d303f61c54ea3ed3a7baf7)]
74
76
  - test: Fix test config, coverage Refs #253277 [valentinab25 - [`66e4928`](https://github.com/eea/volto-timeline-block/commit/66e4928bc2d940a81ad73ce27107ad0d1d471135)]
75
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c0c83df`](https://github.com/eea/volto-timeline-block/commit/c0c83dff921bf4e4c4d81f60754c9f928aa5ce79)]
76
- - Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`90db0d4`](https://github.com/eea/volto-timeline-block/commit/90db0d4c8df4925a23fae6a55443ced5c256c645)]
77
77
  ### [1.1.0](https://github.com/eea/volto-timeline-block/compare/1.0.1...1.1.0) - 27 March 2023
78
78
 
79
79
  #### :hammer_and_wrench: Others
80
80
 
81
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`33e1837`](https://github.com/eea/volto-timeline-block/commit/33e183750b62be6c1fcfbdb8dad10db469169266)]
82
- - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`41833c2`](https://github.com/eea/volto-timeline-block/commit/41833c236ec95bd60a693d5394c8c128e30f4ecf)]
83
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`5c12df2`](https://github.com/eea/volto-timeline-block/commit/5c12df222354499cbffe93e34c3c6a31f9f52124)]
84
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`abc6930`](https://github.com/eea/volto-timeline-block/commit/abc693081a2ed229adf27dbe0315c44a6735c28e)]
85
- - Add Sonarqube tag using climate-energy-frontend addons list [EEA Jenkins - [`ed6e2b0`](https://github.com/eea/volto-timeline-block/commit/ed6e2b0b15a2437f456a227fdefe2336aeda98b2)]
86
81
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`ff4d170`](https://github.com/eea/volto-timeline-block/commit/ff4d1705b90bbffcc54f7182e6799a8fac303104)]
87
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`4ed90fb`](https://github.com/eea/volto-timeline-block/commit/4ed90fb54c0aec76c8f2287a83a14c8acc8c1ca8)]
88
- - Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`01e1ac8`](https://github.com/eea/volto-timeline-block/commit/01e1ac8bf4cc04713c643ef30f5dfa8d628b6e2b)]
89
- - yarn 3 [Alin Voinea - [`a234a4c`](https://github.com/eea/volto-timeline-block/commit/a234a4c8d1717cf9039195e7246a07265a6b8b49)]
90
- - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`4a25463`](https://github.com/eea/volto-timeline-block/commit/4a25463070164b31656e20c5ace164da225fd3fb)]
91
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`5b687d5`](https://github.com/eea/volto-timeline-block/commit/5b687d5a91c4cc566e4428084c9d1d78df2de676)]
92
- - Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`c9e0a49`](https://github.com/eea/volto-timeline-block/commit/c9e0a49e8a3c291833bb6c002441907b74df0875)]
93
- - Add Sonarqube tag using forests-frontend addons list [EEA Jenkins - [`25df72a`](https://github.com/eea/volto-timeline-block/commit/25df72a779fd975ab4e42c39cfdc6968f7f04945)]
94
82
  ### [1.0.1](https://github.com/eea/volto-timeline-block/compare/1.0.0...1.0.1) - 16 November 2022
95
83
 
96
84
  #### :hammer_and_wrench: Others
97
85
 
98
86
  - test(estlint): Fix .project.eslintrc.js [Alin Voinea - [`742fb19`](https://github.com/eea/volto-timeline-block/commit/742fb1986b76ed5b775a7895aa91df452bf601e6)]
99
- - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`c4e6e36`](https://github.com/eea/volto-timeline-block/commit/c4e6e36aaabb02bea84695411cfb2d3ca586b210)]
100
87
  ## [1.0.0](https://github.com/eea/volto-timeline-block/compare/0.2.3...1.0.0) - 28 October 2022
101
88
 
102
89
  #### :nail_care: Enhancements
@@ -109,7 +96,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
109
96
  - test(cypress): Cypress 10 / Razzle 4 [Alin Voinea - [`ca50ec9`](https://github.com/eea/volto-timeline-block/commit/ca50ec9a9ab4db0faf0b33fa250814d788741478)]
110
97
  - Cleanup [Alin Voinea - [`28c2444`](https://github.com/eea/volto-timeline-block/commit/28c244491045ca3ba6a3c182818364f73951f765)]
111
98
  - Update dependencies [Alin Voinea - [`ab59000`](https://github.com/eea/volto-timeline-block/commit/ab590002fdef3c95d4580893b6e407b51746a290)]
112
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`bfa44a6`](https://github.com/eea/volto-timeline-block/commit/bfa44a64c026b2a5f9f22fbfcb3119f60c78d461)]
113
99
  ### [0.2.3](https://github.com/eea/volto-timeline-block/compare/0.2.2...0.2.3) - 30 June 2022
114
100
 
115
101
  ### [0.2.2](https://github.com/eea/volto-timeline-block/compare/0.2.1...0.2.2) - 8 June 2022
@@ -125,7 +111,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
125
111
 
126
112
  #### :hammer_and_wrench: Others
127
113
 
128
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`21fea4e`](https://github.com/eea/volto-timeline-block/commit/21fea4edb8da738f81c12ca1f70696b63581159b)]
129
114
  ### [0.2.0](https://github.com/eea/volto-timeline-block/compare/0.1.0...0.2.0) - 29 March 2022
130
115
 
131
116
  #### :hammer_and_wrench: Others
package/DEVELOP.md CHANGED
@@ -26,21 +26,20 @@
26
26
 
27
27
  ### Or add @eeacms/volto-timeline-block to your Volto project
28
28
 
29
- Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
29
+ Before starting make sure your development environment is properly set. See the official Plone documentation for [creating a project with Cookieplone](https://6.docs.plone.org/install/create-project-cookieplone.html) and [installing an add-on in development mode in Volto 18 and 19](https://6.docs.plone.org/volto/development/add-ons/install-an-add-on-dev-18.html).
30
30
 
31
- 1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer`
31
+ For new Volto 18+ projects, use Cookieplone. It includes `mrs-developer` by default.
32
32
 
33
- npm install -g yo @plone/generator-volto mrs-developer
33
+ 1. Create a new Volto project with Cookieplone
34
34
 
35
- 1. Create new volto app
36
-
37
- yo @plone/volto my-volto-project --addon @eeacms/volto-timeline-block --skip-install
38
- cd my-volto-project
35
+ uvx cookieplone project
36
+ cd project-title
39
37
 
40
38
  1. Add the following to `mrs.developer.json`:
41
39
 
42
40
  {
43
41
  "volto-timeline-block": {
42
+ "output": "packages",
44
43
  "url": "https://github.com/eea/volto-timeline-block.git",
45
44
  "package": "@eeacms/volto-timeline-block",
46
45
  "branch": "develop",
@@ -48,28 +47,31 @@ Before starting make sure your development environment is properly set. See [Vol
48
47
  }
49
48
  }
50
49
 
51
- 1. Install
50
+ 1. Add `@eeacms/volto-timeline-block` to the `addons` key in your project `volto.config.js`
51
+
52
+ 1. Install or refresh the project setup
52
53
 
53
- make develop
54
- yarn
54
+ make install
55
55
 
56
- 1. Start backend
56
+ 1. Start backend in one terminal
57
57
 
58
- docker run --pull always -it --rm --name plone -p 8080:8080 -e SITE=Plone plone/plone-backend
58
+ make backend-start
59
59
 
60
- ...wait for backend to setup and start - `Ready to handle requests`:
60
+ ...wait for backend to setup and start, ending with `Ready to handle requests`
61
61
 
62
62
  ...you can also check http://localhost:8080/Plone
63
63
 
64
- 1. Start frontend
64
+ 1. Start frontend in a second terminal
65
65
 
66
- yarn start
66
+ make frontend-start
67
67
 
68
68
  1. Go to http://localhost:3000
69
69
 
70
70
  1. Happy hacking!
71
71
 
72
- cd src/addons/volto-timeline-block/
72
+ cd packages/volto-timeline-block
73
+
74
+ For legacy Volto 17 projects, keep using the yarn-based workflow from the Volto 17 documentation.
73
75
 
74
76
  ## Cypress
75
77
 
@@ -81,7 +83,7 @@ project where you added `volto-timeline-block` to `mrs.developer.json`
81
83
  Go to:
82
84
 
83
85
  ```BASH
84
- cd src/addons/volto-timeline-block/
86
+ cd packages/volto-timeline-block/
85
87
  ```
86
88
 
87
89
  Start:
package/README.md CHANGED
@@ -3,16 +3,16 @@
3
3
  [![Releases](https://img.shields.io/github/v/release/eea/volto-timeline-block)](https://github.com/eea/volto-timeline-block/releases)
4
4
 
5
5
  [![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-timeline-block%2Fmaster&subject=master)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-timeline-block/job/master/display/redirect)
6
- [![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-master&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-master)
7
- [![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-master&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-master)
8
- [![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-master&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-master)
9
- [![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-master&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-master)
6
+ [![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block)
7
+ [![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block)
8
+ [![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block)
9
+ [![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block)
10
10
 
11
11
  [![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-timeline-block%2Fdevelop&subject=develop)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-timeline-block/job/develop/display/redirect)
12
- [![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-develop&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-develop)
13
- [![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-develop&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-develop)
14
- [![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-develop&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-develop)
15
- [![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block-develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block-develop)
12
+ [![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&branch=develop&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block&branch=develop)
13
+ [![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&branch=develop&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block&branch=develop)
14
+ [![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&branch=develop&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block&branch=develop)
15
+ [![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-timeline-block&branch=develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-timeline-block&branch=develop)
16
16
 
17
17
 
18
18
  [Volto](https://github.com/plone/volto) add-on: [Timeline block](https://eea.github.io/volto-kitkat-frontend/?path=/story/components-timeline--multiple-reversed)
@@ -33,6 +33,11 @@
33
33
 
34
34
  Go to http://localhost:3000
35
35
 
36
+ `make start` now defaults to Volto 18. To run the same setup against Volto 17, use:
37
+
38
+ VOLTO_VERSION=17 make
39
+ VOLTO_VERSION=17 make start
40
+
36
41
  ### Add volto-timeline-block to your Volto project
37
42
 
38
43
  1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone
@@ -46,30 +51,39 @@ Go to http://localhost:3000
46
51
  * If you already have a volto project, just update `package.json`:
47
52
 
48
53
  ```JSON
49
- "addons": [
50
- "@eeacms/volto-timeline-block"
51
- ],
52
-
53
54
  "dependencies": {
54
55
  "@eeacms/volto-timeline-block": "*"
55
56
  }
56
57
  ```
57
58
 
58
- * If not, create one:
59
+ and `volto.config.js`:
60
+
61
+ ```JavaScript
62
+ const addons = ['@eeacms/volto-timeline-block'];
63
+ ```
64
+
65
+ * If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:
59
66
 
60
67
  ```
61
- npm install -g yo @plone/generator-volto
62
- yo @plone/volto my-volto-project --canary --addon @eeacms/volto-timeline-block
63
- cd my-volto-project
68
+ uvx cookieplone project
69
+ cd project-title
64
70
  ```
65
71
 
66
- 1. Install new add-ons and restart Volto:
72
+ 1. Install or update dependencies, then start the project:
67
73
 
68
74
  ```
69
- yarn
70
- yarn start
75
+ make install
71
76
  ```
72
77
 
78
+ For a Cookieplone project, start the backend and frontend in separate terminals:
79
+
80
+ ```
81
+ make backend-start
82
+ make frontend-start
83
+ ```
84
+
85
+ For a legacy Volto 17 project, install the package with `yarn` and restart the frontend as usual.
86
+
73
87
  1. Go to http://localhost:3000
74
88
 
75
89
  1. Happy editing!
@@ -15,7 +15,7 @@ services:
15
15
  args:
16
16
  ADDON_NAME: "${ADDON_NAME}"
17
17
  ADDON_PATH: "${ADDON_PATH}"
18
- VOLTO_VERSION: ${VOLTO_VERSION:-16}
18
+ VOLTO_VERSION: ${VOLTO_VERSION:-18-yarn}
19
19
  ports:
20
20
  - "3000:3000"
21
21
  - "3001:3001"
@@ -1,5 +1,14 @@
1
1
  require('dotenv').config({ path: __dirname + '/.env' })
2
2
 
3
+ const fs = require('fs')
4
+ const path = require('path')
5
+
6
+ const voltoSlatePath = fs.existsSync(
7
+ path.join(__dirname, '../../../node_modules/@plone/volto-slate/src'),
8
+ )
9
+ ? '<rootDir>/node_modules/@plone/volto-slate/src'
10
+ : '<rootDir>/node_modules/@plone/volto/packages/volto-slate/src'
11
+
3
12
  module.exports = {
4
13
  testMatch: ['**/src/addons/**/?(*.)+(spec|test).[jt]s?(x)'],
5
14
  collectCoverageFrom: [
@@ -17,10 +26,8 @@ module.exports = {
17
26
  '@eeacms/search/(.*)$': '<rootDir>/src/addons/volto-searchlib/searchlib/$1',
18
27
  '@eeacms/search': '<rootDir>/src/addons/volto-searchlib/searchlib',
19
28
  '@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
20
- '@plone/volto-slate$':
21
- '<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
22
- '@plone/volto-slate/(.*)$':
23
- '<rootDir>/node_modules/@plone/volto/packages/volto-slate/src/$1',
29
+ '@plone/volto-slate$': voltoSlatePath,
30
+ '@plone/volto-slate/(.*)$': `${voltoSlatePath}/$1`,
24
31
  '~/(.*)$': '<rootDir>/src/$1',
25
32
  'load-volto-addons':
26
33
  '<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-timeline-block",
3
- "version": "2.0.1",
3
+ "version": "3.0.0",
4
4
  "description": "@eeacms/volto-timeline-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -3,7 +3,7 @@ import { render, screen } from '@testing-library/react';
3
3
  import { unmountComponentAtNode } from 'react-dom';
4
4
  import View from './View';
5
5
  import moment from 'moment';
6
- import '@testing-library/jest-dom/extend-expect';
6
+ import '@testing-library/jest-dom';
7
7
  import { IntlProvider } from 'react-intl';
8
8
 
9
9
  jest.mock('@plone/volto/helpers/Loadable/Loadable', () => ({