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
26
public/charges/rake.svg
Normal file
26
public/charges/rake.svg
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="#d7374a" stroke="#000" viewBox="50 50 200 200">
|
||||
<metadata source="http://wappenwiki.org/images/9/96/Hrabischitz.svg" license="https://creativecommons.org/licenses/by-nc-sa/3.0"/>
|
||||
<g id="rake" stroke-width=".336">
|
||||
<path d="m64.288 86.267-1.213-19.571h2.937l-1.213 19.572c-.036.474-.475.474-.51 0z"/>
|
||||
<path d="m74.385 86.267-1.212-19.571h2.937l-1.213 19.57c-.036.475-.475.475-.512 0z"/>
|
||||
<path d="M84.483 86.267 83.27 66.696h2.938l-1.214 19.572c-.036.474-.475.474-.512 0z"/>
|
||||
<path d="m94.58 86.267-1.212-19.571h2.938l-1.213 19.57c-.037.475-.476.475-.512 0z"/>
|
||||
<path d="m104.679 86.267-1.213-19.571h2.936l-1.211 19.57c-.037.475-.476.475-.512 0z"/>
|
||||
<path d="m135.483 86.267 1.213-19.571h-2.938l1.212 19.57c.037.475.476.475.512 0z"/>
|
||||
<path d="m125.385 86.267 1.213-19.571h-2.936l1.213 19.57c.035.475.475.475.51 0z"/>
|
||||
<path d="m115.287 86.267 1.214-19.571h-2.936l1.213 19.57c.036.475.475.475.51 0z"/>
|
||||
<path d="M99.885 94.696c-2.607 0-6.263-1.072-8.875-6.18-2.18-4.264-3.285-10.715-3.285-19.175v-3.73h3.37v3.73c0 7.97.99 13.948 2.945 17.77 1.484 2.904 3.45 4.377 5.846 4.377"/>
|
||||
<path d="M99.885 94.696c2.609 0 6.264-1.072 8.876-6.18 2.18-4.264 3.285-10.715 3.285-19.175v-3.73h-3.37v3.73c0 7.97-.99 13.948-2.945 17.77-1.483 2.904-3.45 4.377-5.846 4.377"/>
|
||||
<path d="M97.928 62.85v84.468s.594.344 1.957.344 1.958-.344 1.958-.344V62.85"/>
|
||||
<rect width="77.7" height="8.259" x="61.036" y="59.274"/>
|
||||
<rect width="77.7" height=".999" x="61.036" y="66.533"/>
|
||||
<circle cx="64.543" cy="62.868" r="1.468"/>
|
||||
<circle cx="74.641" cy="62.868" r="1.468"/>
|
||||
<circle cx="84.739" cy="62.868" r="1.468"/>
|
||||
<circle cx="94.837" cy="62.868" r="1.468"/>
|
||||
<circle cx="104.934" cy="62.868" r="1.468"/>
|
||||
<circle cx="135.228" cy="62.868" r="1.468"/>
|
||||
<circle cx="125.13" cy="62.868" r="1.468"/>
|
||||
<circle cx="115.032" cy="62.868" r="1.468"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue