chore: update
This commit is contained in:
parent
9ec46868b8
commit
1da18b38a8
@ -37,12 +37,10 @@
|
|||||||
|
|
||||||
- ☁️ Deploy on Netlify, zero-config
|
- ☁️ Deploy on Netlify, zero-config
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
See [Vitesse](https://github.com/antfu/vitesse) for full featureset.
|
See [Vitesse](https://github.com/antfu/vitesse) for full featureset.
|
||||||
|
|
||||||
|
|
||||||
## Dropped Features from [Vitesse](https://github.com/antfu/vitesse)
|
## Dropped Features from [Vitesse](https://github.com/antfu/vitesse)
|
||||||
|
|
||||||
- ~~i18n~~
|
- ~~i18n~~
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
import antfu from '@antfu/eslint-config'
|
import antfu from '@antfu/eslint-config'
|
||||||
import unocss from '@unocss/eslint-plugin'
|
|
||||||
|
|
||||||
export default antfu(
|
export default antfu(
|
||||||
{},
|
{
|
||||||
unocss.configs.flat,
|
unocss: true,
|
||||||
|
formatters: true,
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
16
index.html
16
index.html
@ -1,11 +1,11 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||||
<title>Vitesse Lite</title>
|
<title>Vitesse Lite</title>
|
||||||
<meta name="description" content="Opinionated Vite Starter Template">
|
<meta name="description" content="Opinionated Vite Starter Template" />
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans dark:text-white dark:bg-hex-121212">
|
<body class="font-sans dark:text-white dark:bg-hex-121212">
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
@ -13,8 +13,10 @@
|
|||||||
<div>Please enable JavaScript to use this application.</div>
|
<div>Please enable JavaScript to use this application.</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
;(function () {
|
||||||
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
const prefersDark =
|
||||||
|
window.matchMedia &&
|
||||||
|
window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||||
const setting = localStorage.getItem('color-schema') || 'auto'
|
const setting = localStorage.getItem('color-schema') || 'auto'
|
||||||
if (setting === 'dark' || (prefersDark && setting !== 'light'))
|
if (setting === 'dark' || (prefersDark && setting !== 'light'))
|
||||||
document.documentElement.classList.toggle('dark', true)
|
document.documentElement.classList.toggle('dark', true)
|
||||||
|
|||||||
45
package.json
45
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@8.10.5",
|
"packageManager": "pnpm@8.11.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"dev": "vite --port 3333 --open",
|
"dev": "vite --port 3333 --open",
|
||||||
@ -14,34 +14,35 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^10.6.1",
|
"@vueuse/core": "^10.6.1",
|
||||||
"vue": "^3.3.8",
|
"vue": "^3.3.10",
|
||||||
"vue-router": "^4.2.5"
|
"vue-router": "^4.2.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^2.0.0",
|
"@antfu/eslint-config": "^2.3.1",
|
||||||
"@iconify-json/carbon": "^1.1.21",
|
"@iconify-json/carbon": "^1.1.24",
|
||||||
"@types/node": "^20.9.2",
|
"@types/node": "^20.10.3",
|
||||||
"@unocss/eslint-config": "^0.57.6",
|
"@unocss/eslint-config": "^0.58.0",
|
||||||
"@unocss/eslint-plugin": "^0.57.6",
|
"@unocss/eslint-plugin": "^0.58.0",
|
||||||
"@unocss/reset": "^0.57.6",
|
"@unocss/reset": "^0.58.0",
|
||||||
"@vitejs/plugin-vue": "^4.5.0",
|
"@vitejs/plugin-vue": "^4.5.1",
|
||||||
"@vue-macros/volar": "^0.17.3",
|
"@vue-macros/volar": "^0.17.4",
|
||||||
"@vue/test-utils": "^2.4.2",
|
"@vue/test-utils": "^2.4.3",
|
||||||
"eslint": "^8.54.0",
|
"eslint": "^8.55.0",
|
||||||
"jsdom": "^22.1.0",
|
"eslint-plugin-format": "^0.0.1",
|
||||||
"lint-staged": "^15.1.0",
|
"jsdom": "^23.0.1",
|
||||||
"pnpm": "^8.10.5",
|
"lint-staged": "^15.2.0",
|
||||||
|
"pnpm": "^8.11.0",
|
||||||
"simple-git-hooks": "^2.9.0",
|
"simple-git-hooks": "^2.9.0",
|
||||||
"taze": "^0.12.0",
|
"taze": "^0.13.0",
|
||||||
"typescript": "^5.3.2",
|
"typescript": "^5.3.2",
|
||||||
"unocss": "^0.57.6",
|
"unocss": "^0.58.0",
|
||||||
"unplugin-auto-import": "^0.16.7",
|
"unplugin-auto-import": "^0.17.2",
|
||||||
"unplugin-vue-components": "^0.25.2",
|
"unplugin-vue-components": "^0.26.0",
|
||||||
"unplugin-vue-macros": "^2.7.0",
|
"unplugin-vue-macros": "^2.7.0",
|
||||||
"unplugin-vue-router": "^0.7.0",
|
"unplugin-vue-router": "^0.7.0",
|
||||||
"vite": "^5.0.0",
|
"vite": "^5.0.5",
|
||||||
"vitest": "^0.34.6",
|
"vitest": "^1.0.0",
|
||||||
"vue-tsc": "^1.8.22"
|
"vue-tsc": "^1.8.24"
|
||||||
},
|
},
|
||||||
"simple-git-hooks": {
|
"simple-git-hooks": {
|
||||||
"pre-commit": "pnpm lint-staged"
|
"pre-commit": "pnpm lint-staged"
|
||||||
|
|||||||
1772
pnpm-lock.yaml
generated
1772
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user