Skip to content

Commit

Permalink
chore: upgrade deps (#2)
Browse files Browse the repository at this point in the history
* chore: update playground

* chore: update

* chore: upgrade deps

* chore: lint fix

---------

Co-authored-by: Chris <[email protected]>
  • Loading branch information
chizukicn and zyyv authored Sep 26, 2023
1 parent b72ab27 commit 3580cd1
Show file tree
Hide file tree
Showing 12 changed files with 596 additions and 598 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ export default defineBuildConfig({
rollup: {
emitCJS: true,
},
externals: [
'unocss',
],
})
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import antfu from '@antfu/eslint-config'

export default antfu()
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,20 @@
"play": "vite playground",
"deploy": "vite build playground"
},
"peerDependencies": {
"@unocss/core": "< 1"
},
"devDependencies": {
"@antfu/eslint-config": "^0.41.0",
"@babel/types": "^7.22.11",
"@types/node": "^20.5.9",
"@antfu/eslint-config": "1.0.0-beta.10",
"@babel/types": "^7.23.0",
"@types/node": "^20.7.0",
"@vitejs/plugin-vue": "^4.3.4",
"bumpp": "^9.2.0",
"eslint": "^8.48.0",
"typescript": "5.1.6",
"eslint": "^8.50.0",
"typescript": "5.2.2",
"unbuild": "^2.0.0",
"unocss": "latest",
"unocss": "^0.56.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vitest": "^0.34.5"
}
}
2 changes: 1 addition & 1 deletion playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue + TS</title>
<title>UnPreset Starter</title>
</head>
<body>
<div id="app"></div>
Expand Down
17 changes: 15 additions & 2 deletions playground/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<template>
<div class="custom-rule">
Unpreset Starter
<div>
<div class="custom-rule">
Unpreset Starter
</div>
<div class="flex">
<div class="col-3 bg-white text-center">
Col 3
</div>
<div class="col-4 bg-blue-3 text-center">
Col 4
</div>
<div class="col-5 bg-blue-3 text-center">
Col 5
</div>
</div>
</div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import UnoCSS from 'unocss/vite'
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'

// https://vitejs.dev/config/
export default defineConfig({
Expand Down
Loading

0 comments on commit 3580cd1

Please sign in to comment.