@sykoramaros/marosh-components 0.1.7 → 0.1.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/dist/cli/index.cjs +15 -2
- package/package.json +1 -1
package/dist/cli/index.cjs
CHANGED
|
@@ -7730,11 +7730,24 @@ var __filename2 = (0, import_url.fileURLToPath)(importMetaUrl);
|
|
|
7730
7730
|
var __dirname = import_path.default.dirname(__filename2);
|
|
7731
7731
|
var program2 = new Command();
|
|
7732
7732
|
var getComponentsPath = () => {
|
|
7733
|
-
const localPath = import_path.default.join(
|
|
7733
|
+
const localPath = import_path.default.join(
|
|
7734
|
+
__dirname,
|
|
7735
|
+
"..",
|
|
7736
|
+
"..",
|
|
7737
|
+
"src",
|
|
7738
|
+
"components",
|
|
7739
|
+
"basicComponents"
|
|
7740
|
+
);
|
|
7734
7741
|
if (import_fs_extra.default.existsSync(localPath)) {
|
|
7735
7742
|
return localPath;
|
|
7736
7743
|
}
|
|
7737
|
-
const packagePath = import_path.default.join(
|
|
7744
|
+
const packagePath = import_path.default.join(
|
|
7745
|
+
__dirname,
|
|
7746
|
+
"..",
|
|
7747
|
+
"src",
|
|
7748
|
+
"components",
|
|
7749
|
+
"basicComponents"
|
|
7750
|
+
);
|
|
7738
7751
|
if (import_fs_extra.default.existsSync(packagePath)) {
|
|
7739
7752
|
return packagePath;
|
|
7740
7753
|
}
|