Skip to content

Commit

Permalink
improved triggers
Browse files Browse the repository at this point in the history
improved file loading and saving
add basic auth
  • Loading branch information
Armaldio committed Aug 16, 2024
1 parent 3b5a415 commit 6460a6c
Show file tree
Hide file tree
Showing 19 changed files with 1,230 additions and 59 deletions.
5 changes: 4 additions & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[tools]
node = "latest"
node = "22.5.1"

[env]
_.file = '.env.local'
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ Tests:


- finir l'implementation des triggers
- overwrite d'un fichier fonctionne pas bien
overwrite d'un fichier fonctionne pas bien @done(24-07-30 17:40)
- fermer trop vite la fenêtre de modifiation n'enregistre pas le changement
- export Electron ne fonctionne pas
3 changes: 3 additions & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
Button: typeof import('primevue/button')['default']
Checkbox: typeof import('primevue/checkbox')['default']
Dialog: typeof import('primevue/dialog')['default']
Divider: typeof import('primevue/divider')['default']
Drawer: typeof import('primevue/drawer')['default']
IconField: typeof import('primevue/iconfield')['default']
Inplace: typeof import('primevue/inplace')['default']
InputIcon: typeof import('primevue/inputicon')['default']
InputText: typeof import('primevue/inputtext')['default']
Listbox: typeof import('primevue/listbox')['default']
Panel: typeof import('primevue/panel')['default']
Password: typeof import('primevue/password')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SelectButton: typeof import('primevue/selectbutton')['default']
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
style-src 'self' 'unsafe-inline';
style-src-elem 'self' 'unsafe-inline' https://fonts.googleapis.com;
font-src 'self' https://fonts.gstatic.com;
connect-src 'self' https://*.supabase.co;
"
/>
<link rel="preconnect" href="https://fonts.googleapis.com">
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"build:linux": "npm run build:no-check && electron-builder --linux --config",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish"
"publish": "electron-forge publish",
"supa:types": "supabase gen types typescript --project-id $VITE_SUPABASE_PROJECT_ID > src/shared/database.types.ts"
},
"dependencies": {
"@bugsnag/electron": "7.25.0",
Expand All @@ -57,8 +58,12 @@
"@primevue/themes": "4.0.1",
"@sentry/electron": "5.2.0",
"@sentry/vue": "8.20.0",
"@supabase/supabase-js": "2.45.0",
"@trpc/client": "^10.45.2",
"@types/dompurify": "3.0.5",
"@vee-validate/valibot": "4.13.2",
"@vuelidate/core": "2.0.3",
"@vuelidate/validators": "2.0.4",
"@vueuse/components": "^10.11.0",
"@vueuse/core": "^10.11.0",
"@vueuse/router": "^10.11.0",
Expand Down Expand Up @@ -103,6 +108,7 @@
"type-fest": "^4.23.0",
"update-electron-app": "3.0.0",
"valibot": "0.36.0",
"vee-validate": "4.13.2",
"vue-dompurify-html": "^5.1.0",
"web-worker": "^1.3.0",
"zod": "^3.23.8"
Expand Down Expand Up @@ -139,6 +145,7 @@
"npm-upgrade": "^3.1.0",
"prettier": "^3.3.3",
"primeflex": "^3.3.1",
"supabase": "1.187.8",
"ts-node": "10.9.2",
"typescript": "^5.5.4",
"unplugin-auto-import": "^0.18.2",
Expand Down
Loading

0 comments on commit 6460a6c

Please sign in to comment.