diff --git a/.gitignore b/.gitignore index 7690729..6de2a64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ auto-imports.d.ts components.d.ts +*.zip # Logs logs diff --git a/README.md b/README.md index 68ef40e..5022b28 100644 --- a/README.md +++ b/README.md @@ -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 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 - [APHP Logo](https://www.facebook.com/photo/?fbid=1057890036443767&set=a.589369969962445) diff --git a/package.json b/package.json index fe6807d..f7a50de 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "preview": "vite preview", "build-only": "vite 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:eslint": "eslint . --fix --cache", "lint": "run-s lint:*",