Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update #2

Merged
merged 5 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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