Commit graph

27 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
d7d79ad740 refactor: split states and burgs generators 2024-09-29 14:24:44 +02:00
Azgaar
3f8ee8d740
Merge states (#962)
* feat: merge states

* chore: update version
2023-07-23 14:25:41 +04:00
Azgaar
ce07c20fff feat(#891): edit diplomatic relations in bulk 2022-12-11 01:37:30 +03:00
Azgaar
d54a6a44b1 fix(#819): diplomacy editor to be re-enterable after being cleared 2022-06-04 22:18:15 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
Azgaar
8184b416b9 fill-box web component 2022-01-22 17:47:56 +03:00
Azgaar
44c134ebd0 diplomacy - change relations from matrix 2021-12-31 19:57:39 +03:00
Azgaar
3ee430543a diplomacy - short name if full is too long 2021-12-31 19:05:53 +03:00
Azgaar
f22e0aa81f diplomacy - ux changes 2021-12-31 18:50:00 +03:00
Azgaar
865afdc2aa diplomacy - change relations screen 2021-12-31 18:21:37 +03:00
Azgaar
6987474c2e v1.5.14 - Province/diplom. editors - emblems added 2021-02-10 02:30:31 +03:00
Azgaar
35aaaf1c88 v1.3.27 2020-04-02 21:37:51 +03:00
Azgaar
c8f758ab3c v1.3.03a 2020-03-27 17:52:23 +03:00
Azgaar
8a6108e203 v1.22.33 2019-12-29 19:24:10 +03:00
Azgaar
e3e2de9e9b v1.22.27 2019-12-15 13:50:09 +03:00
Azgaar
d773ab609b v1.22.08 2019-11-13 23:17:29 +03:00
Azgaar
f6ec0251ec v1.2 2019-10-23 00:35:31 +03:00
Azgaar
aadae58072 1.1.14 2019-10-16 23:25:48 +03:00
Azgaar
c050353d70 v1.1.09 2019-10-02 22:20:01 +03:00
Azgaar
6517e231e8 v1.0.44 2019-09-21 00:13:29 +03:00
Azgaar
842361ae16 v1.0.37 2019-09-15 01:32:46 +03:00
Azgaar
a3256e6726 v1.0.26 2019-09-12 23:24:32 +03:00
Azgaar
0140eccd9f v1.0.10 2019-09-08 14:01:21 +03:00
Azgaar
e743735e57 v1.0.09 2019-09-07 19:09:48 +03:00
Azgaar
52e8f28cd0 v1.0.06 2019-09-02 22:04:19 +03:00
Azgaar
cab429a346 v1.0 2019-08-31 12:16:36 +03:00