Commit graph

26 commits

Author SHA1 Message Date
Azgaar
9e0eb03618
[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>
2026-01-22 12:20:12 +01:00
Azgaar
1d921c18af fix: (v1.91.00) 2023-08-08 15:25:28 +04:00
Azgaar
aad1300338 fix(#944): uploaded svg emblems can conflict with fmg ids 2023-05-21 15:15:03 +04:00
Azgaar
e2af899792 refactor(1.89.18): cleanup fonts usage 2023-05-13 15:55:08 +04:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
Azgaar
2f70df6c59 v1.5.81 - svg coa load fix 2021-03-01 02:46:41 +03:00
Azgaar
b256030602 v1.5.73 - better: remove sodipodi and inkscape attributes on load 2021-02-27 01:03:08 +03:00
Azgaar
a5395fca78 v1.5.66 - resize individual Emblem enstead of hide 2021-02-26 19:54:45 +03:00
Azgaar
9a20a3e4c6 v1.5.65 - allow to hide certain Emblems 2021-02-26 18:13:04 +03:00
Azgaar
66edd3f6c7 v1.5.41 downloadGallery fix, async load 2021-02-20 17:32:30 +03:00
Azgaar
5ba7653ad9 v1.5.35 - fixed #569 2021-02-15 23:12:13 +03:00
Azgaar
cd7b9549c0 v1.5.34 - fixed #567 2021-02-15 15:33:01 +03:00
Azgaar
380e0babb2 v1.5.33 - emblem shape change takes immediate effect 2021-02-14 23:14:23 +03:00
Azgaar
79584fffac v1.5.31 - let Armoria know the origin 2021-02-14 19:22:54 +03:00
Azgaar
66bd7b7f6f v1.5.25 - smarter generation 2021-02-14 15:11:42 +03:00
Azgaar
2f3f5d05fb v1.5.24 - smarter generation 2021-02-13 21:52:50 +03:00
Azgaar
e4e40fab49 v1.5.24 - don't append link on save 2021-02-12 23:33:53 +03:00
Azgaar
fbdaf3089b v1.5.19 - emblems gallery - back button 2021-02-11 15:29:35 +03:00
Azgaar
222baaf9bc v1.5.18 - emblems style settings 2021-02-11 15:27:51 +03:00
Azgaar
002160ed21 v1.5.15 - svg save data cleansing 2021-02-11 01:09:41 +03:00
Azgaar
a5b2f23cee v1.5.12 - emblems adding, save/load 2021-02-09 00:02:21 +03:00
Azgaar
925e7accbd v1.5.05 - emblems regeneration 2021-02-04 15:56:28 +03:00
Azgaar
24d2efe8b6 v1.5.05 - optimization, partial d3 removal 2021-02-04 15:56:28 +03:00
Azgaar
68dc822121 v1.5.04 - emblem gallery generator 2021-02-04 15:56:28 +03:00
Azgaar
3aaddcf1a7 v1.5.04 - smarter coa generation, coa download 2021-02-04 15:56:28 +03:00
Azgaar
32c4566aa7 v1.5.04 - Emblems auto-hide and hightlighting 2021-02-04 15:56:28 +03:00
Renamed from modules/ui/coa-editor.js (Browse further)