Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/pr-ci.yml

This file was deleted.

9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
out
dist
node_modules
.pnpm
.nx
.vscode-test/
*.vsix
.turbo
.vercel
.idea
**/.DS_Store
tsconfig.tsbuildinfo
coverage
artifacts/vsix
tmp
.cache
.cache/
**/.cache/
*.tsbuildinfo
2 changes: 2 additions & 0 deletions .nxignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tmp/**
examples/**
10 changes: 4 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"--extensionDevelopmentPath=${workspaceFolder}/apps/vscode-extension"
],
"outFiles": [
"${workspaceFolder}/apps/vscode-extension/dist/**/*.js",
"${workspaceFolder}/apps/vscode-extension/out/**/*.js"
"${workspaceFolder}/apps/vscode-extension/dist/**/*.js"
],
"preLaunchTask": "watch - apps/vscode-extension"
"preLaunchTask": "watch - pretty-ts-errors"
},
{
"name": "Run Extension (all extensions disabled)",
Expand All @@ -27,10 +26,9 @@
"--extensionDevelopmentPath=${workspaceFolder}/apps/vscode-extension"
],
"outFiles": [
"${workspaceFolder}/apps/vscode-extension/dist/**/*.js",
"${workspaceFolder}/apps/vscode-extension/out/**/*.js"
"${workspaceFolder}/apps/vscode-extension/dist/**/*.js"
],
"preLaunchTask": "watch - apps/vscode-extension"
"preLaunchTask": "watch - pretty-ts-errors"
},
{
"name": "Extension Tests",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
// Turn off tsc task auto detection since the workspace uses explicit Nx tasks.
"typescript.tsc.autoDetect": "off",
"chat.tools.terminal.autoApprove": {
"npx vitest": true
Expand Down
37 changes: 16 additions & 21 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,20 @@
"version": "2.0.0",
"tasks": [
{
"label": "watch - apps/vscode-extension",
"label": "watch - pretty-ts-errors",
"type": "shell",
"command": "npm run watch --silent",
"command": "pnpm exec nx run pretty-ts-errors:dev",
"options": {
"cwd": "${workspaceFolder}/apps/vscode-extension"
"cwd": "${workspaceFolder}"
},
"problemMatcher": {
"owner": "esbuild",
"fileLocation": "autoDetect",
"pattern": [
{
"regexp": "^✘ \\[ERROR\\] (.*)$",
"message": 1
},
{
"regexp": "^\\s*(.*):(\\d+):(\\d+):$",
"file": 1,
"line": 2,
"column": 3
}
],
"pattern": [],
"background": {
"activeOnStart": true,
"beginsPattern": "^\\[watch\\] build started$",
"endsPattern": "^\\[watch\\] build finished$"
"beginsPattern": "^> nx run pretty-ts-errors:dev$",
"endsPattern": "^\\[ watch \\] build succeeded, watching for changes\\.\\.\\.$"
}
},
"isBackground": true,
Expand All @@ -42,9 +31,12 @@
}
},
{
"type": "npm",
"script": "watch-tests",
"path": "apps/vscode-extension",
"label": "watch-tests - pretty-ts-errors",
"type": "shell",
"command": "pnpm exec nx run pretty-ts-errors:watch-tests",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
Expand All @@ -55,7 +47,10 @@
},
{
"label": "tasks: watch-tests",
"dependsOn": ["watch - apps/vscode-extension", "npm: watch-tests"],
"dependsOn": [
"watch - pretty-ts-errors",
"watch-tests - pretty-ts-errors"
],
"problemMatcher": []
}
]
Expand Down
134 changes: 0 additions & 134 deletions CONTRIBUTING.md

This file was deleted.

20 changes: 20 additions & 0 deletions CONVENTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Conventions

Diese Datei ist die workspace-weite TOC fuer verbindliche, dauerhaft geltende
Konventionen im Repository `pretty-ts-errors`.

## Nutzung

- Die Root-Datei `CONVENTIONS.md` bleibt bewusst kurz und fungiert nur als
Einstiegspunkt.
- Detailkonventionen liegen unter `docs/conventions/`.
- Jede Konvention in `docs/conventions/` beschreibt einen stabilen,
wiederverwendbaren Architektur- oder Implementierungsstandard und nicht nur
einen temporaeren Handoff-Stand.

## Table Of Contents

1. [`docs/conventions/diagnostic-rendering-surfaces.md`](docs/conventions/diagnostic-rendering-surfaces.md)
Verbindliche Architekturkonvention fuer Sidebar, nativen Hover,
Trust-Boundaries, Syntax-Highlighting, Typ-Formatierung und die Trennung von
host-owned Shell und generischem Diagnostic-Content.
Loading