Expose juice (CSS inliner) as a web service.
curl --location --request GET 'http://localhost:8000/api/v1/inline' \
--header 'Content-Type: application/json' \
--data-raw '{"content": "<style>div{color:red;}</style><div/>", "options": {"extraCss": "div {background-color: black;}"}}'
dnf install -y buildah
npm run buildah
dnf install -y podman
npm run podman
npm version NEW_VERSION --no-git-tag-version
git add -A
git commit
git tag vNEW_VERSION
git push origin main vNEW_VERSION
- pin all dependencies version
- add package-lock.json
- juice 11.0.0 (fix cheeriojs/cheerio#4034)
- juice 10.0.1
- workaround cheerio bug cheeriojs/cheerio#4034
- fix container: node version update needed
- container: node 17 -> 20
- express version update
- typescript version update
- YAML configuration
- authentication and anonymous support
- ping API
Initial release.