@eeacms/volto-design-tokens 1.0.1 → 1.0.2

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,14 +4,29 @@ 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.1](https://github.com/eea/volto-design-tokens/compare/1.0.0...0.1.1) - 14 July 2023
7
+ ### [1.0.2](https://github.com/eea/volto-design-tokens/compare/1.0.1...1.0.2) - 29 August 2023
8
8
 
9
- #### :house: Internal changes
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: Change addon version [dana-cfc4 - [`251336d`](https://github.com/eea/volto-design-tokens/commit/251336daf9220cce0e86e603b61cfc9a2da5fd31)]
12
+
13
+ #### :house: Documentation changes
14
+
15
+ - docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #254894 [valentinab25 - [`5f437df`](https://github.com/eea/volto-design-tokens/commit/5f437df519d995eec1574078c7b323f229c0e4dd)]
16
+
17
+ #### :hammer_and_wrench: Others
18
+
19
+ - test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`2db0dd0`](https://github.com/eea/volto-design-tokens/commit/2db0dd011ffdbbf9fb5649e7fae5c8f8e9c36e7a)]
20
+ - Update README.md [dana-cfc4 - [`0998283`](https://github.com/eea/volto-design-tokens/commit/09982830041c2a0aff4207bcacbc597efc9e6d1a)]
21
+ ### [1.0.1](https://github.com/eea/volto-design-tokens/compare/1.0.0...1.0.1) - 14 July 2023
22
+
23
+ #### :bug: Bug Fixes
24
+
25
+ - fix: correct version [Andrei Grigore - [`fde968c`](https://github.com/eea/volto-design-tokens/commit/fde968ca0c8c0417958d03021fbff3b8a91396a9)]
10
26
 
11
- - chore: Replace addon name [dana-cfc4 - [`bd18b00`](https://github.com/eea/volto-design-tokens/commit/bd18b006369b548ed2faef77e433cb3e52b5adda)]
12
- - chore: Change addon name, formatting [dana-cfc4 - [`8d96d9b`](https://github.com/eea/volto-design-tokens/commit/8d96d9bb5614db5695372e9e6cfff4ab195689ef)]
27
+ ## [1.0.0](https://github.com/eea/volto-design-tokens/compare/0.1.1...1.0.0) - 13 July 2023
13
28
 
14
- ## [1.0.0](https://github.com/eea/volto-design-tokens/compare/0.1.0...1.0.0) - 13 July 2023
29
+ ### [0.1.1](https://github.com/eea/volto-design-tokens/compare/0.1.0...0.1.1) - 14 July 2023
15
30
 
16
31
  ### 0.1.0 - 13 July 2023
17
32
 
package/DEVELOP.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  ## Develop
4
4
 
5
+ 1. Make sure you have `docker` and `docker compose` installed and running on your machine:
6
+
7
+ ```Bash
8
+ git clone https://github.com/eea/volto-design-tokens.git
9
+ cd volto-design-tokens
10
+ git checkout -b bugfix-123456 develop
11
+ make
12
+ make start
13
+ ```
14
+
15
+ 1. Wait for `Volto started at 0.0.0.0:3000` meesage
16
+
17
+ 1. Go to http://localhost:3000
18
+
19
+ 1. Happy hacking!
20
+
21
+ ```Bash
22
+ cd src/addons/volto-design-tokens/
23
+ ```
24
+
25
+ ### Or add @eeacms/volto-design-tokens to your Volto project
26
+
5
27
  Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
6
28
 
7
29
  1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer`
@@ -49,3 +71,37 @@ Before starting make sure your development environment is properly set. See [Vol
49
71
  1. Happy hacking!
50
72
 
51
73
  cd src/addons/volto-design-tokens/
74
+
75
+ ## Cypress
76
+
77
+ To run cypress locally, first make sure you don't have any Volto/Plone running on ports `8080` and `3000`.
78
+
79
+ You don't have to be in a `clean-volto-project`, you can be in any Volto Frontend
80
+ project where you added `volto-design-tokens` to `mrs.developer.json`
81
+
82
+ Go to:
83
+
84
+ ```BASH
85
+ cd src/addons/volto-design-tokens/
86
+ ```
87
+
88
+ Start:
89
+
90
+ ```Bash
91
+ make
92
+ make start
93
+ ```
94
+
95
+ This will build and start with Docker a clean `Plone backend` and `Volto Frontend` with `volto-design-tokens` block installed.
96
+
97
+ Open Cypress Interface:
98
+
99
+ ```Bash
100
+ make cypress-open
101
+ ```
102
+
103
+ Or run it:
104
+
105
+ ```Bash
106
+ make cypress-run
107
+ ```
package/README.md CHANGED
@@ -19,14 +19,34 @@
19
19
 
20
20
  ## Features
21
21
 
22
- Demo GIF
22
+ Provides the following [EEA design system tokens](https://eea.github.io/):
23
+ * borders
24
+ * colors
25
+ * fonts
26
+ * shadows
27
+ * shapes
28
+ * sizes
29
+ * z-index
23
30
 
24
31
  ## Getting started
25
32
 
33
+ ### Try volto-design-tokens with Docker
34
+
35
+ git clone https://github.com/eea/volto-design-tokens.git
36
+ cd volto-design-tokens
37
+ make
38
+ make start
39
+
40
+ Go to http://localhost:3000
41
+
26
42
  ### Add volto-design-tokens to your Volto project
27
43
 
28
44
  1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone
29
45
 
46
+ ```Bash
47
+ docker compose up backend
48
+ ```
49
+
30
50
  1. Start Volto frontend
31
51
 
32
52
  * If you already have a volto project, just update `package.json`:
@@ -0,0 +1,32 @@
1
+ version: "3"
2
+ services:
3
+ backend:
4
+ image: eeacms/plone-backend
5
+ ports:
6
+ - "8080:8080"
7
+ environment:
8
+ SITE: "Plone"
9
+ PROFILES: "eea.kitkat:testing"
10
+
11
+ frontend:
12
+ build:
13
+ context: ./
14
+ dockerfile: ./Dockerfile
15
+ args:
16
+ ADDON_NAME: "${ADDON_NAME}"
17
+ ADDON_PATH: "${ADDON_PATH}"
18
+ VOLTO_VERSION: ${VOLTO_VERSION:-16}
19
+ ports:
20
+ - "3000:3000"
21
+ - "3001:3001"
22
+ depends_on:
23
+ - backend
24
+ volumes:
25
+ - ./:/app/src/addons/${ADDON_PATH}
26
+ environment:
27
+ CI: "true"
28
+ NODE_ENV: "development"
29
+ RAZZLE_JEST_CONFIG: "src/addons/${ADDON_PATH}/jest-addon.config.js"
30
+ RAZZLE_INTERNAL_API_PATH: "http://backend:8080/Plone"
31
+ RAZZLE_DEV_PROXY_API_PATH: "http://backend:8080/Plone"
32
+ HOST: "0.0.0.0"
@@ -0,0 +1,14 @@
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
+
@@ -0,0 +1,14 @@
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
+
@@ -0,0 +1,14 @@
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
+
package/locales/volto.pot CHANGED
@@ -0,0 +1,16 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Plone\n"
4
+ "POT-Creation-Date: 2023-06-28T10:48:22.678Z\n"
5
+ "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
+ "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=utf-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "Plural-Forms: nplurals=1; plural=0;\n"
11
+ "Language-Code: en\n"
12
+ "Language-Name: English\n"
13
+ "Preferred-Encodings: utf-8\n"
14
+ "Domain: volto\n"
15
+
16
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-design-tokens",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "@eeacms/volto-design-tokens: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -1 +0,0 @@
1
- module.exports = require('@plone/volto/babel');