Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 5.84 KB
/
Copy pathpackage.json
File metadata and controls
159 lines (159 loc) · 5.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "project-problems",
"displayName": "Project Problems",
"description": "Every error in the project in the Problems panel, including files you have not opened: TypeScript, Vue, Svelte, Astro and ESLint.",
"version": "1.0.0",
"publisher": "lagudafuadtosin",
"author": "Fuad Laguda",
"license": "MIT",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"pricing": "Free",
"repository": {
"type": "git",
"url": "https://github.com/lagudafuadtosin/project-problems"
},
"bugs": {
"url": "https://github.com/lagudafuadtosin/project-problems/issues"
},
"homepage": "https://github.com/lagudafuadtosin/project-problems#readme",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Linters",
"Programming Languages"
],
"keywords": [
"typescript",
"problems",
"errors",
"diagnostics",
"tsc",
"monorepo",
"vue",
"svelte",
"astro",
"eslint"
],
"main": "./dist/extension.js",
"activationEvents": [
"workspaceContains:**/tsconfig.json",
"workspaceContains:**/eslint.config.{js,mjs,cjs,ts,mts,cts}",
"workspaceContains:**/.eslintrc*"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "Project Problems runs the project's own checkers (TypeScript, vue-tsc, svelte-check, astro check, ESLint) from its node_modules, so it only runs in trusted folders."
},
"virtualWorkspaces": false
},
"contributes": {
"commands": [
{
"command": "projectProblems.recheck",
"title": "Project Problems: Recheck All Projects"
},
{
"command": "projectProblems.toggle",
"title": "Project Problems: Pause or Resume"
},
{
"command": "projectProblems.clear",
"title": "Project Problems: Clear Problems"
},
{
"command": "projectProblems.showOutput",
"title": "Project Problems: Show Output"
}
],
"configuration": {
"title": "Project Problems",
"properties": {
"projectProblems.enable": {
"type": "boolean",
"default": true,
"description": "Check every project in the workspace and show its problems, including files that are not open."
},
"projectProblems.mode": {
"type": "string",
"enum": [
"watch",
"onSave",
"manual"
],
"default": "watch",
"enumDescriptions": [
"Keep each TypeScript or vue-tsc compiler running; it updates whenever a file changes. Svelte, Astro and ESLint checks run on save.",
"Check when you save a file. Lighter on large projects.",
"Check when you run \"Project Problems: Recheck All Projects\", and once on opening (unless turned off below)."
],
"description": "When to check."
},
"projectProblems.checkOnStartup": {
"type": "boolean",
"default": true,
"description": "In manual mode, check once when the workspace opens or these settings change. Otherwise only on Recheck."
},
"projectProblems.eslint.enable": {
"type": "boolean",
"default": false,
"description": "Also lint the whole project with the project's own ESLint and config, on save. Needs ESLint installed in the project and an ESLint config file."
},
"projectProblems.eslint.paths": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"."
],
"description": "What ESLint checks, relative to each workspace folder."
},
"projectProblems.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/node_modules/**",
"**/dist/**",
"**/build/**",
"**/out/**"
],
"description": "tsconfig files matching these globs are not checked."
},
"projectProblems.maxProjects": {
"type": "number",
"default": 20,
"minimum": 1,
"description": "The most tsconfig projects to check at once. Each runs its own checker."
}
}
}
},
"scripts": {
"build": "tsc --noEmit -p . && node esbuild.mjs",
"test": "esbuild test/parse.test.ts test/tsconfig.test.ts test/security.test.ts test/tools.test.ts --bundle --platform=node --format=esm --outdir=.test-build --out-extension:.js=.mjs --log-level=warning && node --test .test-build/parse.test.mjs .test-build/tsconfig.test.mjs .test-build/security.test.mjs .test-build/tools.test.mjs",
"package": "npm run build && vsce package --no-dependencies",
"check:live": "esbuild test/live-monorepo.ts --bundle --platform=node --format=cjs --outfile=.test-build/live-monorepo.cjs --log-level=warning && node .test-build/live-monorepo.cjs",
"check:edge": "esbuild test/live-edge.ts --bundle --platform=node --format=cjs --outfile=.test-build/live-edge.cjs --log-level=warning && node .test-build/live-edge.cjs",
"check:frameworks": "esbuild test/live-frameworks.ts --bundle --platform=node --format=cjs --outfile=.test-build/live-frameworks.cjs --log-level=warning && node .test-build/live-frameworks.cjs",
"check:host": "npm run build && esbuild test/host/suite.ts --bundle --platform=node --format=cjs --external:vscode --outfile=.test-build/host-suite.cjs --log-level=warning && esbuild test/host/run.ts --bundle --platform=node --format=cjs --outfile=.test-build/host-run.cjs --log-level=warning && node .test-build/host-run.cjs"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/vscode": "~1.75.0",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.0.0",
"esbuild": "^0.25.0",
"typescript": "^5.6.0"
},
"extensionKind": [
"workspace"
]
}