Skip to content

Commit

Permalink
feat(tooling): introduce unocss as styling engine
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Apr 30, 2022
1 parent 42d69e3 commit e2a16cf
Show file tree
Hide file tree
Showing 8 changed files with 281 additions and 188 deletions.
5 changes: 2 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
// for the documentation about the extensions.json format
"recommendations": [
"johnsoncodehk.volar",
"bradlc.vscode-tailwindcss",
"voorjaar.windicss-intellisense",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"davidanson.vscode-markdownlint"
]
}
}
9 changes: 6 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@
"commitlint",
"commitlintrc",
"upath",
"bumpp"
"bumpp",
"unocss"
],
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
},
"typescript.tsdk": "node_modules/typescript/lib",
"windicss.sortOnSave": true
}
15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
"commit-msg": "npx commitlint --config ./commitlint.config.cjs --edit $1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*.{vue}": "prettier --write ./src",
"*.{js,jsx,ts,tsx,vue}": "eslint --fix",
"package.json": "sort-package-json"
},
"config": {
Expand All @@ -73,14 +72,9 @@
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@commitlint/cz-commitlint": "^16.2.4",
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/line-clamp": "^0.4.0",
"@tailwindcss/typography": "^0.5.2",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/compiler-sfc": "^3.2.33",
"@vueuse/core": "^8.3.1",
"autoprefixer": "^10.4.5",
"bumpp": "^7.1.1",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.2.2",
Expand All @@ -89,14 +83,11 @@
"inquirer": "^8.0.0",
"lint-staged": "^12.4.1",
"minimist": "^1.2.6",
"postcss": "^8.4.12",
"postcss-import": "^14.1.0",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.1.10",
"simple-git-hooks": "^2.7.0",
"sort-package-json": "^1.55.0",
"tailwindcss": "^3.0.24",
"typescript": "^4.6.3",
"unocss": "^0.32.1",
"unplugin-auto-import": "^0.7.1",
"unplugin-vue-components": "^0.19.3",
"upath": "^2.0.1",
Expand All @@ -108,4 +99,4 @@
"node": ">=v16.15.0",
"pnpm": ">=6.32.11"
}
}
}
Loading

0 comments on commit e2a16cf

Please sign in to comment.