@transight-design/cli 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -107,7 +107,8 @@ var resolveComponentPath = (component, override) => {
107
107
  }
108
108
  const candidates = [
109
109
  join(process.cwd(), "src", "components", "base", `${component}.tsx`),
110
- join(process.cwd(), "src", "components", "custom", `${component}.tsx`)
110
+ join(process.cwd(), "src", "components", "custom", `${component}.tsx`),
111
+ join(process.cwd(), "packages", "ui", "src", "components", `${component}.tsx`)
111
112
  ];
112
113
  return candidates.find((p) => existsSync(p)) ?? null;
113
114
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transight-design/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Transight Design System CLI — thin wrapper around `shadcn`",
5
5
  "license": "MIT",
6
6
  "type": "module",