@the-grove/cli 0.1.3 → 0.1.5
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ async function installComponent(registryEntry, targetPath) {
|
|
|
116
116
|
await execa("npm", ["install", ...registryEntry.dependencies], { cwd, stdio: "inherit" });
|
|
117
117
|
}
|
|
118
118
|
for (const file of registryEntry.files) {
|
|
119
|
-
const filePath = path.join(cwd,
|
|
119
|
+
const filePath = path.join(cwd, file.path);
|
|
120
120
|
const dir = path.dirname(filePath);
|
|
121
121
|
await fs.ensureDir(dir);
|
|
122
122
|
await fs.writeFile(filePath, file.content, "utf-8");
|