Add root CLAUDE.md, docs/, LESSONS.md, .env.example, .claude/settings.json hooks (syntax-check on edit and on stop), and CI workflows (lint via node --check, and a VERSION-based semver bump) for this plain-JS, no-build Chrome extension. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
Development notes
This repo tracks the upstream Bypass Paywalls Clean
project. Most changes are periodic syncs of sites.js, background.js,
contentScript*.js and README.md/README.html from upstream releases.
Local testing
- Open
chrome://extensionsin a Chromium-based browser. - Enable Developer Mode.
- Click Load unpacked and select the repo root (it contains
manifest.json). - Reload the extension after any file change.
Syntax checking
There is no bundler or test suite. The quickest available check is a Node.js syntax check on every JS file:
find . -name "*.js" -not -path "./.git/*" -print0 | xargs -0 -n1 node --check
This only catches syntax errors, not logic bugs — there is no real lint or test coverage configured.
Versioning
manifest.json's version field mirrors the upstream extension release and is
not touched by this repo's own CI. This repo's own release counter lives in the
root VERSION file, bumped automatically by .github/workflows/version.yml.