mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
docs: api debug settings
This commit is contained in:
parent
bd299c924e
commit
d107f0af1c
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"ms-azuretools.vscode-azurefunctions",
|
||||
"golang.go",
|
||||
"github.vscode-pull-request-github",
|
||||
"esbenp.prettier-vscode",
|
||||
|
|
22
.vscode/launch.json
vendored
22
.vscode/launch.json
vendored
|
@ -7,7 +7,10 @@
|
|||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceRoot}/src",
|
||||
"args": ["--config=${workspaceRoot}/themes/jandedobbeleer.omp.json", "--shell=pwsh"]
|
||||
"args": [
|
||||
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
|
||||
"--shell=pwsh"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Launch Tooltip",
|
||||
|
@ -15,7 +18,11 @@
|
|||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceRoot}/src",
|
||||
"args": ["--config=${workspaceRoot}/themes/jandedobbeleer.omp.json", "--command=git", "--shell=pwsh"]
|
||||
"args": [
|
||||
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
|
||||
"--command=git",
|
||||
"--shell=pwsh"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Launch tests",
|
||||
|
@ -23,7 +30,9 @@
|
|||
"request": "launch",
|
||||
"mode": "test",
|
||||
"program": "${workspaceRoot}/src",
|
||||
"args": ["--test.v"]
|
||||
"args": [
|
||||
"--test.v"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Print debug",
|
||||
|
@ -69,6 +78,13 @@
|
|||
"cwd": "${workspaceFolder}/docs",
|
||||
"program": "${workspaceRoot}/docs/export_themes.js",
|
||||
"console": "integratedTerminal"
|
||||
},
|
||||
{
|
||||
"name": "Docs API",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"port": 9229,
|
||||
"preLaunchTask": "func: host start"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
11
.vscode/settings.json
vendored
11
.vscode/settings.json
vendored
|
@ -10,5 +10,14 @@
|
|||
}
|
||||
},
|
||||
"go.formatTool": "gofmt",
|
||||
"go.formatFlags": ["-s"]
|
||||
"go.formatFlags": [
|
||||
"-s"
|
||||
],
|
||||
"azureFunctions.deploySubpath": "docs/api",
|
||||
"azureFunctions.postDeployTask": "npm install (functions)",
|
||||
"azureFunctions.projectLanguage": "JavaScript",
|
||||
"azureFunctions.projectRuntime": "~4",
|
||||
"debug.internalConsoleOptions": "neverOpen",
|
||||
"azureFunctions.projectSubpath": "docs/api",
|
||||
"azureFunctions.preDeployTask": "npm prune (functions)"
|
||||
}
|
||||
|
|
27
.vscode/tasks.json
vendored
27
.vscode/tasks.json
vendored
|
@ -64,6 +64,33 @@
|
|||
"problemMatcher": [],
|
||||
"label": "docs: start site",
|
||||
"detail": "cross-env NODE_ENV=development docusaurus start"
|
||||
},
|
||||
{
|
||||
"type": "func",
|
||||
"command": "host start",
|
||||
"problemMatcher": "$func-node-watch",
|
||||
"isBackground": true,
|
||||
"dependsOn": "npm install (functions)",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/docs/api"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "npm install (functions)",
|
||||
"command": "npm install",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/docs/api"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "npm prune (functions)",
|
||||
"command": "npm prune --production",
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/docs/api"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
39
docs/api/package-lock.json
generated
39
docs/api/package-lock.json
generated
|
@ -1,45 +1,8 @@
|
|||
{
|
||||
"name": "api",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "api",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"axios": "^0.24.0"
|
||||
},
|
||||
"devDependencies": {}
|
||||
},
|
||||
"node_modules/axios": {
|
||||
"version": "0.24.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
|
||||
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
|
||||
"dependencies": {
|
||||
"follow-redirects": "^1.14.4"
|
||||
}
|
||||
},
|
||||
"node_modules/follow-redirects": {
|
||||
"version": "1.14.6",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz",
|
||||
"integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
"url": "https://github.com/sponsors/RubenVerborgh"
|
||||
}
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=4.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"debug": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": {
|
||||
"version": "0.24.0",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"methods": ["GET", "POST"],
|
||||
"route": "/api/auth"
|
||||
},
|
||||
"backendUri": "%API_LOCATION%/api/auth",
|
||||
"backendUri": "https://localhost/api/auth",
|
||||
"requestOverrides": {
|
||||
"backend.request.querystring.code": "",
|
||||
"backend.request.querystring._code": "{request.querystring.code}"
|
||||
|
|
Loading…
Reference in a new issue