Skip to content

Commit

Permalink
upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hojas committed Dec 5, 2023
1 parent 3ab1c6b commit f34ba3c
Show file tree
Hide file tree
Showing 10 changed files with 1,249 additions and 762 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy VitePress site to Pages
name: Deploy to Pages

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.DS_Store
.vscode
node_modules
dist
.vscode
.idea
cache
cache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Frontend Guide

Full Frontend Development Guide.
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()
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend-guide",
"type": "module",
"packageManager": "[email protected].19",
"packageManager": "[email protected].21",
"author": "hojas <[email protected]>",
"license": "MIT",
"scripts": {
Expand All @@ -10,13 +10,13 @@
"serve": "vitepress serve --host 0.0.0.0 --port 3000"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
"@antfu/eslint-config": "^2.3.3",
"@mermaid-js/mermaid-mindmap": "^9.3.0",
"@types/node": "^20.8.8",
"eslint": "^8.52.0",
"mermaid": "^10.5.1",
"typescript": "^5.2.2",
"vitepress": "^1.0.0-rc.24",
"vitepress-plugin-mermaid": "^2.0.15"
"@types/node": "^20.10.3",
"eslint": "^8.55.0",
"mermaid": "^10.6.1",
"typescript": "^5.3.2",
"vitepress": "^1.0.0-rc.31",
"vitepress-plugin-mermaid": "^2.0.16"
}
}
24 changes: 10 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
{
"compilerOptions": {
"target": "ES2020",
"jsx": "preserve",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"outDir": "dist",

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": false,
"jsx": "preserve",

/* Linting */
"allowImportingTsExtensions": true,
"strict": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noEmit": false,
"outDir": "dist",
"isolatedModules": true,
"skipLibCheck": true
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [{ "path": "./tsconfig.node.json" }],
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
}
4 changes: 2 additions & 2 deletions tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
},
"include": ["vite.config.ts"]
}
Loading

0 comments on commit f34ba3c

Please sign in to comment.