feat: add README.md

chore: locked dependency version
This commit is contained in:
2024-12-17 15:39:02 +08:00
parent c5358024a0
commit 3ba48ae21f
3 changed files with 60 additions and 28 deletions
+32
View File
@@ -1,2 +1,34 @@
# Home
实验室主页,使用 Next.js 简单编写~
## 编译步骤
1. **克隆代码**
```bash
git clone https://git.intcplab.cn/LAB/Home.git
```
2. **安装依赖**
```bash
# 安装 pnpm 包管理器
npm install -g pnpm
# 安装项目依赖
pnpm install
```
3. **编译项目**
```bash
pnpm build
```
编译后的静态文件位于 `out` 目录下。
4. **开发调试**
```bash
pnpm dev
```
+10 -10
View File
@@ -9,19 +9,19 @@
"lint": "next lint"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"next": "15.1.0"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"eslint": "^9",
"typescript": "5.7.2",
"@types/node": "22.10.2",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.2",
"postcss": "8.4.49",
"tailwindcss": "3.4.16",
"eslint": "9.17.0",
"eslint-config-next": "15.1.0",
"@eslint/eslintrc": "^3"
"@eslint/eslintrc": "3.2.0"
}
}
+18 -18
View File
@@ -12,38 +12,38 @@ importers:
specifier: 15.1.0
version: 15.1.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
react:
specifier: ^19.0.0
specifier: 19.0.0
version: 19.0.0
react-dom:
specifier: ^19.0.0
specifier: 19.0.0
version: 19.0.0(react@19.0.0)
devDependencies:
'@eslint/eslintrc':
specifier: ^3
specifier: 3.2.0
version: 3.2.0
'@types/node':
specifier: ^20
version: 20.17.10
specifier: 22.10.2
version: 22.10.2
'@types/react':
specifier: ^19
specifier: 19.0.1
version: 19.0.1
'@types/react-dom':
specifier: ^19
specifier: 19.0.2
version: 19.0.2(@types/react@19.0.1)
eslint:
specifier: ^9
specifier: 9.17.0
version: 9.17.0(jiti@1.21.6)
eslint-config-next:
specifier: 15.1.0
version: 15.1.0(eslint@9.17.0(jiti@1.21.6))(typescript@5.7.2)
postcss:
specifier: ^8
specifier: 8.4.49
version: 8.4.49
tailwindcss:
specifier: ^3.4.1
specifier: 3.4.16
version: 3.4.16
typescript:
specifier: ^5
specifier: 5.7.2
version: 5.7.2
packages:
@@ -331,8 +331,8 @@ packages:
'@types/json5@0.0.29':
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
'@types/node@20.17.10':
resolution: {integrity: sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA==}
'@types/node@22.10.2':
resolution: {integrity: sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==}
'@types/react-dom@19.0.2':
resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==}
@@ -1602,8 +1602,8 @@ packages:
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
engines: {node: '>= 0.4'}
undici-types@6.19.8:
resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==}
undici-types@6.20.0:
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
uri-js@4.4.1:
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
@@ -1880,9 +1880,9 @@ snapshots:
'@types/json5@0.0.29': {}
'@types/node@20.17.10':
'@types/node@22.10.2':
dependencies:
undici-types: 6.19.8
undici-types: 6.20.0
'@types/react-dom@19.0.2(@types/react@19.0.1)':
dependencies:
@@ -3446,7 +3446,7 @@ snapshots:
has-symbols: 1.1.0
which-boxed-primitive: 1.1.1
undici-types@6.19.8: {}
undici-types@6.20.0: {}
uri-js@4.4.1:
dependencies: