@terrazzo/cli 0.0.19 → 0.1.1
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/.turbo/turbo-build.log +1 -9
- package/CHANGELOG.md +20 -0
- package/CONTRIBUTING.md +13 -0
- package/bin/cli.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +7 -8
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @terrazzo/cli@0.
|
|
3
|
-
> pnpm run build:clean && pnpm run build:ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
> @terrazzo/cli@0.0.19 build:clean /home/runner/work/terrazzo/terrazzo/packages/cli
|
|
7
|
-
> del-cli dist
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> @terrazzo/cli@0.0.19 build:ts /home/runner/work/terrazzo/terrazzo/packages/cli
|
|
2
|
+
> @terrazzo/cli@0.1.1 build /home/runner/work/terrazzo/terrazzo/packages/cli
|
|
11
3
|
> tsc -p tsconfig.build.json
|
|
12
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @terrazzo/cli
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`9197405`](https://github.com/terrazzoapp/terrazzo/commit/9197405209d560f406494b6bd7aa1634608999c6), [`a637f67`](https://github.com/terrazzoapp/terrazzo/commit/a637f67e20009ce5eef1d5bc5b115cfa00b002d4)]:
|
|
8
|
+
- @terrazzo/token-tools@0.1.1
|
|
9
|
+
- @terrazzo/parser@0.1.1
|
|
10
|
+
|
|
11
|
+
## 0.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#319](https://github.com/terrazzoapp/terrazzo/pull/319) [`e7f272d`](https://github.com/terrazzoapp/terrazzo/commit/e7f272defcd889f5a410fdbd30497cf704671b32) Thanks [@drwpow](https://github.com/drwpow)! - ⚠️ Breaking change: dimension and duration tokens normalize to object syntax in plugins (following upcoming changes in DTCG spec; see https://github.com/design-tokens/community-group/pull/244).
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`e7f272d`](https://github.com/terrazzoapp/terrazzo/commit/e7f272defcd889f5a410fdbd30497cf704671b32)]:
|
|
20
|
+
- @terrazzo/token-tools@0.1.0
|
|
21
|
+
- @terrazzo/parser@0.1.0
|
|
22
|
+
|
|
3
23
|
## 0.0.19
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Contributing to @terrazzo/cli
|
|
2
|
+
|
|
3
|
+
This document contains developer notes and context for @terrazzo/parser. For general contribution guidelines, see [CONTRIBUTING.md](../../CONTRIBUTING.md) in the root.
|
|
4
|
+
|
|
5
|
+
## What this package does
|
|
6
|
+
|
|
7
|
+
- Runs @terrazzo/parser and saves the output to disk using Node.js
|
|
8
|
+
- Provide watcher scripts that also do this
|
|
9
|
+
|
|
10
|
+
## What this package DOES NOT do
|
|
11
|
+
|
|
12
|
+
- Parse/validate/normalize tokens.json (that’s for @terrazzo/parser)
|
|
13
|
+
- Interact with plugins
|
package/bin/cli.js
CHANGED
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
* SOFTWARE.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
import { parse, build, defineConfig, Logger } from '@terrazzo/parser';
|
|
27
|
-
import chokidar from 'chokidar';
|
|
28
|
-
import dotenv from 'dotenv';
|
|
29
26
|
import fs from 'node:fs';
|
|
30
27
|
import path from 'node:path';
|
|
31
28
|
import { fileURLToPath } from 'node:url';
|
|
29
|
+
import { Logger, build, defineConfig, parse } from '@terrazzo/parser';
|
|
30
|
+
import chokidar from 'chokidar';
|
|
31
|
+
import dotenv from 'dotenv';
|
|
32
32
|
import pc from 'picocolors';
|
|
33
33
|
import yamlToMomoa from 'yaml-to-momoa';
|
|
34
34
|
import parser from 'yargs-parser';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAElG,MAAM,UAAU,YAAY,CAAC,MAAc;IACzC,OAAO,gBAAgB,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,IAAI,GAAG,CAAC,UAAU,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAChF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terrazzo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
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": {
|
|
@@ -35,20 +35,19 @@
|
|
|
35
35
|
"chokidar": "^3.6.0",
|
|
36
36
|
"dotenv": "^16.4.5",
|
|
37
37
|
"merge-anything": "^5.1.7",
|
|
38
|
-
"picocolors": "^1.1.
|
|
39
|
-
"yaml-to-momoa": "^0.0.
|
|
38
|
+
"picocolors": "^1.1.1",
|
|
39
|
+
"yaml-to-momoa": "^0.0.3",
|
|
40
40
|
"yargs-parser": "^21.1.1",
|
|
41
|
-
"@terrazzo/parser": "^0.
|
|
42
|
-
"@terrazzo/token-tools": "^0.
|
|
41
|
+
"@terrazzo/parser": "^0.1.1",
|
|
42
|
+
"@terrazzo/token-tools": "^0.1.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.6.3"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "
|
|
49
|
-
"build:clean": "del-cli dist",
|
|
50
|
-
"build:ts": "tsc -p tsconfig.build.json",
|
|
48
|
+
"build": "tsc -p tsconfig.build.json",
|
|
51
49
|
"dev": "tsc -p tsconfig.build.json -w",
|
|
50
|
+
"format": "biome check --fix --unsafe .",
|
|
52
51
|
"lint": "biome check .",
|
|
53
52
|
"test": "pnpm --filter @terrazzo/cli run \"/^test:.*/\"",
|
|
54
53
|
"test:js": "vitest run",
|