Skip to content

Commit

Permalink
chore: update deps, fixed unbuild errors, fixed tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Mar 2, 2024
1 parent 33208ab commit 8b5bfce
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
5 changes: 4 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export default defineBuildConfig({
sourcemap: true,
declaration: false,
externals: [
'ofetch',
// UnoCSS
'unocss',
'@unocss/core',
// Obsidian
'obsidian',
'electron',
Expand Down Expand Up @@ -39,5 +43,4 @@ export default defineBuildConfig({
entryFileNames: 'main.js',
},
},
failOnWarn: false,
})
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@
"lint": "eslint --cache ."
},
"devDependencies": {
"@antfu/eslint-config": "^2.4.6",
"@codemirror/view": "^6.22.3",
"@types/node": "^20.10.4",
"@unocss/core": "^0.58.0",
"@unocss/eslint-config": "^0.58.0",
"@unocss/eslint-plugin": "^0.58.0",
"@unocss/reset": "^0.58.0",
"@unocss/transformer-directives": "^0.58.0",
"@unocss/transformer-variant-group": "^0.58.0",
"@vueuse/core": "^10.7.0",
"@antfu/eslint-config": "^2.7.0",
"@codemirror/view": "^6.24.1",
"@types/node": "^20.11.24",
"@unocss/core": "^0.58.5",
"@unocss/eslint-config": "^0.58.5",
"@unocss/eslint-plugin": "^0.58.5",
"@unocss/reset": "^0.58.5",
"@unocss/transformer-directives": "^0.58.5",
"@unocss/transformer-variant-group": "^0.58.5",
"@vueuse/core": "^10.9.0",
"builtin-modules": "^3.3.0",
"eslint": "^8.56.0",
"magic-string": "^0.30.5",
"obsidian": "^1.4.11",
"eslint": "^8.57.0",
"magic-string": "^0.30.8",
"obsidian": "^1.5.7",
"ofetch": "^1.3.3",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"unocss": "^0.58.0",
"vue": "^3.3.12"
"unocss": "^0.58.5",
"vue": "^3.4.21"
}
}
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"moduleResolution": "Node",
"resolveJsonModule": true,
"types": [
"node",
"vite/client"
"node"
],
"strict": true,
"strictNullChecks": true,
Expand Down

0 comments on commit 8b5bfce

Please sign in to comment.