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
12
public/charges/sickle.svg
Normal file
12
public/charges/sickle.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="#d7374a" stroke="#000" viewBox="50 50 200 200">
|
||||
<metadata source="http://wappenwiki.org/images/6/63/Heinrich_von_Tettingen.svg" license="https://creativecommons.org/licenses/by-nc-sa/3.0"/>
|
||||
<g id="sickle" stroke-width=".3">
|
||||
<g>
|
||||
<path d="M96.16 137.26c0 1.96 1.7 2.67 3.8 2.67s3.8-.71 3.8-2.67c0-.72-1.05-4.2-1.24-8.37-.1-2.32.8-4.82.57-7.2-.53-5.2-1.47-7.82-3.13-7.82-1.67 0-2.61 2.63-3.14 7.85-.24 2.36.66 4.87.58 7.18-.18 4.16-1.24 7.64-1.24 8.36z"/>
|
||||
<line fill="none" x1="103.75" y1="137.26" x2="96.16" y2="137.26"/>
|
||||
<line fill="none" x1="103.08" y1="121.69" x2="96.8" y2="121.69"/>
|
||||
</g>
|
||||
<path class="secondary" stroke-linejoin="round" d="M129.34 88.37a28.21 28.21 0 0 0-28.11-28.3c-13.69 0-23.27 7.31-25.84 19.32a23.3 23.3 0 0 1 18.87-9.93c12.96 0 23.46 9.7 23.46 21.66 0 11.49-9.67 20.88-21.9 21.61v6.22h8.16v-2.41a28.23 28.23 0 0 0 25.36-28.16z"/>
|
||||
<path class="secondary" stroke-linejoin="round" d="M101.22 60.07c-13.68 0-23.25 7.31-25.83 19.32l.1-.16.14-.48c3.18-6.37 10.59-10.68 19.32-10.68 13.66 0 24.55 10.43 24.55 23.06 0 12.11-10.6 22.73-23.69 21.6v6.22h8.17v-2.41a28.23 28.23 0 0 0 25.36-28.16 28.21 28.21 0 0 0-28.11-28.3z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
Loading…
Add table
Add a link
Reference in a new issue