Skip to content

Releases: kiliman/tailwindui-crawler

Specifiy which component packages to download (defaults to all)

13 May 15:55
d3cc6ee
Compare
Choose a tag to compare

✨ Add COMPONENTS option to specify which component packages to download (defaults to all) #71

v4.0.2 - Minor release

12 Apr 15:23
e177555
Compare
Choose a tag to compare

v4.0.2

  • 🐛 fix TypeError: reject.err is not a function #77

v4.0.1 - Minor release

19 Oct 21:14
8a95768
Compare
Choose a tag to compare

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

27 Jun 16:53
Compare
Choose a tag to compare

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

30 Aug 22:28
Compare
Choose a tag to compare

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

26 Apr 16:58
Compare
Choose a tag to compare

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

23 Apr 14:51
Compare
Choose a tag to compare

This update from @yagnik downloads remote images locally for preview page.

Minor update: remove all file hashes from preview page

19 Apr 14:41
Compare
Choose a tag to compare

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

15 Apr 18:41
Compare
Choose a tag to compare

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

15 Apr 16:45
Compare
Choose a tag to compare

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.