1
0

Impl prettier to project

- Add prettier json config
- Format project with prettier config
- Enable prettier in zed project settings

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-08 00:06:01 +08:00
parent 3e06961805
commit 6845bcb208
7 changed files with 75 additions and 52 deletions

View File

@@ -1,20 +1,20 @@
{
"name": "nixcn-web",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.3.12",
"@astrojs/starlight": "^0.37.0",
"astro": "^5.6.1",
"sharp": "^0.34.2",
"starlight-theme-galaxy": "^0.5.2"
},
"packageManager": "yarn@4.12.0"
"name": "nixcn-web",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.3.12",
"@astrojs/starlight": "^0.37.0",
"astro": "^5.6.1",
"sharp": "^0.34.2",
"starlight-theme-galaxy": "^0.5.2"
},
"packageManager": "yarn@4.12.0"
}