Skip to content

Commit 8608791

Browse files
committed
feature: 变更框架
1 parent 3c63739 commit 8608791

File tree

128 files changed

+2297
-13940
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+2297
-13940
lines changed

.github/workflows/aliyun.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup node
1919
uses: actions/setup-node@v1
2020
with:
21-
node-version: "20.x"
21+
node-version: "24.x"
2222

2323
- name: Build project
2424
run: npm i -g pnpm && pnpm install && pnpm build

.github/workflows/tencent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup node
1919
uses: actions/setup-node@v1
2020
with:
21-
node-version: "20.x"
21+
node-version: "24.x"
2222

2323
- name: Build project
2424
run: npm i -g pnpm && pnpm install && pnpm build

.gitignore

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1-
# build output
2-
dist/
3-
4-
# generated types
5-
.astro/
6-
7-
# dependencies
8-
node_modules/
9-
10-
# logs
11-
npm-debug.log*
12-
yarn-debug.log*
13-
yarn-error.log*
14-
pnpm-debug.log*
15-
16-
# environment variables
17-
.env
18-
.env.production
19-
20-
# macOS-specific files
1+
# Local
212
.DS_Store
3+
*.local
4+
*.log*
225

23-
.vercel
6+
# Dist
7+
node_modules
8+
dist/
9+
doc_build/
2410

25-
package-lock.json
26-
bun.lockb
27-
yarn.lock
11+
# IDE
12+
.vscode/*
13+
!.vscode/extensions.json
14+
.idea

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/extensions.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
1-
# Ameng`s Blog
1+
# Rspress website
22

3+
## Setup
4+
5+
Install the dependencies:
6+
7+
```bash
8+
npm install
9+
```
10+
11+
## Get started
12+
13+
Start the dev server:
14+
15+
```bash
16+
npm run dev
17+
```
18+
19+
Build the website for production:
20+
21+
```bash
22+
npm run build
23+
```
24+
25+
Preview the production build locally:
26+
27+
```bash
28+
npm run preview
29+
```

astro.config.mjs

Lines changed: 0 additions & 130 deletions
This file was deleted.

docs/_nav.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"text": "JavaScript",
4+
"link": "/javascript/",
5+
"activeMatch": "^/javascript/"
6+
},
7+
{
8+
"text": "关于",
9+
"link": "/about/",
10+
"activeMatch": "/about/"
11+
}
12+
]

0 commit comments

Comments
 (0)