-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Include version number in all --json based outputs
- Loading branch information
1 parent
42cf762
commit 66becbb
Showing
21 changed files
with
142 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"args": "doc --json json.js", | ||
"output": "json.out" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/// <reference types="./types.d.ts" /> | ||
export const foo = "foo"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"version": 1, | ||
"nodes": [ | ||
{ | ||
"kind": "variable", | ||
"name": "foo", | ||
"location": { | ||
"filename": "file:///[WILDCARD]/types.d.ts", | ||
"line": 2, | ||
"col": 13 | ||
}, | ||
"declarationKind": "export", | ||
"jsDoc": { | ||
"doc": "An exported value." | ||
}, | ||
"variableDef": { | ||
"tsType": { | ||
"repr": "string", | ||
"kind": "keyword", | ||
"keyword": "string" | ||
}, | ||
"kind": "const" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** An exported value. */ | ||
export const foo: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,54 @@ | ||
[ | ||
{ | ||
"name": "Test", | ||
"isDefault": false, | ||
"location": { | ||
"filename": "file:///[WILDCARD]/lint_success.ts", | ||
"line": 2, | ||
"col": 0, | ||
"byteIndex": 22 | ||
}, | ||
"declarationKind": "export", | ||
"jsDoc": { | ||
"doc": "My test class." | ||
}, | ||
"kind": "class", | ||
"classDef": { | ||
"isAbstract": false, | ||
"constructors": [], | ||
"properties": [ | ||
{ | ||
"jsDoc": { | ||
"doc": "My property." | ||
}, | ||
"tsType": { | ||
"repr": "string", | ||
"kind": "keyword", | ||
"keyword": "string" | ||
}, | ||
"readonly": false, | ||
"accessibility": null, | ||
"optional": false, | ||
"isAbstract": false, | ||
"isStatic": false, | ||
"name": "prop", | ||
"location": { | ||
"filename": "file:///[WILDCARD]/lint_success.ts", | ||
"line": 4, | ||
"col": 2, | ||
"byteIndex": 66 | ||
{ | ||
"version": 1, | ||
"nodes": [ | ||
{ | ||
"name": "Test", | ||
"isDefault": false, | ||
"location": { | ||
"filename": "file:///[WILDCARD]/lint_success.ts", | ||
"line": 2, | ||
"col": 0, | ||
"byteIndex": 22 | ||
}, | ||
"declarationKind": "export", | ||
"jsDoc": { | ||
"doc": "My test class." | ||
}, | ||
"kind": "class", | ||
"classDef": { | ||
"isAbstract": false, | ||
"constructors": [], | ||
"properties": [ | ||
{ | ||
"jsDoc": { | ||
"doc": "My property." | ||
}, | ||
"tsType": { | ||
"repr": "string", | ||
"kind": "keyword", | ||
"keyword": "string" | ||
}, | ||
"readonly": false, | ||
"accessibility": null, | ||
"optional": false, | ||
"isAbstract": false, | ||
"isStatic": false, | ||
"name": "prop", | ||
"location": { | ||
"filename": "file:///[WILDCARD]/lint_success.ts", | ||
"line": 4, | ||
"col": 2, | ||
"byteIndex": 66 | ||
} | ||
} | ||
} | ||
], | ||
"indexSignatures": [], | ||
"methods": [], | ||
"extends": null, | ||
"implements": [], | ||
"typeParams": [], | ||
"superTypeParams": [] | ||
], | ||
"indexSignatures": [], | ||
"methods": [], | ||
"extends": null, | ||
"implements": [], | ||
"typeParams": [], | ||
"superTypeParams": [] | ||
} | ||
} | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,5 +160,6 @@ | |
} | ||
], | ||
"redirects": {}, | ||
"version": 1, | ||
"npmPackages": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"denoDir": "[WILDCARD]", | ||
"modulesCache": "[WILDCARD]deps", | ||
"npmCache": "[WILDCARD]npm", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"denoDir": "[WILDCARD]", | ||
"modulesCache": "[WILDCARD]deps", | ||
"npmCache": "[WILDCARD]npm", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,5 +87,6 @@ | |
} | ||
], | ||
"redirects": {}, | ||
"version": 1, | ||
"npmPackages": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"diagnostics": [ | ||
{ | ||
"filename": "[WILDCARD]$deno$stdin.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"diagnostics": [ | ||
{ | ||
"filename": "[WILDCARD]file1.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"diagnostics": [ | ||
{ | ||
"filename": "[WILDCARD]a.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.