@terrazzo/cli 0.7.2 → 0.7.3
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 +10 -0
- package/README.md +21 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @terrazzo/cli
|
|
2
2
|
|
|
3
|
+
## 0.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#482](https://github.com/terrazzoapp/terrazzo/pull/482) [`abc14c4`](https://github.com/terrazzoapp/terrazzo/commit/abc14c4f59f21a1c7d05d613dacdebcd9d512838) Thanks [@drwpow](https://github.com/drwpow)! - Fix documentation links
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`abc14c4`](https://github.com/terrazzoapp/terrazzo/commit/abc14c4f59f21a1c7d05d613dacdebcd9d512838)]:
|
|
10
|
+
- @terrazzo/parser@0.7.2
|
|
11
|
+
- @terrazzo/token-tools@0.7.3
|
|
12
|
+
|
|
3
13
|
## 0.7.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# ⛋ @terrazzo/cli
|
|
2
2
|
|
|
3
|
-
CLI
|
|
3
|
+
The Terrazzo CLI takes DTCG tokens and generates code using plugins (e.g. [CSS](../plugin-css/), [Sass](../plugin-sass/), [JS/TS](../plugin-js/), and more). You can either run the Terrazzo CLI manually, or as part of your <abbr title="Continuous Integration">CI</abbr> process.
|
|
4
4
|
|
|
5
|
-
[
|
|
5
|
+
> [!TIP]
|
|
6
|
+
> Migrating from Cobalt? Check out the [Migration Guide](/docs/cli/migrating)
|
|
7
|
+
|
|
8
|
+
## Quickstart
|
|
9
|
+
|
|
10
|
+
First, install the package using your package manager of choice:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm i -D @terrazzo/cli
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
And you can create a configuration and install plugins with the `init` command:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npx tz init
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
This will create a `terrazzo.config.js` starter config file, and even start your token system from a popular open source design system.
|
|
23
|
+
|
|
24
|
+
[Full documentation](https://terrazzo.app/docs/cli)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terrazzo/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "CLI for managing design tokens using the Design Tokens Community Group (DTCG) standard and generating code for any platform via plugins.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@clack/prompts": "^0.9.1",
|
|
44
|
-
"@hono/node-server": "^1.14.
|
|
44
|
+
"@hono/node-server": "^1.14.3",
|
|
45
45
|
"@humanwhocodes/momoa": "^3.3.8",
|
|
46
46
|
"@types/escodegen": "^0.0.10",
|
|
47
47
|
"chokidar": "^3.6.0",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"mime": "^4.0.7",
|
|
54
54
|
"picocolors": "^1.1.1",
|
|
55
55
|
"yaml-to-momoa": "^0.0.6",
|
|
56
|
-
"@terrazzo/parser": "^0.7.
|
|
57
|
-
"@terrazzo/token-tools": "^0.7.
|
|
56
|
+
"@terrazzo/parser": "^0.7.2",
|
|
57
|
+
"@terrazzo/token-tools": "^0.7.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
60
|
+
"@vitejs/plugin-react-swc": "^3.10.0",
|
|
61
61
|
"react": "19.0.0",
|
|
62
62
|
"react-dom": "19.0.0",
|
|
63
63
|
"vite": "^6.3.5"
|