UNPKG

@shufo/tailwindcss-class-sorter

Version:

A tailwindcss class sorter that respects tailwind config file

187 lines (96 loc) โ€ข 10.5 kB
# Changelog ## [3.0.1](https://github.com/shufo/tailwindcss-class-sorter/compare/v3.0.0...v3.0.1) (2023-07-06) ### Fixes * ๐Ÿ› use loadConfig for module loading ([439bad9](https://github.com/shufo/tailwindcss-class-sorter/commit/439bad91c6f894334e7542755bb83f2f30e6cf53)) ### Miscellaneous * ๐Ÿค– remove synckit from dependencies ([33f7934](https://github.com/shufo/tailwindcss-class-sorter/commit/33f7934ea907637d80b5f24ac1151f628b56f681)) ## [3.0.0](https://github.com/shufo/tailwindcss-class-sorter/compare/v2.0.0...v3.0.0) (2023-07-01) ### Features * ESM support ([#54](https://github.com/shufo/tailwindcss-class-sorter/issues/54)) ([8e50fda](https://github.com/shufo/tailwindcss-class-sorter/commit/8e50fda3556465c90f4fc1770e2869e348850d26)) ### Miscellaneous * **deps:** update dependency @types/jest to v29 ([bb65dc9](https://github.com/shufo/tailwindcss-class-sorter/commit/bb65dc92c0a3f3bb4350bc8c9c95620ea77290e2)) * **deps:** update dependency husky to v8 ([8d849c3](https://github.com/shufo/tailwindcss-class-sorter/commit/8d849c365275f4307e978aee82674bf229c1b876)) * **deps:** update dependency lint-staged to v13 ([4dfa1c6](https://github.com/shufo/tailwindcss-class-sorter/commit/4dfa1c689ce19da173c90fbe5701bfa9b289ef66)) * **deps:** update dependency typescript to v5 ([d7d2c69](https://github.com/shufo/tailwindcss-class-sorter/commit/d7d2c6966d602f7bfa09304705e56fbe6cac1385)) * release 3.0.0 ([3d89927](https://github.com/shufo/tailwindcss-class-sorter/commit/3d89927b645ecd2bbc0705360a6aa8c83458034b)) ## [2.0.0](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.12...v2.0.0) (2023-01-20) ### โš  BREAKING CHANGES * ๐Ÿงจ drop support for node 12.x ### Features * ๐ŸŽธ support tailwind 3.2 ([8c08b53](https://github.com/shufo/tailwindcss-class-sorter/commit/8c08b53727a8ad32ca1bc7ff86b538107d24d27f)) ### Miscellaneous * ๐Ÿค– bump tailwindcss to 3.2.4 ([2080eaf](https://github.com/shufo/tailwindcss-class-sorter/commit/2080eaf78ca24f71f3cef6003248e036fd50fd08)) * ๐Ÿค– drop support for node 12.x ([97b45ee](https://github.com/shufo/tailwindcss-class-sorter/commit/97b45ee21ee6021560bec7b278859bc90807e3fb)) * **deps:** update pozil/auto-assign-issue action to v1.11.0 ([b156b17](https://github.com/shufo/tailwindcss-class-sorter/commit/b156b170d1a45c1f4bbbc42c7dcedcd48fbb5fd1)) ## [1.0.12](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.11...v1.0.12) (2022-09-21) ### Fixes * ๐Ÿ› create context based on config hash ([a1c5084](https://github.com/shufo/tailwindcss-class-sorter/commit/a1c50844e1938b491eec5ed19fff9e8d3a072bba)) ## [1.0.11](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.10...v1.0.11) (2022-09-20) ### Fixes * ๐Ÿ› uncached default sorting is affecting performance ([e8d2fd4](https://github.com/shufo/tailwindcss-class-sorter/commit/e8d2fd42b681fdbc9ce0b110e8faeb4195eb01ae)) ## [1.0.10](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.9...v1.0.10) (2022-09-19) ### Fixes * ๐Ÿ› slow performance with uncached tailwind config object ([6dd6f61](https://github.com/shufo/tailwindcss-class-sorter/commit/6dd6f6113816c7fbfd8474a56087ddd5ccc6ea88)) ## [1.0.9](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.8...v1.0.9) (2022-09-19) ### Fixes * ๐Ÿ› `tailwindConfig` caches context unexpectedly ([ffd98c9](https://github.com/shufo/tailwindcss-class-sorter/commit/ffd98c94328bd74120e12a74a8a82c4197d907e8)) ### Miscellaneous * ๐Ÿ’ก delete unnecessary console.log ([9cb1aeb](https://github.com/shufo/tailwindcss-class-sorter/commit/9cb1aeb9bf3ccc316c14f426421bb4f2d3265ce7)) ## [1.0.8](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.7...v1.0.8) (2022-09-18) ### Miscellaneous * ๐Ÿ’ก improve error message for config file ([0f3de1d](https://github.com/shufo/tailwindcss-class-sorter/commit/0f3de1dbf77214730cf9febdfc022f0f8430f81a)) * **deps:** bump minimist from 1.2.5 to 1.2.6 ([6295e69](https://github.com/shufo/tailwindcss-class-sorter/commit/6295e694e870b7c525048559a81a4452a9aa1023)) ## [1.0.7](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.6...v1.0.7) (2022-09-17) ### Fixes * ๐Ÿ› import config type from tailwindcss ([2858a4a](https://github.com/shufo/tailwindcss-class-sorter/commit/2858a4a71441d5b999ab83f32925a275c7699393)) ### Miscellaneous * ๐Ÿค– bump tailwindcss to 3.1.8 ([521f91e](https://github.com/shufo/tailwindcss-class-sorter/commit/521f91ebf033263712359db3b539f4d14b974282)) * ๐Ÿค– delete @types/tailwindcss from dependencies ([192473f](https://github.com/shufo/tailwindcss-class-sorter/commit/192473f2a0cbfbed6224b138143d6372670cc94b)) ## [1.0.6](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.5...v1.0.6) (2022-09-17) ### Fixes * ๐Ÿ› import type from tailwindcss/defaultConfig ([e27375f](https://github.com/shufo/tailwindcss-class-sorter/commit/e27375fe8b8bf3d2a94987791fdebae738a86f8e)) ### Miscellaneous * ๐Ÿ’ก improve message for config not found error ([c66b6fc](https://github.com/shufo/tailwindcss-class-sorter/commit/c66b6fc3fdd125fa0679f187ecac8d2e9f528c08)) * ๐Ÿค– add refactor type to change log types ([9683647](https://github.com/shufo/tailwindcss-class-sorter/commit/96836474b88e7454cb7927eef8b13fa871fe1179)) * ๐Ÿค– disable pinning ([4e59016](https://github.com/shufo/tailwindcss-class-sorter/commit/4e5901680121629893715c0c6029093801ce7b5c)) * ๐Ÿค– revert @types/tailwindcss to 3.0.9 ([72f1dc4](https://github.com/shufo/tailwindcss-class-sorter/commit/72f1dc454129bf347e344a2a113f3cbbdf7cb588)) * ๐Ÿค– update renovate.json config ([b4ae20d](https://github.com/shufo/tailwindcss-class-sorter/commit/b4ae20db17ba8ac41de1fd01bc173020cf7457e7)) ## [1.0.5](https://github.com/shufo/tailwindcss-class-sorter/compare/v1.0.4...v1.0.5) (2022-09-17) ### Miscellaneous * **deps:** add renovate.json ([153c992](https://github.com/shufo/tailwindcss-class-sorter/commit/153c9926362d1308deb747ec8ade4c605fa00601)) * **deps:** update actions/cache action to v3 ([05a1992](https://github.com/shufo/tailwindcss-class-sorter/commit/05a19928451aca5b73edad77f0c9ad943334f980)) * **deps:** update actions/checkout action to v3 ([91b816f](https://github.com/shufo/tailwindcss-class-sorter/commit/91b816f060418f3c7448aff5766748200684770a)) * **deps:** update actions/setup-node action to v3 ([7e253d9](https://github.com/shufo/tailwindcss-class-sorter/commit/7e253d9fc28bb9a28d47ed1b6ec63556883e985b)) * **deps:** update akhilmhdh/contributors-readme-action action to v2.3.6 ([e6f24ef](https://github.com/shufo/tailwindcss-class-sorter/commit/e6f24ef7564e11636b06671950872f5c81bb88d7)) * **deps:** update codecov/codecov-action action to v3 ([50014a0](https://github.com/shufo/tailwindcss-class-sorter/commit/50014a0612771e8924f36015e87678722f6c3cbd)) * **deps:** update dependency @tailwindcss/typography to v0.5.7 ([c4b8ee0](https://github.com/shufo/tailwindcss-class-sorter/commit/c4b8ee016f39d9b8f912841538df5be12fd8cbb2)) * **deps:** update dependency @types/tailwindcss to v3.0.11 ([363be77](https://github.com/shufo/tailwindcss-class-sorter/commit/363be7725124a1f90e4a3bbba8ae4cc4b7f638aa)) * **deps:** update dependency esbuild to v0.15.7 ([407456b](https://github.com/shufo/tailwindcss-class-sorter/commit/407456b446ac8c8ec28882824b8cf0f29c19853e)) * **deps:** update dependency eslint to v8.23.1 ([bab24ac](https://github.com/shufo/tailwindcss-class-sorter/commit/bab24ac68df05cc572b277a253829d4dce1a9ad2)) * **deps:** update dependency prettier to v2.7.1 ([0a45d44](https://github.com/shufo/tailwindcss-class-sorter/commit/0a45d44b4a28630f5c1bab8b5da46a1f86fc5437)) * **deps:** update dependency prettier-plugin-tailwindcss to v0.1.13 ([9746058](https://github.com/shufo/tailwindcss-class-sorter/commit/9746058ca6b36bca4abe58bacbae1527cc1ce25c)) * **deps:** update googlecloudplatform/release-please-action action to v3 ([d119584](https://github.com/shufo/tailwindcss-class-sorter/commit/d1195849e2ce5ceee957521645c9d62c79e1796a)) * **deps:** update pozil/auto-assign-issue action to v1.10.0 ([a4b223f](https://github.com/shufo/tailwindcss-class-sorter/commit/a4b223ff947bc308c0cbbc7b8fab1e4d17acffe4)) ### [1.0.4](https://www.github.com/shufo/tailwindcss-class-sorter/compare/v1.0.3...v1.0.4) (2022-05-11) ### Miscellaneous * ๐Ÿค– (deps-dev) add codecov ([c57d40d](https://www.github.com/shufo/tailwindcss-class-sorter/commit/c57d40d966d358b26043b0a0c0fa94e359be2f8a)) * **deps:** bump tailwindcss from 3.0.23 to 3.0.24 ([218ffbb](https://www.github.com/shufo/tailwindcss-class-sorter/commit/218ffbbcd876c2549906c0af73c82e6457df18b4)) ### [1.0.3](https://www.github.com/shufo/tailwindcss-class-sorter/compare/v1.0.2...v1.0.3) (2022-02-26) ### Fixes * ๐Ÿ› avoid optionial chain syntax to support node 12.x ([cba197b](https://www.github.com/shufo/tailwindcss-class-sorter/commit/cba197be923159e55ad9a3cca978d3c93363f0de)) ### Miscellaneous * ๐Ÿค– support node12.x for backward compatibility ([2603089](https://www.github.com/shufo/tailwindcss-class-sorter/commit/2603089ec7a1262330eb98c19308a4e5a6642352)) ### [1.0.2](https://www.github.com/shufo/tailwindcss-class-sorter/compare/v1.0.1...v1.0.2) (2022-02-25) ### Miscellaneous * ๐Ÿค– (dev-deps) add benny to dev dependencies ([e218645](https://www.github.com/shufo/tailwindcss-class-sorter/commit/e218645f5a404c2cd53acf74b43a831cdf8e52ac)) * ๐Ÿค– add ignore pattern for benchmark ([19aa712](https://www.github.com/shufo/tailwindcss-class-sorter/commit/19aa712765d9fb01b8cdcfe7a6c1c0b75e4bcc47)) * ๐Ÿค– add object-hash to dependencies ([6353bf4](https://www.github.com/shufo/tailwindcss-class-sorter/commit/6353bf4b979351eec2214a58741dcc04b46766ea)) ### Performance * โšก๏ธ add benchmark script to measure performance ([2d4b1e6](https://www.github.com/shufo/tailwindcss-class-sorter/commit/2d4b1e6df1bb7ec415791f5860ae90f5cb908a85)) * โšก๏ธ improve creating context performance by cache context ([16e5d96](https://www.github.com/shufo/tailwindcss-class-sorter/commit/16e5d964bd3a2108e1d84db9b34bf47d16282f35)) ### [1.0.1](https://www.github.com/shufo/tailwindcss-class-sorter/compare/v1.0.0...v1.0.1) (2022-02-25) ### Miscellaneous * ๐Ÿค– (dev-deps) delete unnecessary package ([22aa384](https://www.github.com/shufo/tailwindcss-class-sorter/commit/22aa3841d73b55282e79b23ccd6abf647ffced6c)) ## 1.0.0 (2022-02-25) ### Miscellaneous * ๐Ÿš€ initialize ([21e8b81](https://www.github.com/shufo/tailwindcss-class-sorter/commit/21e8b810e1fa617fbd4246785cedb840a7b771df))