Files
dasemuandClaude Sonnet 5 7285c82fb7 chore: bootstrap Claude setup
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>
2026-10-18 11:42:15 +02:00

31 lines
1.1 KiB
Markdown

# Development notes
This repo tracks the upstream [Bypass Paywalls Clean](https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean)
project. Most changes are periodic syncs of `sites.js`, `background.js`,
`contentScript*.js` and `README.md`/`README.html` from upstream releases.
## Local testing
1. Open `chrome://extensions` in a Chromium-based browser.
2. Enable Developer Mode.
3. Click *Load unpacked* and select the repo root (it contains `manifest.json`).
4. 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:
```sh
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`.