Skip to content

Commit

Permalink
Update package.json and .vscode/settings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dkattan committed Mar 20, 2024
1 parent d105599 commit b5d7e7a
Show file tree
Hide file tree
Showing 5 changed files with 2,081 additions and 1,434 deletions.
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "msedge",
"request": "launch",
"name": "Launch Edge against localhost",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}",
"preLaunchTask": "serve",
}
]
}
38 changes: 35 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
{
"MarkdownPaste.path": "../.vitepress/images"
}
{
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"editor.rulers": [
100
],
"editor.tabSize": 2,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"javascript.format.insertSpaceAfterConstructor": true,
"javascript.format.enable": false,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.singleQuote": false,
"prettier.trailingComma": "es5",
"prettier.printWidth": 100,
"javascript.format.semicolons": "insert",
"typescript.format.semicolons": "insert",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"findUnusedExports.detectCircularImports": true,
"typescript.tsdk": "node_modules/typescript/lib",
"MarkdownPaste.path": "../.vitepress/images"
}
40 changes: 40 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "serve",
"type": "npm",
"script": "docs:dev",
"isBackground": true,
"problemMatcher": [
"$vite",
"$vite-eslint-visualstudio",
"$vite-esbuild",
{
"owner": "typescript",
"source": "Typescript",
"fileLocation": "absolute",
"applyTo": "allDocuments",
"background": {
"activeOnStart": true,
"beginsPattern": "vite",
"endsPattern": "Local"
},
"pattern": [
{
"regexp": "(ERROR|WARNING)\\(TypeScript\\) (.*)",
"severity": 1,
"message": 2
},
{
"regexp": "^ FILE (.*):(\\d*):(\\d*)$",
"file": 1,
"line": 2,
"column": 3
}
]
}
]
}
]
}
30 changes: 17 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"devDependencies": {
"mermaid": "^10.4.0",
"vitepress": "^1.0.0-rc.13",
"vitepress-plugin-mermaid": "^2.0.14",
"vue": "^3.3.4"
},
"scripts": {
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
}
}
{
"devDependencies": {
"@ulu/vitepress-auto-menus": "^0.0.3",
"mermaid": "^10.4.0",
"path": "^0.12.7",
"vite": "^5.0.11",
"vitepress": "^1.0.0-rc.13",
"vitepress-plugin-mermaid": "^2.0.14",
"vue": "^3.3.4"
},
"scripts": {
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
},
"dependencies": {}
}
Loading

0 comments on commit b5d7e7a

Please sign in to comment.