@trapar-waves/react-tailwind 1.0.12 → 1.1.0

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.
@@ -0,0 +1 @@
1
+ pnpm lint-staged
package/README.md CHANGED
@@ -89,6 +89,6 @@ Contributions are welcome and greatly appreciated! Please follow these steps to
89
89
 
90
90
  ## 🔗 Links
91
91
 
92
- - **Repository:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
93
- - **Homepage:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
94
- - **Issues:** [https://github.com/react-tailwind/Trapar-waves/issues](https://github.com/react-tailwind/Trapar-waves/issues)
92
+ - **Repository:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
93
+ - **Homepage:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
94
+ - **Issues:** [https://github.com/Trapar-waves/react-tailwind/issues](https://github.com/Trapar-waves/react-tailwind/issues)
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @filename: lint-staged.config.js
3
+ * @type {import('lint-staged').Configuration}
4
+ */
5
+ export default {
6
+ "*.{ts,tsx,js,css}": "eslint --cache --max-warnings=0 --no-warn-ignored",
7
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trapar-waves/react-tailwind",
3
3
  "type": "module",
4
- "version": "1.0.12",
4
+ "version": "1.1.0",
5
5
  "description": "A modern UI development template integrating React and Tailwind CSS, with Rsbuild, TypeScript, ESLint (Antfu config), and Iconify support.",
6
6
  "author": {
7
7
  "email": "admin@rikka.cc",
@@ -9,6 +9,7 @@
9
9
  "url": "https://github.com/Muromi-Rikka"
10
10
  },
11
11
  "homepage": "https://github.com/Trapar-waves/react-tailwind",
12
+ "licence": "MIT",
12
13
  "repository": {
13
14
  "type": "git",
14
15
  "url": "git+https://github.com/Trapar-waves/react-tailwind.git"
@@ -30,16 +31,18 @@
30
31
  "scripts": {
31
32
  "dev": "rsbuild dev --open",
32
33
  "build": "rsbuild build",
33
- "preview": "rsbuild preview"
34
+ "preview": "rsbuild preview",
35
+ "lint": "eslint . --cache --max-warnings=0 --no-warn-ignored",
36
+ "postinstall": "husky"
34
37
  },
35
38
  "dependencies": {
36
39
  "react": "^19.1.0",
37
40
  "react-dom": "^19.1.0"
38
41
  },
39
42
  "devDependencies": {
40
- "@antfu/eslint-config": "^4.14.1",
43
+ "@antfu/eslint-config": "^4.16.1",
41
44
  "@eslint-react/eslint-plugin": "^1.52.2",
42
- "@iconify/json": "^2.2.349",
45
+ "@iconify/json": "^2.2.351",
43
46
  "@iconify/tailwind4": "^1.0.6",
44
47
  "@rsbuild/core": "^1.3.22",
45
48
  "@rsbuild/plugin-react": "^1.3.2",
@@ -50,6 +53,8 @@
50
53
  "eslint-plugin-format": "^1.0.1",
51
54
  "eslint-plugin-react-hooks": "^5.2.0",
52
55
  "eslint-plugin-react-refresh": "^0.4.20",
56
+ "husky": "^9.1.7",
57
+ "lint-staged": "^16.1.2",
53
58
  "tailwindcss": "^4.1.10",
54
59
  "typescript": "^5.8.3"
55
60
  }
@@ -89,7 +89,6 @@ pnpm install
89
89
 
90
90
  ## 🔗 Links
91
91
 
92
- - **仓库:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
93
-
94
- * **主页:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
95
- * **问题:** [https://github.com/react-tailwind/Trapar-waves/issues](https://github.com/react-tailwind/Trapar-waves/issues)
92
+ - **仓库:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
93
+ - **主页:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
94
+ - **问题:** [https://github.com/Trapar-waves/react-tailwind/issues](https://github.com/Trapar-waves/react-tailwind/issues)
@@ -89,6 +89,6 @@ pnpm install
89
89
 
90
90
  ## 🔗 Links
91
91
 
92
- - **リポジトリ:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
93
- - **ホームページ:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
94
- - **イシュー:** [https://github.com/react-tailwind/Trapar-waves/issues](https://github.com/react-tailwind/Trapar-waves/issues)
92
+ - **リポジトリ:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
93
+ - **ホームページ:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
94
+ - **イシュー:** [https://github.com/Trapar-waves/react-tailwind/issues](https://github.com/Trapar-waves/react-tailwind/issues)
@@ -89,7 +89,6 @@ pnpm install
89
89
 
90
90
  ## 🔗 Links
91
91
 
92
- - **Репозиторий:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
93
-
94
- * **Домашняя страница:** [https://github.com/react-tailwind/Trapar-waves](https://github.com/react-tailwind/Trapar-waves)
95
- * **Проблемы:** [https://github.com/react-tailwind/Trapar-waves/issues](https://github.com/react-tailwind/Trapar-waves/issues)
92
+ - **Репозиторий:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
93
+ - **Домашняя страница:** [https://github.com/Trapar-waves/react-tailwind](https://github.com/Trapar-waves/react-tailwind)
94
+ - **Проблемы:** [https://github.com/Trapar-waves/react-tailwind/issues](https://github.com/Trapar-waves/react-tailwind/issues)