@markforster/heroquest-card-creator 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -6
- package/README.npm.md +5 -6
- package/bin/download-miniserve.js +197 -0
- package/bin/i18n-audit.js +6 -0
- package/out/404/index.html +27 -2
- package/out/404.html +27 -2
- package/out/_next/static/chunks/11-4a01ce75b3953a27.js +1 -0
- package/out/_next/static/chunks/27-0d225eb4341b3d85.js +1 -0
- package/out/_next/static/chunks/358-0ef6606063eec5f1.js +1 -0
- package/out/_next/static/chunks/444-d732bb46f1362e11.js +6 -0
- package/out/_next/static/chunks/app/layout-aece39f950404ab2.js +1 -0
- package/out/_next/static/chunks/{792.78b6ddda4e792193.js → app/page-569cc63488f6c643.js} +1 -1
- package/out/_next/static/chunks/webpack-8dfc90ea73e2607b.js +1 -0
- package/out/_next/static/css/1874f9a174b17e3f.css +1 -0
- package/out/_next/static/css/c6f58e940466cbf8.css +1 -0
- package/out/_next/static/css/ef2f1bbdb37e3362.css +1 -0
- package/out/_next/static/media/avatar.1ff88d2e.jpeg +0 -0
- package/out/_next/static/media/blueprint.73c53722.png +0 -0
- package/out/_next/static/media/bordered-mask.82dc793a.png +0 -0
- package/out/_next/static/media/hero-back-border-and-text.59765c87.png +0 -0
- package/out/_next/static/media/hero-back.af5738a7.png +0 -0
- package/out/_next/static/media/hero-stats.d60fddf4.png +0 -0
- package/out/_next/static/media/large-window-frame.752311e6.png +0 -0
- package/out/_next/static/media/monster-stats.74dd8fc2.png +0 -0
- package/out/_next/static/media/parchment.622421f4.png +0 -0
- package/out/_next/static/media/ribbon.c44f24fc.png +0 -0
- package/out/_next/static/media/small-large-artwork-border-alpha-mask.410ecda3.png +0 -0
- package/out/_next/static/media/small-large-artwork-border-blend-texture.002a2faa.png +0 -0
- package/out/_next/static/media/small-window-frame.294856f5.png +0 -0
- package/out/_next/static/media/white-paper.b80839b0.png +0 -0
- package/out/_next/static/media/window-parchment.4e3e14fd.png +0 -0
- package/out/index.html +27 -2
- package/out/index.txt +11 -8
- package/out/sitemap.xml +1 -1
- package/package.json +20 -4
- package/out/_next/static/chunks/140-37b9051037068ddf.js +0 -1
- package/out/_next/static/chunks/275-f9dcc3143453fdcd.js +0 -1
- package/out/_next/static/chunks/481-17b289c7556d4774.js +0 -1
- package/out/_next/static/chunks/app/layout-280540b43bd5178c.js +0 -1
- package/out/_next/static/chunks/app/page-39d6f0f9c01b8cdb.js +0 -1
- package/out/_next/static/chunks/webpack-498a638590fe54e0.js +0 -1
- package/out/_next/static/css/214cd1169ef80429.css +0 -1
- package/out/_next/static/css/83d0cd8babb21fe7.css +0 -1
- package/out/_next/static/css/fc205991348f38b9.css +0 -1
- package/out/_next/static/media/blueprint.3b5b53f6.png +0 -0
- package/out/_next/static/media/bordered-mask.7fa8cc53.png +0 -0
- package/out/_next/static/media/hero-stats.4e17ceac.png +0 -0
- package/out/_next/static/media/large-window.ea8dd1b5.png +0 -0
- package/out/_next/static/media/monster-stats.e914ce2f.png +0 -0
- package/out/_next/static/media/parchment.09cbcdf5.png +0 -0
- package/out/_next/static/media/ribbon.1481d194.png +0 -0
- package/out/_next/static/media/small-large-artwork-border-alpha-mask.e9ccef3c.png +0 -0
- package/out/_next/static/media/small-large-artwork-border-blend-texture.e5ea5707.png +0 -0
- package/out/_next/static/media/small-window.3109823c.png +0 -0
- package/out/_next/static/media/white-paper.6aa299d7.png +0 -0
- /package/out/_next/static/{t8T1WK0W63QUOivwnCd9z → S32rvNtiF_jUmVPh71Cb3}/_buildManifest.js +0 -0
- /package/out/_next/static/{t8T1WK0W63QUOivwnCd9z → S32rvNtiF_jUmVPh71Cb3}/_ssgManifest.js +0 -0
package/out/index.txt
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
2:I[9107,[],"ClientPageRoot"]
|
|
2
|
-
3:I[
|
|
3
|
-
4:I[
|
|
4
|
-
|
|
5
|
-
7:I[
|
|
6
|
-
8:I[
|
|
7
|
-
|
|
2
|
+
3:I[8545,["689","static/chunks/b536a0f1-15fcb22ec48614b3.js","97","static/chunks/cb7556af-ac91ad5099c3d0ef.js","444","static/chunks/444-d732bb46f1362e11.js","27","static/chunks/27-0d225eb4341b3d85.js","358","static/chunks/358-0ef6606063eec5f1.js","931","static/chunks/app/page-569cc63488f6c643.js"],"default",1]
|
|
3
|
+
4:I[4888,["444","static/chunks/444-d732bb46f1362e11.js","11","static/chunks/11-4a01ce75b3953a27.js","358","static/chunks/358-0ef6606063eec5f1.js","185","static/chunks/app/layout-aece39f950404ab2.js"],"GoogleAnalytics"]
|
|
4
|
+
5:I[8003,["444","static/chunks/444-d732bb46f1362e11.js","11","static/chunks/11-4a01ce75b3953a27.js","358","static/chunks/358-0ef6606063eec5f1.js","185","static/chunks/app/layout-aece39f950404ab2.js"],""]
|
|
5
|
+
7:I[6318,["444","static/chunks/444-d732bb46f1362e11.js","11","static/chunks/11-4a01ce75b3953a27.js","358","static/chunks/358-0ef6606063eec5f1.js","185","static/chunks/app/layout-aece39f950404ab2.js"],"AnalyticsProvider"]
|
|
6
|
+
8:I[6032,["444","static/chunks/444-d732bb46f1362e11.js","11","static/chunks/11-4a01ce75b3953a27.js","358","static/chunks/358-0ef6606063eec5f1.js","185","static/chunks/app/layout-aece39f950404ab2.js"],"default"]
|
|
7
|
+
9:I[2672,["444","static/chunks/444-d732bb46f1362e11.js","11","static/chunks/11-4a01ce75b3953a27.js","358","static/chunks/358-0ef6606063eec5f1.js","185","static/chunks/app/layout-aece39f950404ab2.js"],"default"]
|
|
8
|
+
a:I[4707,[],""]
|
|
9
|
+
b:I[6423,[],""]
|
|
10
|
+
6:T445,
|
|
8
11
|
(function () {
|
|
9
12
|
try {
|
|
10
13
|
if (location.protocol !== "file:") return;
|
|
@@ -37,6 +40,6 @@
|
|
|
37
40
|
window.URL = PatchedURL;
|
|
38
41
|
} catch (_err) {}
|
|
39
42
|
})();
|
|
40
|
-
0:["
|
|
41
|
-
|
|
43
|
+
0:["S32rvNtiF_jUmVPh71Cb3",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"./_next/static/css/ef2f1bbdb37e3362.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"./_next/static/css/c6f58e940466cbf8.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/css/d071dca61fbb01bf.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"./_next/static/css/1874f9a174b17e3f.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n(function () {\n try {\n var stored = null;\n try {\n stored = window.localStorage.getItem(\"hqcc.theme\");\n } catch (_err) {\n stored = null;\n }\n var systemDark = false;\n if (window.matchMedia) {\n systemDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n }\n var resolved = \"dark\";\n if (stored === \"light\" || stored === \"dark\") {\n resolved = stored;\n } else if (stored === \"system\") {\n resolved = systemDark ? \"dark\" : \"light\";\n } else {\n resolved = \"dark\";\n }\n document.documentElement.dataset.theme = resolved;\n document.documentElement.style.colorScheme = resolved;\n } catch (_err) {}\n})();\n "}}],["$","$L4",null,{"gaId":"G-KSVRMQ5CPG"}],["$","$L5",null,{"src":"https://static.itch.io/api.js","strategy":"afterInteractive"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$6"}}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n@font-face {\n font-family: \"Carter Sans W01\";\n src: url(\"./fonts/Carter Sans W01 Regular.ttf\") format(\"truetype\");\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Carter Sans W01\";\n src: url(\"./fonts/Carter Sans W01 Medium.ttf\") format(\"truetype\");\n font-style: normal;\n font-weight: 550;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Carter Sans W01\";\n src: url(\"./fonts/Carter Sans W01 Bold.ttf\") format(\"truetype\");\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"HeroQuest\";\n src: url(\"./fonts/HeroQuest.ttf\") format(\"truetype\");\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n}\n "}}],["$","$L7",null,{"gaId":"G-KSVRMQ5CPG","children":["$","$L8",null,{"children":["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]]}]}]],null],null],["$Lc",null]]]]
|
|
44
|
+
c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"name":"theme-color","content":"#375f8a"}],["$","meta","2",{"name":"color-scheme","content":"light dark"}],["$","meta","3",{"charSet":"utf-8"}],["$","title","4",{"children":"HeroQuest Card Creator"}],["$","meta","5",{"name":"description","content":"A browser-based tool for creating custom HeroQuest-style cards."}],["$","meta","6",{"name":"author","content":"HeroQuest Card Creator"}],["$","meta","7",{"name":"keywords","content":"HeroQuest,card creator,card maker,tabletop,board game,print and play"}],["$","link","8",{"rel":"canonical","href":"https://public.markforster.info/Heroquest/Tools/card-maker/"}],["$","meta","9",{"property":"og:title","content":"HeroQuest Card Creator"}],["$","meta","10",{"property":"og:description","content":"Create and export custom HeroQuest-style cards directly in your browser."}],["$","meta","11",{"property":"og:url","content":"https://public.markforster.info/Heroquest/Tools/card-maker/"}],["$","meta","12",{"property":"og:site_name","content":"HeroQuest Card Creator"}],["$","meta","13",{"property":"og:locale","content":"en_GB"}],["$","meta","14",{"property":"og:image","content":"https://public.markforster.info/Heroquest/Tools/card-maker/images/IMG_2912.jpg"}],["$","meta","15",{"property":"og:type","content":"website"}],["$","meta","16",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","17",{"name":"twitter:title","content":"HeroQuest Card Creator"}],["$","meta","18",{"name":"twitter:description","content":"Create and export custom HeroQuest-style cards directly in your browser."}],["$","meta","19",{"name":"twitter:image","content":"https://public.markforster.info/Heroquest/Tools/card-maker/images/IMG_2912.jpg"}],["$","link","20",{"rel":"shortcut icon","href":"./favicon.ico"}],["$","link","21",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"48x48"}],["$","link","22",{"rel":"icon","href":"./favicon.ico"}],["$","link","23",{"rel":"apple-touch-icon","href":"./favicon.ico"}]]
|
|
42
45
|
1:null
|
package/out/sitemap.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
3
|
<url>
|
|
4
4
|
<loc>https://public.markforster.info/Heroquest/Tools/card-maker/</loc>
|
|
5
|
-
<lastmod>2026-
|
|
5
|
+
<lastmod>2026-03-15T17:30:06.386Z</lastmod>
|
|
6
6
|
<changefreq>monthly</changefreq>
|
|
7
7
|
<priority>1</priority>
|
|
8
8
|
</url>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markforster/heroquest-card-creator",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "Browser-based tool to design HeroQuest-style cards with accurate layouts, asset library, and PNG export — runs locally.",
|
|
5
5
|
"author": "Mark Forster (markforster)",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -50,20 +50,25 @@
|
|
|
50
50
|
"generate:embedded-assets": "node scripts/generate-embedded-assets.cjs",
|
|
51
51
|
"dev": "next dev -H 0.0.0.0 -p 3000",
|
|
52
52
|
"predev": "npm run generate:embedded-assets && node scripts/copy-zip-worker.cjs",
|
|
53
|
-
"prepack": "cp README.npm.md README.md && npm run build && npm run verify:out",
|
|
53
|
+
"prepack": "cp README.npm.md README.md && NEXT_PUBLIC_APP_DISTRIBUTION=npm npm run build && npm run verify:out",
|
|
54
54
|
"prebuild": "npm run generate:embedded-assets && node scripts/copy-zip-worker.cjs",
|
|
55
55
|
"build": "NODE_ENV=production npm run verify:env && NODE_ENV=production next build",
|
|
56
|
-
"build:download": "npm run build && node scripts/package-download.js",
|
|
56
|
+
"build:download": "NEXT_PUBLIC_APP_DISTRIBUTION=download npm run build && npm run download:miniserve && node scripts/package-download.js",
|
|
57
|
+
"build:itch": "NEXT_PUBLIC_APP_DISTRIBUTION=itch npm run build && node scripts/package-itch.js",
|
|
58
|
+
"download:miniserve": "node bin/download-miniserve.js",
|
|
57
59
|
"start": "next start",
|
|
58
60
|
"lint": "next lint",
|
|
59
61
|
"verify:env": "node scripts/verify-env.js",
|
|
60
62
|
"verify:out": "node scripts/verify-out.cjs",
|
|
63
|
+
"dup:report": "npx jscpd --reporters markdown,json --output ./artefacts/reports/jscpd ./src",
|
|
64
|
+
"dup:idents": "node scripts/find-dup-identifiers.cjs",
|
|
61
65
|
"test": "jest",
|
|
62
66
|
"test:watch": "jest --watch",
|
|
63
67
|
"test:coverage": "jest --coverage",
|
|
64
68
|
"test:report": "jest --coverage --reporters=default --reporters=jest-html-reporter",
|
|
65
69
|
"typecheck": "tsc --noEmit",
|
|
66
70
|
"typecheck:watch": "tsc --noEmit --watch",
|
|
71
|
+
"i18n:audit": "node scripts/i18n-audit.cjs",
|
|
67
72
|
"format": "prettier --write .",
|
|
68
73
|
"format:check": "prettier --check .",
|
|
69
74
|
"serve:out": " npx serve ./out -l 3000",
|
|
@@ -82,11 +87,20 @@
|
|
|
82
87
|
"dependencies": {
|
|
83
88
|
"@dnd-kit/core": "^6.3.1",
|
|
84
89
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
90
|
+
"@msgpack/msgpack": "^3.1.3",
|
|
91
|
+
"@tanstack/react-query": "^4.36.1",
|
|
85
92
|
"@zip.js/zip.js": "^2.8.21",
|
|
93
|
+
"@zodios/core": "^10.3.1",
|
|
94
|
+
"@zodios/react": "^10.3.1",
|
|
95
|
+
"axios": "^1.7.7",
|
|
86
96
|
"chalk": "^4.1.2",
|
|
87
97
|
"inquirer": "^9.3.7",
|
|
98
|
+
"jscpd": "^4.0.8",
|
|
88
99
|
"mime": "^3.0.0",
|
|
89
|
-
"
|
|
100
|
+
"pica": "^9.0.1",
|
|
101
|
+
"recharts": "^3.8.0",
|
|
102
|
+
"yaml": "^2.8.0",
|
|
103
|
+
"zod": "^3.23.8"
|
|
90
104
|
},
|
|
91
105
|
"devDependencies": {
|
|
92
106
|
"@next/third-parties": "^16.1.0",
|
|
@@ -99,6 +113,7 @@
|
|
|
99
113
|
"@testing-library/react": "^14.2.1",
|
|
100
114
|
"@types/jest": "^29.5.12",
|
|
101
115
|
"@types/node": "^20",
|
|
116
|
+
"@types/pica": "^9.0.5",
|
|
102
117
|
"@types/react": "^18",
|
|
103
118
|
"@types/react-dom": "^18",
|
|
104
119
|
"@types/three": "^0.182.0",
|
|
@@ -113,6 +128,7 @@
|
|
|
113
128
|
"jest-environment-jsdom": "^29.7.0",
|
|
114
129
|
"jest-html-reporter": "^3.10.2",
|
|
115
130
|
"lucide-react": "^0.561.0",
|
|
131
|
+
"md-to-pdf": "^5.2.5",
|
|
116
132
|
"next": "14.2.15",
|
|
117
133
|
"prettier": "^3.6.2",
|
|
118
134
|
"react": "^18",
|