Update Dockerfile to include TypeScript config (#1339)

* Update Dockerfile to include TypeScript config

Added TypeScript configuration and updated Vite config file.

* Update version
This commit is contained in:
Johan Aantjes 2026-03-02 21:38:00 +01:00 committed by GitHub
parent f57b9abb8e
commit badaf71504
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -12,9 +12,11 @@ RUN npm ci
# Copy source code
COPY ./src ./src
COPY ./public ./public
COPY vite.config.js .
COPY tsconfig.json .
COPY vite.config.ts .
# Build the application
ENV NETLIFY=true
RUN npm run build
# Production stage

View file

@ -1,6 +1,6 @@
{
"name": "fantasy-map-generator",
"version": "1.113.2",
"version": "1.113.3",
"description": "Azgaar's _Fantasy Map Generator_ is a free web application that helps fantasy writers, game masters, and cartographers create and edit fantasy maps.",
"homepage": "https://github.com/Azgaar/Fantasy-Map-Generator#readme",
"bugs": {

View file

@ -13,7 +13,7 @@
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
const VERSION = "1.113.2";
const VERSION = "1.113.3";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{