gladvn 0.2.34 → 0.2.36
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/bin/cli.js +2 -1
- package/package.json +2 -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
|
-
|
|
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.
|
|
3
|
+
"version": "0.2.36",
|
|
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.",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "vite",
|
|
38
|
+
"build": "npm run build:app",
|
|
38
39
|
"build:app": "vite build -c vite.config.app.ts",
|
|
39
40
|
"lint": "oxlint",
|
|
40
41
|
"preview": "vite preview",
|