feat: zip extension and update reaedme

This commit is contained in:
Pihkaal
2025-11-05 19:11:07 +01:00
parent 5c47d20a6e
commit 1777382349
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
auto-imports.d.ts auto-imports.d.ts
components.d.ts components.d.ts
*.zip
# Logs # Logs
logs logs

View File

@@ -13,6 +13,11 @@ Planning exporter for [APHP Gestime](https://gestime.aphp.fr). Export your plann
4. Choose the folder where you extracted the files 4. Choose the folder where you extracted the files
5. Done! Additionally, you can pin the extension (click on the puzzle icon in the browser toolbar) 5. Done! Additionally, you can pin the extension (click on the puzzle icon in the browser toolbar)
> [!WARNING]
> Do not move the folder were you extracted the extension, otherwhise it will stop working.
> This limitation is due to the extension not being published to the Chrome Webstore.
## References ## References
- [APHP Logo](https://www.facebook.com/photo/?fbid=1057890036443767&set=a.589369969962445) - [APHP Logo](https://www.facebook.com/photo/?fbid=1057890036443767&set=a.589369969962445)

View File

@@ -13,6 +13,7 @@
"preview": "vite preview", "preview": "vite preview",
"build-only": "vite build", "build-only": "vite build",
"type-check": "vue-tsc --build", "type-check": "vue-tsc --build",
"zip": "pnpm build && cp -r dist aphp-gestime-exporter && zip -r aphp-gestime-exporter.zip aphp-gestime-exporter && rm -rf aphp-gestime-exporter/",
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore", "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
"lint:eslint": "eslint . --fix --cache", "lint:eslint": "eslint . --fix --cache",
"lint": "run-s lint:*", "lint": "run-s lint:*",