Skip to content

Commit

Permalink
feat: setup unocss
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Mar 2, 2023
1 parent f5abbd5 commit 78782d4
Show file tree
Hide file tree
Showing 16 changed files with 1,225 additions and 246 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
.DS_Store
node_modules
*.log*
*.local
dist-ssr

# Log files
*.log*

dist/
.vite-ssg-temp
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"css.customData": ["./unocss.json"],
"prettier.requireConfig": true,
"cSpell.allowCompoundWords": true,
"cSpell.words": [
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,35 @@
"release": "bumpp"
},
"dependencies": {
"@astrojs/image": "^0.14.1",
"@astrojs/mdx": "^0.16.0",
"@astrojs/image": "^0.15.1",
"@astrojs/mdx": "^0.17.2",
"@astrojs/partytown": "^1.0.3",
"@astrojs/rss": "^2.1.0",
"@astrojs/sitemap": "^1.0.1",
"astro": "^2.0.10",
"@astrojs/rss": "^2.1.1",
"@astrojs/sitemap": "^1.1.0",
"astro": "^2.0.15",
"nprogress": "^0.2.0"
},
"devDependencies": {
"@iconify/json": "^2.2.20",
"@iconify/json": "^2.2.27",
"@ntnyq/prettier-config": "^1.3.1",
"@types/fs-extra": "^11.0.1",
"@types/node": "18.13.0",
"@types/node": "18.14.1",
"@types/nprogress": "^0.2.0",
"@unocss/reset": "^0.49.4",
"@unocss/postcss": "^0.50.1",
"@unocss/reset": "^0.50.1",
"dayjs": "^1.11.7",
"fs-extra": "^11.1.0",
"husky": "^8.0.3",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"pnpm": "^7.27.0",
"pnpm": "^7.28.0",
"prettier": "^2.8.4",
"prettier-plugin-astro": "^0.8.0",
"rollup": "^3.15.0",
"rollup": "^3.17.2",
"sharp": "^0.31.3",
"typescript": "^4.9.5",
"unocss": "^0.49.4",
"vite": "^4.1.1"
"unocss": "^0.50.1",
"vite": "^4.1.4"
},
"nano-staged": {
"*.{js,ts,vue,yml,yaml,json,md}": "prettier --write"
Expand Down

0 comments on commit 78782d4

Please sign in to comment.