Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
env:
GH_PAT: ${{ secrets.GH_PAT }}

- name: 🎨 Build Icons
run: bun run build:icons

- name: 🏗️ Build
run: bun run build
env:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ jobs:
- name: 📥 Checkout Repository
uses: actions/checkout@v4

- name: 🍞 Setup Bun
uses: oven-sh/setup-bun@v2

- name: 🧶 Install Dependencies
run: bun install --frozen-lockfile
env:
GH_PAT: ${{ secrets.GH_PAT }}

- name: 🚀 Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- name: 🛡️ Type Check
run: bun run check

- name: 🎨 Build Icons
run: bun run build:icons

- name: 🏗️ Build
run: bun run build
env:
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ Thumbs.db
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
dev-dist/

# dinamic favicons
apple-icon-180.png
favicon-196.png
manifest-icon-192.png
manifest-icon-192.maskable.png
manifest-icon-512.png
manifest-icon-512.maskable.png
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
"parser": "svelte"
}
}
],
"tailwindStylesheet": "./src/routes/layout.css"
]
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ Ahora integrando [GradeSolver](https://github.com/madmti/GradeSolver) como modul
1. Clona el repositorio

```bash
git clone https://github.com/Ramo-Libre/Web.git
git clone https://github.com/Ramo-Libre/Web.git Ramo-Libre-Web
cd Ramo-Libre-Web
```

2. Instala las dependencias

```bash
pnpm install
bun install
```

3. Inicia el servidor local de supabase

```bash
pnpx supabase start
bunx supabase start
```

4. Configura las variables de entorno
Expand All @@ -37,7 +37,7 @@ cp .env.example .env
Edita el archivo `.env` con tus credenciales de Supabase y cualquier otra configuración necesaria. Asegúrate de configurar correctamente la URL y la publishable key de Supabase. 5. Inicia el servidor de desarrollo

```bash
pnpm run dev
bun run dev
```

5. Abre tu navegador en `http://localhost:5173` para ver la aplicación en acción.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"scripts": {
"dev": "vite dev",
"build:icons": "bunx pwa-asset-generator node_modules/@ramo-libre/ui-themes/src/assets/web.svg static --icon-only --opaque=false --name pwa && bunx pwa-asset-generator node_modules/@ramo-libre/ui-themes/src/assets/web.svg static --icon-only --type=png --background=#ffffff --name maskable-icon",
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import '@ramo-libre/ui-themes/tailwind.css';
import '@ramo-libre/ui-themes/tailwind.css';
import './custom.css';
import { onMount } from 'svelte';
import { pwaInfo } from 'virtual:pwa-info';
Expand Down
Binary file removed static/apple-touch-icon-180x180.png
Binary file not shown.
Binary file removed static/favicon.ico
Binary file not shown.
Binary file removed static/favicon.webp
Binary file not shown.
Binary file removed static/maskable-icon-512x512.png
Binary file not shown.
Binary file removed static/pwa-192x192.png
Binary file not shown.
Binary file removed static/pwa-512x512.png
Binary file not shown.
Binary file removed static/pwa-64x64.png
Binary file not shown.
31 changes: 19 additions & 12 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,44 @@ export default defineConfig({
display_override: ['window-controls-overlay'],
icons: [
{
src: 'pwa-64x64.png',
sizes: '64x64',
src: 'apple-icon-180.png',
sizes: '180x180',
type: 'image/png'
},
{
src: 'pwa-192x192.png',
sizes: '192x192',
src: 'favicon-196.png',
sizes: '196x196',
type: 'image/png'
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
src: 'manifest-icon-192.maskable.png',
sizes: '192x192',
type: 'image/png',
purpose: 'maskable'
},
{
src: 'manifest-icon-192.png',
sizes: '192x192',
type: 'image/png',
purpose: 'any'
},
{
src: 'maskable-icon-512x512.png',
src: 'manifest-icon-512.maskable.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable'
},
{
src: 'apple-touch-icon-180x180.png',
sizes: '180x180',
type: 'image/png'
src: 'manifest-icon-512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any'
}
]
},
workbox: {
globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
globIgnores: ['**/stats.html']
globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
globIgnores: ['**/stats.html']
},
devOptions: {
enabled: true
Expand Down
Loading