@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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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, targetPath, path.basename(file.path));
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-grove/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "CLI for the-grove component library",
6
6
  "bin": {