Skip to content

Commit

Permalink
chore: upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Dec 4, 2023
1 parent 3580cd1 commit 47dfcce
Show file tree
Hide file tree
Showing 7 changed files with 1,837 additions and 501 deletions.
4 changes: 3 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import antfu from '@antfu/eslint-config'

export default antfu()
export default antfu({
unocss: true,
})
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,17 @@
"@unocss/core": "< 1"
},
"devDependencies": {
"@antfu/eslint-config": "1.0.0-beta.10",
"@babel/types": "^7.23.0",
"@types/node": "^20.7.0",
"@vitejs/plugin-vue": "^4.3.4",
"@antfu/eslint-config": "^2.2.2",
"@babel/types": "^7.23.5",
"@types/node": "^20.10.3",
"@unocss/eslint-plugin": "^0.58.0",
"@vitejs/plugin-vue": "^4.5.1",
"bumpp": "^9.2.0",
"eslint": "^8.50.0",
"typescript": "5.2.2",
"eslint": "^8.55.0",
"typescript": "5.3.2",
"unbuild": "^2.0.0",
"unocss": "^0.56.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
"unocss": "^0.58.0",
"vite": "^5.0.4",
"vitest": "^0.34.6"
}
}
6 changes: 3 additions & 3 deletions playground/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
Unpreset Starter
</div>
<div class="flex">
<div class="col-3 bg-white text-center">
<div class="bg-white text-center col-3">
Col 3
</div>
<div class="col-4 bg-blue-3 text-center">
<div class="bg-blue-3 text-center col-4">
Col 4
</div>
<div class="col-5 bg-blue-3 text-center">
<div class="bg-blue-3 text-center col-5">
Col 5
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion playground/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createApp } from 'vue'
import App from './App.vue'
import { createApp } from 'vue'

Check failure on line 2 in playground/src/main.ts

View workflow job for this annotation

GitHub Actions / lint

`vue` import should occur before import of `./App.vue`
import 'uno.css'

createApp(App).mount('#app')
Loading

0 comments on commit 47dfcce

Please sign in to comment.