diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3840d02..ff4cf61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,8 @@ on: permissions: contents: write + id-token: write + attestations: write jobs: build-and-upload: @@ -29,8 +31,16 @@ jobs: - name: Verify Files Exist run: ls -la main.js styles.css manifest.json + - name: Generate Artifact Attestations + uses: actions/attest-build-provenance@v2 + with: + subject-path: | + main.js + styles.css + manifest.json + - name: Upload Release Assets (Original Names) - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | main.js diff --git a/.gitignore b/.gitignore index aca1122..05fcffd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# cursor +.cursor + # vscode .vscode diff --git a/manifest.json b/manifest.json index e19c9b3..e4d30c9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "taskmap", "name": "Taskmap", - "version": "0.1.8", + "version": "0.1.9", "minAppVersion": "1.12.4", "description": "Plan projects via interactive GUI task trees with automatic layout.", "author": "poanse", diff --git a/package.json b/package.json index 9c582f3..9119c1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-taskmap", - "version": "0.1.8", + "version": "0.1.9", "description": "Taskmap plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { @@ -9,7 +9,7 @@ "version": "node version-bump.mjs && git add manifest.json versions.json", "svelte-check": "svelte-check --tsconfig tsconfig.json", "perf:tasks": "tsx scripts/perf-tasks.ts", - "test": "tsx --test tests/reparent-priorities.test.ts", + "test": "tsx --test tests/*.test.ts", "lint": "eslint .", "lint:fix": "eslint . --fix" }, diff --git a/src/DraggingManager.svelte.ts b/src/DraggingManager.svelte.ts index b58ef7d..ff7b8db 100644 --- a/src/DraggingManager.svelte.ts +++ b/src/DraggingManager.svelte.ts @@ -16,7 +16,7 @@ export class DraggingManager { public onPointerDown = (e: PointerEvent) => { console.debug("DraggingManager pointerDown"); - this.mouseDown = e.button as MouseDown; + this.mouseDown = e.button; if (this.mouseCodes.includes(this.mouseDown)) { this.startX = e.clientX; this.startY = e.clientY; diff --git a/src/components/Task.svelte b/src/components/Task.svelte index b243802..8b2a196 100644 --- a/src/components/Task.svelte +++ b/src/components/Task.svelte @@ -119,6 +119,7 @@ {#key context.updateOnZoomCounter}