Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segevfiner/tsup-problem-matcher
tsup Problem matcher
https://github.com/segevfiner/tsup-problem-matcher
javascript tsup typescript vscode vscode-extension vscode-problem-matcher vscode-tasks
Last synced: 1 day ago
JSON representation
tsup Problem matcher
- Host: GitHub
- URL: https://github.com/segevfiner/tsup-problem-matcher
- Owner: segevfiner
- License: mit
- Created: 2022-05-19T18:50:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T02:10:13.000Z (about 2 years ago)
- Last Synced: 2024-12-30T05:31:46.710Z (about 2 months ago)
- Topics: javascript, tsup, typescript, vscode, vscode-extension, vscode-problem-matcher, vscode-tasks
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=segevfiner.tsup-problem-matcher
- Size: 244 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tsup Problem Matchers for VS Code
Provides [problem matchers](https://code.visualstudio.com/docs/editor/tasks#_processing-task-output-with-problem-matchers) for use with [tsup](https://tsup.egoist.sh/) projects.
## Features
Provides the following problem matchers:
- **\$tsup** — adds errors and warnings reported by [tsup](https://tsup.egoist.sh/)
- **\$tsup-watch** — adds errors and warnings reported by [tsup](https://tsup.egoist.sh/) while in watch mode
- **\$tsup-tsc** — adds TypeScript errors and warnings reported by [tsup](https://tsup.egoist.sh/) when `--dts` is enabled.
- **\$tsup-tsc-watch** — adds TypeScript errors and warnings reported by [tsup](https://tsup.egoist.sh/) when `--dts` is enabled while in watch mode.## Usage
The following example shows how to add problem matchers to your project:
```json
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "npm: watch",
"detail": "tsup --watch",
"script": "watch",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$tsup-watch",
"$tsup-tsc-watch"
],
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
},
{
"type": "npm",
"label": "npm: build",
"detail": "tsup",
"script": "build",
"group": "build",
"problemMatcher": [
"$tsup",
"$tsup-tsc"
]
}
]
}
```