@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.
- package/dist/index.js +2 -1
- 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
|
};
|