mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
[Migration] NPM (#1266)
* chore: add npm + vite for progressive enhancement * fix: update Dockerfile to copy only the dist folder contents * fix: update Dockerfile to use multi-stage build for optimized production image * fix: correct nginx config file copy command in Dockerfile * chore: add netlify configuration for build and redirects * fix: add NODE_VERSION to environment in Netlify configuration * remove wrong dist folder * Update package.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: split public and src * migrating all util files from js to ts * feat: Implement HeightmapGenerator and Voronoi module - Added HeightmapGenerator class for generating heightmaps with various tools (Hill, Pit, Range, Trough, Strait, etc.). - Introduced Voronoi class for creating Voronoi diagrams using Delaunator. - Updated index.html to include new modules. - Created index.ts to manage module imports. - Enhanced arrayUtils and graphUtils with type definitions and improved functionality. - Added utility functions for generating grids and calculating Voronoi cells. * chore: add GitHub Actions workflow for deploying to GitHub Pages * fix: update branch name in GitHub Actions workflow from 'main' to 'master' * chore: update package.json to specify Node.js engine version and remove unused launch.json * Initial plan * Update copilot guidelines to reflect NPM/Vite/TypeScript migration Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com> * Update src/modules/heightmap-generator.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/utils/graphUtils.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/modules/heightmap-generator.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * feat: Add TIME and ERROR variables to global scope in HeightmapGenerator * fix: Update base path in vite.config.ts for Netlify deployment * fix: Update Node.js version in Dockerfile to 24-alpine --------- Co-authored-by: Marc Emmanuel <marc.emmanuel@tado.com> Co-authored-by: Marc Emmanuel <marcwissler@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
This commit is contained in:
parent
0c26f0831f
commit
9e0eb03618
713 changed files with 5182 additions and 2161 deletions
|
|
@ -1,16 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="#d7374a" stroke="#000" viewBox="50 50 200 200">
|
||||
<metadata source="http://wappenwiki.org" license="https://creativecommons.org/licenses/by-nc-sa/3.0"/>
|
||||
<g id="key" stroke-width=".425">
|
||||
<path d="M92.418 82.053h2.485v4.124h1.539v-6.015h6.552V69.767h-6.552v-5.915h-1.54v3.953h-2.484V63.85h-7.682v3.413h4.35v2.503h-4.35v3.953h6.482v-2.247h2.485v2.247h2.428v2.503h-2.428v2.232h-2.485v-2.232h-6.481v3.939h4.349v2.502h-4.35v3.513h7.682z"/>
|
||||
<path d="M99.802 121.172V61.164c0-.74 1.06-1.351 2.358-1.351s2.359.612 2.359 1.35v60.01h-4.717z"/>
|
||||
<path d="M99.802 116.181a.706.711 0 0 1 0-1.393h4.702a.706.711 0 0 1 0 1.393h-4.702zm0 5.39a.706.711 0 0 1 0-1.394h4.702a.706.711 0 0 1 0 1.393h-4.702zm0-1.792a1.638 1.65 0 0 1 0-3.3h4.702a1.638 1.65 0 0 1 0 3.3h-4.702z"/>
|
||||
<ellipse cx="102.161" cy="137.909" rx="2.485" ry="1.991"/>
|
||||
<path d="M100.17 136.857a.706.711 0 0 1 0-1.394h3.981a.706.711 0 0 1 0 1.394h-3.981z"/>
|
||||
<ellipse cx="112.581" cy="129.107" rx="1.977" ry="2.503"/>
|
||||
<path d="M111.55 131.112a.706.711 0 0 1-1.383 0v-4.01a.706.711 0 0 1 1.383 0v4.01z"/>
|
||||
<ellipse cx="91.599" cy="129.107" rx="1.977" ry="2.503"/>
|
||||
<path d="M92.644 127.102a.706.711 0 0 1 1.383 0v4.01a.706.711 0 0 1-1.383 0v-4.01zm15.433 2.034-5.959 4.251-5.845-4.308 5.958-5.887 5.846 5.944zm-3.53-7.565h-4.843l-5.592 5.63v3.712l5.93 4.536h4.166l5.987-4.593v-3.612l-5.648-5.674z"/>
|
||||
<path d="m105.846 132.591-.226-1.863-2.57-.981.96 2.588 1.836.256zm-7.47-7.537.226 1.863 2.57.981-.96-2.588-1.836-.256zm.142 7.523 1.85-.228.974-2.588-2.57.967-.254 1.849zm7.497-7.508-1.85.227-.974 2.588 2.57-.967.254-1.848z"/>
|
||||
<path d="M108.077 129.136h2.075m-8.034 4.251v2.076m.127-12.271v-1.622m-5.958 7.509h-2.26"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue