gladvn 0.2.34 → 0.2.35

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/bin/cli.js +2 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -46,6 +46,7 @@ Options:
46
46
  let userDest = "gladvn";
47
47
  let command = "init";
48
48
  let componentToAdd = null;
49
+ let viteConfigPath = null;
49
50
  const args = process.argv.slice(2);
50
51
 
51
52
  if (args[0] === "init") {
@@ -500,7 +501,7 @@ async function main() {
500
501
 
501
502
  // Step 4. Configure Vite Alias
502
503
  const viteConfigFiles = ['vite.config.ts', 'vite.config.js', 'vite.config.mts', 'vite.config.mjs'];
503
- let viteConfigPath = null;
504
+ viteConfigPath = null;
504
505
  for (const file of viteConfigFiles) {
505
506
  const p = path.join(process.cwd(), file);
506
507
  if (fs.existsSync(p)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gladvn",
3
- "version": "0.2.34",
3
+ "version": "0.2.35",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@10.11.0",
6
6
  "description": "A CLI to scaffold beautiful, accessible React components into your project. Powered by Tailwind CSS v4 and Base UI.",