From 778f5b627812f6cb487e9236ca5e5261fd2e763c Mon Sep 17 00:00:00 2001
From: LofiSu <163713803+LofiSu@users.noreply.github.com>
Date: Sun, 26 Jan 2025 07:05:31 +0000
Subject: cli
---
index.html | 2 +-
package.json | 17 ++++++++--------
pnpm-lock.yaml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++--------
src/HomePage.tsx | 14 ++++++-------
4 files changed, 70 insertions(+), 24 deletions(-)
diff --git a/index.html b/index.html
index 9620400..eb92676 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
-
Vite + React + TS
+ Hydroroll
diff --git a/package.json b/package.json
index df9ecd8..bafbce6 100644
--- a/package.json
+++ b/package.json
@@ -20,16 +20,17 @@
"three": "^0.158.0"
},
"devDependencies": {
- "@eslint/js": "^9.17.0",
+ "@eslint/js": "^9.19.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
- "@vitejs/plugin-react-swc": "^3.5.0",
- "eslint": "^9.17.0",
- "eslint-plugin-react-hooks": "^5.0.0",
- "eslint-plugin-react-refresh": "^0.4.16",
+ "@types/three": "^0.172.0",
+ "@vitejs/plugin-react-swc": "^3.7.2",
+ "eslint": "^9.19.0",
+ "eslint-plugin-react-hooks": "^5.1.0",
+ "eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
- "typescript": "~5.6.2",
- "typescript-eslint": "^8.18.2",
- "vite": "^6.0.5"
+ "typescript": "~5.6.3",
+ "typescript-eslint": "^8.21.0",
+ "vite": "^6.0.11"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f2b76aa..d5ee65a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -34,7 +34,7 @@ importers:
version: 0.158.0
devDependencies:
'@eslint/js':
- specifier: ^9.17.0
+ specifier: ^9.19.0
version: 9.19.0
'@types/react':
specifier: ^18.3.18
@@ -42,29 +42,32 @@ importers:
'@types/react-dom':
specifier: ^18.3.5
version: 18.3.5(@types/react@18.3.18)
+ '@types/three':
+ specifier: ^0.172.0
+ version: 0.172.0
'@vitejs/plugin-react-swc':
- specifier: ^3.5.0
+ specifier: ^3.7.2
version: 3.7.2(@swc/helpers@0.5.15)(vite@6.0.11)
eslint:
- specifier: ^9.17.0
+ specifier: ^9.19.0
version: 9.19.0
eslint-plugin-react-hooks:
- specifier: ^5.0.0
+ specifier: ^5.1.0
version: 5.1.0(eslint@9.19.0)
eslint-plugin-react-refresh:
- specifier: ^0.4.16
+ specifier: ^0.4.18
version: 0.4.18(eslint@9.19.0)
globals:
specifier: ^15.14.0
version: 15.14.0
typescript:
- specifier: ~5.6.2
+ specifier: ~5.6.3
version: 5.6.3
typescript-eslint:
- specifier: ^8.18.2
+ specifier: ^8.21.0
version: 8.21.0(eslint@9.19.0)(typescript@5.6.3)
vite:
- specifier: ^6.0.5
+ specifier: ^6.0.11
version: 6.0.11
packages:
@@ -1587,6 +1590,9 @@ packages:
'@swc/types@0.1.17':
resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==}
+ '@tweenjs/tween.js@23.1.3':
+ resolution: {integrity: sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==}
+
'@types/d3-array@3.2.1':
resolution: {integrity: sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==}
@@ -1637,6 +1643,15 @@ packages:
'@types/react@18.3.18':
resolution: {integrity: sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==}
+ '@types/stats.js@0.17.3':
+ resolution: {integrity: sha512-pXNfAD3KHOdif9EQXZ9deK82HVNaXP5ZIF5RP2QG6OQFNTaY2YIetfrE9t528vEreGQvEPRDDc8muaoYeK0SxQ==}
+
+ '@types/three@0.172.0':
+ resolution: {integrity: sha512-LrUtP3FEG26Zg5WiF0nbg8VoXiKokBLTcqM2iLvM9vzcfEiYmmBAPGdBgV0OYx9fvWlY3R/3ERTZcD9X5sc0NA==}
+
+ '@types/webxr@0.5.21':
+ resolution: {integrity: sha512-geZIAtLzjGmgY2JUi6VxXdCrTb99A7yP49lxLr2Nm/uIK0PkkxcEi4OGhoGDO4pxCf3JwGz2GiJL2Ej4K2bKaA==}
+
'@typescript-eslint/eslint-plugin@8.21.0':
resolution: {integrity: sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -1689,6 +1704,9 @@ packages:
peerDependencies:
vite: ^4 || ^5 || ^6
+ '@webgpu/types@0.1.53':
+ resolution: {integrity: sha512-x+BLw/opaz9LiVyrMsP75nO1Rg0QfrACUYIbVSfGwY/w0DiWIPYYrpte6us//KZXinxFAOJl0+C17L1Vi2vmDw==}
+
acorn-jsx@5.3.2:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
@@ -1925,6 +1943,9 @@ packages:
fastq@1.18.0:
resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==}
+ fflate@0.8.2:
+ resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}
+
file-entry-cache@8.0.0:
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
engines: {node: '>=16.0.0'}
@@ -2089,6 +2110,9 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
+ meshoptimizer@0.18.1:
+ resolution: {integrity: sha512-ZhoIoL7TNV4s5B6+rx5mC//fw8/POGyNxS/DZyCJeiZ12ScLfVwRE/GfsxwiTkMYYD5DmK2/JXnEVXqL4rF+Sw==}
+
micromatch@4.0.8:
resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
engines: {node: '>=8.6'}
@@ -4714,6 +4738,8 @@ snapshots:
dependencies:
'@swc/counter': 0.1.3
+ '@tweenjs/tween.js@23.1.3': {}
+
'@types/d3-array@3.2.1': {}
'@types/d3-color@3.1.3': {}
@@ -4759,6 +4785,19 @@ snapshots:
'@types/prop-types': 15.7.14
csstype: 3.1.3
+ '@types/stats.js@0.17.3': {}
+
+ '@types/three@0.172.0':
+ dependencies:
+ '@tweenjs/tween.js': 23.1.3
+ '@types/stats.js': 0.17.3
+ '@types/webxr': 0.5.21
+ '@webgpu/types': 0.1.53
+ fflate: 0.8.2
+ meshoptimizer: 0.18.1
+
+ '@types/webxr@0.5.21': {}
+
'@typescript-eslint/eslint-plugin@8.21.0(@typescript-eslint/parser@8.21.0(eslint@9.19.0)(typescript@5.6.3))(eslint@9.19.0)(typescript@5.6.3)':
dependencies:
'@eslint-community/regexpp': 4.12.1
@@ -4843,6 +4882,8 @@ snapshots:
transitivePeerDependencies:
- '@swc/helpers'
+ '@webgpu/types@0.1.53': {}
+
acorn-jsx@5.3.2(acorn@8.14.0):
dependencies:
acorn: 8.14.0
@@ -5101,6 +5142,8 @@ snapshots:
dependencies:
reusify: 1.0.4
+ fflate@0.8.2: {}
+
file-entry-cache@8.0.0:
dependencies:
flat-cache: 4.0.1
@@ -5229,6 +5272,8 @@ snapshots:
merge2@1.4.1: {}
+ meshoptimizer@0.18.1: {}
+
micromatch@4.0.8:
dependencies:
braces: 3.0.3
diff --git a/src/HomePage.tsx b/src/HomePage.tsx
index 3a40a16..4498a85 100644
--- a/src/HomePage.tsx
+++ b/src/HomePage.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import { motion } from 'framer-motion';
-import { FaGithub, FaDiscord } from 'react-icons/fa';
-import { SiPython, SiTypescript, SiReact } from 'react-icons/si';
+// import { FaGithub, FaDiscord } from 'react-icons/fa';
+// import { SiPython, SiTypescript, SiReact } from 'react-icons/si';
import { Button, Card } from '@nextui-org/react';
import { ThreeBackground } from './components/ThreeBackground';
import { StatsCard } from './components/StatsCard';
@@ -33,14 +33,14 @@ const HomePage: React.FC = () => {
target="_blank"
as="a"
>
-
+ {/* */}
加入 GitHub
@@ -55,17 +55,17 @@ const HomePage: React.FC = () => {
}
+ icon={
}
title="Python 驱动"
description="基于 Python 构建,提供灵活且强大的插件系统"
/>
}
+ icon={
}
title="TypeScript 支持"
description="完整的 TypeScript 类型支持,提供更好的开发体验"
/>
}
+ icon={
}
title="现代化框架"
description="采用现代化的框架设计,支持多平台部署"
/>
--
cgit v1.2.3-70-g09d2