mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-04-03 22:17:24 +02:00
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:
parent
f57b9abb8e
commit
badaf71504
3 changed files with 5 additions and 3 deletions
|
|
@ -12,9 +12,11 @@ RUN npm ci
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
COPY ./public ./public
|
COPY ./public ./public
|
||||||
COPY vite.config.js .
|
COPY tsconfig.json .
|
||||||
|
COPY vite.config.ts .
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
|
ENV NETLIFY=true
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "fantasy-map-generator",
|
"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.",
|
"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",
|
"homepage": "https://github.com/Azgaar/Fantasy-Map-Generator#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
|
* 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");
|
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue