Skip to content

chore: modernize .vscode/tasks.json to the 2.0.0 schema (#75)#77

Merged
dawsbot merged 1 commit into
masterfrom
chore/75-modernize-vscode-tasks
Jul 7, 2026
Merged

chore: modernize .vscode/tasks.json to the 2.0.0 schema (#75)#77
dawsbot merged 1 commit into
masterfrom
chore/75-modernize-vscode-tasks

Conversation

@dawsbot

@dawsbot dawsbot commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Replaces the deprecated "version": "0.1.0" task schema (isShellCommand, showOutput, top-level command/args) with a clean, hand-written 2.0.0 tasks file, so VS Code stops auto-migrating .vscode/tasks.json and dropping a tasks.json.old backup on every F5 launch.

Changes

  • .vscode/tasks.json: rewritten as a 2.0.0 npm-type task running the compile script (tsc -watch -p ./), with isBackground: true and the $tsc-watch problem matcher, exactly as sketched in the issue.
  • .vscode/launch.json: preLaunchTask updated from the old auto-derived "npm" name to the new "compile" label in both launch configs, so F5 / "Run Extension" still triggers the watch build.
  • .gitignore: added *.old as a belt-and-suspenders guard against migration backup files (also fixed a missing trailing newline that was there before).

Verification

  • Both JSON files parse cleanly; the task's script resolves to the existing compile entry in package.json.
  • One-shot tsc -p ./ --noEmit passes.
  • Full test suite passes (11/11) via the pre-commit hook.
  • git check-ignore confirms .vscode/tasks.json.old is now ignored.

Closes #75

🤖 Generated with Claude Code

Replace the deprecated 0.1.0 task schema (isShellCommand, showOutput,
top-level command/args) with a hand-written 2.0.0 npm task so VS Code
stops auto-migrating the file and dropping tasks.json.old backups on
every F5 launch.

Update launch.json preLaunchTask from the old auto-derived "npm" name
to the new "compile" label, and gitignore *.old as a guard against
stray migration backups.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dawsbot dawsbot merged commit b62bbe5 into master Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modernize .vscode/tasks.json to the 2.0.0 schema

1 participant