From bd685581dc7bf751924c161397f7fb23c8525bc5 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 2 Apr 2026 11:55:28 +0200 Subject: [PATCH] feat: use package.json version in app title --- src/minesweeper.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/minesweeper.js b/src/minesweeper.js index de4205f..06874ca 100644 --- a/src/minesweeper.js +++ b/src/minesweeper.js @@ -8,8 +8,10 @@ import { } from './modules'; import { levels } from './levels.js'; +import * as pkg from '../package.json' + const TEST_MODE = false; // set to true if you want to test the game with visual hints and separate leaderboard -const VERSION = "0.3.13"; +const VERSION = pkg.version; const MOBILE_BUSY_DELAY = 250; const PC_BUSY_DELAY = 500; const CASUAL_MODE = false;