feat: add README.md
chore: locked dependency version
This commit is contained in:
@@ -1,2 +1,34 @@
|
|||||||
# Home
|
# 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
@@ -9,19 +9,19 @@
|
|||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^19.0.0",
|
"react": "19.0.0",
|
||||||
"react-dom": "^19.0.0",
|
"react-dom": "19.0.0",
|
||||||
"next": "15.1.0"
|
"next": "15.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5",
|
"typescript": "5.7.2",
|
||||||
"@types/node": "^20",
|
"@types/node": "22.10.2",
|
||||||
"@types/react": "^19",
|
"@types/react": "19.0.1",
|
||||||
"@types/react-dom": "^19",
|
"@types/react-dom": "19.0.2",
|
||||||
"postcss": "^8",
|
"postcss": "8.4.49",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "3.4.16",
|
||||||
"eslint": "^9",
|
"eslint": "9.17.0",
|
||||||
"eslint-config-next": "15.1.0",
|
"eslint-config-next": "15.1.0",
|
||||||
"@eslint/eslintrc": "^3"
|
"@eslint/eslintrc": "3.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+18
-18
@@ -12,38 +12,38 @@ importers:
|
|||||||
specifier: 15.1.0
|
specifier: 15.1.0
|
||||||
version: 15.1.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
version: 15.1.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
||||||
react:
|
react:
|
||||||
specifier: ^19.0.0
|
specifier: 19.0.0
|
||||||
version: 19.0.0
|
version: 19.0.0
|
||||||
react-dom:
|
react-dom:
|
||||||
specifier: ^19.0.0
|
specifier: 19.0.0
|
||||||
version: 19.0.0(react@19.0.0)
|
version: 19.0.0(react@19.0.0)
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@eslint/eslintrc':
|
'@eslint/eslintrc':
|
||||||
specifier: ^3
|
specifier: 3.2.0
|
||||||
version: 3.2.0
|
version: 3.2.0
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^20
|
specifier: 22.10.2
|
||||||
version: 20.17.10
|
version: 22.10.2
|
||||||
'@types/react':
|
'@types/react':
|
||||||
specifier: ^19
|
specifier: 19.0.1
|
||||||
version: 19.0.1
|
version: 19.0.1
|
||||||
'@types/react-dom':
|
'@types/react-dom':
|
||||||
specifier: ^19
|
specifier: 19.0.2
|
||||||
version: 19.0.2(@types/react@19.0.1)
|
version: 19.0.2(@types/react@19.0.1)
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^9
|
specifier: 9.17.0
|
||||||
version: 9.17.0(jiti@1.21.6)
|
version: 9.17.0(jiti@1.21.6)
|
||||||
eslint-config-next:
|
eslint-config-next:
|
||||||
specifier: 15.1.0
|
specifier: 15.1.0
|
||||||
version: 15.1.0(eslint@9.17.0(jiti@1.21.6))(typescript@5.7.2)
|
version: 15.1.0(eslint@9.17.0(jiti@1.21.6))(typescript@5.7.2)
|
||||||
postcss:
|
postcss:
|
||||||
specifier: ^8
|
specifier: 8.4.49
|
||||||
version: 8.4.49
|
version: 8.4.49
|
||||||
tailwindcss:
|
tailwindcss:
|
||||||
specifier: ^3.4.1
|
specifier: 3.4.16
|
||||||
version: 3.4.16
|
version: 3.4.16
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5
|
specifier: 5.7.2
|
||||||
version: 5.7.2
|
version: 5.7.2
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
@@ -331,8 +331,8 @@ packages:
|
|||||||
'@types/json5@0.0.29':
|
'@types/json5@0.0.29':
|
||||||
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
|
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
|
||||||
|
|
||||||
'@types/node@20.17.10':
|
'@types/node@22.10.2':
|
||||||
resolution: {integrity: sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA==}
|
resolution: {integrity: sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==}
|
||||||
|
|
||||||
'@types/react-dom@19.0.2':
|
'@types/react-dom@19.0.2':
|
||||||
resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==}
|
resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==}
|
||||||
@@ -1602,8 +1602,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
|
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
undici-types@6.19.8:
|
undici-types@6.20.0:
|
||||||
resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==}
|
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
|
||||||
|
|
||||||
uri-js@4.4.1:
|
uri-js@4.4.1:
|
||||||
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
|
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
|
||||||
@@ -1880,9 +1880,9 @@ snapshots:
|
|||||||
|
|
||||||
'@types/json5@0.0.29': {}
|
'@types/json5@0.0.29': {}
|
||||||
|
|
||||||
'@types/node@20.17.10':
|
'@types/node@22.10.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: 6.19.8
|
undici-types: 6.20.0
|
||||||
|
|
||||||
'@types/react-dom@19.0.2(@types/react@19.0.1)':
|
'@types/react-dom@19.0.2(@types/react@19.0.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3446,7 +3446,7 @@ snapshots:
|
|||||||
has-symbols: 1.1.0
|
has-symbols: 1.1.0
|
||||||
which-boxed-primitive: 1.1.1
|
which-boxed-primitive: 1.1.1
|
||||||
|
|
||||||
undici-types@6.19.8: {}
|
undici-types@6.20.0: {}
|
||||||
|
|
||||||
uri-js@4.4.1:
|
uri-js@4.4.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user