@ttskch/prettier-plugin-tailwindcss-anywhere 0.0.7 → 0.0.9

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 +4 -0
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -7,6 +7,10 @@
7
7
 
8
8
  A Prettier plugin for sorting TailwindCSS classes **in any HTML-like language, like Twig etc**⚡
9
9
 
10
+ ## Requirements
11
+
12
+ * Node: `>= 20.9 < 23`
13
+
10
14
  ## Installation
11
15
 
12
16
  ```shell
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@ttskch/prettier-plugin-tailwindcss-anywhere",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "A Prettier plugin for sorting TailwindCSS classes in any HTML-like language, like Twig etc.",
5
5
  "keywords": ["prettier", "tailwindcss", "formatter", "html", "twig"],
6
6
  "type": "module",
7
7
  "engines": {
8
- "node": ">= 20.9 < 21"
8
+ "node": ">= 20.9 < 23"
9
9
  },
10
- "packageManager": "pnpm@9.12.3",
11
10
  "main": "dist/index.js",
12
11
  "exports": {
13
12
  ".": {
@@ -23,6 +22,7 @@
23
22
  "@types/node": "~20",
24
23
  "@types/prettier": "^3.0.0",
25
24
  "@vitest/coverage-v8": "~2.1",
25
+ "husky": "^9.1.7",
26
26
  "prettier": "^3.0",
27
27
  "prettier-plugin-tailwindcss": "^0.6",
28
28
  "rimraf": "~6.0",
@@ -35,6 +35,7 @@
35
35
  "prettier-plugin-tailwindcss": "^0.6"
36
36
  },
37
37
  "scripts": {
38
+ "prepare": "husky",
38
39
  "start": "node dist/index.js",
39
40
  "clean": "rimraf coverage dist tmp",
40
41
  "prebuild": "biome lint",
@@ -49,8 +50,10 @@
49
50
  "test:watch": "vitest unit"
50
51
  },
51
52
  "author": "Takashi Kanemoto <ttskch@gmail.com>",
52
- "license": "MIT",
53
- "volta": {
54
- "node": "20.17.0"
55
- }
53
+ "homepage": "https://github.com/ttskch/prettier-plugin-tailwindcss-anywhere",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "ssh://git@github.com/ttskch/prettier-plugin-tailwindcss-anywhere"
57
+ },
58
+ "license": "MIT"
56
59
  }