🌐 AI搜索 & 代理 主页
Skip to content

Commit 49f30c1

Browse files
feat: integrate with project website template's blog posts feature
1 parent 8976901 commit 49f30c1

Some content is hidden

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

80 files changed

+3273
-3671
lines changed

afterpython/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
stages:
2626
- pre-commit
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.14.6
28+
rev: v0.14.8
2929
hooks:
3030
- id: ruff-check
3131
stages:

afterpython/_website/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ static/blog
3636
static/tutorial
3737
static/example
3838
static/guide
39-
static/metadata.json
39+
static/*.json

afterpython/_website/.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
}
1414
],
1515
"tailwindStylesheet": "./src/app.css"
16-
}
16+
}

afterpython/_website/README.md

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,13 @@
1-
# sv
1+
[afterpython]: https://github.com/AfterPythonOrg/afterpython
22

3-
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
3+
# AfterPython's Project Website Template
44

5-
## Creating a project
5+
This is a project website template for [afterpython].
66

7-
If you're seeing this, you've probably already done this step. Congrats!
7+
## Usage
88

9-
```bash
10-
# create a new project in the current directory
11-
npx sv create
12-
13-
# create a new project in my-app
14-
npx sv create my-app
15-
```
16-
17-
## Developing
18-
19-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20-
21-
```bash
22-
npm run dev
23-
24-
# or start the server and open the app in a new browser tab
25-
npm run dev -- --open
26-
```
27-
28-
## Building
29-
30-
To create a production version of your app:
31-
32-
```bash
33-
npm run build
34-
```
35-
36-
You can preview the production build with `npm run preview`.
37-
38-
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
9+
1. Clone the repository
10+
2. Run `pnpm install` to install dependencies
11+
3. Run `pnpm dev` to start the development server
12+
4. Run `pnpm build` to build the project
13+
5. Run `pnpm preview` to preview the project

afterpython/_website/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,36 @@
1818
"test": "npm run test:unit -- --run"
1919
},
2020
"devDependencies": {
21-
"@eslint/compat": "^1.4.1",
22-
"@eslint/js": "^9.39.0",
21+
"@eslint/compat": "^2.0.0",
22+
"@eslint/js": "^9.39.1",
2323
"@sveltejs/adapter-static": "^3.0.10",
24-
"@sveltejs/kit": "^2.48.4",
24+
"@sveltejs/kit": "^2.49.1",
2525
"@sveltejs/vite-plugin-svelte": "^6.2.1",
2626
"@tailwindcss/forms": "^0.5.10",
2727
"@tailwindcss/typography": "^0.5.19",
28-
"@tailwindcss/vite": "^4.1.16",
28+
"@tailwindcss/vite": "^4.1.17",
2929
"@testing-library/jest-dom": "^6.9.1",
30-
"@testing-library/svelte": "^5.2.8",
31-
"@types/node": "^24.10.0",
32-
"eslint": "^9.39.0",
30+
"@testing-library/svelte": "^5.2.9",
31+
"@types/node": "^24.10.1",
32+
"eslint": "^9.39.1",
3333
"eslint-config-prettier": "^10.1.8",
3434
"eslint-plugin-svelte": "^3.13.0",
3535
"globals": "^16.5.0",
3636
"highlight.js": "^11.11.1",
37-
"jsdom": "^27.1.0",
38-
"marked": "^16.4.1",
39-
"marked-gfm-heading-id": "^4.1.2",
40-
"marked-highlight": "^2.2.2",
37+
"jsdom": "^27.2.0",
38+
"marked": "^17.0.1",
39+
"marked-gfm-heading-id": "^4.1.3",
40+
"marked-highlight": "^2.2.3",
4141
"mdsvex": "^0.12.6",
42-
"prettier": "^3.6.2",
42+
"prettier": "^3.7.4",
4343
"prettier-plugin-svelte": "^3.4.0",
44-
"prettier-plugin-tailwindcss": "^0.7.1",
45-
"svelte": "^5.43.2",
46-
"svelte-check": "^4.3.3",
47-
"tailwindcss": "^4.1.16",
44+
"prettier-plugin-tailwindcss": "^0.7.2",
45+
"svelte": "^5.45.4",
46+
"svelte-check": "^4.3.4",
47+
"tailwindcss": "^4.1.17",
4848
"typescript": "^5.9.3",
49-
"typescript-eslint": "^8.46.3",
50-
"vite": "^7.1.12",
51-
"vitest": "^4.0.6"
49+
"typescript-eslint": "^8.48.1",
50+
"vite": "^7.2.6",
51+
"vitest": "^4.0.15"
5252
}
5353
}

0 commit comments

Comments
 (0)