@synergy-design-system/assets 1.0.2 → 1.1.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
@@ -1,3 +1,10 @@
1
+ # [@synergy-design-system/assets-v1.1.0](https://github.com/synergy-design-system/synergy-design-system/compare/assets/1.0.2...assets/1.1.0) (2024-01-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ add syn-tag ([#217](https://github.com/synergy-design-system/synergy-design-system/issues/217)) ([da91945](https://github.com/synergy-design-system/synergy-design-system/commit/da91945d1e7f4e5bb5cc2efd36e70f790c5663ad))
7
+
1
8
  # [@synergy-design-system/assets-v1.0.2](https://github.com/synergy-design-system/synergy-design-system/compare/assets/1.0.1...assets/1.0.2) (2023-12-14)
2
9
 
3
10
 
package/README.md CHANGED
@@ -2,28 +2,31 @@
2
2
 
3
3
  This package is taking care about getting assets (like logos, system icons and default icons) from Figma.
4
4
  The folder structure of the assets corresponds to the structure of the Figma page.
5
- - **logos:** contains the variants of the SICK brand logo
6
- - **icons:** contains the standard icons based on [Material Icons](https://fonts.google.com/icons)
7
- - **system-icons:** contains a small subset of icons, that are internally used by the Synergy components
8
5
 
9
- > **Note:** All assets from figma, which should not appear in this package (e.g. documentation), will start with an underscore (e.g. _my-doc-for-an-asset). This assets are getting filtered and ignored by this package.
6
+ - **logos:** contains the variants of the SICK brand logo
7
+ - **icons:** contains the standard icons based on [Material Icons](https://fonts.google.com/icons)
8
+ - **system-icons:** contains a small subset of icons, that are internally used by the Synergy components
9
+
10
+ > **Note:** All assets from figma, which should not appear in this package (e.g. documentation), will start with an underscore (e.g. \_my-doc-for-an-asset). This assets are getting filtered and ignored by this package.
10
11
 
11
12
  ### Setup
13
+
12
14
  To update the assets from Figma, first of all a personal access token in Figma needs to be created.
13
15
  The documentation how this can be achieved can be found [here](https://www.figma.com/developers/api#access-tokens).
14
16
  The only needed scope is "File content" set to readonly.
15
17
 
16
- After the creation of the personal access token, it needs to be saved in a ***.env*** file with the variable ***"FIGMA_PERSONAL_ACCESS_TOKEN"***.
17
- It should look like following:
18
+ After the creation of the personal access token, it needs to be saved in a **_.env_** file with the variable **_"FIGMA_PERSONAL_ACCESS_TOKEN"_**.
19
+ It should look like following:
18
20
 
19
21
  ```
20
22
  FIGMA_PERSONAL_ACCESS_TOKEN = "my-personal-access-token"
21
23
  ```
22
24
 
23
25
  ### Update assets from Figma
26
+
24
27
  If something in the Figma assets got changed, the assets of this package also needs to be updated.
25
28
  To update the assets run following in the terminal of the assets package folder:
29
+
26
30
  ```
27
31
  pnpm fetch-assets
28
32
  ```
29
-
package/package.json CHANGED
@@ -104,10 +104,12 @@
104
104
  ]
105
105
  },
106
106
  "type": "module",
107
- "version": "1.0.2",
107
+ "version": "1.1.0",
108
108
  "scripts": {
109
109
  "lint": "eslint .",
110
+ "format.eslint": "pnpm lint --fix",
110
111
  "fetch-assets": "node scripts/fetch-assets.js",
111
- "release": "semantic-release --tagFormat 'assets/${version}' -e semantic-release-monorepo"
112
+ "release": "semantic-release --tagFormat 'assets/${version}' -e semantic-release-monorepo",
113
+ "release.dry": "semantic-release --dry-run --tagFormat 'assets/${version}' -e semantic-release-monorepo"
112
114
  }
113
115
  }