Restructure to make it less a POC but "for real"
daKmoR opened this issue · comments
Thomas Allmer commented
Rocket will be very opinionated and will focus on making sure it is a small, working static website
Final consumer bin could be
rocket start
rocket lint (checks markdown links & language)
rocket sync-blog (with dev.to)
rocket build --mode=full,site,optimized --linting=full,links,size
rocket ... (could be more)
e.g. the first default parameter would be task
and each task could be a dedicated plugin
Initially, we will focus mostly on start
and build
Start
Web Dev Server with live reload
Build
-
mode
site
=> use only 11ty to generate the htmloptimize
=> use only rollup to optimize the given folder containing htmlfull
=> site + optimize
-
lint
size
=> checks the size of each html pages JavaScript (fail at a certain limit)link
=> recheck links again?🤔 (to catch links that are generated by 11ty templates, could also check external links)
-
visualizer
=> creates and adds link to rollup visualizer output (similar to--coverage
of web test runner)
Lint
Checks internal links and language.
More?
Sync Blog
Allow syncing to dev.to.
=> why? needs to do some specific (rocket) processing before sending it over
Thomas Allmer commented
initial versions is a go