Commit graph

37 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
f705c2d37d feat: add new emblem charges 2023-10-30 22:27:25 +04:00
Azgaar
1d921c18af fix: (v1.91.00) 2023-08-08 15:25:28 +04:00
Azgaar
8579ae7bff feat: add slow marker to the Smooth geometry option 2023-08-07 00:39:59 +04:00
Azgaar
7b3f897bdb
New heraldic charges, multicolor support (#973)
* feat: new heraldic charges, multicolor support

* chore: update to right version
2023-08-06 22:58:11 +04:00
Azgaar
37598994cb dissalow local run 2022-02-06 01:04:11 +03:00
Azgaar
7bcac7a7d1 17 new charges 2021-11-25 23:13:58 +03:00
Azgaar
460bb29e49 replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
Azgaar
547069f25c new charges: crosses 2021-03-19 02:20:13 +03:00
Azgaar
1b32b8933a charges update 2021-03-18 00:01:17 +03:00
Azgaar
4fdb265b56 v1.5.82 - bug fixes 2021-03-01 17:56:51 +03:00
Azgaar
c2edda6a4a v1.5.53 - fix for active provinces linked to removed state 2021-02-24 14:26:41 +03:00
Azgaar
bfc881bda9 v1.5.49 - select emblem shape on culture level 2021-02-21 15:55:52 +03:00
Azgaar
4e34e32b1f v1.5.46 - new patterns 2021-02-20 22:33:33 +03:00
Azgaar
66edd3f6c7 v1.5.41 downloadGallery fix, async load 2021-02-20 17:32:30 +03:00
Azgaar
47b1c144ac v1.5.40 charges update from API 2021-02-18 18:52:59 +03:00
Azgaar
5ba7653ad9 v1.5.35 - fixed #569 2021-02-15 23:12:13 +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
fd8489b39d v1.5.22 - rendered check and style check 2021-02-12 20:17:58 +03:00
Azgaar
63e66b1678 v1.5.21 - smarted coa generation 2021-02-12 15:55:26 +03:00
Azgaar
4fffb33e19 v1.5.20 - don't store default style 2021-02-11 16:17:31 +03:00
Azgaar
222baaf9bc v1.5.18 - emblems style settings 2021-02-11 15:27:51 +03:00
Azgaar
6987474c2e v1.5.14 - Province/diplom. editors - emblems added 2021-02-10 02:30:31 +03:00
Azgaar
a5b2f23cee v1.5.12 - emblems adding, save/load 2021-02-09 00:02:21 +03:00
Azgaar
378ed71702 v1.5.09 - speak functionality 2021-02-04 15:56:28 +03:00
Azgaar
f4d8b439b4 v1.5.08 - province/burg regenerate - emblems 2021-02-04 15:56:28 +03:00
Azgaar
7d0bf2689e v1.5.06 - canton generation fix 2021-02-04 15:56:28 +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
Azgaar
56b6eb2a13 v1.5.04 - Emblems better positioning and rescaling 2021-02-04 15:56:28 +03:00
Azgaar
549eefe7ba v1.5.04 - Emblems layer and on map placement 2021-02-04 15:56:28 +03:00
Azgaar
9f1012603d v1.5.02 - COA rendering + editor basic UI 2021-02-04 15:56:27 +03:00
Azgaar
b86d985607 v1.5.01 - COA gen integration, first try, embed 2021-02-04 15:56:27 +03:00