-
Notifications
You must be signed in to change notification settings - Fork 154
Comparing changes
Open a pull request
base repository: tailwindlabs/prettier-plugin-tailwindcss
base: v0.5.6
head repository: tailwindlabs/prettier-plugin-tailwindcss
compare: main
Commits on Nov 8, 2023
-
Correctly populate
dynamicAttrs
for custom attributes (#225)* Fix `dynamicAttrs` in `options.js` * Add test --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
Configuration menu - View commit details
-
Copy full SHA for 15c1196 - Browse repository at this point
Copy the full SHA 15c1196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f10af - Browse repository at this point
Copy the full SHA 92f10afView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f6185 - Browse repository at this point
Copy the full SHA c0f6185View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f2be3 - Browse repository at this point
Copy the full SHA 38f2be3View commit details
Commits on Dec 5, 2023
-
Re-enable Marko support (#229)
* Re-enable Marko support * Update changelog --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
Configuration menu - View commit details
-
Copy full SHA for cf301ca - Browse repository at this point
Copy the full SHA cf301caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cc6319 - Browse repository at this point
Copy the full SHA 4cc6319View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd4bfce - Browse repository at this point
Copy the full SHA dd4bfceView commit details -
Fix embedded preflight location (#231)
* Fix embedded preflight location * Update changelog
Configuration menu - View commit details
-
Copy full SHA for fa38999 - Browse repository at this point
Copy the full SHA fa38999View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3229c2 - Browse repository at this point
Copy the full SHA e3229c2View commit details
Commits on Dec 19, 2023
-
Bump bundled version of Tailwind CSS to v3.4 (#235)
* Bump bundled version of Tailwind CSS to v3.4 * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 9f8780c - Browse repository at this point
Copy the full SHA 9f8780cView commit details
Commits on Dec 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 885b14f - Browse repository at this point
Copy the full SHA 885b14fView commit details
Commits on Jan 5, 2024
-
Bump bundled version of
tailwindcss
tov3.4.1
(#240)* Bump bundled version of `tailwindcss` to `v3.4.1` * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 08f5c4c - Browse repository at this point
Copy the full SHA 08f5c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf40417 - Browse repository at this point
Copy the full SHA bf40417View commit details
Commits on Jan 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4338bd0 - Browse repository at this point
Copy the full SHA 4338bd0View commit details
Commits on Jan 12, 2024
-
Add support for
prettier-plugin-sort-imports
(#241)* Update plugins.js * Update README * Update tests and peer deps * Update Prettier * Update changelog --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
Configuration menu - View commit details
-
Copy full SHA for 1fa24c2 - Browse repository at this point
Copy the full SHA 1fa24c2View commit details
Commits on Feb 28, 2024
-
Add preliminary support for v4 (#249)
* Refactor * Add support for loading v4 * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 81c446e - Browse repository at this point
Copy the full SHA 81c446eView commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b019552 - Browse repository at this point
Copy the full SHA b019552View commit details
Commits on Mar 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f563336 - Browse repository at this point
Copy the full SHA f563336View commit details
Commits on Mar 22, 2024
-
ci: add provenance to npm packages (#252)
This commit adds provenance for all published packages. See the NPM documentation [0]. Provenance will allow people to verify that the packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security. For this to work, the `id-token` permission was added only where necessary. [0]: https://docs.npmjs.com/generating-provenance-statements
Configuration menu - View commit details
-
Copy full SHA for 10e0c19 - Browse repository at this point
Copy the full SHA 10e0c19View commit details
Commits on Mar 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 54f0d43 - Browse repository at this point
Copy the full SHA 54f0d43View commit details
Commits on Mar 27, 2024
-
Re-enable support for Twig / Melody (#255)
* Support plugins meant to work with Prettier 2 _and_ 3 * Re-enable `prettier-plugin-twig-melody` * Update lockfile * Update changelog * Update wording Co-authored-by: Jonathan Reinink <jonathan@reinink.ca> --------- Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
Configuration menu - View commit details
-
Copy full SHA for 35fe358 - Browse repository at this point
Copy the full SHA 35fe358View commit details -
Configuration menu - View commit details
-
Copy full SHA for d66a6d5 - Browse repository at this point
Copy the full SHA d66a6d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3201e5f - Browse repository at this point
Copy the full SHA 3201e5fView commit details
Commits on Apr 10, 2024
-
Add example for Prettier ESM config (#263)
* Add example for Prettier ESM config Thought this might be useful for folks since we are in a shift towards an ESM config future. * Update README.md --------- Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b4aa821 - Browse repository at this point
Copy the full SHA b4aa821View commit details -
Configuration menu - View commit details
-
Copy full SHA for 360cb77 - Browse repository at this point
Copy the full SHA 360cb77View commit details
Commits on Apr 15, 2024
-
Fix detection of v4 projects on Windows (#265)
* Use file url for dynamic imports * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 3df9921 - Browse repository at this point
Copy the full SHA 3df9921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c9ce4e - Browse repository at this point
Copy the full SHA 3c9ce4eView commit details
Commits on May 30, 2024
-
Remove duplicate classes and excess whitespace (#272)
* Add docblock * Update comments * Remove duplicate classes * Add option to collapse whitespace * Update tests * Don’t trim entirely empty class lists We leave one space in when a class list consists of just whitespace * Remove whitespace by default * Rename option to `tailwindPreserveWhitespace` * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 1f83aae - Browse repository at this point
Copy the full SHA 1f83aaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for afbc487 - Browse repository at this point
Copy the full SHA afbc487View commit details
Commits on May 31, 2024
-
Improve handling of whitespace and duplicate class removal (#276)
* Add tests * Be more careful about whitespace removal in concat expressions * Detect liquid concat expressions in newer ASTs * Make sure string splicing handles changing string length * Add option to preserve duplicate classes This is important when using templating languages * Disable whitespace removal in Svelte We’d have to modify the start/end locations of many nodes in the AST. Technically, only AST nodes appearing _after_ the string on the same line but that might actually be sibling nodes and ancestor nodes. It’s a better option for now to disable it. * Disable whitespace removal in Liquid * Disable duplicate removal in Liquid and Svelte * Update changelog * Update readme * Update CHANGELOG.md * Update README.md --------- Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
Configuration menu - View commit details
-
Copy full SHA for 8a9094f - Browse repository at this point
Copy the full SHA 8a9094fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 731ae22 - Browse repository at this point
Copy the full SHA 731ae22View commit details
Commits on Jun 3, 2024
-
Only remove duplicate Tailwind classes (#277)
* improve remove duplicate classes * replace indexOf by Set * Simplify code * Refactor * Remove duplicates after sorting * Only remove duplicates of known classes * Rename vars * Tweak comment * Tweak var names * wip * Move duplicate removal to sorting routine * Refactor * Refactor * Tweak comment * Cleanup * Update changelog --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
Configuration menu - View commit details
-
Copy full SHA for 82ea71a - Browse repository at this point
Copy the full SHA 82ea71aView commit details
Commits on Jun 6, 2024
-
Make sure escapes in classes are preserved in string literals (#286)
* Add tests for escapes * Make sure escapes in classes are preserved in string literals * Update changelog
Configuration menu - View commit details
-
Copy full SHA for 57afde1 - Browse repository at this point
Copy the full SHA 57afde1View commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa6ec0a - Browse repository at this point
Copy the full SHA aa6ec0aView commit details
Commits on Jun 11, 2024
-
* Convert expiring map to JS * Conver option list to TypeScript * Fix ESM plugin loading This doesn’t seem to actually have any side-effects but typescript has revealed possible issues here * Convert plugin loading to typescript * Convert config loading to typescript * Convert sorting code to typescript * Convert utils to typescript * Add types * Convert main file to typescript * wip * Make package type: module * Switch to vitest * Update lockfile * Run fixture tests concurrently * Use tsup for building dts files Can’t use it to bundle just yet * Bump test timeout * Use Node 18 in CI * Use Node v22 in CI Worth seeing if it makes things faster * Remove expired data from maps to prevent memory leaks * Update comments * Remove comments Probably isn’t any reason for this actually * Add better types to `prefixCandidate`
Configuration menu - View commit details
-
Copy full SHA for 5e7b8b5 - Browse repository at this point
Copy the full SHA 5e7b8b5View commit details -
Fix publishing and testing scripts (#289)
* Fix publishing and testing scripts * Update license copying code
Configuration menu - View commit details
-
Copy full SHA for 6ded534 - Browse repository at this point
Copy the full SHA 6ded534View commit details -
Improve detection of string concatenation (#288)
* Improve `visit()` types * Check for ancestor concat expressions * Rename global usage of `createRequire` * Update changelog * Update src/index.ts Co-authored-by: Robin Malfait <malfait.robin@gmail.com> * Update src/index.ts Co-authored-by: Robin Malfait <malfait.robin@gmail.com> * Update src/index.ts Co-authored-by: Robin Malfait <malfait.robin@gmail.com> --------- Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b047e02 - Browse repository at this point
Copy the full SHA b047e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1010b51 - Browse repository at this point
Copy the full SHA 1010b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd3d5b0 - Browse repository at this point
Copy the full SHA bd3d5b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9bfe4 - Browse repository at this point
Copy the full SHA 9b9bfe4View commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0ea2dc0 - Browse repository at this point
Copy the full SHA 0ea2dc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13021c - Browse repository at this point
Copy the full SHA a13021cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9d702 - Browse repository at this point
Copy the full SHA 2a9d702View commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec92b76 - Browse repository at this point
Copy the full SHA ec92b76View commit details
Commits on Jun 17, 2024
-
Only re-apply string escaping when necessary (#295)
* Simplify test * Only apply escaping when necessary
Configuration menu - View commit details
-
Copy full SHA for a5506a9 - Browse repository at this point
Copy the full SHA a5506a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 642a97c - Browse repository at this point
Copy the full SHA 642a97cView commit details -
Configuration menu - View commit details
-
Copy full SHA for efea6f9 - Browse repository at this point
Copy the full SHA efea6f9View commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 031e5f1 - Browse repository at this point
Copy the full SHA 031e5f1View commit details -
Move fixtures' expected outputs to the fixture directories (#298)
* Move fixtures' expected outputs to the fixture directories This makes them easier to diff with conventional tools. * Tweak code a bit --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
Configuration menu - View commit details
-
Copy full SHA for f101793 - Browse repository at this point
Copy the full SHA f101793View commit details
Commits on Jun 24, 2024
-
Add compatibility with
prettier-plugin-multiline-arrays
(#299)* Add compatibility with `prettier-plugin-multiline-arrays` * Update changelog --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
Configuration menu - View commit details
-
Copy full SHA for c5eed72 - Browse repository at this point
Copy the full SHA c5eed72View commit details
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.