@terrazzo/cli 0.0.8 → 0.0.9

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/bin/cli.js CHANGED
@@ -234,7 +234,6 @@ async function loadTokens(tokenPaths) {
234
234
 
235
235
  // download/read
236
236
  for (const filepath of tokenPaths) {
237
- const pathname = filepath.pathname.toLowerCase();
238
237
  if (filepath.protocol === 'http:' || filepath.protocol === 'https:') {
239
238
  try {
240
239
  // if Figma URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terrazzo/cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
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": {
@@ -37,12 +37,12 @@
37
37
  "merge-anything": "^5.1.7",
38
38
  "picocolors": "^1.0.1",
39
39
  "yargs-parser": "^21.1.1",
40
- "@terrazzo/parser": "^0.0.8",
40
+ "@terrazzo/parser": "^0.0.9",
41
41
  "@terrazzo/token-tools": "^0.0.4"
42
42
  },
43
43
  "devDependencies": {
44
- "@types/node": "^20.14.9",
45
- "execa": "^9.3.0"
44
+ "execa": "^9.3.0",
45
+ "typescript": "^5.5.3"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "pnpm run build:clean && pnpm run build:ts",
package/src/index.ts DELETED
@@ -1,5 +0,0 @@
1
- import { type Config, defineConfig as defineConfigCore, type ConfigInit } from '@terrazzo/parser';
2
-
3
- export function defineConfig(config: Config): ConfigInit {
4
- return defineConfigCore(config, { cwd: new URL(`file://${process.cwd()}/`) });
5
- }