Skip to content

Commit

Permalink
chore: upgrade deps & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jan 21, 2024
1 parent 5d1409c commit f7e4eac
Show file tree
Hide file tree
Showing 14 changed files with 2,289 additions and 2,119 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

5 changes: 0 additions & 5 deletions .eslintrc

This file was deleted.

29 changes: 25 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,35 @@
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": "locales",
"i18n-ally.sortKeys": true,
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.associations": {
"*.css": "postcss"
},
"cSpell.words": [
"headlessui"
],

// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml"
]
}
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()
27 changes: 14 additions & 13 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[build.environment]
# bypass npm auto install
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]
# bypass npm auto install
NPM_FLAGS = "--version"
NODE_VERSION = "16"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
from = "/*"
to = "/index.html"
status = 200

[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
for = "/manifest.webmanifest"

[headers.values]
Content-Type = "application/manifest+json"
68 changes: 34 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.3.0",
"private": true,
"packageManager": "pnpm@8.9.2",
"packageManager": "pnpm@8.14.1",
"description": "Web 简历",
"author": {
"url": "https://www.yunyoujun.cn",
Expand All @@ -30,59 +30,59 @@
"test:unit": "vitest"
},
"dependencies": {
"@vueuse/core": "^10.5.0",
"@vueuse/core": "^10.7.2",
"@vueuse/head": "^2.0.0",
"js-yaml": "^4.1.0",
"monaco-editor": "^0.44.0",
"monaco-yaml": "5.1.0",
"monaco-editor": "^0.45.0",
"monaco-yaml": "5.1.1",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"prism-theme-vars": "^0.2.4",
"sass": "^1.69.4",
"vue": "^3.3.7",
"sass": "^1.70.0",
"vue": "^3.4.15",
"vue-about-me": "^1.2.7",
"vue-demi": "^0.14.6",
"vue-i18n": "^9.5.0",
"vue-i18n": "^9.9.0",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@antfu/eslint-config": "^0.42.1",
"@gtm-support/vue-gtm": "^1.6.0",
"@headlessui/vue": "^1.7.16",
"@iconify-json/mdi": "^1.1.55",
"@iconify-json/ri": "^1.1.12",
"@intlify/unplugin-vue-i18n": "^1.4.0",
"@antfu/eslint-config": "^2.6.3",
"@gtm-support/vue-gtm": "^2.2.0",
"@headlessui/vue": "^1.7.17",
"@iconify-json/mdi": "^1.1.64",
"@iconify-json/ri": "^1.1.19",
"@intlify/unplugin-vue-i18n": "^2.0.0",
"@rollup/plugin-yaml": "^4.1.2",
"@types/js-yaml": "^4.0.8",
"@types/markdown-it-link-attributes": "^3.0.3",
"@types/node": "^20.8.8",
"@types/nprogress": "^0.2.2",
"@vitejs/plugin-vue": "^4.4.0",
"@types/js-yaml": "^4.0.9",
"@types/markdown-it-link-attributes": "^3.0.4",
"@types/node": "^20.11.5",
"@types/nprogress": "^0.2.3",
"@vitejs/plugin-vue": "^5.0.3",
"@yunlefun/vue-components": "0.0.5-beta.4",
"@yunyoujun/logger": "^0.3.5",
"ajv": "^8.12.0",
"critters": "^0.0.20",
"cross-env": "^7.0.3",
"eslint": "^8.52.0",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"lint-staged": "^15.2.0",
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-prism": "^2.3.0",
"star-markdown-css": "^0.4.2",
"tsx": "^3.14.0",
"typescript": "^5.2.2",
"typescript-json-schema": "^0.61.0",
"unocss": "^0.57.1",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.2",
"unplugin-vue-markdown": "^0.24.3",
"vite": "^4.5.0",
"vite-plugin-pages": "^0.31.0",
"vite-plugin-pwa": "^0.16.5",
"vite-plugin-vue-layouts": "^0.8.0",
"vite-ssg": "0.23.3",
"vitest": "^0.34.6",
"vue-tsc": "^1.8.21"
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"typescript-json-schema": "^0.62.0",
"unocss": "^0.58.3",
"unplugin-auto-import": "^0.17.3",
"unplugin-vue-components": "^0.26.0",
"unplugin-vue-markdown": "^0.25.2",
"vite": "^5.0.12",
"vite-plugin-pages": "^0.32.0",
"vite-plugin-pwa": "^0.17.4",
"vite-plugin-vue-layouts": "^0.11.0",
"vite-ssg": "0.23.6",
"vitest": "^1.2.1",
"vue-tsc": "^1.8.27"
},
"lint-staged": {
"*.{vue,ts,js,yml}": "eslint --fix",
Expand Down
Loading

1 comment on commit f7e4eac

@vercel
Copy link

@vercel vercel bot commented on f7e4eac Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web-resume – ./

web-resume-yunyoujun.vercel.app
web-resume-henna.vercel.app
web-resume-git-main-yunyoujun.vercel.app

Please sign in to comment.