Compare commits

..
17 Commits
Author SHA1 Message Date
Alexis 7164ec65b9 Fixed dist watching issues 2026-07-11 14:23:07 +02:00
Alexis e7a793a25e Added pnpm workspace 2026-07-11 14:00:30 +02:00
Alexis 5198dcf656 Fixed typo 2026-07-07 20:15:16 +02:00
Alexis 39a4f91e2e Updated package 2026-03-25 12:14:46 +01:00
Alexis ae3bd70e3c Version bump 2025-11-19 18:30:03 +01:00
Alexis 3b70b878a4 Merge branch 'dev' 2025-11-19 18:27:45 +01:00
Alexis 232ef4d914 Updated package 2025-11-19 18:27:35 +01:00
Alexis df81c74d76 Updated package 2025-10-15 17:39:32 +02:00
Alexis d85708a571 Updated package 2025-09-17 21:55:09 +02:00
Alexis 3911e55a6c Updated package 2025-09-12 19:53:47 +02:00
Alexis c09df15821 Updated package 2025-09-03 21:07:55 +02:00
Alexis defd3968fd Updated readme with .env specs 2025-08-27 19:51:20 +02:00
Alexis 0386cc3fe0 Updated readme 2025-08-27 19:47:21 +02:00
Alexis 832c37ef9d Updated packages 2025-08-27 19:46:29 +02:00
Alexis f2f42c0400 Updated packages 2025-08-23 22:38:51 +02:00
Alexis d49d5e79f2 Updated packages 2025-08-13 16:12:05 +02:00
Alexis 4209771189 Version bump 2025-07-17 23:20:18 +02:00
5 changed files with 1619 additions and 1931 deletions
+11 -1
View File
@@ -8,8 +8,18 @@
* Measure distances between two points
* Custom client-side markers
## Documentation
### Making usable map assets
Since we're not using earth maps, we need to build one compatible with Leaflet. I used Zoomify to generate usable tile data from my SVG maps. I don't know if this will fit your use case ; if you use something else, you can contact me !
> [!IMPORTANT]
> As of writing this, it appears Zoomify Unlimited Converter (which is what I used) is not available on Linux or for download anymore
### Enabling features
Some features are able to be toggled on and off. If you don't use multiple languages, or if you don't want the custom markers, you can disable them in the .env file. By default, all of them are true.
## Contributing
I'm not currently accepting pull-requests for this project, but if you have a suggestion, feel free to contact me !
## Notes
As someone with some degree of with [aphantasia](https://en.wikipedia.org/wiki/Aphantasia), I struggle with visualization and immersion, and DMing in general. If you find yourself in the same situation, I hope my little thing made your life easier !
As someone with some degree of [aphantasia](https://en.wikipedia.org/wiki/Aphantasia), I struggle with visualization and immersion, and DMing in general. If you find yourself in the same situation, I hope my little thing made your life easier !
+21 -12
View File
@@ -5,17 +5,26 @@ import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
integrations: [vue(), sitemap()],
output: 'static',
site: 'https://maps.alexcreates.fr',
prefetch: true,
env: {
schema: {
ENABLE_TOOLBAR: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_TOOLBAR_TAGS: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_CUSTOM_MARKERS: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_BREADCRUMB: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_I18N: envField.boolean({ context: "server", access: "secret", default: true }),
integrations: [vue(), sitemap()],
output: 'static',
site: 'https://maps.alexcreates.fr',
prefetch: true,
env: {
schema: {
ENABLE_TOOLBAR: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_TOOLBAR_TAGS: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_CUSTOM_MARKERS: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_BREADCRUMB: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_I18N: envField.boolean({ context: "server", access: "secret", default: true }),
}
},
vite: {
server: {
watch: {
ignored: [
'**/dist/**', // dist shouldn't be watched
],
},
},
}
}
});
+11 -11
View File
@@ -1,7 +1,7 @@
{
"name": "leim-maps",
"type": "module",
"version": "1.4.12",
"version": "1.4.14",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
@@ -10,18 +10,18 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/sitemap": "^3.4.1",
"@astrojs/vue": "^5.1.0",
"@nanostores/persistent": "1.0.0",
"@nanostores/vue": "^1.0.1",
"@types/leaflet": "^1.9.20",
"@vueuse/core": "^13.5.0",
"astro": "^5.12.0",
"nanostores": "^1.0.1",
"@astrojs/sitemap": "^3.7.1",
"@astrojs/vue": "^6.0.1",
"@nanostores/persistent": "1.3.3",
"@nanostores/vue": "^1.1.0",
"@types/leaflet": "^1.9.21",
"@vueuse/core": "^14.2.1",
"astro": "^6.0.8",
"nanostores": "^1.2.0",
"radix-vue": "^1.9.17",
"vue": "^3.5.17"
"vue": "^3.5.31"
},
"devDependencies": {
"sass": "^1.89.2"
"sass": "^1.98.0"
}
}
+1571 -1907
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -1,3 +1,8 @@
allowBuilds:
'@parcel/watcher': true
esbuild: true
sharp: true
vue-demi: true
onlyBuiltDependencies:
- '@parcel/watcher'
- esbuild