Releases: kiliman/tailwindui-crawler
Specifiy which component packages to download (defaults to all)
v4.0.2 - Minor release
v4.0.2
- 🐛 fix TypeError: reject.err is not a function #77
v4.0.1 - Minor release
v4.0.1
- 🔨 Specify node version supported node >= 12
- 🐛 Replace
??
with||
to support node version before v14.5 #73
v4.0.0 Fixed login issue with new TWUI site
This release fixes the login issue after they changed the tailwindui.com site. The structure was also changed, so that was also updated. The new format is actually much easier, as they embed all the data as a JSON object in the page.
I've also added the ability to download the Page Templates. Add TEMPLATES=1
to your .env file.
Use correct selector to get component title due to change in format
Tailwind UI changed the layout of the component page which broke how the crawler got the component title. This results in all components using the category name as the filename.
Add retry logic when downloading pages from Tailwind site
Depending on network connectivity, the crawler may timeout while waiting for pages to download. This update includes retry logic in case of errors.
Downloads remote images locally for preview
This update from @yagnik downloads remote images locally for preview page.
Minor update: remove all file hashes from preview page
This update removes hashed ids from inside <iframe srcdoc/>
. This will prevent extra diffs being created when TWUI updates the web app.
Update package versions
This update cleans up the packages used by the crawler. Updates to the latest versions as well as removing unneeded package.
The GitHub action should now generate correct HTML for the alpine version of the component.
Remove tokens and resource ids to reduce superfluous diffs
The Tailwind UI preview site includes CSRF tokens and also uses id hashes on css/script resources. This causes meaningless diffs on each run. This update removes the ids and replaces tokens with a constant value.