create-canaima-app 1.0.11 → 1.0.13
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/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 +41 -0
- package/tauri-material-tailwind/src/assets/canaima.svg +218 -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/components/Titlebar.vue +234 -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 +31 -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 +32 -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/tauri-materialize/src/App.vue +27 -4
- package/tauri-materialize/src/assets/canaima.svg +218 -0
- package/tauri-materialize/src/components/Titlebar.vue +265 -0
- package/tauri-materialize/src/css/style.css +10 -0
- package/tauri-materialize/src-tauri/capabilities/default.json +1 -1
- package/tauri-materialize/src-tauri/tauri.conf.json +4 -1
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.13",
|
|
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>
|