From e73e3e00b6b3006ffd226e039075db8c258133ce Mon Sep 17 00:00:00 2001 From: Dr John O'Hare Date: Sat, 28 Nov 2026 20:10:13 +0000 Subject: [PATCH] Expand ESLint to popup/scripts/test-page, drop broken package main, fix test-page download link --- package.json | 3 +-- test-page/app.js | 4 ---- test-page/index.html | 8 ++++---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 8e30f1e..2c91c48 100644 --- a/package.json +++ b/package.json @@ -2,14 +2,13 @@ "name": "podkey", "version": "0.0.11", "description": "did:nostr and Solid authentication extension - NIP-07 provider for decentralized identity", - "main": "src/index.js", "type": "module", "scripts": { "dev": "echo 'Load extension from chrome://extensions in developer mode'", "build": "npm run bundle", "bundle": "node scripts/bundle.js", "test": "node --test test/*.test.js", - "lint": "eslint src/" + "lint": "eslint src/ popup/ scripts/ test-page/" }, "keywords": [ "nostr", diff --git a/test-page/app.js b/test-page/app.js index 4e44709..f8e8ba8 100644 --- a/test-page/app.js +++ b/test-page/app.js @@ -7,8 +7,6 @@ * messages may contain arbitrary strings. */ -let logCount = 0; - const els = {}; function $(id) { return (els[id] ||= document.getElementById(id)); @@ -35,7 +33,6 @@ function log(message, type = 'info') { entry.appendChild(messageSpan); logEl.insertBefore(entry, logEl.firstChild); - logCount++; while (logEl.children.length > 100) { logEl.removeChild(logEl.lastChild); } @@ -43,7 +40,6 @@ function log(message, type = 'info') { function clearLog() { $('eventLog').replaceChildren(); - logCount = 0; log('Log cleared', 'info'); } diff --git a/test-page/index.html b/test-page/index.html index 399bd21..b60d3cb 100644 --- a/test-page/index.html +++ b/test-page/index.html @@ -64,16 +64,16 @@

Quick install

  • Download the extension
    - Grab the latest packaged release, or the source ZIP from the - repository. + Grab the latest CI build artifact (podkey-extension) + from the top run, or clone the source repository.
    - Download latest release + Download latest build