create-canaima-app 1.0.10 → 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.
- package/README.md +1 -2
- package/index.js +3 -0
- package/package.json +1 -2
- package/tauri-material-tailwind/.gitignore copy +24 -0
- package/tauri-material-tailwind/.prettierignore +8 -0
- package/tauri-material-tailwind/.prettierrc +9 -0
- package/tauri-material-tailwind/.vscode/extensions.json +3 -0
- package/tauri-material-tailwind/README.md +7 -0
- package/tauri-material-tailwind/gitignore +24 -0
- package/tauri-material-tailwind/index.html +28 -0
- package/tauri-material-tailwind/package-lock.json +2859 -0
- package/tauri-material-tailwind/package.json +32 -0
- package/tauri-material-tailwind/public/ripple.js +95 -0
- package/tauri-material-tailwind/public/tauri.svg +6 -0
- package/tauri-material-tailwind/public/vite.svg +1 -0
- package/tauri-material-tailwind/src/App.vue +16 -0
- package/tauri-material-tailwind/src/assets/image.png +0 -0
- package/tauri-material-tailwind/src/assets/vue.svg +1 -0
- package/tauri-material-tailwind/src/components/Bienvenido.vue +417 -0
- package/tauri-material-tailwind/src/main.ts +12 -0
- package/tauri-material-tailwind/src/router/index.ts +16 -0
- package/tauri-material-tailwind/src/stores/useAppStore.ts +35 -0
- package/tauri-material-tailwind/src/style.css +22 -0
- package/tauri-material-tailwind/src/views/HomeView.vue +8 -0
- package/tauri-material-tailwind/src/vite-env.d.ts +7 -0
- package/tauri-material-tailwind/src-tauri/Cargo.lock +5471 -0
- package/tauri-material-tailwind/src-tauri/Cargo.toml +33 -0
- package/tauri-material-tailwind/src-tauri/build.rs +3 -0
- package/tauri-material-tailwind/src-tauri/capabilities/default.json +7 -0
- package/tauri-material-tailwind/src-tauri/icons/128x128.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/128x128@2x.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/32x32.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square107x107Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square142x142Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square150x150Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square284x284Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square30x30Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square310x310Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square44x44Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square71x71Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/Square89x89Logo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/StoreLogo.png +0 -0
- package/tauri-material-tailwind/src-tauri/icons/icon.icns +0 -0
- package/tauri-material-tailwind/src-tauri/icons/icon.ico +0 -0
- package/tauri-material-tailwind/src-tauri/icons/icon.png +0 -0
- package/tauri-material-tailwind/src-tauri/src/lib.rs +17 -0
- package/tauri-material-tailwind/src-tauri/src/main.rs +6 -0
- package/tauri-material-tailwind/src-tauri/tauri.conf.json +29 -0
- package/tauri-material-tailwind/tsconfig.json +25 -0
- package/tauri-material-tailwind/tsconfig.node.json +10 -0
- package/tauri-material-tailwind/vite.config.ts +33 -0
- package/tauri-materialize/.vscode/settings.json +13 -0
- package/tauri-materialize/gitignore +24 -0
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="https://canaima.softwarelibre.gob.ve/
|
|
2
|
+
<img src="https://canaima.softwarelibre.gob.ve/wp-content/uploads/2024/10/canaima-logos-nuevo-blanco.png" alt="Canaima GNU/Linux Logo" width="200" />
|
|
3
3
|
|
|
4
4
|
# create-canaima-app
|
|
5
5
|
|
|
@@ -26,7 +26,6 @@ No necesitas instalar el paquete globalmente, simplemente ejecuta:
|
|
|
26
26
|
npx create-canaima-app@latest
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Nuestro asistente amigable `\(^-^)/` te guiará con unas pocas preguntas:
|
|
30
29
|
1. El nombre de tu proyecto.
|
|
31
30
|
2. La plantilla y el sistema de estilos que prefieras (Tailwind CSS o Materialize CSS).
|
|
32
31
|
3. Si deseas instalar las dependencias de NPM automáticamente.
|
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.
|
|
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,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>
|