create-canaima-app 1.0.11 → 1.0.12

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 (52) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -2
  3. package/tauri-material-tailwind/.gitignore copy +24 -0
  4. package/tauri-material-tailwind/.prettierignore +8 -0
  5. package/tauri-material-tailwind/.prettierrc +9 -0
  6. package/tauri-material-tailwind/.vscode/extensions.json +3 -0
  7. package/tauri-material-tailwind/README.md +7 -0
  8. package/tauri-material-tailwind/gitignore +24 -0
  9. package/tauri-material-tailwind/index.html +28 -0
  10. package/tauri-material-tailwind/package-lock.json +2859 -0
  11. package/tauri-material-tailwind/package.json +32 -0
  12. package/tauri-material-tailwind/public/ripple.js +95 -0
  13. package/tauri-material-tailwind/public/tauri.svg +6 -0
  14. package/tauri-material-tailwind/public/vite.svg +1 -0
  15. package/tauri-material-tailwind/src/App.vue +16 -0
  16. package/tauri-material-tailwind/src/assets/image.png +0 -0
  17. package/tauri-material-tailwind/src/assets/vue.svg +1 -0
  18. package/tauri-material-tailwind/src/components/Bienvenido.vue +417 -0
  19. package/tauri-material-tailwind/src/main.ts +12 -0
  20. package/tauri-material-tailwind/src/router/index.ts +16 -0
  21. package/tauri-material-tailwind/src/stores/useAppStore.ts +35 -0
  22. package/tauri-material-tailwind/src/style.css +22 -0
  23. package/tauri-material-tailwind/src/views/HomeView.vue +8 -0
  24. package/tauri-material-tailwind/src/vite-env.d.ts +7 -0
  25. package/tauri-material-tailwind/src-tauri/Cargo.lock +5471 -0
  26. package/tauri-material-tailwind/src-tauri/Cargo.toml +33 -0
  27. package/tauri-material-tailwind/src-tauri/build.rs +3 -0
  28. package/tauri-material-tailwind/src-tauri/capabilities/default.json +7 -0
  29. package/tauri-material-tailwind/src-tauri/icons/128x128.png +0 -0
  30. package/tauri-material-tailwind/src-tauri/icons/128x128@2x.png +0 -0
  31. package/tauri-material-tailwind/src-tauri/icons/32x32.png +0 -0
  32. package/tauri-material-tailwind/src-tauri/icons/Square107x107Logo.png +0 -0
  33. package/tauri-material-tailwind/src-tauri/icons/Square142x142Logo.png +0 -0
  34. package/tauri-material-tailwind/src-tauri/icons/Square150x150Logo.png +0 -0
  35. package/tauri-material-tailwind/src-tauri/icons/Square284x284Logo.png +0 -0
  36. package/tauri-material-tailwind/src-tauri/icons/Square30x30Logo.png +0 -0
  37. package/tauri-material-tailwind/src-tauri/icons/Square310x310Logo.png +0 -0
  38. package/tauri-material-tailwind/src-tauri/icons/Square44x44Logo.png +0 -0
  39. package/tauri-material-tailwind/src-tauri/icons/Square71x71Logo.png +0 -0
  40. package/tauri-material-tailwind/src-tauri/icons/Square89x89Logo.png +0 -0
  41. package/tauri-material-tailwind/src-tauri/icons/StoreLogo.png +0 -0
  42. package/tauri-material-tailwind/src-tauri/icons/icon.icns +0 -0
  43. package/tauri-material-tailwind/src-tauri/icons/icon.ico +0 -0
  44. package/tauri-material-tailwind/src-tauri/icons/icon.png +0 -0
  45. package/tauri-material-tailwind/src-tauri/src/lib.rs +17 -0
  46. package/tauri-material-tailwind/src-tauri/src/main.rs +6 -0
  47. package/tauri-material-tailwind/src-tauri/tauri.conf.json +29 -0
  48. package/tauri-material-tailwind/tsconfig.json +25 -0
  49. package/tauri-material-tailwind/tsconfig.node.json +10 -0
  50. package/tauri-material-tailwind/vite.config.ts +33 -0
  51. package/tauri-materialize/.vscode/settings.json +13 -0
  52. package/tauri-materialize/gitignore +24 -0
package/index.js CHANGED
@@ -160,6 +160,9 @@ async function main() {
160
160
  await fs.rm(path.join(targetDir, 'src-tauri', 'target'), { recursive: true, force: true }).catch(()=>null);
161
161
  await fs.rm(path.join(targetDir, '.git'), { recursive: true, force: true }).catch(()=>null);
162
162
 
163
+ // Restaurar el archivo .gitignore
164
+ await fs.rename(path.join(targetDir, 'gitignore'), path.join(targetDir, '.gitignore')).catch(()=>null);
165
+
163
166
  process.stdout.write(`\r${ML}${gr('✓')} ${w(`Plantilla copiada en ${projectName}`)} \n`);
164
167
  await sleep(200);
165
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-canaima-app",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "CLI para scaffolding de proyectos de escritorio con Tauri, Vue 3 y Rust.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -39,7 +39,6 @@
39
39
  "author": "Sam Urbina",
40
40
  "license": "ISC",
41
41
  "dependencies": {
42
- "create-canaima-app": "^1.0.8",
43
42
  "prompts": "^2.4.2"
44
43
  }
45
44
  }
@@ -0,0 +1,24 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ *.local
14
+
15
+ # Editor directories and files
16
+ .vscode/*
17
+ !.vscode/extensions.json
18
+ .idea
19
+ .DS_Store
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
@@ -0,0 +1,8 @@
1
+ node_modules/
2
+ dist/
3
+ src-tauri/target/
4
+ src-tauri/gen/
5
+ package-lock.json
6
+ Cargo.lock
7
+ .antigravity/
8
+ .gemini/
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/prettierrc",
3
+ "semi": false,
4
+ "singleQuote": true,
5
+ "printWidth": 300,
6
+ "singleAttributePerLine": true,
7
+ "htmlWhitespaceSensitivity": "ignore",
8
+ "bracketSameLine": false
9
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "recommendations": ["Vue.volar", "tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
3
+ }
@@ -0,0 +1,7 @@
1
+ # Tauri + Vue + TypeScript
2
+
3
+ This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ - [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
@@ -0,0 +1,24 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ *.local
14
+
15
+ # Editor directories and files
16
+ .vscode/*
17
+ !.vscode/extensions.json
18
+ .idea
19
+ .DS_Store
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
@@ -0,0 +1,28 @@
1
+ <!doctype html>
2
+ <html lang="es">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link
6
+ rel="icon"
7
+ type="image/svg+xml"
8
+ href="/vite.svg"
9
+ />
10
+ <meta
11
+ name="viewport"
12
+ content="width=device-width, initial-scale=1.0"
13
+ />
14
+ <title>Plantilla de Aplicación Canaima</title>
15
+ </head>
16
+
17
+ <body>
18
+ <div id="app"></div>
19
+ <script
20
+ type="module"
21
+ src="/src/main.ts"
22
+ ></script>
23
+ <script
24
+ async
25
+ src="/ripple.js"
26
+ ></script>
27
+ </body>
28
+ </html>