Add sanitize.js: secret-free copy under a new passphrase (Refs #19)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,7 @@ There are no npm dependencies and no CDN or network calls at runtime.
|
||||
|
||||
```
|
||||
build.js builds dist/final-wishes.html (optionally encrypting a JSON file into it)
|
||||
sanitize.js `node sanitize.js --in real.html --out copy.html`: re-seals a copy with secrets erased under a new passphrase
|
||||
bump-version.js `npm run bump`, and the pre-commit hook's engine: advances src/version.js to today's date + next letter
|
||||
.githooks/pre-commit runs `bump-version.js --staged`; enable once per clone with `npm run hooks`
|
||||
package.json scripts: build, seal, test
|
||||
|
||||
Reference in New Issue
Block a user