@quarklab/rad-ui 0.3.9 → 0.3.10

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
@@ -1263,7 +1263,7 @@ async function addCommand(componentNames, opts) {
1263
1263
  const fileType = classifyFile(relPath);
1264
1264
  let destPath;
1265
1265
  if (fileType === "component") {
1266
- destPath = path4.resolve(componentsDir, relPath);
1266
+ destPath = path4.resolve(componentsDir, fileName);
1267
1267
  } else if (fileType === "hook") {
1268
1268
  destPath = path4.resolve(hooksDir, fileName);
1269
1269
  hooksCount++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quarklab/rad-ui",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "A CLI for adding Rad UI components to your project. Beautiful Persian-themed React components built on Radix UI and Tailwind CSS.",
5
5
  "license": "MIT",
6
6
  "type": "module",