sbuffkin_hexmaker/package.json
isaprettycoolguy@protonmail.com a23a98b982 add token layer: place, edit, and inspect tokens on the hex map
- Tokens placed per-hex link to vault notes; support circle/square shape,
  sm/md/lg size, fill color, optional border color, icon, and description
- TokenInfoModal shows note content (formatted via MarkdownRenderer, images
  included) with jump-to-hex, open-note, edit, and two-step remove actions
- Edit flow reopens TokenModal pre-filled; proxy notes handle multiple tokens
  referencing the same source note
- Icon picker replaced with scrollable palette grid (2-row cap, drag-to-reorder,
  hide/show) in both HexEditorModal and TokenModal; order persisted in settings
- Token layer toggle added to layers menu (default on)
- Fix metadata-cache race on token delete (wasToken check prevents missed updates)
- Token preview rendered inline in TokenModal title row; real-time color preview
  via native input event on color pickers
- Bump version to 1.1.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 08:26:20 -04:00

42 lines
1.6 KiB
JSON

{
"name": "hexmaker-plugin",
"version": "1.1.6",
"description": "A plugin to power hex crawl worldbuilding and running.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"test": "tsx --tsconfig ./tsconfig.test.json --import ./tests/register.mjs --test tests/frontmatter.test.ts tests/hexEditorModal.test.ts tests/randomTable.test.ts tests/sections.test.ts tests/utils.test.ts tests/workflow.test.ts tests/token.test.ts",
"test:watch": "tsx --tsconfig ./tsconfig.test.json --import ./tests/register.mjs --test --watch tests/frontmatter.test.ts tests/hexEditorModal.test.ts tests/randomTable.test.ts tests/sections.test.ts tests/utils.test.ts tests/workflow.test.ts tests/token.test.ts",
"lint": "eslint . --ext .js,.ts"
},
"keywords": [
"obsidian",
"plugin"
],
"author": "Mark B",
"license": "MIT",
"devDependencies": {
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/language-data": "^6.5.2",
"@codemirror/state": "6.5.0",
"@codemirror/view": "6.38.6",
"@eslint/js": "^9.30.1",
"@types/node": "^25.5.0",
"esbuild": "0.27.4",
"eslint": "^9.30.1",
"eslint-plugin-obsidianmd": "^0.1.9",
"expect": "^30.3.0",
"globals": "^17.4.0",
"jiti": "^2.6.1",
"obsidian": "latest",
"tslib": "2.8.1",
"tsx": "^4.21.0",
"typescript": "6.0.2",
"typescript-eslint": "^8.58.0"
},
"dependencies": {
"minisearch": "^7.2.0"
}
}