Skip to content

Commit e2a16cf

Browse files
committed
feat(tooling): introduce unocss as styling engine
1 parent 42d69e3 commit e2a16cf

File tree

8 files changed

+281
-188
lines changed

8 files changed

+281
-188
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"johnsoncodehk.volar",
6-
"bradlc.vscode-tailwindcss",
6+
"voorjaar.windicss-intellisense",
77
"dbaeumer.vscode-eslint",
8-
"esbenp.prettier-vscode",
98
"streetsidesoftware.code-spell-checker",
109
"davidanson.vscode-markdownlint"
1110
]
12-
}
11+
}

.vscode/settings.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@
2424
"commitlint",
2525
"commitlintrc",
2626
"upath",
27-
"bumpp"
27+
"bumpp",
28+
"unocss"
2829
],
2930
"editor.formatOnSave": true,
3031
"editor.codeActionsOnSave": {
3132
"source.fixAll.eslint": true
32-
}
33-
}
33+
},
34+
"typescript.tsdk": "node_modules/typescript/lib",
35+
"windicss.sortOnSave": true
36+
}

package.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
"commit-msg": "npx commitlint --config ./commitlint.config.cjs --edit $1"
5656
},
5757
"lint-staged": {
58-
"*.{js,jsx,ts,tsx}": "eslint --fix",
59-
"*.{vue}": "prettier --write ./src",
58+
"*.{js,jsx,ts,tsx,vue}": "eslint --fix",
6059
"package.json": "sort-package-json"
6160
},
6261
"config": {
@@ -73,14 +72,9 @@
7372
"@commitlint/cli": "^16.2.4",
7473
"@commitlint/config-conventional": "^16.2.4",
7574
"@commitlint/cz-commitlint": "^16.2.4",
76-
"@tailwindcss/aspect-ratio": "^0.4.0",
77-
"@tailwindcss/forms": "^0.5.0",
78-
"@tailwindcss/line-clamp": "^0.4.0",
79-
"@tailwindcss/typography": "^0.5.2",
8075
"@vitejs/plugin-vue": "^2.3.1",
8176
"@vue/compiler-sfc": "^3.2.33",
8277
"@vueuse/core": "^8.3.1",
83-
"autoprefixer": "^10.4.5",
8478
"bumpp": "^7.1.1",
8579
"commitizen": "^4.2.4",
8680
"conventional-changelog-cli": "^2.2.2",
@@ -89,14 +83,11 @@
8983
"inquirer": "^8.0.0",
9084
"lint-staged": "^12.4.1",
9185
"minimist": "^1.2.6",
92-
"postcss": "^8.4.12",
93-
"postcss-import": "^14.1.0",
94-
"prettier": "^2.6.2",
95-
"prettier-plugin-tailwindcss": "^0.1.10",
9686
"simple-git-hooks": "^2.7.0",
9787
"sort-package-json": "^1.55.0",
9888
"tailwindcss": "^3.0.24",
9989
"typescript": "^4.6.3",
90+
"unocss": "^0.32.1",
10091
"unplugin-auto-import": "^0.7.1",
10192
"unplugin-vue-components": "^0.19.3",
10293
"upath": "^2.0.1",
@@ -108,4 +99,4 @@
10899
"node": ">=v16.15.0",
109100
"pnpm": ">=6.32.11"
110101
}
111-
}
102+
}

0 commit comments

Comments
 (0)