tailwint 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
  <img src="assets/header.svg" alt="tailwint">
3
3
  </p>
4
4
 
5
+ <p align="center">
6
+ <strong>tail</strong>wind + l<strong>int</strong> = <strong>tailwint</strong> ~≈∼〜 a tiny linter for your Tailwind CSS
7
+ </p>
8
+
5
9
  <p align="center">
6
10
  <a href="https://www.npmjs.com/package/tailwint"><img src="https://img.shields.io/npm/v/tailwint?color=0ea5e9&label=npm" alt="npm version"></a>
7
11
  <a href="https://github.com/peterwangsc/tailwint/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/tailwint?color=a78bfa" alt="license"></a>
@@ -10,7 +14,7 @@
10
14
 
11
15
  ---
12
16
 
13
- The same diagnostics VS Code shows — but from the command line. Catches class conflicts, suggests canonical rewrites, and auto-fixes everything. Built on the official `@tailwindcss/language-server`.
17
+ The same diagnostics VS Code shows — but from the command line. Catches class conflicts, suggests canonical rewrites, and auto-fixes everything. Powered by the official `@tailwindcss/language-server` — not a custom parser, not a regex hack.
14
18
 
15
19
  **Works with Tailwind CSS v4.**
16
20
 
@@ -156,11 +160,11 @@ const exitCode = await run({
156
160
 
157
161
  tailwint exits with meaningful codes for CI pipelines:
158
162
 
159
- | Exit code | Meaning |
160
- | --------- | ------------------------------------------------- |
161
- | `0` | No issues found, or all issues fixed with `--fix` |
162
- | `1` | Issues found (without `--fix`) |
163
- | `2` | Fatal error (language server not found, crash) |
163
+ | Exit code | Meaning |
164
+ | --------- | ---------------------------------------------------------------- |
165
+ | `0` | No issues found, or all issues fixed with `--fix` |
166
+ | `1` | Issues found, or unfixable issues remain after `--fix` |
167
+ | `2` | Fatal error (language server not found, crash) |
164
168
 
165
169
  ### GitHub Actions
166
170
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tailwint",
3
- "version": "1.1.10",
4
- "description": "Tailwind CSS linter for CI — drives the official language server to catch class issues and auto-fix them",
3
+ "version": "1.1.11",
4
+ "description": "Tiny Tailwind CSS linter and auto-fixer for CI — powered by the official language server, not regex",
5
5
  "license": "MIT",
6
6
  "author": "Peter Wang",
7
7
  "homepage": "https://github.com/peterwangsc/tailwint",
@@ -13,16 +13,24 @@
13
13
  "keywords": [
14
14
  "tailwindcss",
15
15
  "tailwind",
16
+ "tailwind-lint",
16
17
  "lint",
17
18
  "linter",
19
+ "cli",
18
20
  "ci",
21
+ "ci-cd",
19
22
  "autofix",
20
23
  "language-server",
21
24
  "lsp",
22
25
  "tailwind-v4",
23
26
  "css",
24
27
  "diagnostics",
25
- "code-quality"
28
+ "code-quality",
29
+ "class-conflicts",
30
+ "canonical",
31
+ "github-actions",
32
+ "pre-commit",
33
+ "static-analysis"
26
34
  ],
27
35
  "engines": {
28
36
  "node": ">=18"