@trapar-waves/react-three-maplibre 1.0.11 → 1.1.1

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
@@ -85,6 +85,6 @@ Contributions are welcome and greatly appreciated! Please follow these steps to
85
85
 
86
86
  ## 🔗 Links
87
87
 
88
- - **Repository:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
89
- - **Homepage:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
90
- - **Issues:** [https://github.com/react-three-maplibre/Trapar-waves/issues](https://github.com/react-three-maplibre/Trapar-waves/issues)
88
+ - **Repository:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
89
+ - **Homepage:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
90
+ - **Issues:** [https://github.com/Trapar-waves/react-three-maplibre/issues](https://github.com/Trapar-waves/react-three-maplibre/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,13 +1,14 @@
1
1
  {
2
2
  "name": "@trapar-waves/react-three-maplibre",
3
3
  "type": "module",
4
- "version": "1.0.11",
4
+ "version": "1.1.1",
5
5
  "description": "A React library integrating Three.js and MapLibre for 3D map visualization",
6
6
  "author": {
7
7
  "email": "admin@rikka.cc",
8
8
  "name": "Rikka",
9
9
  "url": "https://github.com/Muromi-Rikka"
10
10
  },
11
+ "license": "MIT",
11
12
  "homepage": "https://github.com/Trapar-waves/react-three-maplibre",
12
13
  "repository": {
13
14
  "type": "git",
@@ -31,13 +32,15 @@
31
32
  "scripts": {
32
33
  "dev": "rsbuild dev --open",
33
34
  "build": "rsbuild build",
34
- "preview": "rsbuild preview"
35
+ "preview": "rsbuild preview",
36
+ "lint": "eslint . --cache --max-warnings=0 --no-warn-ignored",
37
+ "postinstall": "husky"
35
38
  },
36
39
  "dependencies": {
37
40
  "@antv/l7": "^2.22.5",
38
41
  "@antv/l7-maps": "^2.22.5",
39
42
  "@react-three/drei": "^10.3.0",
40
- "@react-three/fiber": "^9.1.2",
43
+ "@react-three/fiber": "^9.1.4",
41
44
  "maplibre-gl": "5.6.0",
42
45
  "react": "^19.1.0",
43
46
  "react-dom": "^19.1.0",
@@ -47,22 +50,24 @@
47
50
  "three-stdlib": "^2.36.0"
48
51
  },
49
52
  "devDependencies": {
50
- "@antfu/eslint-config": "^4.14.1",
53
+ "@antfu/eslint-config": "^4.16.1",
51
54
  "@eslint-react/eslint-plugin": "^1.52.2",
52
- "@iconify/json": "^2.2.349",
55
+ "@iconify/json": "^2.2.353",
53
56
  "@iconify/tailwind4": "^1.0.6",
54
- "@rsbuild/core": "^1.3.22",
57
+ "@rsbuild/core": "^1.4.2",
55
58
  "@rsbuild/plugin-react": "^1.3.2",
56
- "@tailwindcss/postcss": "^4.1.10",
59
+ "@tailwindcss/postcss": "^4.1.11",
57
60
  "@types/react": "^19.1.8",
58
61
  "@types/react-dom": "^19.1.6",
59
62
  "@types/three": "^0.177.0",
60
- "eslint": "^9.29.0",
63
+ "eslint": "^9.30.0",
61
64
  "eslint-plugin-format": "^1.0.1",
62
65
  "eslint-plugin-react-hooks": "^5.2.0",
63
66
  "eslint-plugin-react-refresh": "^0.4.20",
64
- "mapbox-gl": "^3.12.0",
65
- "tailwindcss": "^4.1.10",
67
+ "husky": "^9.1.7",
68
+ "lint-staged": "^16.1.2",
69
+ "mapbox-gl": "^3.13.0",
70
+ "tailwindcss": "^4.1.11",
66
71
  "typescript": "^5.8.3"
67
72
  }
68
73
  }
@@ -85,6 +85,6 @@ pnpm install
85
85
 
86
86
  ## 🔗 Links
87
87
 
88
- - **仓库:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
89
- - **主页:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
90
- - **问题:** [https://github.com/react-three-maplibre/Trapar-waves/issues](https://github.com/react-three-maplibre/Trapar-waves/issues)
88
+ - **仓库:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
89
+ - **主页:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
90
+ - **问题:** [https://github.com/Trapar-waves/react-three-maplibre/issues](https://github.com/Trapar-waves/react-three-maplibre/issues)
@@ -85,6 +85,6 @@ pnpm install
85
85
 
86
86
  ## 🔗 Links
87
87
 
88
- - **リポジトリ:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
89
- - **ホームページ:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
90
- - **イシュー:** [https://github.com/react-three-maplibre/Trapar-waves/issues](https://github.com/react-three-maplibre/Trapar-waves/issues)
88
+ - **リポジトリ:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
89
+ - **ホームページ:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
90
+ - **イシュー:** [https://github.com/Trapar-waves/react-three-maplibre/issues](https://github.com/Trapar-waves/react-three-maplibre/issues)
@@ -85,6 +85,6 @@ pnpm install
85
85
 
86
86
  ## 🔗 Links
87
87
 
88
- - **Репозиторий:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
89
- - **Домашняя страница:** [https://github.com/react-three-maplibre/Trapar-waves](https://github.com/react-three-maplibre/Trapar-waves)
90
- - **Проблемы:** [https://github.com/react-three-maplibre/Trapar-waves/issues](https://github.com/react-three-maplibre/Trapar-waves/issues)
88
+ - **Репозиторий:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
89
+ - **Домашняя страница:** [https://github.com/Trapar-waves/react-three-maplibre](https://github.com/Trapar-waves/react-three-maplibre)
90
+ - **Проблемы:** [https://github.com/Trapar-waves/react-three-maplibre/issues](https://github.com/Trapar-waves/react-three-maplibre/issues)