@quarklab/rad-ui 0.3.7 → 0.3.8

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ function getDefaultCssPath(projectType, srcDir) {
111
111
  const prefix = srcDir === "." ? "" : srcDir ? `${srcDir}/` : "src/";
112
112
  switch (projectType) {
113
113
  case "nextjs":
114
- return `${prefix}app/globals.css`;
114
+ return `${prefix}/globals.css`;
115
115
  case "vite":
116
116
  return `${prefix}index.css`;
117
117
  case "cra":
@@ -1045,7 +1045,7 @@ function transformImports(source, config) {
1045
1045
  );
1046
1046
  result = result.replace(
1047
1047
  /from\s+["']\.\/lib\/utils["']/g,
1048
- `from "${utilsAlias}"`
1048
+ `from "@${utilsAlias}"`
1049
1049
  );
1050
1050
  return result;
1051
1051
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quarklab/rad-ui",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
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",