@eeacms/volto-timeline-block 0.2.2 → 1.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/.coverage.babel.config.js +1 -1
- package/.i18n.babel.config.js +1 -0
- package/CHANGELOG.md +33 -19
- package/babel.config.js +1 -1
- package/cypress.config.js +26 -0
- package/jest-addon.config.js +4 -4
- package/package.json +17 -14
- package/cypress.json +0 -17
|
@@ -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('
|
|
5
|
+
voltoBabel.plugins.push('istanbul');
|
|
6
6
|
return voltoBabel;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@plone/volto/babel');
|
package/CHANGELOG.md
CHANGED
|
@@ -4,32 +4,46 @@ 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
|
-
|
|
7
|
+
### [1.0.0](https://github.com/eea/volto-timeline-block/compare/0.2.3...1.0.0) - 28 October 2022
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- Remove useless from block title [`2eecc11`](https://github.com/eea/volto-timeline-block/commit/2eecc11c3e1791b222ebcceae691ec6e92854a4e)
|
|
9
|
+
#### :nail_care: Enhancements
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
- refactor(volto-slate): Replace volto-slate with core @plone/volto-slate [Alin Voinea - [`aa18d6a`](https://github.com/eea/volto-timeline-block/commit/aa18d6a01e6f3e4468a602f1bd26dfa73228308c)]
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
#### :hammer_and_wrench: Others
|
|
15
14
|
|
|
16
|
-
-
|
|
15
|
+
- Jenkinsfile [Alin Voinea - [`56815ff`](https://github.com/eea/volto-timeline-block/commit/56815ffa6c1905f8a6463f14f312255e75a2ee76)]
|
|
16
|
+
- test(cypress): Cypress 10 / Razzle 4 [Alin Voinea - [`ca50ec9`](https://github.com/eea/volto-timeline-block/commit/ca50ec9a9ab4db0faf0b33fa250814d788741478)]
|
|
17
|
+
- Cleanup [Alin Voinea - [`28c2444`](https://github.com/eea/volto-timeline-block/commit/28c244491045ca3ba6a3c182818364f73951f765)]
|
|
18
|
+
- Update dependencies [Alin Voinea - [`ab59000`](https://github.com/eea/volto-timeline-block/commit/ab590002fdef3c95d4580893b6e407b51746a290)]
|
|
19
|
+
### [0.2.3](https://github.com/eea/volto-timeline-block/compare/0.2.2...0.2.3) - 30 June 2022
|
|
17
20
|
|
|
18
|
-
|
|
21
|
+
### [0.2.2](https://github.com/eea/volto-timeline-block/compare/0.2.1...0.2.2) - 8 June 2022
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
#### :bug: Bug Fixes
|
|
21
24
|
|
|
22
|
-
-
|
|
23
|
-
- Release 0.2.0 [`296e2c1`](https://github.com/eea/volto-timeline-block/commit/296e2c1247bb12c71d03cb294a1bf5bc6b5332f4)
|
|
24
|
-
- Update description [`ce5a657`](https://github.com/eea/volto-timeline-block/commit/ce5a657d3f3f692b0e36345b2153179866881fab)
|
|
25
|
-
- Update README: Add screenshot [`d237607`](https://github.com/eea/volto-timeline-block/commit/d237607c843f12e3692a87b8cdef6ff7f751300d)
|
|
26
|
-
- Move timeline block to common group [`57552b9`](https://github.com/eea/volto-timeline-block/commit/57552b9641aa7458acf3432ccfd37590758db5b0)
|
|
27
|
-
- Add description [`eab3def`](https://github.com/eea/volto-timeline-block/commit/eab3def6d3ea273252e4881ca448643eb8eb6d25)
|
|
28
|
-
- don't use timeline from volto-eea-design-system [`bfcf521`](https://github.com/eea/volto-timeline-block/commit/bfcf52143f656b908f12b3374cc3d596b35fc1f7)
|
|
29
|
-
- Run bootstrap [`5edf844`](https://github.com/eea/volto-timeline-block/commit/5edf844a3a00cb9b5a40cd2bed0a9fea49f5c841)
|
|
25
|
+
- fix(timeline_block): BlockChooser Icon [Alin Voinea - [`8a7b653`](https://github.com/eea/volto-timeline-block/commit/8a7b653a3f9fb9083e06b65860e6fbe73a19969b)]
|
|
30
26
|
|
|
31
|
-
####
|
|
27
|
+
#### :hammer_and_wrench: Others
|
|
32
28
|
|
|
33
|
-
|
|
29
|
+
- Remove useless from block title [Alin Voinea - [`2eecc11`](https://github.com/eea/volto-timeline-block/commit/2eecc11c3e1791b222ebcceae691ec6e92854a4e)]
|
|
30
|
+
### [0.2.1](https://github.com/eea/volto-timeline-block/compare/0.2.0...0.2.1) - 22 April 2022
|
|
34
31
|
|
|
35
|
-
|
|
32
|
+
#### :hammer_and_wrench: Others
|
|
33
|
+
|
|
34
|
+
### [0.2.0](https://github.com/eea/volto-timeline-block/compare/0.1.0...0.2.0) - 29 March 2022
|
|
35
|
+
|
|
36
|
+
#### :hammer_and_wrench: Others
|
|
37
|
+
|
|
38
|
+
- Release 0.2.0 [Alin Voinea - [`296e2c1`](https://github.com/eea/volto-timeline-block/commit/296e2c1247bb12c71d03cb294a1bf5bc6b5332f4)]
|
|
39
|
+
- Update description [Alin Voinea - [`ce5a657`](https://github.com/eea/volto-timeline-block/commit/ce5a657d3f3f692b0e36345b2153179866881fab)]
|
|
40
|
+
- Update README: Add screenshot [Alin Voinea - [`d237607`](https://github.com/eea/volto-timeline-block/commit/d237607c843f12e3692a87b8cdef6ff7f751300d)]
|
|
41
|
+
- Move timeline block to common group [Miu Razvan - [`57552b9`](https://github.com/eea/volto-timeline-block/commit/57552b9641aa7458acf3432ccfd37590758db5b0)]
|
|
42
|
+
- Add description [Miu Razvan - [`eab3def`](https://github.com/eea/volto-timeline-block/commit/eab3def6d3ea273252e4881ca448643eb8eb6d25)]
|
|
43
|
+
- don't use timeline from volto-eea-design-system [Miu Razvan - [`bfcf521`](https://github.com/eea/volto-timeline-block/commit/bfcf52143f656b908f12b3374cc3d596b35fc1f7)]
|
|
44
|
+
- Run bootstrap [Miu Razvan - [`5edf844`](https://github.com/eea/volto-timeline-block/commit/5edf844a3a00cb9b5a40cd2bed0a9fea49f5c841)]
|
|
45
|
+
### 0.1.0 - 23 March 2022
|
|
46
|
+
|
|
47
|
+
#### :hammer_and_wrench: Others
|
|
48
|
+
|
|
49
|
+
- Initial commit [Miu Razvan - [`b336dc7`](https://github.com/eea/volto-timeline-block/commit/b336dc76bdfad08e161f67312053a44570584e40)]
|
package/babel.config.js
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const { defineConfig } = require('cypress');
|
|
2
|
+
|
|
3
|
+
module.exports = defineConfig({
|
|
4
|
+
viewportWidth: 1280,
|
|
5
|
+
defaultCommandTimeout: 8888,
|
|
6
|
+
chromeWebSecurity: false,
|
|
7
|
+
reporter: 'junit',
|
|
8
|
+
video: true,
|
|
9
|
+
retries: {
|
|
10
|
+
runMode: 8,
|
|
11
|
+
openMode: 0,
|
|
12
|
+
},
|
|
13
|
+
reporterOptions: {
|
|
14
|
+
mochaFile: 'cypress/reports/cypress-[hash].xml',
|
|
15
|
+
jenkinsMode: true,
|
|
16
|
+
toConsole: true,
|
|
17
|
+
},
|
|
18
|
+
e2e: {
|
|
19
|
+
setupNodeEvents(on, config) {
|
|
20
|
+
// e2e testing node events setup code
|
|
21
|
+
require('@cypress/code-coverage/task')(on, config);
|
|
22
|
+
return config;
|
|
23
|
+
},
|
|
24
|
+
baseUrl: 'http://localhost:3000',
|
|
25
|
+
},
|
|
26
|
+
});
|
package/jest-addon.config.js
CHANGED
|
@@ -9,18 +9,18 @@ module.exports = {
|
|
|
9
9
|
'@plone/volto/babel': '<rootDir>/node_modules/@plone/volto/babel',
|
|
10
10
|
'@plone/volto/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
11
11
|
'@package/(.*)$': '<rootDir>/src/$1',
|
|
12
|
+
'@root/(.*)$': '<rootDir>/src/$1',
|
|
12
13
|
'@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
|
|
13
14
|
'@eeacms/(.*?)/(.*)$': '<rootDir>/src/addons/$1/src/$2',
|
|
14
|
-
'volto-slate
|
|
15
|
+
'@plone/volto-slate':
|
|
16
|
+
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
|
|
15
17
|
'~/(.*)$': '<rootDir>/src/$1',
|
|
16
18
|
'load-volto-addons':
|
|
17
19
|
'<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
|
|
20
|
+
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
|
|
18
21
|
},
|
|
19
22
|
transform: {
|
|
20
23
|
'^.+\\.js(x)?$': 'babel-jest',
|
|
21
|
-
'^.+\\.css$': 'jest-css-modules',
|
|
22
|
-
'^.+\\.less$': 'jest-css-modules',
|
|
23
|
-
'^.+\\.scss$': 'jest-css-modules',
|
|
24
24
|
'^.+\\.(png)$': 'jest-file',
|
|
25
25
|
'^.+\\.(jpg)$': 'jest-file',
|
|
26
26
|
'^.+\\.(svg)$': './node_modules/@plone/volto/jest-svgsystem-transform.js',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-timeline-block",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.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",
|
|
@@ -17,27 +17,30 @@
|
|
|
17
17
|
"url": "git@github.com:eea/volto-timeline-block.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@plone/scripts": "*"
|
|
21
20
|
},
|
|
22
21
|
"devDependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"
|
|
22
|
+
"@plone/scripts": "*",
|
|
23
|
+
"@cypress/code-coverage": "^3.10.0",
|
|
24
|
+
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
25
|
+
"md5": "^2.3.0"
|
|
25
26
|
},
|
|
26
27
|
"scripts": {
|
|
27
28
|
"release": "release-it",
|
|
29
|
+
"release-major-beta": "release-it major --preRelease=beta",
|
|
30
|
+
"release-beta": "release-it --preRelease=beta",
|
|
28
31
|
"bootstrap": "npm install -g ejs; npm link ejs; node bootstrap",
|
|
29
32
|
"test": "make test",
|
|
30
33
|
"test:fix": "make test-update",
|
|
31
34
|
"pre-commit": "yarn stylelint:fix && yarn prettier:fix && yarn lint:fix",
|
|
32
|
-
"stylelint": "
|
|
33
|
-
"stylelint:overrides": "
|
|
34
|
-
"stylelint:fix": "
|
|
35
|
-
"prettier": "
|
|
36
|
-
"prettier:fix": "
|
|
37
|
-
"lint": "
|
|
38
|
-
"lint:fix": "
|
|
39
|
-
"i18n": "
|
|
40
|
-
"cypress:run": "
|
|
41
|
-
"cypress:open": "
|
|
35
|
+
"stylelint": "make stylelint",
|
|
36
|
+
"stylelint:overrides": "make stylelint-overrides",
|
|
37
|
+
"stylelint:fix": "make stylelint-fix",
|
|
38
|
+
"prettier": "make prettier",
|
|
39
|
+
"prettier:fix": "make prettier-fix",
|
|
40
|
+
"lint": "make lint",
|
|
41
|
+
"lint:fix": "make lint-fix",
|
|
42
|
+
"i18n": "make i18n",
|
|
43
|
+
"cypress:run": "make cypress-run",
|
|
44
|
+
"cypress:open": "make cypress-open"
|
|
42
45
|
}
|
|
43
46
|
}
|
package/cypress.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"baseUrl": "http://localhost:3000",
|
|
3
|
-
"viewportWidth": 1280,
|
|
4
|
-
"defaultCommandTimeout": 8888,
|
|
5
|
-
"chromeWebSecurity": false,
|
|
6
|
-
"reporter": "junit",
|
|
7
|
-
"video": true,
|
|
8
|
-
"retries": {
|
|
9
|
-
"runMode": 8,
|
|
10
|
-
"openMode": 0
|
|
11
|
-
},
|
|
12
|
-
"reporterOptions": {
|
|
13
|
-
"mochaFile": "cypress/reports/cypress-[hash].xml",
|
|
14
|
-
"jenkinsMode": true,
|
|
15
|
-
"toConsole": true
|
|
16
|
-
}
|
|
17
|
-
}
|