Files
mmis1000andClaude Opus 5.5 90cfdab12f Website (GitHub Pages) and CI; hide the hint when its element is off screen
- site/index.html: landing page that runs SofaNav itself (controller, or an
  opt-in keyboard mode), demo video with poster, features, install links,
  controls. scripts/build-site.js assembles _site/ (page, userscript,
  extension zip, video) with no extra dependencies.
- .github/workflows/ci.yml: checks dist/ is rebuilt from content.js, runs
  the Playwright regression checks, builds the site and deploys it to
  GitHub Pages on main.
- Userscript header: @homepageURL/@downloadURL/@updateURL on the Pages site
  so installs update themselves.
- One copy per page: the guard also marks <html data-sofanav>, so the
  page's copy and an installed extension don't both run.
- E28: the button hint hides while its element is scrolled off screen
  (it was clamped onto the screen next to nothing). New regression check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 23:48:14 +08:00

45 lines
1.2 KiB
JSON

{
"name": "sofanav",
"version": "0.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "sofanav",
"version": "0.3.0",
"devDependencies": {
"playwright": "^1.64.0"
}
},
"node_modules/playwright": {
"version": "1.64.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.0.tgz",
"integrity": "sha512-kVzTnYFYEyQ9RGzBjNCd2+yEqWmVbxl3AHPynv3qQ6JTjv4a+kwRcnqQwIpuP3NnrnIrE/Q6wWAIAvMfIE2/Yg==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.64.0"
},
"bin": {
"playwright": "cli.js"
},
"engines": {
"node": ">=20"
}
},
"node_modules/playwright-core": {
"version": "1.64.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.0.tgz",
"integrity": "sha512-T9r+MZkTECl2+oUcZ26YgZzTrYidTsIhYYkJix+6iDOymOb1FB2RLLSOxRGnZGv5DStt+aduIVbt+E8WygXYpg==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"playwright-core": "cli.js"
},
"engines": {
"node": ">=20"
}
}
}
}