@20minutes/hela 2.0.1 → 2.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/README.md CHANGED
@@ -1 +1,40 @@
1
- Hi, this is Hela.
1
+ # Hela
2
+
3
+ [![Build Status](https://app.travis-ci.com/20minutes/hela.svg?token=WLCcDeVWNcj6cS73wonE&branch=master)](https://app.travis-ci.com/20minutes/hela)
4
+ [![install size](https://packagephobia.com/badge?p=@20minutes/hela)](https://packagephobia.com/result?p=@20minutes/hela)
5
+
6
+ ![Hela](https://i.imgur.com/9Xrucf6.jpg)
7
+
8
+ Technical requirements to work on this project:
9
+
10
+ - [React](https://reactjs.org/)
11
+ - [TypeScript](https://www.typescriptlang.org/)
12
+ - [Storybook](https://storybook.js.org/)
13
+ - [BEM](http://getbem.com/)
14
+ - [Atomic Design](https://atomicdesign.bradfrost.com/table-of-contents/)
15
+
16
+ # Summary
17
+
18
+ - [Architecture and best practices](docs/architecture-and-best-practices.md)
19
+ - [Compress and subsetting fonts](docs/compress-and-subsetting-fonts.md)
20
+
21
+ ## Development
22
+
23
+ Node 22 is required, run `nvm install`.
24
+
25
+ You can get last rubric colors by running `download:colors` command. To run it locally, you need to set `NOVA_BASE_URL` and `HELA_AUTH_KEY` environment variables in .env file.
26
+
27
+ ### Update snapshots
28
+
29
+ You can run this command to update snapshots:
30
+
31
+ ```bash
32
+ yarn test -u
33
+ ```
34
+
35
+ ### Add SVGs
36
+
37
+ - Cleanup the file with https://jakearchibald.github.io/svgomg/
38
+ - Remove `style="enable-background:new 0 0 28 28" xml:space="preserve"`
39
+ - Add `<?xml version="1.0" encoding="utf-8"?>` at the beginning of the file, before `<svg>`
40
+ - Add an end line