@vira-ui/cli 0.3.2-alpha → 0.3.3-alpha
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/dist/index.js +4 -14
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -178,22 +178,12 @@ async function createProjectStructure(projectPath, template) {
|
|
|
178
178
|
// vite.config.ts
|
|
179
179
|
const viteConfig = `import { defineConfig } from 'vite';
|
|
180
180
|
import react from '@vitejs/plugin-react';
|
|
181
|
-
import path from 'path';
|
|
182
181
|
|
|
182
|
+
// https://vitejs.dev/config/
|
|
183
183
|
export default defineConfig({
|
|
184
|
-
plugins: [
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
// babel: {
|
|
188
|
-
// plugins: [['@vira-ui/babel-plugin', {}]],
|
|
189
|
-
// },
|
|
190
|
-
}),
|
|
191
|
-
],
|
|
192
|
-
resolve: {
|
|
193
|
-
alias: {
|
|
194
|
-
'@vira-ui/ui': path.resolve(__dirname, 'node_modules/@vira-ui/ui/src/index.ts'),
|
|
195
|
-
'@vira-ui/core': path.resolve(__dirname, 'node_modules/@vira-ui/core/src/index.ts'),
|
|
196
|
-
},
|
|
184
|
+
plugins: [react()],
|
|
185
|
+
optimizeDeps: {
|
|
186
|
+
exclude: ['lucide-react'],
|
|
197
187
|
},
|
|
198
188
|
});
|
|
199
189
|
`;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vira-ui/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3-alpha",
|
|
4
4
|
"description": "CLI tool for ViraJS project generation",
|
|
5
5
|
"author": "Vira Team",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/
|
|
9
|
+
"url": "https://github.com/skrolikov/vira-cli"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
12
|
"vira",
|