From 00955469d00b84194f080fb18863145fa92b0719 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Jul 2026 02:23:08 +0000 Subject: [PATCH 1/2] fix: make downloaded ZIP + double-click index.html actually work offline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Option B in the README ("download the ZIP, open index.html") was silently broken in every modern browser. Two stacked file:// CORS restrictions caused it: ', + `\n` + ); + cb(null, data); + } + ); + }); + } +} + module.exports = merge(common, { mode: 'production', plugins: [ @@ -10,6 +39,7 @@ module.exports = merge(common, { template: './index.html', inject: false, }), + new InlineConfigForFileProtocolPlugin(), new CopyPlugin({ patterns: [ { from: 'config.json', to: 'config.json' }, From e01fdd8ef01bff3badb321425a50a3dfbd6e474d Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Jul 2026 02:24:21 +0000 Subject: [PATCH 2/2] chore: declare MIT license in package.json metadata LICENSE.txt and the README badge already say MIT; package.json was missing the license field GitHub's license detector and npm tooling read, which could make the project look unlicensed to those tools. --- package.json | 1 + server/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index ef99081..253ebc0 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "pm-ops-map", "version": "1.0.0", "description": "A visual task ownership map for property management companies", + "license": "MIT", "private": true, "engines": { "node": ">=20.9" diff --git a/server/package.json b/server/package.json index d935743..25d211d 100644 --- a/server/package.json +++ b/server/package.json @@ -2,6 +2,7 @@ "name": "pm-ops-map-sync-server", "version": "1.0.0", "description": "Optional self-hosted sync server for PM Ops Map — lets a team share one workspace across devices without a full backend.", + "license": "MIT", "private": true, "main": "index.js", "engines": {