Skip to content

The toolchain rebuild: from loose scripts to a real CLI - #27

Merged
Alice39s merged 40 commits into
mainfrom
feat/toolchain-and-generator
Aug 10, 2026
Merged

The toolchain rebuild: from loose scripts to a real CLI#27
Alice39s merged 40 commits into
mainfrom
feat/toolchain-and-generator

Conversation

@Alice39s

@Alice39s Alice39s commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Deletes generate.py, manage.py and redirects_manager.py. The repo had no tests, no linter, and building meant knowing which script to run and in what order. None of that survives this PR.

Everything goes through one nmteam CLI (generate, dev, build, clean, install, check, redirects). Dependencies are locked for Python 3.14, builds are reproducible, and the whole quality gate is a single nmteam check - the exact same command CI runs on Linux, macOS and Windows.

Also in here: a WebP pipeline that cuts the site's media payload by about 60%, HTML minification, scrubbed generator fingerprint, and AGENTS.md so the next contributor can actually find their way around.

Comment thread tests/test_cli.py Fixed
Comment thread tests/test_redirects.py Fixed
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploying nmteam-support with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5073c48
Status: ✅  Deploy successful!
Preview URL: https://21862e90.nmbot-telegram-doc.pages.dev
Branch Preview URL: https://feat-toolchain-and-generator.nmbot-telegram-doc.pages.dev

View logs

@Alice39s Alice39s self-assigned this Aug 10, 2026
@Alice39s Alice39s added refactor Code restructuring without changing behavior tooling Build, CI and developer tooling labels Aug 10, 2026
@Alice39s
Alice39s marked this pull request as ready for review August 10, 2026 10:08
@Alice39s
Alice39s merged commit 7cb4ba8 into main Aug 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code restructuring without changing behavior tooling Build, CI and developer tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant