Skip to content

Commit 044dd31

Browse files
authored
Merge pull request #10 from ccontrols/vscode-extension
Vscode extension
2 parents 79e5745 + e0b459b commit 044dd31

File tree

90 files changed

+42375
-16053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+42375
-16053
lines changed

.vscode/launch.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "api",
1111
"program": "${workspaceFolder}/node_modules/.bin/jest",
1212
"cwd": "${workspaceFolder}/packages/api",
13-
"args": ["union-prop"],
13+
"args": ["type-prop"],
1414
"console": "integratedTerminal",
1515
"internalConsoleOptions": "neverOpen",
1616
"disableOptimisticBPs": true,
@@ -59,6 +59,32 @@
5959
"windows": {
6060
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
6161
}
62+
},
63+
{
64+
"type": "node",
65+
"request": "launch",
66+
"name": "api-docs",
67+
"program": "${workspaceFolder}/node_modules/.bin/jest",
68+
"cwd": "${workspaceFolder}/packages/api-docs",
69+
"args": ["collapse"],
70+
"console": "integratedTerminal",
71+
"internalConsoleOptions": "neverOpen",
72+
"disableOptimisticBPs": true,
73+
"windows": {
74+
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
75+
}
76+
},
77+
{
78+
"name": "VSCode Extension",
79+
"type": "extensionHost",
80+
"request": "launch",
81+
"runtimeExecutable": "${execPath}",
82+
"args": [
83+
"--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-plugin"
84+
],
85+
"stopOnEntry": false,
86+
"sourceMaps": true,
87+
"outFiles": ["${workspaceFolder}/packages/vscode-plugin/dist/**/*.js"]
6288
}
6389
]
6490
}

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Table of contents
22

3-
- [About](#about)
4-
- [Live example](#live-example)
5-
- [Using the API](#using-the-api)
6-
- [1. Installation](#1-installation)
7-
- [2. Your API source file (sum.js):](#2-your-api-source-file-sumjs)
8-
- [3. Your documentation extraction](#3-your-documentation-extraction)
9-
- [4. The result](#4-the-result)
10-
- [Using the CLI](#using-the-cli)
11-
- [1. Installation](#1-installation-1)
12-
- [2. Configure](#2-configure)
13-
- [3. Launch](#3-launch)
14-
- [Typescript playground plugin](#typescript-playground-plugin)
15-
- [Roadmap](#roadmap)
3+
- [About](#about)
4+
- [Live example](#live-example)
5+
- [Using the API](#using-the-api)
6+
- [1. Installation](#1-installation)
7+
- [2. Your API source file (sum.js):](#2-your-api-source-file-sumjs)
8+
- [3. Your documentation extraction](#3-your-documentation-extraction)
9+
- [4. The result](#4-the-result)
10+
- [Using the CLI](#using-the-cli)
11+
- [1. Installation](#1-installation-1)
12+
- [2. Configure](#2-configure)
13+
- [3. Launch](#3-launch)
14+
- [Typescript playground plugin](#typescript-playground-plugin)
15+
- [Roadmap](#roadmap)
1616

1717
# About
1818

@@ -151,12 +151,12 @@ More information about the [@structured-types/playground-plugin](https://github.
151151

152152
# Roadmap
153153

154-
- [x] JSDoc types
155-
- [x] Typescript types
156-
- [x] React plugin
157-
- [x] React "prop-types" plugin
158-
- [x] Typescript playground plugin
159-
- [ ] [component-controls](https://github.com/ccontrols/component-controls) integration
160-
- [x] Automatically generate README.md files (api-readme)
161-
- [ ] Vue plugin
162-
- [ ] Angular plugin
154+
- [x] JSDoc types
155+
- [x] Typescript types
156+
- [x] React plugin
157+
- [x] React "prop-types" plugin
158+
- [x] Typescript playground plugin
159+
- [ ] [component-controls](https://github.com/ccontrols/component-controls) integration
160+
- [x] Automatically generate README.md files (api-readme)
161+
- [ ] Vue plugin
162+
- [ ] Angular plugin

packages/api-docs/.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist
2+
node_modules
3+
test

packages/api-docs/LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Atanas Stoyanov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)