sate-lib 1.1.28 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +13 -4
package/README.md CHANGED
@@ -57,3 +57,11 @@ import from "sate-lib/typography.css";
57
57
  ```bash
58
58
  [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test] : message
59
59
  ```
60
+
61
+ ## Fonts compression
62
+
63
+ We subset fonts using the script subset-fonts.js
64
+
65
+ ```bash
66
+ pnpm subset
67
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sate-lib",
3
- "version": "1.1.28",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -15,6 +15,10 @@
15
15
  "import": "./lib/components/badge/badge.js",
16
16
  "types": "./lib/components/badge/badge.d.ts"
17
17
  },
18
+ "./typography": {
19
+ "import": "./lib/components/typography/typography.js",
20
+ "types": "./lib/components/typography/typography.d.ts"
21
+ },
18
22
  "./tokens.css": "./lib/assets/styles/tokens.css",
19
23
  "./reset.css": "./lib/assets/styles/reset.css",
20
24
  "./typography.css": "./lib/assets/styles/typography.css"
@@ -30,13 +34,17 @@
30
34
  "dev": "rslib build --watch",
31
35
  "format": "biome format --write",
32
36
  "storybook": "storybook dev",
33
- "subset": "node ./subset-fonts.js"
37
+ "subset": "node ./subset-fonts.js",
38
+ "release": "semantic-release"
34
39
  },
35
40
  "devDependencies": {
36
41
  "@biomejs/biome": "^1.9.4",
37
42
  "@rsbuild/core": "1.4.0-beta.4",
38
43
  "@rsbuild/plugin-react": "^1.3.2",
39
44
  "@rslib/core": "^0.10.2",
45
+ "@semantic-release/changelog": "^6.0.3",
46
+ "@semantic-release/git": "^10.0.1",
47
+ "@semantic-release/npm": "^12.0.2",
40
48
  "@storybook/addon-docs": "^9.0.11",
41
49
  "@storybook/addon-essentials": "^9.0.0-alpha.12",
42
50
  "@storybook/addon-interactions": "^9.0.0-alpha.10",
@@ -48,11 +56,12 @@
48
56
  "@types/node": "^24.0.4",
49
57
  "@types/react": "^19.1.8",
50
58
  "react": "^19.1.0",
59
+ "semantic-release": "^24.2.5",
51
60
  "storybook": "^9.0.11",
52
61
  "storybook-addon-rslib": "^2.0.1",
53
62
  "storybook-react-rsbuild": "^2.0.1",
54
- "typescript": "^5.8.3",
55
- "subset-font": "^2.4.0"
63
+ "subset-font": "^2.4.0",
64
+ "typescript": "^5.8.3"
56
65
  },
57
66
  "peerDependencies": {
58
67
  "react": ">=16.9.0",