Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
shy1118999 committed Apr 2, 2024
1 parent c1b0833 commit 1d3f1d1
Show file tree
Hide file tree
Showing 6 changed files with 1,135 additions and 900 deletions.
14 changes: 7 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
Expand All @@ -29,10 +30,7 @@
{ "rule": "*semi", "severity": "off" }
],

// The following is optional.
// It's better to put under project setting `.vscode/settings.json`
// to avoid conflicts with working with different eslint configs
// that does not support all formats.
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
Expand All @@ -43,6 +41,8 @@
"markdown",
"json",
"jsonc",
"yaml"
"yaml",
"toml",
"astro"
]
}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

> clone from [vitesse-lite](https://github.com/antfu/vitesse-lite)

## Features

- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite 3](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [ESBuild](https://github.com/evanw/esbuild) - born with fastness
Expand All @@ -23,7 +22,6 @@

- ☁️ Deploy on Netlify, zero-config


## Pre-packed

### UI Frameworks
Expand Down
9 changes: 4 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import antfu from '@antfu/eslint-config'
import unocss from '@unocss/eslint-plugin'

export default antfu(
{},
unocss.configs.flat,
)
export default antfu({
unocss: true,
vue: true,
})
18 changes: 9 additions & 9 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[build.environment]
NPM_FLAGS = "--version"
NODE_VERSION = "16"

[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"

[build.environment]
NPM_FLAGS = "--version"
NODE_VERSION = "16"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
from = "/*"
to = "/index.html"
status = 200
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,39 @@
"build": "vite build",
"dev": "vite --port 5433",
"preview": "vite preview",
"format": "eslint --fix .",
"lint": "eslint .",
"test": "vitest",
"typecheck": "vue-tsc --noEmit",
"postinstall": "npx simple-git-hooks"
},
"dependencies": {
"@vueuse/core": "^10.8.0",
"vue": "^3.4.20",
"@vueuse/core": "^10.9.0",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@antfu/eslint-config": "1.1.1",
"@iconify-json/carbon": "^1.1.30",
"@antfu/eslint-config": "^2.11.6",
"@iconify-json/carbon": "^1.1.31",
"@types/node": "20.2.1",
"@unocss/eslint-plugin": "^0.58.5",
"@unocss/reset": "^0.58.5",
"@unocss/eslint-plugin": "^0.58.8",
"@unocss/reset": "^0.58.9",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/runtime-core": "^3.4.20",
"@vue/test-utils": "^2.4.4",
"@vue/runtime-core": "^3.4.21",
"@vue/test-utils": "^2.4.5",
"eslint": "^8.57.0",
"jsdom": "^22.1.0",
"lint-staged": "^15.2.2",
"pnpm": "^8.15.4",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"unocss": "^0.58.5",
"pnpm": "^8.15.6",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.4.3",
"unocss": "^0.58.9",
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.24.1",
"vite": "^5.1.4",
"vite-plugin-pages": "^0.32.0",
"vitest": "^1.3.1",
"vite": "^5.2.7",
"vite-plugin-pages": "^0.32.1",
"vitest": "^1.4.0",
"vue-tsc": "^1.8.27"
},
"simple-git-hooks": {
Expand Down

0 comments on commit 1d3f1d1

Please sign in to comment.