@eeacms/volto-citation 0.1.3 → 0.1.4
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/.husky/pre-commit +2 -0
- package/CHANGELOG.md +20 -0
- package/DEVELOP.md +6 -7
- package/cypress.config.js +2 -2
- package/docker-compose.yml +5 -1
- package/locales/de/LC_MESSAGES/volto.po +59 -0
- package/locales/en/LC_MESSAGES/volto.po +73 -0
- package/locales/it/LC_MESSAGES/volto.po +59 -0
- package/locales/ro/LC_MESSAGES/volto.po +59 -0
- package/locales/volto.pot +60 -1
- package/package.json +26 -2
- package/src/helpers/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@ 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
|
+
### [0.1.4](https://github.com/eea/volto-citation/compare/0.1.3...0.1.4) - 29 September 2023
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
- style: lint-staged reorder in package.json [Alin Voinea - [`b05d983`](https://github.com/eea/volto-citation/commit/b05d983e283811a20679c44254c55e549462028a)]
|
|
12
|
+
|
|
13
|
+
#### :house: Documentation changes
|
|
14
|
+
|
|
15
|
+
- docs: Update README and DEVELOP [Alin Voinea - [`7cdf143`](https://github.com/eea/volto-citation/commit/7cdf14349b4f08f09acb5b57525c79d307d1b254)]
|
|
16
|
+
- docs: Update README and DEVELOP [Alin Voinea - [`a124382`](https://github.com/eea/volto-citation/commit/a1243827ef8a4ad7d4f804af8a8d05f96f59c477)]
|
|
17
|
+
|
|
18
|
+
#### :hammer_and_wrench: Others
|
|
19
|
+
|
|
20
|
+
- test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`adbc1b5`](https://github.com/eea/volto-citation/commit/adbc1b5359b70e16510b764eb42c1c52778536ab)]
|
|
21
|
+
- test: Fix eslint and yarn i18n [Alin Voinea - [`d8f5cd1`](https://github.com/eea/volto-citation/commit/d8f5cd1fab04c42e354af4ecd640e2f9d1202e38)]
|
|
22
|
+
- i18n: Add en [Alin Voinea - [`9100e04`](https://github.com/eea/volto-citation/commit/9100e04e4de63f607a3867eaf45161b90d0985be)]
|
|
23
|
+
- test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`766a456`](https://github.com/eea/volto-citation/commit/766a456f3ab988aa916feaae5fab9f2f894390fe)]
|
|
24
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`44b2af5`](https://github.com/eea/volto-citation/commit/44b2af58fe025442100ef0c52c45154b2d74e267)]
|
|
25
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`8f0a7e2`](https://github.com/eea/volto-citation/commit/8f0a7e2713a1a2a7ecf34bd3f7dc23e61b815283)]
|
|
26
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c2597b9`](https://github.com/eea/volto-citation/commit/c2597b9778a2515e0b015b39a983add268f5c29a)]
|
|
7
27
|
### [0.1.3](https://github.com/eea/volto-citation/compare/0.1.2...0.1.3) - 3 August 2023
|
|
8
28
|
|
|
9
29
|
#### :house: Documentation changes
|
package/DEVELOP.md
CHANGED
|
@@ -16,12 +16,14 @@
|
|
|
16
16
|
|
|
17
17
|
1. Go to http://localhost:3000
|
|
18
18
|
|
|
19
|
-
1.
|
|
19
|
+
1. Initialize git hooks
|
|
20
20
|
|
|
21
21
|
```Bash
|
|
22
|
-
|
|
22
|
+
yarn prepare
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
1. Happy hacking!
|
|
26
|
+
|
|
25
27
|
### Or add @eeacms/volto-citation 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/)
|
|
@@ -48,18 +50,15 @@ Before starting make sure your development environment is properly set. See [Vol
|
|
|
48
50
|
|
|
49
51
|
1. Install
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
make develop
|
|
52
54
|
yarn
|
|
53
55
|
|
|
54
56
|
1. Start backend
|
|
55
57
|
|
|
56
|
-
docker pull plone
|
|
57
|
-
docker run -d --name plone -p 8080:8080 -e SITE=Plone -e PROFILES="profile-plone.restapi:blocks" plone
|
|
58
|
+
docker run --pull always -it --rm --name plone -p 8080:8080 -e SITE=Plone plone/plone-backend
|
|
58
59
|
|
|
59
60
|
...wait for backend to setup and start - `Ready to handle requests`:
|
|
60
61
|
|
|
61
|
-
docker logs -f plone
|
|
62
|
-
|
|
63
62
|
...you can also check http://localhost:8080/Plone
|
|
64
63
|
|
|
65
64
|
1. Start frontend
|
package/cypress.config.js
CHANGED
|
@@ -2,12 +2,12 @@ const { defineConfig } = require('cypress');
|
|
|
2
2
|
|
|
3
3
|
module.exports = defineConfig({
|
|
4
4
|
viewportWidth: 1280,
|
|
5
|
-
defaultCommandTimeout:
|
|
5
|
+
defaultCommandTimeout: 5000,
|
|
6
6
|
chromeWebSecurity: false,
|
|
7
7
|
reporter: 'junit',
|
|
8
8
|
video: true,
|
|
9
9
|
retries: {
|
|
10
|
-
runMode:
|
|
10
|
+
runMode: 1,
|
|
11
11
|
openMode: 0,
|
|
12
12
|
},
|
|
13
13
|
reporterOptions: {
|
package/docker-compose.yml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
version: "3"
|
|
2
2
|
services:
|
|
3
3
|
backend:
|
|
4
|
-
image:
|
|
4
|
+
image: eeacms/plone-backend
|
|
5
5
|
ports:
|
|
6
6
|
- "8080:8080"
|
|
7
7
|
environment:
|
|
8
8
|
SITE: "Plone"
|
|
9
|
+
PROFILES: "eea.kitkat:testing"
|
|
9
10
|
|
|
10
11
|
frontend:
|
|
11
12
|
build:
|
|
@@ -23,6 +24,9 @@ services:
|
|
|
23
24
|
volumes:
|
|
24
25
|
- ./:/app/src/addons/${ADDON_PATH}
|
|
25
26
|
environment:
|
|
27
|
+
CI: "true"
|
|
28
|
+
NODE_ENV: "development"
|
|
29
|
+
RAZZLE_JEST_CONFIG: "src/addons/${ADDON_PATH}/jest-addon.config.js"
|
|
26
30
|
RAZZLE_INTERNAL_API_PATH: "http://backend:8080/Plone"
|
|
27
31
|
RAZZLE_DEV_PROXY_API_PATH: "http://backend:8080/Plone"
|
|
28
32
|
HOST: "0.0.0.0"
|
|
@@ -11,4 +11,63 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#: schema
|
|
15
|
+
# defaultMessage: The authors that have contributed to the article
|
|
16
|
+
msgid "AauthorsDescription"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#: schema
|
|
20
|
+
# defaultMessage: One of the authors
|
|
21
|
+
msgid "AuthorDescription"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: Citation/CitationSidebar
|
|
25
|
+
#: schema
|
|
26
|
+
# defaultMessage: Citation
|
|
27
|
+
msgid "Citation"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#: Citation/CitationSidebar
|
|
31
|
+
# defaultMessage: No Citation selected
|
|
32
|
+
msgid "No Citation selected"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
#: schema
|
|
36
|
+
# defaultMessage: The title of the article
|
|
37
|
+
msgid "TitleDescription"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#: schema
|
|
41
|
+
# defaultMessage: URL
|
|
42
|
+
msgid "URL"
|
|
43
|
+
msgstr ""
|
|
14
44
|
|
|
45
|
+
#: schema
|
|
46
|
+
# defaultMessage: The url where the article can be found
|
|
47
|
+
msgid "URLDescription"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
#: schema
|
|
51
|
+
# defaultMessage: The year when the article was published
|
|
52
|
+
msgid "YearDescription"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
#: schema
|
|
56
|
+
# defaultMessage: Author
|
|
57
|
+
msgid "author"
|
|
58
|
+
msgstr ""
|
|
59
|
+
|
|
60
|
+
#: schema
|
|
61
|
+
# defaultMessage: Authors
|
|
62
|
+
msgid "authors"
|
|
63
|
+
msgstr ""
|
|
64
|
+
|
|
65
|
+
#: schema
|
|
66
|
+
# defaultMessage: Title
|
|
67
|
+
msgid "title"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
#: schema
|
|
71
|
+
# defaultMessage: Year
|
|
72
|
+
msgid "year"
|
|
73
|
+
msgstr ""
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"Project-Id-Version: \n"
|
|
4
|
+
"Report-Msgid-Bugs-To: \n"
|
|
5
|
+
"POT-Creation-Date: \n"
|
|
6
|
+
"PO-Revision-Date: \n"
|
|
7
|
+
"Last-Translator: \n"
|
|
8
|
+
"Language: \n"
|
|
9
|
+
"Language-Team: \n"
|
|
10
|
+
"Content-Type: \n"
|
|
11
|
+
"Content-Transfer-Encoding: \n"
|
|
12
|
+
"Plural-Forms: \n"
|
|
13
|
+
|
|
14
|
+
#: schema
|
|
15
|
+
# defaultMessage: The authors that have contributed to the article
|
|
16
|
+
msgid "AauthorsDescription"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#: schema
|
|
20
|
+
# defaultMessage: One of the authors
|
|
21
|
+
msgid "AuthorDescription"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: Citation/CitationSidebar
|
|
25
|
+
#: schema
|
|
26
|
+
# defaultMessage: Citation
|
|
27
|
+
msgid "Citation"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#: Citation/CitationSidebar
|
|
31
|
+
# defaultMessage: No Citation selected
|
|
32
|
+
msgid "No Citation selected"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
#: schema
|
|
36
|
+
# defaultMessage: The title of the article
|
|
37
|
+
msgid "TitleDescription"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#: schema
|
|
41
|
+
# defaultMessage: URL
|
|
42
|
+
msgid "URL"
|
|
43
|
+
msgstr ""
|
|
44
|
+
|
|
45
|
+
#: schema
|
|
46
|
+
# defaultMessage: The url where the article can be found
|
|
47
|
+
msgid "URLDescription"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
#: schema
|
|
51
|
+
# defaultMessage: The year when the article was published
|
|
52
|
+
msgid "YearDescription"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
#: schema
|
|
56
|
+
# defaultMessage: Author
|
|
57
|
+
msgid "author"
|
|
58
|
+
msgstr ""
|
|
59
|
+
|
|
60
|
+
#: schema
|
|
61
|
+
# defaultMessage: Authors
|
|
62
|
+
msgid "authors"
|
|
63
|
+
msgstr ""
|
|
64
|
+
|
|
65
|
+
#: schema
|
|
66
|
+
# defaultMessage: Title
|
|
67
|
+
msgid "title"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
#: schema
|
|
71
|
+
# defaultMessage: Year
|
|
72
|
+
msgid "year"
|
|
73
|
+
msgstr ""
|
|
@@ -11,4 +11,63 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#: schema
|
|
15
|
+
# defaultMessage: The authors that have contributed to the article
|
|
16
|
+
msgid "AauthorsDescription"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#: schema
|
|
20
|
+
# defaultMessage: One of the authors
|
|
21
|
+
msgid "AuthorDescription"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: Citation/CitationSidebar
|
|
25
|
+
#: schema
|
|
26
|
+
# defaultMessage: Citation
|
|
27
|
+
msgid "Citation"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#: Citation/CitationSidebar
|
|
31
|
+
# defaultMessage: No Citation selected
|
|
32
|
+
msgid "No Citation selected"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
#: schema
|
|
36
|
+
# defaultMessage: The title of the article
|
|
37
|
+
msgid "TitleDescription"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#: schema
|
|
41
|
+
# defaultMessage: URL
|
|
42
|
+
msgid "URL"
|
|
43
|
+
msgstr ""
|
|
14
44
|
|
|
45
|
+
#: schema
|
|
46
|
+
# defaultMessage: The url where the article can be found
|
|
47
|
+
msgid "URLDescription"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
#: schema
|
|
51
|
+
# defaultMessage: The year when the article was published
|
|
52
|
+
msgid "YearDescription"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
#: schema
|
|
56
|
+
# defaultMessage: Author
|
|
57
|
+
msgid "author"
|
|
58
|
+
msgstr ""
|
|
59
|
+
|
|
60
|
+
#: schema
|
|
61
|
+
# defaultMessage: Authors
|
|
62
|
+
msgid "authors"
|
|
63
|
+
msgstr ""
|
|
64
|
+
|
|
65
|
+
#: schema
|
|
66
|
+
# defaultMessage: Title
|
|
67
|
+
msgid "title"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
#: schema
|
|
71
|
+
# defaultMessage: Year
|
|
72
|
+
msgid "year"
|
|
73
|
+
msgstr ""
|
|
@@ -11,4 +11,63 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#: schema
|
|
15
|
+
# defaultMessage: The authors that have contributed to the article
|
|
16
|
+
msgid "AauthorsDescription"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#: schema
|
|
20
|
+
# defaultMessage: One of the authors
|
|
21
|
+
msgid "AuthorDescription"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: Citation/CitationSidebar
|
|
25
|
+
#: schema
|
|
26
|
+
# defaultMessage: Citation
|
|
27
|
+
msgid "Citation"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#: Citation/CitationSidebar
|
|
31
|
+
# defaultMessage: No Citation selected
|
|
32
|
+
msgid "No Citation selected"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
#: schema
|
|
36
|
+
# defaultMessage: The title of the article
|
|
37
|
+
msgid "TitleDescription"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#: schema
|
|
41
|
+
# defaultMessage: URL
|
|
42
|
+
msgid "URL"
|
|
43
|
+
msgstr ""
|
|
14
44
|
|
|
45
|
+
#: schema
|
|
46
|
+
# defaultMessage: The url where the article can be found
|
|
47
|
+
msgid "URLDescription"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
#: schema
|
|
51
|
+
# defaultMessage: The year when the article was published
|
|
52
|
+
msgid "YearDescription"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
#: schema
|
|
56
|
+
# defaultMessage: Author
|
|
57
|
+
msgid "author"
|
|
58
|
+
msgstr ""
|
|
59
|
+
|
|
60
|
+
#: schema
|
|
61
|
+
# defaultMessage: Authors
|
|
62
|
+
msgid "authors"
|
|
63
|
+
msgstr ""
|
|
64
|
+
|
|
65
|
+
#: schema
|
|
66
|
+
# defaultMessage: Title
|
|
67
|
+
msgid "title"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
#: schema
|
|
71
|
+
# defaultMessage: Year
|
|
72
|
+
msgid "year"
|
|
73
|
+
msgstr ""
|
package/locales/volto.pot
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Plone\n"
|
|
4
|
-
"POT-Creation-Date: 2023-
|
|
4
|
+
"POT-Creation-Date: 2023-08-29T17:31:41.550Z\n"
|
|
5
5
|
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
6
|
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
7
|
"MIME-Version: 1.0\n"
|
|
@@ -13,4 +13,63 @@ msgstr ""
|
|
|
13
13
|
"Preferred-Encodings: utf-8\n"
|
|
14
14
|
"Domain: volto\n"
|
|
15
15
|
|
|
16
|
+
#: schema
|
|
17
|
+
# defaultMessage: The authors that have contributed to the article
|
|
18
|
+
msgid "AauthorsDescription"
|
|
19
|
+
msgstr ""
|
|
20
|
+
|
|
21
|
+
#: schema
|
|
22
|
+
# defaultMessage: One of the authors
|
|
23
|
+
msgid "AuthorDescription"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
#: Citation/CitationSidebar
|
|
27
|
+
#: schema
|
|
28
|
+
# defaultMessage: Citation
|
|
29
|
+
msgid "Citation"
|
|
30
|
+
msgstr ""
|
|
31
|
+
|
|
32
|
+
#: Citation/CitationSidebar
|
|
33
|
+
# defaultMessage: No Citation selected
|
|
34
|
+
msgid "No Citation selected"
|
|
35
|
+
msgstr ""
|
|
36
|
+
|
|
37
|
+
#: schema
|
|
38
|
+
# defaultMessage: The title of the article
|
|
39
|
+
msgid "TitleDescription"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
#: schema
|
|
43
|
+
# defaultMessage: URL
|
|
44
|
+
msgid "URL"
|
|
45
|
+
msgstr ""
|
|
16
46
|
|
|
47
|
+
#: schema
|
|
48
|
+
# defaultMessage: The url where the article can be found
|
|
49
|
+
msgid "URLDescription"
|
|
50
|
+
msgstr ""
|
|
51
|
+
|
|
52
|
+
#: schema
|
|
53
|
+
# defaultMessage: The year when the article was published
|
|
54
|
+
msgid "YearDescription"
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
57
|
+
#: schema
|
|
58
|
+
# defaultMessage: Author
|
|
59
|
+
msgid "author"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
#: schema
|
|
63
|
+
# defaultMessage: Authors
|
|
64
|
+
msgid "authors"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
#: schema
|
|
68
|
+
# defaultMessage: Title
|
|
69
|
+
msgid "title"
|
|
70
|
+
msgstr ""
|
|
71
|
+
|
|
72
|
+
#: schema
|
|
73
|
+
# defaultMessage: Year
|
|
74
|
+
msgid "year"
|
|
75
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-citation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "@eeacms/volto-citation: Volto add-on",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -25,8 +25,31 @@
|
|
|
25
25
|
"@plone/scripts": "*",
|
|
26
26
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
27
27
|
"cypress-fail-fast": "^5.0.1",
|
|
28
|
+
"husky": "*",
|
|
29
|
+
"lint-staged": "*",
|
|
28
30
|
"md5": "^2.3.0"
|
|
29
31
|
},
|
|
32
|
+
"lint-staged": {
|
|
33
|
+
"src/**/*.{js,jsx,ts,tsx,json}": [
|
|
34
|
+
"make lint-fix",
|
|
35
|
+
"make prettier-fix"
|
|
36
|
+
],
|
|
37
|
+
"src/**/*.{jsx}": [
|
|
38
|
+
"make i18n"
|
|
39
|
+
],
|
|
40
|
+
"theme/**/*.{css,less}": [
|
|
41
|
+
"make stylelint-fix"
|
|
42
|
+
],
|
|
43
|
+
"src/**/*.{css,less}": [
|
|
44
|
+
"make stylelint-fix"
|
|
45
|
+
],
|
|
46
|
+
"theme/**/*.overrides": [
|
|
47
|
+
"make stylelint-fix"
|
|
48
|
+
],
|
|
49
|
+
"src/**/*.overrides": [
|
|
50
|
+
"make stylelint-fix"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
30
53
|
"scripts": {
|
|
31
54
|
"release": "release-it",
|
|
32
55
|
"release-major-beta": "release-it major --preRelease=beta",
|
|
@@ -44,6 +67,7 @@
|
|
|
44
67
|
"lint:fix": "make lint-fix",
|
|
45
68
|
"i18n": "make i18n",
|
|
46
69
|
"cypress:run": "make cypress-run",
|
|
47
|
-
"cypress:open": "make cypress-open"
|
|
70
|
+
"cypress:open": "make cypress-open",
|
|
71
|
+
"prepare": "husky install"
|
|
48
72
|
}
|
|
49
73
|
}
|
package/src/helpers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export useCopyToClipboard from './useCopyToClipboard';
|
|
1
|
+
export { default as useCopyToClipboard } from './useCopyToClipboard';
|