Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fafa1412 committed May 29, 2024
2 parents 9c914af + 894c86f commit 3107c6c
Show file tree
Hide file tree
Showing 72 changed files with 11,145 additions and 31 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/changelog_audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Changelog Audit
defaults:
run:
working-directory: code-debug
on:
push:
paths:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Lint Project
defaults:
run:
working-directory: code-debug
on:
push:
pull_request:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint_docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Lint Project Documentation
name: Lint Project Documentation (Temporarily closed, does nothing)
defaults:
run:
working-directory: code-debug
on:
push:
paths:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Release
defaults:
run:
working-directory: code-debug
on:
release:
types: [published]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Unit Test Project
defaults:
run:
working-directory: code-debug
on:
push:
pull_request:
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
out
coverage
node_modules
*.vsix
.nyc_output
.vscode-test
.secrets
16 changes: 8 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"args": ["--extensionDevelopmentPath=${config:code-debug.sourceCodePath}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
"${config:code-debug.sourceCodePath}/out/**/*.js"
],
"preLaunchTask": "compile"
},
Expand All @@ -20,14 +20,14 @@
"type": "node",
"request": "launch",
"runtimeArgs": [ "--nolazy" ],
"program": "${workspaceRoot}/src/gdb.ts",
"program": "${config:code-debug.sourceCodePath}/src/gdb.ts",
"stopOnEntry": false,
"args": [ "--server=4711" ],
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
"${config:code-debug.sourceCodePath}/out/**/*.js"
],
"cwd": "${workspaceRoot}",
"cwd": "${config:code-debug.sourceCodePath}",
"preLaunchTask": "compile"
},
{
Expand All @@ -36,13 +36,13 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/src/test/suite/index"
"--extensionDevelopmentPath=${config:code-debug.sourceCodePath}",
"--extensionTestsPath=${config:code-debug.sourceCodePath}/out/src/test/suite/index"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
"${config:code-debug.sourceCodePath}/out/**/*.js"
],
"preLaunchTask": "compile"
}
Expand Down
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
"mochaExplorer.timeout": 999999, // Set large so debugging doesn't trigger mocha timeout
"search.exclude": {
"**/node_modules": false,
"out": true
"${config:code-debug.sourceCodePath}/out": true,
},
"testExplorer.useNativeTesting": true, // Use VSCode Native Test Explorer
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
"code-debug.sourceCodePath":"${workspaceRoot}/code-debug"
}
45 changes: 36 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"group":{
"kind": "build",
"isDefault": true
}
},
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:lint",
Expand All @@ -39,7 +42,10 @@
"command": "npm",
"group": "build",
"args": ["run", "lint"],
"problemMatcher": "$eslint-compact"
"problemMatcher": "$eslint-compact",
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:lint-fix",
Expand All @@ -48,7 +54,10 @@
"command": "npm",
"group": "build",
"args": ["run", "lint-and-fix"],
"problemMatcher": "$eslint-compact"
"problemMatcher": "$eslint-compact",
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
// Ctrl + Shift + P (Command Palette), then select "Tasks: Run Test Task" and select "npm:test"
{
Expand All @@ -60,15 +69,21 @@
"kind": "test",
"isDefault": true
},
"args": ["test"]
"args": ["test"],
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:coverage",
"detail": "Run Test Coverage Report",
"type": "shell",
"command": "npm",
"group": "test",
"args": ["run", "coverage"]
"args": ["run", "coverage"],
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:lint-docs",
Expand All @@ -77,15 +92,21 @@
"command": "npm",
"group": "build",
"args": ["run", "lint-docs"],
"problemMatcher": "$markdownlint"
"problemMatcher": "$markdownlint",
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:link-check",
"detail": "Link Check Project Documentation",
"type": "shell",
"command": "npm",
"group": "build",
"args": ["run", "link-check"]
"args": ["run", "link-check"],
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:spellcheck-docs",
Expand All @@ -105,15 +126,21 @@
"message": 4
},
"severity": "info"
}
},
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
},
{
"label": "npm:prettier-write-docs",
"detail": "Reformat Project Documentation",
"type": "shell",
"command": "npm",
"group": "build",
"args": ["run", "prettier-write-docs"]
"args": ["run", "prettier-write-docs"],
"options": {
"cwd": "${config:code-debug.sourceCodePath}"
},
}
]
}
File renamed without changes.
Loading

0 comments on commit 3107c6c

Please sign in to comment.