├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── pull_request_template.md
└── workflows
│ ├── publish.yml
│ └── release.yml
├── .gitignore
├── .vscode
├── extensions.json
├── launch.json
├── settings.json
└── tasks.json
├── .vscodeignore
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── azure-pipelines.yml
├── media
├── activity-bar-logo.png
├── activity-bar-logo.svg
├── dep.svg
└── fonts
│ ├── bit-font.ttf
│ ├── bit-font.woff
│ └── ef_conv_zip_C5UQpgx98ZsSRo3zg51NFgeF.zip
├── package.json
├── resources
└── icons
│ ├── dark
│ ├── 3d.svg
│ └── department.svg
│ └── light
│ ├── 3d.svg
│ └── department.svg
├── src
├── commands
│ ├── addComponent.ts
│ ├── importComponent.ts
│ ├── listComponents.ts
│ ├── login.ts
│ ├── openComponent.ts
│ ├── setupBit.ts
│ ├── tagPublishComponent.ts
│ └── untrackComponent.ts
├── controller
│ ├── CommandContext.ts
│ └── commander.ts
├── extension.ts
├── providers
│ └── BitComponentsProvider
│ │ ├── BitComponentsProvider.ts
│ │ ├── Component.ts
│ │ ├── Item.ts
│ │ └── Scope.ts
├── test
│ ├── runTest.ts
│ └── suite
│ │ ├── commands
│ │ └── tagAndPublish.test.ts
│ │ ├── extension.test.ts
│ │ ├── index.ts
│ │ └── utils
│ │ ├── bit
│ │ └── getCommonNamespaces.test.ts
│ │ └── commandExecutor.test.ts
└── utils
│ ├── bit
│ ├── Component.ts
│ ├── bitConfig.ts
│ ├── getBitmap.ts
│ ├── getCommonNamespaces
│ │ └── getCommonNamespaces.ts
│ ├── getCurrentComponentBitmap.ts
│ └── search.ts
│ ├── resolver.ts
│ ├── terminalCommand
│ └── createExecutor.ts
│ └── toDashed.ts
├── tsconfig.json
├── tslint.json
├── vsc-extension-quickstart.md
└── yarn.lock
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: "[BUG] "
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. Windows]
28 |
29 | **Additional context**
30 | Add any other context about the problem here.
31 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.github/pull_request_template.md:
--------------------------------------------------------------------------------
1 | **What type of PR is this?**
2 |
3 | **What this PR does / why we need it**
4 |
5 | **Which issue(s) this PR fixes**
6 | Fixes #
7 |
8 |
9 | **Special notes for your reviewer**
10 |
--------------------------------------------------------------------------------
/.github/workflows/publish.yml:
--------------------------------------------------------------------------------
1 | name: Publish on VScode marketplace
2 |
3 | on:
4 | release:
5 | types: [published]
6 |
7 | jobs:
8 | publish:
9 |
10 | runs-on: ubuntu-latest
11 |
12 | steps:
13 | - uses: actions/checkout@v1
14 | with:
15 | ref: stable
16 | - name: Install dependencies
17 | run: yarn install
18 | - name: Run publish method
19 | run: yarn deploy -p $VSCODE_EXT_TOKEN
20 | env:
21 | VSCODE_EXT_TOKEN: ${{secrets.VSCODE_EXT_TOKEN}}
22 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Package release on github
2 |
3 | on:
4 | create:
5 | tags:
6 | - v*
7 |
8 | jobs:
9 | build:
10 |
11 | runs-on: ubuntu-latest
12 |
13 | steps:
14 | - uses: actions/checkout@v1
15 | with:
16 | ref: stable
17 | - name: Installing dependencies
18 | run: yarn install
19 | - name: Packaging
20 | run: yarn package
21 | - run: ls
22 | - name: Release
23 | uses: fnkr/github-action-ghr@v1
24 | if: startsWith(github.ref, 'refs/tags/')
25 | env:
26 | GHR_PATH: bitdev.vsix
27 | GITHUB_TOKEN: ${{ secrets.GITHUB_RELEASE }}
28 |
29 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | out
2 | node_modules
3 | .vscode-test/
4 | *.vsix
5 |
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | // See http://go.microsoft.com/fwlink/?LinkId=827846
3 | // for the documentation about the extensions.json format
4 | "recommendations": [
5 | "ms-vscode.vscode-typescript-tslint-plugin"
6 | ]
7 | }
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | // A launch configuration that compiles the extension and then opens it inside a new window
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | {
6 | "version": "0.2.0",
7 | "configurations": [
8 | {
9 | "name": "Run Extension",
10 | "type": "extensionHost",
11 | "request": "launch",
12 | "runtimeExecutable": "${execPath}",
13 | "args": [
14 | "--extensionDevelopmentPath=${workspaceFolder}"
15 | ],
16 | "outFiles": [
17 | "${workspaceFolder}/out/**/*.js"
18 | ],
19 | "preLaunchTask": "${defaultBuildTask}"
20 | },
21 | {
22 | "name": "Extension Tests",
23 | "type": "extensionHost",
24 | "request": "launch",
25 | "runtimeExecutable": "${execPath}",
26 | "args": [
27 | "--extensionDevelopmentPath=${workspaceFolder}",
28 | "--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
29 | ],
30 | "outFiles": [
31 | "${workspaceFolder}/out/test/**/*.js"
32 | ],
33 | "preLaunchTask": "${defaultBuildTask}"
34 | }
35 | ]
36 | }
37 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | // Place your settings in this file to overwrite default and user settings.
2 | {
3 | "files.exclude": {
4 | "out": false // set this to true to hide the "out" folder with the compiled JS files
5 | },
6 | "search.exclude": {
7 | "out": true // set this to false to include "out" folder in search results
8 | },
9 | // Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10 | "typescript.tsc.autoDetect": "off"
11 | }
--------------------------------------------------------------------------------
/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | // See https://go.microsoft.com/fwlink/?LinkId=733558
2 | // for the documentation about the tasks.json format
3 | {
4 | "version": "2.0.0",
5 | "tasks": [
6 | {
7 | "type": "npm",
8 | "script": "watch",
9 | "problemMatcher": "$tsc-watch",
10 | "isBackground": true,
11 | "presentation": {
12 | "reveal": "never"
13 | },
14 | "group": {
15 | "kind": "build",
16 | "isDefault": true
17 | }
18 | }
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/.vscodeignore:
--------------------------------------------------------------------------------
1 | .vscode/**
2 | .vscode-test/**
3 | out/test/**
4 | src/**
5 | .gitignore
6 | vsc-extension-quickstart.md
7 | **/tsconfig.json
8 | **/tslint.json
9 | **/*.map
10 | **/*.ts
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to the "bitdev" extension will be documented in this file.
4 |
5 | Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6 |
7 |
8 |
9 | ## [Unreleased]
10 | - Added refresh button at the top
11 |
12 | ## [0.3.5] - 2020-01-12
13 |
14 | - Tag & Publish a component
15 |
16 | ## [0.3.4]
17 |
18 | - Initial release
19 |
20 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as
6 | contributors and maintainers pledge to making participation in our project and
7 | our community a harassment-free experience for everyone, regardless of age, body
8 | size, disability, ethnicity, sex characteristics, gender identity and expression,
9 | level of experience, education, socio-economic status, nationality, personal
10 | appearance, race, religion, or sexual identity and orientation.
11 |
12 | ## Our Standards
13 |
14 | Examples of behavior that contributes to creating a positive environment
15 | include:
16 |
17 | * Using welcoming and inclusive language
18 | * Being respectful of differing viewpoints and experiences
19 | * Gracefully accepting constructive criticism
20 | * Focusing on what is best for the community
21 | * Showing empathy towards other community members
22 |
23 | Examples of unacceptable behavior by participants include:
24 |
25 | * The use of sexualized language or imagery and unwelcome sexual attention or
26 | advances
27 | * Trolling, insulting/derogatory comments, and personal or political attacks
28 | * Public or private harassment
29 | * Publishing others' private information, such as a physical or electronic
30 | address, without explicit permission
31 | * Other conduct which could reasonably be considered inappropriate in a
32 | professional setting
33 |
34 | ## Our Responsibilities
35 |
36 | Project maintainers are responsible for clarifying the standards of acceptable
37 | behavior and are expected to take appropriate and fair corrective action in
38 | response to any instances of unacceptable behavior.
39 |
40 | Project maintainers have the right and responsibility to remove, edit, or
41 | reject comments, commits, code, wiki edits, issues, and other contributions
42 | that are not aligned to this Code of Conduct, or to ban temporarily or
43 | permanently any contributor for other behaviors that they deem inappropriate,
44 | threatening, offensive, or harmful.
45 |
46 | ## Scope
47 |
48 | This Code of Conduct applies both within project spaces and in public spaces
49 | when an individual is representing the project or its community. Examples of
50 | representing a project or community include using an official project e-mail
51 | address, posting via an official social media account, or acting as an appointed
52 | representative at an online or offline event. Representation of a project may be
53 | further defined and clarified by project maintainers.
54 |
55 | ## Enforcement
56 |
57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
58 | reported by contacting the project team at m.wassim.benzarti@gmail.com. All
59 | complaints will be reviewed and investigated and will result in a response that
60 | is deemed necessary and appropriate to the circumstances. The project team is
61 | obligated to maintain confidentiality with regard to the reporter of an incident.
62 | Further details of specific enforcement policies may be posted separately.
63 |
64 | Project maintainers who do not follow or enforce the Code of Conduct in good
65 | faith may face temporary or permanent repercussions as determined by other
66 | members of the project's leadership.
67 |
68 | ## Attribution
69 |
70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72 |
73 | [homepage]: https://www.contributor-covenant.org
74 |
75 | For answers to common questions about this code of conduct, see
76 | https://www.contributor-covenant.org/faq
77 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # CONTRIBUTING
2 |
3 | When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
4 |
5 | Please note we have a [code of conduct](CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.
6 |
7 | ## Setup
8 |
9 | ### installation
10 | - install dependencies using npm
11 | ```bash
12 | $ npm i
13 | ```
14 | or yarn
15 | ```bash
16 | $ yarn install
17 | ```
18 |
19 | ### Debug
20 | Use the already configured VSCode launch configuration with debug mode
21 |
22 | ### Unit Tests
23 | Use the already configured VSCode launch configuration
24 |
25 |
26 |
27 | ## Pull Requests
28 |
29 | We actively welcome your pull requests.
30 |
31 | 1. Fork the repo and create your branch from `master`.
32 | 2. If you've added code that should be tested, add tests.
33 | 3. Ensure the test suite passes.
34 | 4. Make sure your code lints.
35 | 5. Add your change to the CHANGELOG.md file at the [unreleased] section.
36 |
37 | ## License
38 |
39 | By contributing to Bit, you agree that your contributions will be licensed under its [Apache2 license](LICENSE).
40 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Bitdev
2 | ### Components easily managed with vscode
3 |
4 | ### :construction: This extension is still under development
5 |
6 | ## Getting started
7 | ### Step 0: Things to keep in mind
8 | Make sure that you are inside the project that has bit (meaning the .bitmap is in the root folder of the workspace). Currently this is a limitation for now.
9 |
10 | ### Step 1: Installing bit
11 | You can install [Bit](https://github.com/teambit/bit) globally using this command:
12 | ```bash
13 | # using npm
14 | npm install -g bit-bin
15 | # or using yarn
16 | yarn global add bit-bin
17 | ```
18 |
19 | ### Step 2: Login
20 | To login to your [Bit.dev](http://bit.dev/) account follow these steps:
21 | 1. Make sure you have a [Bit.dev](http://bit.dev/) account.
22 | 2. Ctrl+Shift+p in VScode to open the Command Palette.
23 | 3. Type `Bit Login` and hit enter
24 |
25 | This command will create a new terminal instance and call `bit login` command, follow the shown instructions in order to complete the login process.
26 |
27 | ### Step 3: Init Bit project
28 | > If you **already initialized** your project with bit.dev, you can skip this step.
29 |
30 | In order to use [Bit](http://bit.dev/) you just need to initialize your project. There is a command palette for this called:
31 | ```
32 | Bit: Setup
33 | ```
34 |
35 | ### Enjoy bit
36 | Happy coding!
37 |
38 | ## Guide
39 | ### Commands
40 | #### 1. Init bit project
41 | ```
42 | Bit: Setup
43 | ```
44 | #### 2. List components
45 |
46 | This command will help you find your component's files easily.
47 | ```
48 | Bit: List components
49 | ```
50 | Once you run it, it will show you all the components of your project. Clicking on one of the components, will prompt the diffrent files of that component. Choose the file that you want to open.
51 |
52 | #### 3. Add a component
53 |
54 | Before running this command make sure:
55 | 1. You isolated your component in a folder
56 | 2. You open one of the component files
57 |
58 | ```
59 | Bit: Add component
60 | ```
61 |
62 | #### 4. Import a component
63 |
64 | It's really easy to import a component, you just need to use this command
65 |
66 | ```
67 | Bit: Import component
68 | ```
69 |
70 | > Tip: if you want to specify the owner or the scope of the component use this syntax
71 | ```
72 | [owner.scope] component-name
73 | ```
74 |
75 | Example: if the **owner** is 'john', **scope** is 'react', **sub-collection** is 'components' and the **component name** is 'flex'
76 |
77 | ```
78 | [john.react] components/flex
79 | ```
80 |
81 | #### 5. Login into bit.dev
82 | ```
83 | Bit: Login
84 | ```
85 |
86 | # TODO
87 | - [x] Untrack a component (context menu)
88 | - [ ] Publish all components button
89 | - [ ] Tag all components button
90 | - [ ] Tag component (context menu)
91 |
92 |
93 |
94 | # Contribution
95 | Try to explore things yourself. We are open for improvements.
96 |
--------------------------------------------------------------------------------
/azure-pipelines.yml:
--------------------------------------------------------------------------------
1 | # Starter pipeline
2 | # Start with a minimal pipeline that you can customize to build and deploy your code.
3 | # Add steps that build, run tests, deploy, and more:
4 | # https://aka.ms/yaml
5 |
6 | trigger:
7 | - master
8 |
9 | pool:
10 | vmImage: 'ubuntu-latest'
11 |
12 | steps:
13 | - script: echo Hello, world!
14 | displayName: 'Run a one-line script'
15 |
16 | - script: |
17 | echo Add other tasks to build, test, and deploy your project.
18 | echo See https://aka.ms/yaml
19 | displayName: 'Run a multi-line script'
20 |
--------------------------------------------------------------------------------
/media/activity-bar-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WassimBenzarti/bitdev-vscode-extension/4e5b4cee056f21917842916202eef7c5f6944f75/media/activity-bar-logo.png
--------------------------------------------------------------------------------
/media/activity-bar-logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/media/dep.svg:
--------------------------------------------------------------------------------
1 |
2 |
15 |
--------------------------------------------------------------------------------
/media/fonts/bit-font.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WassimBenzarti/bitdev-vscode-extension/4e5b4cee056f21917842916202eef7c5f6944f75/media/fonts/bit-font.ttf
--------------------------------------------------------------------------------
/media/fonts/bit-font.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WassimBenzarti/bitdev-vscode-extension/4e5b4cee056f21917842916202eef7c5f6944f75/media/fonts/bit-font.woff
--------------------------------------------------------------------------------
/media/fonts/ef_conv_zip_C5UQpgx98ZsSRo3zg51NFgeF.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WassimBenzarti/bitdev-vscode-extension/4e5b4cee056f21917842916202eef7c5f6944f75/media/fonts/ef_conv_zip_C5UQpgx98ZsSRo3zg51NFgeF.zip
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "bitdev",
3 | "displayName": "Bitdev",
4 | "publisher": "wassimbenzarti",
5 | "description": "Making bit.dev commands easier with this unofficial extension",
6 | "version": "0.3.6",
7 | "repository": {
8 | "type": "git",
9 | "url": "https://github.com/WassimBenzarti/bitdev-vscode-extension.git"
10 | },
11 | "author": {
12 | "name": "Wassim Benzarti",
13 | "url": "https://github.com/WassimBenzarti"
14 | },
15 | "engines": {
16 | "vscode": "^1.41.0"
17 | },
18 | "categories": [
19 | "SCM Providers",
20 | "Other"
21 | ],
22 | "activationEvents": [
23 | "*"
24 | ],
25 | "main": "./out/extension.js",
26 | "contributes": {
27 | "views": {
28 | "bit-components": [
29 | {
30 | "id": "bitComponents",
31 | "name": "Bit Components"
32 | }
33 | ]
34 | },
35 | "viewsContainers": {
36 | "activitybar": [
37 | {
38 | "id": "bit-components",
39 | "title": "Bit Explorer",
40 | "icon": "media/activity-bar-logo.png"
41 | }
42 | ]
43 | },
44 | "commands": [
45 | {
46 | "command": "bitdev.bitSetup",
47 | "title": "Setup",
48 | "category": "Bit"
49 | },
50 | {
51 | "command": "bitdev.bitLogin",
52 | "title": "Login",
53 | "category": "Bit"
54 | },
55 | {
56 | "command": "bitdev.bitAdd",
57 | "title": "Add Component",
58 | "category": "Bit"
59 | },
60 | {
61 | "command": "bitdev.bitList",
62 | "title": "List components",
63 | "category": "Bit"
64 | },
65 | {
66 | "command": "bitdev.bitRefresh",
67 | "title": "Refresh components",
68 | "category": "Bit",
69 | "icon": "$(refresh~spin)"
70 | },
71 | {
72 | "command": "bitdev.bitImport",
73 | "title": "Import component",
74 | "category": "Bit"
75 | },
76 | {
77 | "command": "bitdev.bitTagPublish",
78 | "title": "Tag and publish component",
79 | "category": "Bit"
80 | },
81 | {
82 | "command": "bitdev.bitUntrack",
83 | "title": "Untrack component",
84 | "category": "Bit"
85 | },
86 | {
87 | "command": "bitdev.publishAll",
88 | "title": "Publish all components",
89 | "category": "Bit",
90 | "icon": "$(cloud-upload)"
91 | },
92 | {
93 | "command": "bitdev.tagAll",
94 | "title": "Tag all components",
95 | "category": "Bit",
96 | "icon": "$(tag)"
97 | }
98 | ],
99 | "menus": {
100 | "view/title": [
101 | {
102 | "command": "bitdev.publishAll",
103 | "when": "view == bitComponents",
104 | "group": "navigation"
105 | },
106 | {
107 | "command": "bitdev.tagAll",
108 | "when": "view == bitComponents",
109 | "group": "navigation"
110 | },
111 | {
112 | "command": "bitdev.bitRefresh",
113 | "when": "view == bitComponents",
114 | "group": "navigation"
115 | }
116 | ],
117 | "view/item/context": [
118 | {
119 | "command": "bitdev.bitUntrack",
120 | "when": "view == bitComponents && viewItem == component"
121 | },
122 | {
123 | "command": "bitdev.bitTagPublish",
124 | "when": "view == bitComponents && viewItem == component"
125 | }
126 | ]
127 | }
128 | },
129 | "scripts": {
130 | "vscode:prepublish": "yarn run compile",
131 | "compile": "tsc -p ./",
132 | "watch": "tsc -watch -p ./",
133 | "pretest": "yarn run compile",
134 | "test": "node ./out/test/runTest.js",
135 | "deploy": "vsce publish --yarn",
136 | "package": "vsce package --yarn -o bitdev.vsix"
137 | },
138 | "devDependencies": {
139 | "@types/debounce": "^1.2.0",
140 | "@types/glob": "^7.1.1",
141 | "@types/mocha": "^5.2.7",
142 | "@types/node": "^12.11.7",
143 | "@types/node-fetch": "^2.5.4",
144 | "@types/vscode": "^1.41.0",
145 | "glob": "^7.1.5",
146 | "mocha": "^6.2.2",
147 | "tslint": "^5.20.0",
148 | "typescript": "^3.6.4",
149 | "vsce": "^1.71.0",
150 | "vscode-test": "^1.2.2"
151 | },
152 | "dependencies": {
153 | "debounce": "^1.2.0",
154 | "node-fetch": "^2.6.1"
155 | }
156 | }
--------------------------------------------------------------------------------
/resources/icons/dark/3d.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/icons/dark/department.svg:
--------------------------------------------------------------------------------
1 |
115 |
--------------------------------------------------------------------------------
/resources/icons/light/3d.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/icons/light/department.svg:
--------------------------------------------------------------------------------
1 |
115 |
--------------------------------------------------------------------------------
/src/commands/addComponent.ts:
--------------------------------------------------------------------------------
1 | import { Terminal, window, comments } from "vscode";
2 | import * as child_process from "child_process";
3 | import CommandContext from "../controller/CommandContext";
4 | import * as vscode from "vscode";
5 | import * as path from "path";
6 | import toDashed from "../utils/toDashed";
7 | import getCommonNamespaces from "../utils/bit/getCommonNamespaces/getCommonNamespaces";
8 |
9 | export default async function addComponent({
10 | rootFolder,
11 | currentFile,
12 | executeCommand,
13 | getBitmap,
14 | }: CommandContext) {
15 | // Preparing the paths
16 | const relativeFilePath = path.relative(rootFolder.uri.fsPath, currentFile.uri.fsPath);
17 | const relativeParentPath = path.dirname(relativeFilePath);
18 | const potentialComponentName = toDashed(path.basename(relativeParentPath));
19 |
20 | const commonNamespaces: any[] = getCommonNamespaces(getBitmap());
21 |
22 | const picker = window.createQuickPick();
23 |
24 | // Suggest the common namespaces
25 | picker.items = [{ label: "", description: "create new namespace", alwaysShow: true } as vscode.QuickPickItem]
26 | .concat(commonNamespaces.map(ns => ({ label: ns, alwaysShow: true })));
27 | picker.onDidChangeValue(value => {
28 | // Show an item for the new namespace
29 | picker.items = [{ label: value, description: "create new namespace", alwaysShow: true }]
30 | .concat(picker.items.slice(1) as any);
31 | });
32 |
33 | picker.onDidAccept(async () => {
34 | const namespace = picker.selectedItems[0].label;
35 |
36 | const componentId = await window.showInputBox({
37 | placeHolder: "Type the name of the component (lowercase)",
38 | value: namespace + "/" + potentialComponentName
39 | });
40 |
41 | executeCommand(`bit add ${relativeParentPath} --id ${componentId}`)
42 | .then((output) => {
43 | vscode.window.showInformationMessage(output);
44 | });
45 | });
46 |
47 | picker.show();
48 |
49 | }
--------------------------------------------------------------------------------
/src/commands/importComponent.ts:
--------------------------------------------------------------------------------
1 | import search from "../utils/bit/search";
2 | import * as vscode from "vscode";
3 | import { debounce } from "debounce";
4 | import CommandContext from "../controller/CommandContext";
5 |
6 | export default function importComponent({
7 | executeCommand
8 | }: CommandContext) {
9 | const picker = vscode.window.createQuickPick()
10 | picker.matchOnDetail = true
11 | const callback = debounce(async (value: string) => {
12 |
13 | // Regex for the "[owner.scope] component-name" command
14 | const [owner, collection, query] = value.match(/(?:\[([^.]*)\.?([^.]*)?\])?\s?(.*)/)?.slice(1) || [];
15 |
16 | // Use progress API of VSCode
17 | const response = await vscode.window.withProgress({
18 | title: "Fetching components",
19 | location: 10
20 | }, () => search(query, collection ? owner + "." + collection : "", owner));
21 |
22 | const hits = response.payload.hits;
23 | picker.title = `${hits.length} components found`
24 | picker.items = hits.map(({ size, owner, description, downloads, scope, fullName }: any) => ({
25 | label: owner.name + "." + scope + "/" + fullName,
26 | description: `$(arrow-down) ${downloads} | ${size.gzipped}KB`,
27 | detail: `${description || ""}$(tag) ${(fullName + " " + owner.name + " " + scope).split(/[^a-z]/gi).join(" ")}`,
28 | value: owner.name + "." + scope + "/" + fullName,
29 | alwaysShow: true,
30 | }))
31 | picker.busy = false
32 | }, 1000)
33 |
34 | picker.onDidChangeValue(async (value) => {
35 | if (!value) {
36 | picker.busy = false
37 | return;
38 | };
39 | picker.busy = true
40 | callback(value);
41 | })
42 |
43 | picker.onDidAccept(() => {
44 | const { value }: any = picker.selectedItems[0];
45 | executeCommand(`bit import ${value}`)
46 | })
47 |
48 | picker.show();
49 | }
--------------------------------------------------------------------------------
/src/commands/listComponents.ts:
--------------------------------------------------------------------------------
1 | import CommandContext from "../controller/CommandContext";
2 | import * as path from "path";
3 | import * as fs from "fs";
4 | import * as vscode from "vscode";
5 |
6 | export default async function listComponents({
7 | rootFolder
8 | }: CommandContext) {
9 | const bitMapFilePath = path.resolve(rootFolder.uri.fsPath, ".bitmap");
10 |
11 | const bitMap = fs.readFileSync(bitMapFilePath);
12 |
13 | const components = JSON.parse(bitMap.toString().replace(/^\/\*.*?\*\//, ""));
14 |
15 | const componentsNames = Object.entries(components)
16 | .filter(([name, object]) => name !== "version")
17 | .map(([name, object]) => ({ label: name, description: getComponentDescription(object) }));
18 |
19 | const pickedComponent = await vscode.window.showQuickPick(componentsNames, {
20 | placeHolder: "Pick a component",
21 | matchOnDescription: true
22 | });
23 |
24 | if (!pickedComponent) {
25 | return;
26 | }
27 |
28 | const componentFiles = components[pickedComponent.label]
29 |
30 | const chosenFile = await vscode.window.showQuickPick(getFilesWithDescription(componentFiles), {
31 | matchOnDescription:true,
32 | placeHolder:"Choose the file you want to open"
33 | });
34 | if (!chosenFile) {
35 | return;
36 | }
37 |
38 | // Show the chosen file
39 | const textDocument = await vscode.workspace.openTextDocument(path.resolve(rootFolder.uri.fsPath,chosenFile.description));
40 | vscode.window.showTextDocument(textDocument);
41 | }
42 |
43 |
44 |
45 | function getComponentDescription(component: any) {
46 | const { origin, exported, files } = component;
47 | return `${origin} ${exported ? 'Exported' : 'Not exported'} ${files.length} files`
48 | }
49 |
50 | function getFilesWithDescription(component: any):{label:string, description:string}[] {
51 | const { files } = component;
52 | return files.map(({ test, name, relativePath }:any) => {
53 | return {
54 | label: `${test?"✔":""} ${name}`,
55 | description: relativePath
56 | }
57 | })
58 | }
--------------------------------------------------------------------------------
/src/commands/login.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode"
2 | import CommandContext from "../controller/CommandContext";
3 |
4 |
5 | export default function login({ terminal }: CommandContext) {
6 | terminal.show();
7 | terminal.sendText("bit login");
8 | }
--------------------------------------------------------------------------------
/src/commands/openComponent.ts:
--------------------------------------------------------------------------------
1 | import CommandContext from "../controller/CommandContext";
2 | import Component from "../providers/BitComponentsProvider/Component";
3 | import * as vscode from "vscode";
4 |
5 | export async function openComponent(options:CommandContext, component: Component){
6 |
7 | const path = component.fullPath.replace(/\\/g, "/");
8 |
9 |
10 | vscode.workspace.openTextDocument(path).then(document=>{
11 | vscode.window.showTextDocument(document);
12 | });
13 |
14 | }
--------------------------------------------------------------------------------
/src/commands/setupBit.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode"
2 |
3 | export default (terminal: vscode.Terminal) => {
4 | terminal.show()
5 | // Init the bit project
6 | terminal.sendText("bit init");
7 | }
--------------------------------------------------------------------------------
/src/commands/tagPublishComponent.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode";
2 | import CommandContext from "../controller/CommandContext";
3 | import { ComponentNotFound } from "../utils/bit/getCurrentComponentBitmap";
4 |
5 |
6 | export default async function tagPublishComponent({
7 | getCurrentComponentBitmap,
8 | executeCommand
9 | }: CommandContext) {
10 | let scope; // Scope of the component
11 | try {
12 | const [name, component] = getCurrentComponentBitmap();
13 |
14 | await executeCommand(
15 | `bit tag ${name}`
16 | )
17 |
18 | scope = await vscode.window.showInputBox({
19 | prompt: "Type the scope"
20 | })
21 |
22 | await executeCommand(
23 | `bit export ${scope}`
24 | )
25 |
26 | } catch (e) {
27 | if (e instanceof ComponentNotFound) {
28 | vscode.window.showWarningMessage("This is not a component, please open a file of the component first.")
29 | }
30 | if (scope && e.message.match(`\"${scope}\" was not found`)!==null) {
31 | const action = await vscode.window.showErrorMessage(
32 | `Make sure the scope "${scope}" exists`,
33 | "Create collection",
34 | "Create organization"
35 | )
36 | switch(action){
37 | case "Create collection":
38 | vscode.env.openExternal(vscode.Uri.parse("https://bit.dev/~create-collection"));
39 | break;
40 | case "Create organization":
41 | vscode.env.openExternal(vscode.Uri.parse("https://bit.dev/~create-org"));
42 | break;
43 | }
44 | }
45 | vscode.window.showErrorMessage(e.message);
46 | throw e;
47 | }
48 | }
49 |
50 |
--------------------------------------------------------------------------------
/src/commands/untrackComponent.ts:
--------------------------------------------------------------------------------
1 | import CommandContext from "../controller/CommandContext";
2 | import * as vscode from "vscode";
3 | import Component from "../providers/BitComponentsProvider/Component";
4 | import { ComponentNotFound } from "../utils/bit/getCurrentComponentBitmap";
5 |
6 | //{executeCommand, getCurrentComponentBitmap}: CommandContext
7 | export async function untrackComponent({executeCommand, getCurrentComponentBitmap}: CommandContext, componentItem:Component|undefined){
8 | let nameAndComponent = null;
9 |
10 | /**
11 | * Since the user can call this function from:
12 | * - Command palette (that means the component is focused in the editor)
13 | * - Context menu of the view (this means the componentItem, in the argument, is not undefined)
14 | */
15 | if(typeof componentItem === "undefined"){
16 | try{
17 | nameAndComponent = getCurrentComponentBitmap();
18 | }catch(e){
19 | if(e instanceof ComponentNotFound){
20 | return vscode.window.showErrorMessage(`Component not found, you can't untrack the component focused in the editor.`);
21 | }
22 | }
23 | }else{
24 | nameAndComponent = [componentItem.key, componentItem.component];
25 | }
26 |
27 | const [name, component] = nameAndComponent;
28 | /**
29 | * TODO: Currently showing the success/error messages as is, because bit CLI doesn't raise an error
30 | * when there is an exception
31 | */
32 | try{
33 | const output:any = await executeCommand(`bit untrack ${name}`);
34 | vscode.window.showInformationMessage(output.success);
35 | }catch(e){
36 | vscode.window.showErrorMessage(e.message);
37 | }
38 |
39 | }
--------------------------------------------------------------------------------
/src/controller/CommandContext.ts:
--------------------------------------------------------------------------------
1 | import { Terminal, WorkspaceFolder, TextDocument } from "vscode";
2 | import * as vscode from "vscode"
3 |
4 | export default interface CommandContext {
5 | terminal: Terminal,
6 | rootFolder: WorkspaceFolder,
7 | currentFile: TextDocument,
8 | executeCommand: (cmd:string, options?:any)=>Promise,
9 | getBitmap: ()=>any,
10 | getCurrentComponentBitmap: ()=>any,
11 | }
--------------------------------------------------------------------------------
/src/controller/commander.ts:
--------------------------------------------------------------------------------
1 | import { Disposable, commands, window, ExtensionContext, workspace, Terminal, WorkspaceFolder, TextDocument } from "vscode";
2 | import * as vscode from "vscode";
3 | import { getCurrentFile, getRootFolder } from "../utils/resolver";
4 | import CommandContext from "./CommandContext";
5 | import createExecutor from "../utils/terminalCommand/createExecutor";
6 | import getBitmap, { createBitmapGetter } from "../utils/bit/getBitmap";
7 | import { createComponentGetter } from "../utils/bit/getCurrentComponentBitmap";
8 |
9 |
10 |
11 | export default function createCommands(ctx: ExtensionContext, commandsExec: any, ): Disposable[] {
12 |
13 | // Get terminal
14 | // TODO: Maybe using name isn't a good idea, maybe use processId
15 | let terminal: Terminal = window.terminals.find(terminal => terminal.name === "Bit.dev") || window.createTerminal("Bit.dev");
16 |
17 | function addArguments(fn: (arg: CommandContext, ...args:any[]) => any) {
18 | return (...args:any[]) => {
19 | const getBitmap = createBitmapGetter(getRootFolder());
20 | return fn({
21 | terminal,
22 | rootFolder: getRootFolder(),
23 | currentFile: getCurrentFile(),
24 | executeCommand: createExecutor(getRootFolder()),
25 | getBitmap,
26 | getCurrentComponentBitmap: createComponentGetter(getCurrentFile, getRootFolder, getBitmap),
27 | }, ...args);
28 | };
29 | }
30 |
31 | return Object.entries(commandsExec)
32 | .map(([key, fn]: any) => [key, addArguments(fn)])
33 | .map(([key, fn]: any): Disposable => commands.registerCommand(key, fn));
34 | }
--------------------------------------------------------------------------------
/src/extension.ts:
--------------------------------------------------------------------------------
1 | // The module 'vscode' contains the VS Code extensibility API
2 | // Import the module and reference it with the alias vscode in your code below
3 | import * as vscode from 'vscode';
4 | import setupBit from './commands/setupBit';
5 | import login from './commands/login';
6 | import createCommands from './controller/commander';
7 | import addComponent from './commands/addComponent';
8 | import listComponents from './commands/listComponents';
9 | import importComponent from './commands/importComponent';
10 | import tagPublishComponent from './commands/tagPublishComponent';
11 | import BitComponentsProvider from './providers/BitComponentsProvider/BitComponentsProvider';
12 | import getBitmap, { getBitmapPath } from './utils/bit/getBitmap';
13 | import { getRootFolder } from './utils/resolver';
14 | import { untrackComponent } from './commands/untrackComponent';
15 | import { openComponent } from './commands/openComponent';
16 |
17 | // this method is called when your extension is activated
18 | // your extension is activated the very first time the command is executed
19 | export function activate(context: vscode.ExtensionContext) {
20 |
21 | const bitComponentsProvider = new BitComponentsProvider(
22 | getBitmapPath(getRootFolder()),
23 | () => getBitmap(getRootFolder())
24 | );
25 | vscode.window.registerTreeDataProvider('bitComponents',
26 | bitComponentsProvider
27 | );
28 |
29 | // Use the console to output diagnostic information (console.log) and errors (console.error)
30 | // This line of code will only be executed once when your extension is activated
31 | console.log('Congratulations, your extension "bitdev" is now active!');
32 |
33 | // The command has been defined in the package.json file
34 | // Now provide the implementation of the command with registerCommand
35 | // The commandId parameter must match the command field in package.json
36 | let disposable = () => {
37 | // The code you place here will be executed every time your command is executed
38 | // Display a message box to the user
39 | vscode.window.showInformationMessage('Hello World!');
40 | };
41 |
42 | const commands: { [key: string]: Function } = {
43 | "bitdev.bitSetup": setupBit,
44 | "bitdev.bitLogin": login,
45 | "bitdev.bitAdd": addComponent,
46 | "bitdev.bitRefresh": bitComponentsProvider.refresh.bind(bitComponentsProvider),
47 | "bitdev.bitList": listComponents,
48 | "bitdev.bitImport": importComponent,
49 | "bitdev.bitTagPublish": tagPublishComponent,
50 | "bitdev.bitUntrack": untrackComponent,
51 | "bitdev.openComponent": openComponent,
52 | };
53 |
54 | context.subscriptions.push(
55 | ...createCommands(context, commands)
56 | );
57 | }
58 |
59 | // this method is called when your extension is deactivated
60 | export function deactivate() { }
61 |
--------------------------------------------------------------------------------
/src/providers/BitComponentsProvider/BitComponentsProvider.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode"
2 | import Component from "./Component";
3 | import {default as BitComponent} from "../../utils/bit/Component"
4 | import Scope from "./Scope";
5 | import Item from "./Item";
6 |
7 | export default class BitComponentsProvider implements vscode.TreeDataProvider- {
8 | public _changeEvent = new vscode.EventEmitter();
9 | constructor(private bitmapPath: string,
10 | private getBitmap: () => any) {
11 | const dispose = vscode.workspace.createFileSystemWatcher(bitmapPath)
12 | .onDidChange(() => this._changeEvent.fire());
13 | }
14 |
15 | onDidChangeTreeData?: vscode.Event
- | undefined = this._changeEvent.event;
16 |
17 | refresh(){
18 | this._changeEvent.fire();
19 | }
20 |
21 | getTreeItem(element: Item): vscode.TreeItem | Thenable {
22 | return element;
23 | }
24 |
25 | getChildren(element?: Scope): vscode.ProviderResult
- {
26 | if (!element) {
27 | return this._getScopes();
28 | }
29 |
30 | const components: Item[] = element.children;
31 | return components;
32 | }
33 |
34 | _getScopes(): Item[] {
35 | // Remove the version attribute and create Component instances
36 | const components = Object.entries(this.getBitmap())
37 | .filter(([key, _]) => key !== "version")
38 | .map(([key, component]) => new Component(key, component));
39 |
40 | const scopes: any = components.reduce((result: any, next: Component) => {
41 | if (!result[next.organization]) {
42 | result[next.organization] = {}
43 | }
44 | const organization = result[next.organization];
45 | if (!organization[next.collection]) {
46 | organization[next.collection] = []
47 | }
48 | organization[next.collection].push(next);
49 | return result;
50 | }, {});
51 | const items: any[] = Object.entries(scopes).reduce((result, [scopeName, scope]: any) => {
52 | const children: Item[] = Object.entries(scope).map(([collectionName, collection]: any) => {
53 | return new Scope(collectionName, collection)
54 | })
55 | result.push(new Scope(scopeName, children))
56 | return result;
57 | }, [] as any);
58 |
59 | return Object.values(items);
60 | }
61 |
62 | }
--------------------------------------------------------------------------------
/src/providers/BitComponentsProvider/Component.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode"
2 | import Item from "./Item";
3 | import * as path from "path";
4 | import {default as BitComponent} from "../../utils/bit/Component";
5 |
6 |
7 |
8 | export default class Component extends Item {
9 | contextValue = "component";
10 | iconPath = {
11 | light: path.join(__filename,"..",'..', '..', '..', 'resources','icons', 'light', '3d.svg'),
12 | dark: path.join(__filename,"..",'..', '..', '..', 'resources','icons', 'dark', '3d.svg')
13 | };
14 |
15 | constructor(
16 | public key: string,
17 | public component: BitComponent,
18 | ) {
19 | super(path.basename(key));
20 | this.key = key;
21 | this.command = {
22 | command:"bitdev.openComponent",
23 | title:"Open command",
24 | arguments:[this],
25 | };
26 | }
27 |
28 | get fullPath(){
29 | if(this.isImported){
30 | return vscode.workspace.rootPath +"/"+ this.component.rootDir +"/"+ this.component.mainFile
31 | }
32 | return vscode.workspace.rootPath +"/" + this.component.mainFile
33 | }
34 |
35 | get organization() {
36 | const match = this.key.match(/^(.*?)\./);
37 | return (match) ? match[1] : "Default";
38 | }
39 |
40 | get collection() {
41 | const match = this.key.match(/^.*\.(.*)\//);
42 | return (match) ? match[1] : "COLLECTION";
43 | }
44 |
45 | get namespace() {
46 | const match = this.key.match(/^.*\.(.*)\//);
47 | return (match) ? match[1] : "";
48 | }
49 |
50 | get fullName() {
51 | const match = this.key.match(/^.*\.(.*)\//);
52 | return (match) ? match[1] : "NAME";
53 | }
54 |
55 | get isImported(){
56 | return this.component.origin === "IMPORTED";
57 | }
58 |
59 | }
--------------------------------------------------------------------------------
/src/providers/BitComponentsProvider/Item.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode"
2 |
3 | export default class Item extends vscode.TreeItem {
4 |
5 | constructor(
6 | name: string,
7 | public children?: Item[]
8 | ) {
9 | super(name);
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/src/providers/BitComponentsProvider/Scope.ts:
--------------------------------------------------------------------------------
1 | import Item from "./Item";
2 | import * as vscode from "vscode";
3 | import * as path from "path";
4 |
5 | export default class Scope extends Item {
6 | iconPath = {
7 | light: path.join(__filename,"..",'..', '..', '..', 'resources','icons', 'light', 'department.svg'),
8 | dark: path.join(__filename,"..",'..', '..', '..', 'resources','icons', 'dark', 'department.svg')
9 | };
10 |
11 | collapsibleState= vscode.TreeItemCollapsibleState.Expanded;
12 |
13 | constructor(
14 | public name: string,
15 | public children: Item[]
16 | ) {
17 | super(name, children);
18 | }
19 |
20 |
21 | }
--------------------------------------------------------------------------------
/src/test/runTest.ts:
--------------------------------------------------------------------------------
1 | import * as path from 'path';
2 |
3 | import { runTests } from 'vscode-test';
4 |
5 | async function main() {
6 | try {
7 | // The folder containing the Extension Manifest package.json
8 | // Passed to `--extensionDevelopmentPath`
9 | const extensionDevelopmentPath = path.resolve(__dirname, '../../');
10 |
11 | // The path to test runner
12 | // Passed to --extensionTestsPath
13 | const extensionTestsPath = path.resolve(__dirname, './suite/index');
14 |
15 | // Download VS Code, unzip it and run the integration test
16 | await runTests({ extensionDevelopmentPath, extensionTestsPath });
17 | } catch (err) {
18 | console.error('Failed to run tests');
19 | process.exit(1);
20 | }
21 | }
22 |
23 | main();
24 |
--------------------------------------------------------------------------------
/src/test/suite/commands/tagAndPublish.test.ts:
--------------------------------------------------------------------------------
1 | import * as assert from 'assert';
2 | import * as vscode from "vscode"
3 | import tagPublishComponent from "../../../commands/tagPublishComponent"
4 | import { CommandFailed } from '../../../utils/terminalCommand/createExecutor';
5 |
6 | const component: any = [
7 | "specific/another-component",
8 | {
9 | "files": [
10 | {
11 | "relativePath": "src/common/AnotherComponent/AnotherComponent.js",
12 | "test": false,
13 | "name": "AnotherComponent.js"
14 | }
15 | ],
16 | "mainFile": "src/common/AnotherComponent/AnotherComponent.js",
17 | "trackDir": "src/common/AnotherComponent",
18 | "origin": "AUTHORED",
19 | "exported": false
20 | }
21 | ]
22 |
23 |
24 | suite("should tag and publish", () => {
25 |
26 | test("successfully", async () => {
27 | // Mock the showInputBox
28 | (vscode.window.showInputBox as any) = () => "example.my"
29 |
30 | const commands = [
31 | component[0], // Component name
32 | "example.my"
33 | ];
34 |
35 | await tagPublishComponent(
36 | {
37 | getCurrentComponentBitmap: () => component,
38 | executeCommand: (cmd: string) => {
39 | assert.ok(cmd.match(commands.shift()) as any);
40 | }
41 | } as any
42 | )
43 | })
44 |
45 | test("show error message", async () => {
46 | // Mock the showInputBox
47 | (vscode.window.showInputBox as any) = () => "example.my";
48 | (vscode.window.showErrorMessage as any) = (message: string) => {
49 | assert.equal(message, "Can't publish for some reason")
50 | }
51 | const commands = [
52 | () => assert.ok(true), // First command with success
53 | () => { throw new CommandFailed("Can't publish for some reason") }
54 | ];
55 | await assert.rejects(() => tagPublishComponent(
56 | {
57 | getCurrentComponentBitmap: () => component,
58 | executeCommand: async (cmd: string) => {
59 | return await (commands.shift() as any)()
60 | },
61 | } as any
62 | ))
63 | })
64 |
65 | test("show missing scope", async () => {
66 | const scope = "example.nonexistingcollection";
67 | // Mock the showInputBox
68 | (vscode.window.showInputBox as any) = () => scope;
69 | (vscode.window.showErrorMessage as any) = (message: string) => {
70 | assert.equal(message, `Make sure the scope "${scope}" exists`)
71 | return "Create collection"
72 | }
73 | (vscode.env.openExternal as any) = (uri: vscode.Uri) => {
74 | assert.equal(uri.toString(), `https://bit.dev/~create-collection`)
75 | }
76 | const commands = [
77 | () => assert.ok(true), // First command with success
78 | () => { throw new CommandFailed(`"${scope}" was not found`) } // Simulate the Bit not found message
79 | ];
80 | await assert.rejects(() => tagPublishComponent(
81 | {
82 | getCurrentComponentBitmap: () => component,
83 | executeCommand: async (cmd: string) => {
84 | return await (commands.shift() as any)()
85 | },
86 | } as any
87 | ))
88 | })
89 |
90 | })
--------------------------------------------------------------------------------
/src/test/suite/extension.test.ts:
--------------------------------------------------------------------------------
1 | import * as assert from 'assert';
2 |
3 | // You can import and use all API from the 'vscode' module
4 | // as well as import your extension to test it
5 | import * as vscode from 'vscode';
6 | // import * as myExtension from '../extension';
7 |
8 | /*
9 | suite('Extension Test Suite', () => {
10 | vscode.window.showInformationMessage('Start all tests.');
11 |
12 | test('Sample test', () => {
13 | assert.equal(-1, [1, 2, 3].indexOf(5));
14 | assert.equal(-1, [1, 2, 3].indexOf(0));
15 | });
16 | });
17 | */
18 |
--------------------------------------------------------------------------------
/src/test/suite/index.ts:
--------------------------------------------------------------------------------
1 | import * as path from 'path';
2 | import * as Mocha from 'mocha';
3 | import * as glob from 'glob';
4 |
5 | export function run(): Promise {
6 | // Create the mocha test
7 | const mocha = new Mocha({
8 | ui: 'tdd',
9 | });
10 | mocha.useColors(true);
11 |
12 | const testsRoot = path.resolve(__dirname, '..');
13 |
14 | return new Promise((c, e) => {
15 | glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
16 | if (err) {
17 | return e(err);
18 | }
19 |
20 | // Add files to the test suite
21 | files.forEach(f => mocha.addFile(path.resolve(testsRoot, f)));
22 |
23 | try {
24 | // Run the mocha test
25 | mocha.run(failures => {
26 | if (failures > 0) {
27 | e(new Error(`${failures} tests failed.`));
28 | } else {
29 | c();
30 | }
31 | });
32 | } catch (err) {
33 | e(err);
34 | }
35 | });
36 | });
37 | }
38 |
--------------------------------------------------------------------------------
/src/test/suite/utils/bit/getCommonNamespaces.test.ts:
--------------------------------------------------------------------------------
1 | import * as assert from "assert";
2 | import getCommonNamespaces from "../../../../utils/bit/getCommonNamespaces/getCommonNamespaces";
3 |
4 |
5 |
6 |
7 | suite("get common namespaces", () => {
8 | test("should not return duplicates",()=>{
9 | const bitmap = {
10 | "test/another-component@0.0.1": {
11 | "origin": "AUTHORED",
12 | },
13 | "test/test-component": {
14 | "origin": "AUTHORED"
15 | },
16 | "version": "14.7.1"
17 | };
18 | const commonNames = getCommonNamespaces(bitmap);
19 | assert.deepEqual(commonNames, ["test"]);
20 | });
21 |
22 | test("should return with order",()=>{
23 | const bitmap = {
24 | "testing/test-component": {
25 | "origin": "AUTHORED"
26 | },
27 | "test/another-component@0.0.1": {
28 | "origin": "AUTHORED",
29 | },
30 | "test/test-component": {
31 | "origin": "AUTHORED"
32 | },
33 | "version": "14.7.1"
34 | };
35 | const commonNames = getCommonNamespaces(bitmap);
36 | assert.deepEqual(commonNames, ["test","testing"]);
37 | });
38 |
39 | test("should parse right",()=>{
40 | const bitmap = {
41 | "bmw.my/components/another-component@0.0.1": {
42 | "origin": "AUTHORED",
43 | },
44 | "bmw.my/another-component@0.0.1": {
45 | "origin": "AUTHORED",
46 | },
47 | "test/test-component": {
48 | "origin": "AUTHORED"
49 | },
50 | "version": "14.7.1"
51 | };
52 | const commonNames = getCommonNamespaces(bitmap);
53 | assert.deepEqual(commonNames, ["components", "test"]);
54 | });
55 |
56 | test("should succeed",()=>{
57 | const bitmap = {
58 | "bmw.my/components/flex@0.0.4": {
59 | "origin": "IMPORTED",
60 | },
61 | "testing/another-component@0.0.1": {
62 | "origin": "AUTHORED",
63 | },
64 | "test/test-component": {
65 | "origin": "AUTHORED"
66 | },
67 | "version": "14.7.1"
68 | };
69 | const commonNames = getCommonNamespaces(bitmap);
70 | assert.deepEqual(commonNames, ["testing", "test"]);
71 | });
72 | });
--------------------------------------------------------------------------------
/src/test/suite/utils/commandExecutor.test.ts:
--------------------------------------------------------------------------------
1 | import * as assert from "assert";
2 | import createExecutor from "../../../utils/terminalCommand/createExecutor";
3 | import { before } from "mocha";
4 |
5 |
6 |
7 | suite("Command executor", () => {
8 | let execute: (cmd: string, options?: any) => Promise;
9 | before(() => {
10 | execute = createExecutor({ uri: { fsPath: "" } } as any);
11 | })
12 |
13 | test("successfully", async () => {
14 | assert.doesNotReject(async () => {
15 | let out = await execute("echo hello");
16 | out
17 | })
18 | });
19 |
20 | test("fail because the command is wrong", async () => {
21 | assert.rejects(async () => {
22 | let output = await execute("azjifoazeif");
23 | output
24 | })
25 | });
26 |
27 | });
--------------------------------------------------------------------------------
/src/utils/bit/Component.ts:
--------------------------------------------------------------------------------
1 |
2 | export interface File{
3 | relativePath: string;
4 | test:boolean;
5 | name: string;
6 | }
7 | export default interface Component{
8 | files: File[];
9 | mainFile: string;
10 | trackDir: string;
11 | rootDir: string;
12 | origin: string;
13 | exported: boolean;
14 | }
15 |
16 | export type NameAndComponent = [string, Component]
17 |
--------------------------------------------------------------------------------
/src/utils/bit/bitConfig.ts:
--------------------------------------------------------------------------------
1 | export default {
2 | API_SEARCH_URL:"https://api.bit.dev/search/"
3 | }
4 |
5 |
--------------------------------------------------------------------------------
/src/utils/bit/getBitmap.ts:
--------------------------------------------------------------------------------
1 | import * as path from "path"
2 | import * as fs from "fs";
3 | import { WorkspaceFolder } from "vscode";
4 |
5 | export function getBitmapPath(rootFolder: WorkspaceFolder) {
6 | return path.resolve(rootFolder.uri.fsPath, ".bitmap");
7 | }
8 |
9 | export default function getBitmap(rootFolder: WorkspaceFolder) {
10 | const bitMapFilePath = getBitmapPath(rootFolder);
11 |
12 | const bitMap = fs.readFileSync(bitMapFilePath);
13 |
14 | const components = JSON.parse(bitMap.toString().replace(/^\/\*.*?\*\//, ""));
15 |
16 | return components;
17 | }
18 |
19 | export const createBitmapGetter = (rootFolder: WorkspaceFolder) => () => getBitmap(rootFolder);
--------------------------------------------------------------------------------
/src/utils/bit/getCommonNamespaces/getCommonNamespaces.ts:
--------------------------------------------------------------------------------
1 | export default function getCommonNamespaces(bitmap: any) {
2 |
3 | const namespacesDict = Object.entries(bitmap)
4 | .filter(([key, _]) => key !== "version")
5 | // Remove the imported components, since not all of them are owned
6 | // this maybe should be changed once we install imported components
7 | // via yarn or npm
8 | .filter(([name, component]: any) => component.origin !== "IMPORTED")
9 | .map(([name, _]) => {
10 | //const match = name.match(/^([^\/]*)/);
11 | const match = name.match(/^([^\.]*\.[^\/]*\/)?([^\/.]+)?\/[^@]*/);
12 | return match ? match[2] : "";
13 | })
14 | // Remove the empty ones
15 | .filter(m => !!m)
16 | // Extract the number of occurrences
17 | .reduce((res: any, next: any) => {
18 | res[next] = !res[next] ? 1 : (res[next] + 1);
19 | return res;
20 | }, {});
21 |
22 | return Object.entries(namespacesDict)
23 | // Sort by the number of occurrences
24 | .sort(([name1, occ1]: any, [name2, occ2]: any) => occ2 - occ1)
25 | // Remove the occurrences
26 | .map(([key])=>key);
27 |
28 | }
--------------------------------------------------------------------------------
/src/utils/bit/getCurrentComponentBitmap.ts:
--------------------------------------------------------------------------------
1 | import * as path from "path";
2 | import Component, { NameAndComponent } from "./Component";
3 |
4 |
5 | export class ComponentNotFound { }
6 |
7 | export default function getComponentBitmap(currentFile: any, rootFolder: any, bitmap: any):NameAndComponent {
8 | const relativeCurrentFilePath = path.relative(rootFolder.uri.fsPath, currentFile.uri.fsPath)
9 | .replace(/\\/g, "/")
10 | const relativeCurrentParentPath = path.dirname(relativeCurrentFilePath)
11 | // The current parent might not be the root folder of the component
12 | // We need to check if it's a child of any component
13 | const componentNameAndObject = Object.entries(bitmap)
14 | .filter(([key, _]) => key !== "version")
15 | .find(([key, component]: any) => {
16 | return isChildOf(relativeCurrentFilePath, component.rootDir || component.trackDir)
17 | })
18 |
19 | if (!componentNameAndObject) {
20 | throw new ComponentNotFound;
21 | }
22 |
23 | return componentNameAndObject;
24 | }
25 |
26 | const isChildOf = (child: any, parent: any) => {
27 | if (child === parent) {return false;}
28 | const parentTokens = parent.split('/').filter((i: any) => i.length)
29 | return parentTokens.every((t: any, i: any) => child.split('/')[i] === t)
30 | }
31 |
32 | export const createComponentGetter = (currentFile: any, rootFolder: any, getBitmap: any) => () =>
33 | getComponentBitmap(currentFile(), rootFolder(), getBitmap())
--------------------------------------------------------------------------------
/src/utils/bit/search.ts:
--------------------------------------------------------------------------------
1 | import fetch from "node-fetch";
2 |
3 | export default function search(queryString: string,scope?:string, owner?:string) {
4 |
5 | return fetch("https://api.bit.dev/search/", {
6 | method: "POST",
7 | headers: { "content-type": "application/json" },
8 | body: JSON.stringify({
9 | "queryString": queryString,
10 | "results": {
11 | "type": "component", "aggregatedBy": "none"
12 | },
13 | "context":{
14 | ...(owner && {owners:[owner]}),
15 | ...(scope && {collectionFullNames :[scope]})
16 | },
17 | "limit": 20, "offset": 0
18 | })
19 | }).then((r: any) => r.json())
20 | }
--------------------------------------------------------------------------------
/src/utils/resolver.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from "vscode"
2 |
3 | export function getRootFolder():vscode.WorkspaceFolder{
4 | return (vscode.workspace.workspaceFolders as any)[0];
5 | }
6 |
7 | export function getCurrentFile():vscode.TextDocument{
8 | return vscode.window.activeTextEditor?.document as vscode.TextDocument;
9 | }
--------------------------------------------------------------------------------
/src/utils/terminalCommand/createExecutor.ts:
--------------------------------------------------------------------------------
1 | import * as child_process from "child_process";
2 | import { WorkspaceFolder } from "vscode";
3 | import * as vscode from "vscode"
4 |
5 | const channel = vscode.window.createOutputChannel("Bit.dev");
6 |
7 | export class CommandFailed extends Error{}
8 |
9 | export default function createExecutor(rootFolder: WorkspaceFolder) {
10 | return (command: string, options?: any): Promise => new Promise((resolve, reject) => {
11 | channel.clear();
12 | const cmd = child_process.exec(command, {
13 | cwd: rootFolder.uri.fsPath,
14 | ...options
15 | })
16 |
17 | let output = {
18 | success: "",
19 | error:"",
20 | }
21 | cmd.stdout?.on("data", (data) => {
22 | //success(data.toString());
23 | output.success += data;
24 | channel.appendLine(data.toString())
25 | })
26 |
27 | cmd.stderr?.on("data", data => {
28 | //error(data.toString());
29 | output.error += data;
30 | //vscode.window.showErrorMessage(data.toString());
31 | channel.appendLine(data.toString())
32 | channel.show();
33 | })
34 |
35 | cmd.stdout?.on("end",()=>{
36 | output.error ? reject(new CommandFailed(output.error)) : resolve(output)
37 | })
38 |
39 | })
40 | }
--------------------------------------------------------------------------------
/src/utils/toDashed.ts:
--------------------------------------------------------------------------------
1 | export default function toDashed(original:string){
2 | return original.replace(/([A-Z])/g, (g) =>`-${g[0]}`).replace(/^-/,"").toLowerCase();
3 | }
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "module": "commonjs",
4 | "target": "es6",
5 | "outDir": "out",
6 | "lib": [
7 | "es6"
8 | ],
9 | "sourceMap": true,
10 | "rootDir": "src",
11 | "strict": true /* enable all strict type-checking options */
12 | /* Additional Checks */
13 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
14 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
15 | // "noUnusedParameters": true, /* Report errors on unused parameters. */
16 | },
17 | "exclude": [
18 | "node_modules",
19 | ".vscode-test"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "no-string-throw": true,
4 | "no-unused-expression": true,
5 | "no-duplicate-variable": true,
6 | "curly": true,
7 | "class-name": true,
8 | "semicolon": [
9 | true,
10 | "always"
11 | ],
12 | "triple-equals": true
13 | },
14 | "defaultSeverity": "warning"
15 | }
16 |
--------------------------------------------------------------------------------
/vsc-extension-quickstart.md:
--------------------------------------------------------------------------------
1 | # Welcome to your VS Code Extension
2 |
3 | ## What's in the folder
4 |
5 | * This folder contains all of the files necessary for your extension.
6 | * `package.json` - this is the manifest file in which you declare your extension and command.
7 | * The sample plugin registers a command and defines its title and command name. With this information VS Code can show the command in the command palette. It doesn’t yet need to load the plugin.
8 | * `src/extension.ts` - this is the main file where you will provide the implementation of your command.
9 | * The file exports one function, `activate`, which is called the very first time your extension is activated (in this case by executing the command). Inside the `activate` function we call `registerCommand`.
10 | * We pass the function containing the implementation of the command as the second parameter to `registerCommand`.
11 |
12 | ## Get up and running straight away
13 |
14 | * Press `F5` to open a new window with your extension loaded.
15 | * Run your command from the command palette by pressing (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac) and typing `Hello World`.
16 | * Set breakpoints in your code inside `src/extension.ts` to debug your extension.
17 | * Find output from your extension in the debug console.
18 |
19 | ## Make changes
20 |
21 | * You can relaunch the extension from the debug toolbar after changing code in `src/extension.ts`.
22 | * You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.
23 |
24 |
25 | ## Explore the API
26 |
27 | * You can open the full set of our API when you open the file `node_modules/@types/vscode/index.d.ts`.
28 |
29 | ## Run tests
30 |
31 | * Open the debug viewlet (`Ctrl+Shift+D` or `Cmd+Shift+D` on Mac) and from the launch configuration dropdown pick `Extension Tests`.
32 | * Press `F5` to run the tests in a new window with your extension loaded.
33 | * See the output of the test result in the debug console.
34 | * Make changes to `src/test/suite/extension.test.ts` or create new test files inside the `test/suite` folder.
35 | * The provided test runner will only consider files matching the name pattern `**.test.ts`.
36 | * You can create folders inside the `test` folder to structure your tests any way you want.
37 |
38 | ## Go further
39 |
40 | * Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
41 | * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
42 | * Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
43 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | "@babel/code-frame@^7.0.0":
6 | version "7.8.3"
7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
8 | integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==
9 | dependencies:
10 | "@babel/highlight" "^7.8.3"
11 |
12 | "@babel/highlight@^7.8.3":
13 | version "7.8.3"
14 | resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797"
15 | integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==
16 | dependencies:
17 | chalk "^2.0.0"
18 | esutils "^2.0.2"
19 | js-tokens "^4.0.0"
20 |
21 | "@types/debounce@^1.2.0":
22 | version "1.2.0"
23 | resolved "https://registry.yarnpkg.com/@types/debounce/-/debounce-1.2.0.tgz#9ee99259f41018c640b3929e1bb32c3dcecdb192"
24 | integrity sha512-bWG5wapaWgbss9E238T0R6bfo5Fh3OkeoSt245CM7JJwVwpw6MEBCbIxLq5z8KzsE3uJhzcIuQkyiZmzV3M/Dw==
25 |
26 | "@types/events@*":
27 | version "3.0.0"
28 | resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7"
29 | integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==
30 |
31 | "@types/glob@^7.1.1":
32 | version "7.1.1"
33 | resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575"
34 | integrity sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==
35 | dependencies:
36 | "@types/events" "*"
37 | "@types/minimatch" "*"
38 | "@types/node" "*"
39 |
40 | "@types/minimatch@*":
41 | version "3.0.3"
42 | resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
43 | integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
44 |
45 | "@types/mocha@^5.2.7":
46 | version "5.2.7"
47 | resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.7.tgz#315d570ccb56c53452ff8638738df60726d5b6ea"
48 | integrity sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==
49 |
50 | "@types/node-fetch@^2.5.4":
51 | version "2.5.5"
52 | resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.5.tgz#cd264e20a81f4600a6c52864d38e7fef72485e92"
53 | integrity sha512-IWwjsyYjGw+em3xTvWVQi5MgYKbRs0du57klfTaZkv/B24AEQ/p/IopNeqIYNy3EsfHOpg8ieQSDomPcsYMHpA==
54 | dependencies:
55 | "@types/node" "*"
56 | form-data "^3.0.0"
57 |
58 | "@types/node@*":
59 | version "13.9.1"
60 | resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.1.tgz#96f606f8cd67fb018847d9b61e93997dabdefc72"
61 | integrity sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ==
62 |
63 | "@types/node@^12.11.7":
64 | version "12.12.30"
65 | resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.30.tgz#3501e6f09b954de9c404671cefdbcc5d9d7c45f6"
66 | integrity sha512-sz9MF/zk6qVr3pAnM0BSQvYIBK44tS75QC5N+VbWSE4DjCV/pJ+UzCW/F+vVnl7TkOPcuwQureKNtSSwjBTaMg==
67 |
68 | "@types/vscode@^1.41.0":
69 | version "1.43.0"
70 | resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.43.0.tgz#22276e60034c693b33117f1068ffaac0e89522db"
71 | integrity sha512-kIaR9qzd80rJOxePKpCB/mdy00mz8Apt2QA5Y6rdrKFn13QNFNeP3Hzmsf37Bwh/3cS7QjtAeGSK7wSqAU0sYQ==
72 |
73 | agent-base@4, agent-base@^4.3.0:
74 | version "4.3.0"
75 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
76 | integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==
77 | dependencies:
78 | es6-promisify "^5.0.0"
79 |
80 | ansi-colors@3.2.3:
81 | version "3.2.3"
82 | resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
83 | integrity sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==
84 |
85 | ansi-regex@^3.0.0:
86 | version "3.0.0"
87 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
88 | integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=
89 |
90 | ansi-regex@^4.1.0:
91 | version "4.1.0"
92 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
93 | integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
94 |
95 | ansi-styles@^3.2.0, ansi-styles@^3.2.1:
96 | version "3.2.1"
97 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
98 | integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
99 | dependencies:
100 | color-convert "^1.9.0"
101 |
102 | argparse@^1.0.7:
103 | version "1.0.10"
104 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
105 | integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==
106 | dependencies:
107 | sprintf-js "~1.0.2"
108 |
109 | asynckit@^0.4.0:
110 | version "0.4.0"
111 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
112 | integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
113 |
114 | azure-devops-node-api@^7.2.0:
115 | version "7.2.0"
116 | resolved "https://registry.yarnpkg.com/azure-devops-node-api/-/azure-devops-node-api-7.2.0.tgz#131d4e01cf12ebc6e45569b5e0c5c249e4114d6d"
117 | integrity sha512-pMfGJ6gAQ7LRKTHgiRF+8iaUUeGAI0c8puLaqHLc7B8AR7W6GJLozK9RFeUHFjEGybC9/EB3r67WPd7e46zQ8w==
118 | dependencies:
119 | os "0.1.1"
120 | tunnel "0.0.4"
121 | typed-rest-client "1.2.0"
122 | underscore "1.8.3"
123 |
124 | balanced-match@^1.0.0:
125 | version "1.0.0"
126 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
127 | integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
128 |
129 | boolbase@~1.0.0:
130 | version "1.0.0"
131 | resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
132 | integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
133 |
134 | brace-expansion@^1.1.7:
135 | version "1.1.11"
136 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
137 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
138 | dependencies:
139 | balanced-match "^1.0.0"
140 | concat-map "0.0.1"
141 |
142 | browser-stdout@1.3.1:
143 | version "1.3.1"
144 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
145 | integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==
146 |
147 | buffer-crc32@~0.2.3:
148 | version "0.2.13"
149 | resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
150 | integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
151 |
152 | builtin-modules@^1.1.1:
153 | version "1.1.1"
154 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
155 | integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=
156 |
157 | camelcase@^5.0.0:
158 | version "5.3.1"
159 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
160 | integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
161 |
162 | chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.0, chalk@^2.4.2:
163 | version "2.4.2"
164 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
165 | integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
166 | dependencies:
167 | ansi-styles "^3.2.1"
168 | escape-string-regexp "^1.0.5"
169 | supports-color "^5.3.0"
170 |
171 | cheerio@^1.0.0-rc.1:
172 | version "1.0.0-rc.3"
173 | resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.3.tgz#094636d425b2e9c0f4eb91a46c05630c9a1a8bf6"
174 | integrity sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA==
175 | dependencies:
176 | css-select "~1.2.0"
177 | dom-serializer "~0.1.1"
178 | entities "~1.1.1"
179 | htmlparser2 "^3.9.1"
180 | lodash "^4.15.0"
181 | parse5 "^3.0.1"
182 |
183 | cliui@^5.0.0:
184 | version "5.0.0"
185 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
186 | integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==
187 | dependencies:
188 | string-width "^3.1.0"
189 | strip-ansi "^5.2.0"
190 | wrap-ansi "^5.1.0"
191 |
192 | color-convert@^1.9.0:
193 | version "1.9.3"
194 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
195 | integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
196 | dependencies:
197 | color-name "1.1.3"
198 |
199 | color-name@1.1.3:
200 | version "1.1.3"
201 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
202 | integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
203 |
204 | combined-stream@^1.0.8:
205 | version "1.0.8"
206 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
207 | integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
208 | dependencies:
209 | delayed-stream "~1.0.0"
210 |
211 | commander@^2.12.1, commander@^2.8.1:
212 | version "2.20.3"
213 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
214 | integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
215 |
216 | concat-map@0.0.1:
217 | version "0.0.1"
218 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
219 | integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
220 |
221 | css-select@~1.2.0:
222 | version "1.2.0"
223 | resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858"
224 | integrity sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=
225 | dependencies:
226 | boolbase "~1.0.0"
227 | css-what "2.1"
228 | domutils "1.5.1"
229 | nth-check "~1.0.1"
230 |
231 | css-what@2.1:
232 | version "2.1.3"
233 | resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2"
234 | integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==
235 |
236 | debounce@^1.2.0:
237 | version "1.2.0"
238 | resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.0.tgz#44a540abc0ea9943018dc0eaa95cce87f65cd131"
239 | integrity sha512-mYtLl1xfZLi1m4RtQYlZgJUNQjl4ZxVnHzIR8nLLgi4q1YT8o/WM+MK/f8yfcc9s5Ir5zRaPZyZU6xs1Syoocg==
240 |
241 | debug@3.1.0:
242 | version "3.1.0"
243 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
244 | integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
245 | dependencies:
246 | ms "2.0.0"
247 |
248 | debug@3.2.6, debug@^3.1.0:
249 | version "3.2.6"
250 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
251 | integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
252 | dependencies:
253 | ms "^2.1.1"
254 |
255 | decamelize@^1.2.0:
256 | version "1.2.0"
257 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
258 | integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=
259 |
260 | define-properties@^1.1.2, define-properties@^1.1.3:
261 | version "1.1.3"
262 | resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
263 | integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==
264 | dependencies:
265 | object-keys "^1.0.12"
266 |
267 | delayed-stream@~1.0.0:
268 | version "1.0.0"
269 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
270 | integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
271 |
272 | denodeify@^1.2.1:
273 | version "1.2.1"
274 | resolved "https://registry.yarnpkg.com/denodeify/-/denodeify-1.2.1.tgz#3a36287f5034e699e7577901052c2e6c94251631"
275 | integrity sha1-OjYof1A05pnnV3kBBSwubJQlFjE=
276 |
277 | didyoumean@^1.2.1:
278 | version "1.2.1"
279 | resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.1.tgz#e92edfdada6537d484d73c0172fd1eba0c4976ff"
280 | integrity sha1-6S7f2tplN9SE1zwBcv0eugxJdv8=
281 |
282 | diff@3.5.0:
283 | version "3.5.0"
284 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
285 | integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
286 |
287 | diff@^4.0.1:
288 | version "4.0.2"
289 | resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
290 | integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
291 |
292 | dom-serializer@0:
293 | version "0.2.2"
294 | resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51"
295 | integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==
296 | dependencies:
297 | domelementtype "^2.0.1"
298 | entities "^2.0.0"
299 |
300 | dom-serializer@~0.1.1:
301 | version "0.1.1"
302 | resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0"
303 | integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==
304 | dependencies:
305 | domelementtype "^1.3.0"
306 | entities "^1.1.1"
307 |
308 | domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1:
309 | version "1.3.1"
310 | resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
311 | integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==
312 |
313 | domelementtype@^2.0.1:
314 | version "2.0.1"
315 | resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d"
316 | integrity sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==
317 |
318 | domhandler@^2.3.0:
319 | version "2.4.2"
320 | resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803"
321 | integrity sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==
322 | dependencies:
323 | domelementtype "1"
324 |
325 | domutils@1.5.1:
326 | version "1.5.1"
327 | resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf"
328 | integrity sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=
329 | dependencies:
330 | dom-serializer "0"
331 | domelementtype "1"
332 |
333 | domutils@^1.5.1:
334 | version "1.7.0"
335 | resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
336 | integrity sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==
337 | dependencies:
338 | dom-serializer "0"
339 | domelementtype "1"
340 |
341 | emoji-regex@^7.0.1:
342 | version "7.0.3"
343 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
344 | integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==
345 |
346 | entities@^1.1.1, entities@~1.1.1:
347 | version "1.1.2"
348 | resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
349 | integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==
350 |
351 | entities@^2.0.0:
352 | version "2.0.0"
353 | resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"
354 | integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==
355 |
356 | es-abstract@^1.17.0-next.1:
357 | version "1.17.4"
358 | resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.4.tgz#e3aedf19706b20e7c2594c35fc0d57605a79e184"
359 | integrity sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==
360 | dependencies:
361 | es-to-primitive "^1.2.1"
362 | function-bind "^1.1.1"
363 | has "^1.0.3"
364 | has-symbols "^1.0.1"
365 | is-callable "^1.1.5"
366 | is-regex "^1.0.5"
367 | object-inspect "^1.7.0"
368 | object-keys "^1.1.1"
369 | object.assign "^4.1.0"
370 | string.prototype.trimleft "^2.1.1"
371 | string.prototype.trimright "^2.1.1"
372 |
373 | es-to-primitive@^1.2.1:
374 | version "1.2.1"
375 | resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
376 | integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==
377 | dependencies:
378 | is-callable "^1.1.4"
379 | is-date-object "^1.0.1"
380 | is-symbol "^1.0.2"
381 |
382 | es6-promise@^4.0.3:
383 | version "4.2.8"
384 | resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
385 | integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==
386 |
387 | es6-promisify@^5.0.0:
388 | version "5.0.0"
389 | resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203"
390 | integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=
391 | dependencies:
392 | es6-promise "^4.0.3"
393 |
394 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.5:
395 | version "1.0.5"
396 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
397 | integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
398 |
399 | esprima@^4.0.0:
400 | version "4.0.1"
401 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
402 | integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
403 |
404 | esutils@^2.0.2:
405 | version "2.0.3"
406 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
407 | integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
408 |
409 | fd-slicer@~1.1.0:
410 | version "1.1.0"
411 | resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
412 | integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=
413 | dependencies:
414 | pend "~1.2.0"
415 |
416 | find-up@3.0.0, find-up@^3.0.0:
417 | version "3.0.0"
418 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73"
419 | integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==
420 | dependencies:
421 | locate-path "^3.0.0"
422 |
423 | flat@^4.1.0:
424 | version "4.1.0"
425 | resolved "https://registry.yarnpkg.com/flat/-/flat-4.1.0.tgz#090bec8b05e39cba309747f1d588f04dbaf98db2"
426 | integrity sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw==
427 | dependencies:
428 | is-buffer "~2.0.3"
429 |
430 | form-data@^3.0.0:
431 | version "3.0.0"
432 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682"
433 | integrity sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==
434 | dependencies:
435 | asynckit "^0.4.0"
436 | combined-stream "^1.0.8"
437 | mime-types "^2.1.12"
438 |
439 | fs.realpath@^1.0.0:
440 | version "1.0.0"
441 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
442 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
443 |
444 | function-bind@^1.1.1:
445 | version "1.1.1"
446 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
447 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
448 |
449 | get-caller-file@^2.0.1:
450 | version "2.0.5"
451 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
452 | integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
453 |
454 | glob@7.1.3:
455 | version "7.1.3"
456 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
457 | integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==
458 | dependencies:
459 | fs.realpath "^1.0.0"
460 | inflight "^1.0.4"
461 | inherits "2"
462 | minimatch "^3.0.4"
463 | once "^1.3.0"
464 | path-is-absolute "^1.0.0"
465 |
466 | glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.5:
467 | version "7.1.6"
468 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
469 | integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
470 | dependencies:
471 | fs.realpath "^1.0.0"
472 | inflight "^1.0.4"
473 | inherits "2"
474 | minimatch "^3.0.4"
475 | once "^1.3.0"
476 | path-is-absolute "^1.0.0"
477 |
478 | growl@1.10.5:
479 | version "1.10.5"
480 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
481 | integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
482 |
483 | has-flag@^3.0.0:
484 | version "3.0.0"
485 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
486 | integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
487 |
488 | has-symbols@^1.0.0, has-symbols@^1.0.1:
489 | version "1.0.1"
490 | resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
491 | integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==
492 |
493 | has@^1.0.3:
494 | version "1.0.3"
495 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
496 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
497 | dependencies:
498 | function-bind "^1.1.1"
499 |
500 | he@1.2.0:
501 | version "1.2.0"
502 | resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
503 | integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
504 |
505 | htmlparser2@^3.9.1:
506 | version "3.10.1"
507 | resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"
508 | integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==
509 | dependencies:
510 | domelementtype "^1.3.1"
511 | domhandler "^2.3.0"
512 | domutils "^1.5.1"
513 | entities "^1.1.1"
514 | inherits "^2.0.1"
515 | readable-stream "^3.1.1"
516 |
517 | http-proxy-agent@^2.1.0:
518 | version "2.1.0"
519 | resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
520 | integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==
521 | dependencies:
522 | agent-base "4"
523 | debug "3.1.0"
524 |
525 | https-proxy-agent@^2.2.4:
526 | version "2.2.4"
527 | resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b"
528 | integrity sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==
529 | dependencies:
530 | agent-base "^4.3.0"
531 | debug "^3.1.0"
532 |
533 | inflight@^1.0.4:
534 | version "1.0.6"
535 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
536 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
537 | dependencies:
538 | once "^1.3.0"
539 | wrappy "1"
540 |
541 | inherits@2, inherits@^2.0.1, inherits@^2.0.3:
542 | version "2.0.4"
543 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
544 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
545 |
546 | is-buffer@~2.0.3:
547 | version "2.0.4"
548 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.4.tgz#3e572f23c8411a5cfd9557c849e3665e0b290623"
549 | integrity sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==
550 |
551 | is-callable@^1.1.4, is-callable@^1.1.5:
552 | version "1.1.5"
553 | resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab"
554 | integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==
555 |
556 | is-date-object@^1.0.1:
557 | version "1.0.2"
558 | resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e"
559 | integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==
560 |
561 | is-fullwidth-code-point@^2.0.0:
562 | version "2.0.0"
563 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
564 | integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=
565 |
566 | is-regex@^1.0.5:
567 | version "1.0.5"
568 | resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae"
569 | integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==
570 | dependencies:
571 | has "^1.0.3"
572 |
573 | is-symbol@^1.0.2:
574 | version "1.0.3"
575 | resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937"
576 | integrity sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==
577 | dependencies:
578 | has-symbols "^1.0.1"
579 |
580 | isexe@^2.0.0:
581 | version "2.0.0"
582 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
583 | integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=
584 |
585 | js-tokens@^4.0.0:
586 | version "4.0.0"
587 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
588 | integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
589 |
590 | js-yaml@3.13.1, js-yaml@^3.13.1:
591 | version "3.13.1"
592 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
593 | integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
594 | dependencies:
595 | argparse "^1.0.7"
596 | esprima "^4.0.0"
597 |
598 | linkify-it@^2.0.0:
599 | version "2.2.0"
600 | resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-2.2.0.tgz#e3b54697e78bf915c70a38acd78fd09e0058b1cf"
601 | integrity sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==
602 | dependencies:
603 | uc.micro "^1.0.1"
604 |
605 | locate-path@^3.0.0:
606 | version "3.0.0"
607 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e"
608 | integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==
609 | dependencies:
610 | p-locate "^3.0.0"
611 | path-exists "^3.0.0"
612 |
613 | lodash@^4.15.0, lodash@^4.17.15:
614 | version "4.17.19"
615 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
616 | integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
617 |
618 | log-symbols@2.2.0:
619 | version "2.2.0"
620 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
621 | integrity sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==
622 | dependencies:
623 | chalk "^2.0.1"
624 |
625 | markdown-it@^8.3.1:
626 | version "8.4.2"
627 | resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.2.tgz#386f98998dc15a37722aa7722084f4020bdd9b54"
628 | integrity sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==
629 | dependencies:
630 | argparse "^1.0.7"
631 | entities "~1.1.1"
632 | linkify-it "^2.0.0"
633 | mdurl "^1.0.1"
634 | uc.micro "^1.0.5"
635 |
636 | mdurl@^1.0.1:
637 | version "1.0.1"
638 | resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
639 | integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
640 |
641 | mime-db@1.43.0:
642 | version "1.43.0"
643 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
644 | integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==
645 |
646 | mime-types@^2.1.12:
647 | version "2.1.26"
648 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
649 | integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==
650 | dependencies:
651 | mime-db "1.43.0"
652 |
653 | mime@^1.3.4:
654 | version "1.6.0"
655 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
656 | integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==
657 |
658 | minimatch@3.0.4, minimatch@^3.0.3, minimatch@^3.0.4:
659 | version "3.0.4"
660 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
661 | integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
662 | dependencies:
663 | brace-expansion "^1.1.7"
664 |
665 | minimist@0.0.8:
666 | version "0.0.8"
667 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
668 | integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
669 |
670 | mkdirp@0.5.1, mkdirp@^0.5.1:
671 | version "0.5.1"
672 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
673 | integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
674 | dependencies:
675 | minimist "0.0.8"
676 |
677 | mocha@^6.2.2:
678 | version "6.2.2"
679 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-6.2.2.tgz#5d8987e28940caf8957a7d7664b910dc5b2fea20"
680 | integrity sha512-FgDS9Re79yU1xz5d+C4rv1G7QagNGHZ+iXF81hO8zY35YZZcLEsJVfFolfsqKFWunATEvNzMK0r/CwWd/szO9A==
681 | dependencies:
682 | ansi-colors "3.2.3"
683 | browser-stdout "1.3.1"
684 | debug "3.2.6"
685 | diff "3.5.0"
686 | escape-string-regexp "1.0.5"
687 | find-up "3.0.0"
688 | glob "7.1.3"
689 | growl "1.10.5"
690 | he "1.2.0"
691 | js-yaml "3.13.1"
692 | log-symbols "2.2.0"
693 | minimatch "3.0.4"
694 | mkdirp "0.5.1"
695 | ms "2.1.1"
696 | node-environment-flags "1.0.5"
697 | object.assign "4.1.0"
698 | strip-json-comments "2.0.1"
699 | supports-color "6.0.0"
700 | which "1.3.1"
701 | wide-align "1.1.3"
702 | yargs "13.3.0"
703 | yargs-parser "13.1.1"
704 | yargs-unparser "1.6.0"
705 |
706 | ms@2.0.0:
707 | version "2.0.0"
708 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
709 | integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
710 |
711 | ms@2.1.1:
712 | version "2.1.1"
713 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
714 | integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==
715 |
716 | ms@^2.1.1:
717 | version "2.1.2"
718 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
719 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
720 |
721 | mute-stream@~0.0.4:
722 | version "0.0.8"
723 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
724 | integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
725 |
726 | node-environment-flags@1.0.5:
727 | version "1.0.5"
728 | resolved "https://registry.yarnpkg.com/node-environment-flags/-/node-environment-flags-1.0.5.tgz#fa930275f5bf5dae188d6192b24b4c8bbac3d76a"
729 | integrity sha512-VNYPRfGfmZLx0Ye20jWzHUjyTW/c+6Wq+iLhDzUI4XmhrDd9l/FozXV3F2xOaXjvp0co0+v1YSR3CMP6g+VvLQ==
730 | dependencies:
731 | object.getownpropertydescriptors "^2.0.3"
732 | semver "^5.7.0"
733 |
734 | node-fetch@^2.6.1:
735 | version "2.6.1"
736 | resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
737 | integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
738 |
739 | nth-check@~1.0.1:
740 | version "1.0.2"
741 | resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"
742 | integrity sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==
743 | dependencies:
744 | boolbase "~1.0.0"
745 |
746 | object-inspect@^1.7.0:
747 | version "1.7.0"
748 | resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
749 | integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==
750 |
751 | object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1:
752 | version "1.1.1"
753 | resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
754 | integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==
755 |
756 | object.assign@4.1.0, object.assign@^4.1.0:
757 | version "4.1.0"
758 | resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
759 | integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==
760 | dependencies:
761 | define-properties "^1.1.2"
762 | function-bind "^1.1.1"
763 | has-symbols "^1.0.0"
764 | object-keys "^1.0.11"
765 |
766 | object.getownpropertydescriptors@^2.0.3:
767 | version "2.1.0"
768 | resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649"
769 | integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==
770 | dependencies:
771 | define-properties "^1.1.3"
772 | es-abstract "^1.17.0-next.1"
773 |
774 | once@^1.3.0:
775 | version "1.4.0"
776 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
777 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
778 | dependencies:
779 | wrappy "1"
780 |
781 | os-homedir@^1.0.0:
782 | version "1.0.2"
783 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
784 | integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M=
785 |
786 | os-tmpdir@^1.0.0, os-tmpdir@~1.0.1:
787 | version "1.0.2"
788 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
789 | integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
790 |
791 | os@0.1.1:
792 | version "0.1.1"
793 | resolved "https://registry.yarnpkg.com/os/-/os-0.1.1.tgz#208845e89e193ad4d971474b93947736a56d13f3"
794 | integrity sha1-IIhF6J4ZOtTZcUdLk5R3NqVtE/M=
795 |
796 | osenv@^0.1.3:
797 | version "0.1.5"
798 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
799 | integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==
800 | dependencies:
801 | os-homedir "^1.0.0"
802 | os-tmpdir "^1.0.0"
803 |
804 | p-limit@^2.0.0:
805 | version "2.2.2"
806 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e"
807 | integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==
808 | dependencies:
809 | p-try "^2.0.0"
810 |
811 | p-locate@^3.0.0:
812 | version "3.0.0"
813 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4"
814 | integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==
815 | dependencies:
816 | p-limit "^2.0.0"
817 |
818 | p-try@^2.0.0:
819 | version "2.2.0"
820 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
821 | integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
822 |
823 | parse-semver@^1.1.1:
824 | version "1.1.1"
825 | resolved "https://registry.yarnpkg.com/parse-semver/-/parse-semver-1.1.1.tgz#9a4afd6df063dc4826f93fba4a99cf223f666cb8"
826 | integrity sha1-mkr9bfBj3Egm+T+6SpnPIj9mbLg=
827 | dependencies:
828 | semver "^5.1.0"
829 |
830 | parse5@^3.0.1:
831 | version "3.0.3"
832 | resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c"
833 | integrity sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==
834 | dependencies:
835 | "@types/node" "*"
836 |
837 | path-exists@^3.0.0:
838 | version "3.0.0"
839 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
840 | integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=
841 |
842 | path-is-absolute@^1.0.0:
843 | version "1.0.1"
844 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
845 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
846 |
847 | path-parse@^1.0.6:
848 | version "1.0.6"
849 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
850 | integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
851 |
852 | pend@~1.2.0:
853 | version "1.2.0"
854 | resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
855 | integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA=
856 |
857 | read@^1.0.7:
858 | version "1.0.7"
859 | resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4"
860 | integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=
861 | dependencies:
862 | mute-stream "~0.0.4"
863 |
864 | readable-stream@^3.1.1:
865 | version "3.6.0"
866 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
867 | integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
868 | dependencies:
869 | inherits "^2.0.3"
870 | string_decoder "^1.1.1"
871 | util-deprecate "^1.0.1"
872 |
873 | require-directory@^2.1.1:
874 | version "2.1.1"
875 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
876 | integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I=
877 |
878 | require-main-filename@^2.0.0:
879 | version "2.0.0"
880 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
881 | integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==
882 |
883 | resolve@^1.3.2:
884 | version "1.15.1"
885 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8"
886 | integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==
887 | dependencies:
888 | path-parse "^1.0.6"
889 |
890 | rimraf@^2.6.3:
891 | version "2.7.1"
892 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
893 | integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
894 | dependencies:
895 | glob "^7.1.3"
896 |
897 | safe-buffer@~5.2.0:
898 | version "5.2.0"
899 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
900 | integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==
901 |
902 | semver@^5.1.0, semver@^5.3.0, semver@^5.7.0:
903 | version "5.7.1"
904 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
905 | integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
906 |
907 | set-blocking@^2.0.0:
908 | version "2.0.0"
909 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
910 | integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
911 |
912 | sprintf-js@~1.0.2:
913 | version "1.0.3"
914 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
915 | integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
916 |
917 | "string-width@^1.0.2 || 2":
918 | version "2.1.1"
919 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
920 | integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
921 | dependencies:
922 | is-fullwidth-code-point "^2.0.0"
923 | strip-ansi "^4.0.0"
924 |
925 | string-width@^3.0.0, string-width@^3.1.0:
926 | version "3.1.0"
927 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
928 | integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==
929 | dependencies:
930 | emoji-regex "^7.0.1"
931 | is-fullwidth-code-point "^2.0.0"
932 | strip-ansi "^5.1.0"
933 |
934 | string.prototype.trimleft@^2.1.1:
935 | version "2.1.1"
936 | resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74"
937 | integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==
938 | dependencies:
939 | define-properties "^1.1.3"
940 | function-bind "^1.1.1"
941 |
942 | string.prototype.trimright@^2.1.1:
943 | version "2.1.1"
944 | resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9"
945 | integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==
946 | dependencies:
947 | define-properties "^1.1.3"
948 | function-bind "^1.1.1"
949 |
950 | string_decoder@^1.1.1:
951 | version "1.3.0"
952 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
953 | integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
954 | dependencies:
955 | safe-buffer "~5.2.0"
956 |
957 | strip-ansi@^4.0.0:
958 | version "4.0.0"
959 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
960 | integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8=
961 | dependencies:
962 | ansi-regex "^3.0.0"
963 |
964 | strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
965 | version "5.2.0"
966 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
967 | integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
968 | dependencies:
969 | ansi-regex "^4.1.0"
970 |
971 | strip-json-comments@2.0.1:
972 | version "2.0.1"
973 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
974 | integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
975 |
976 | supports-color@6.0.0:
977 | version "6.0.0"
978 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.0.0.tgz#76cfe742cf1f41bb9b1c29ad03068c05b4c0e40a"
979 | integrity sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==
980 | dependencies:
981 | has-flag "^3.0.0"
982 |
983 | supports-color@^5.3.0:
984 | version "5.5.0"
985 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
986 | integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
987 | dependencies:
988 | has-flag "^3.0.0"
989 |
990 | tmp@0.0.29:
991 | version "0.0.29"
992 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.29.tgz#f25125ff0dd9da3ccb0c2dd371ee1288bb9128c0"
993 | integrity sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA=
994 | dependencies:
995 | os-tmpdir "~1.0.1"
996 |
997 | tslib@^1.8.0, tslib@^1.8.1:
998 | version "1.11.1"
999 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"
1000 | integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==
1001 |
1002 | tslint@^5.20.0:
1003 | version "5.20.1"
1004 | resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.20.1.tgz#e401e8aeda0152bc44dd07e614034f3f80c67b7d"
1005 | integrity sha512-EcMxhzCFt8k+/UP5r8waCf/lzmeSyVlqxqMEDQE7rWYiQky8KpIBz1JAoYXfROHrPZ1XXd43q8yQnULOLiBRQg==
1006 | dependencies:
1007 | "@babel/code-frame" "^7.0.0"
1008 | builtin-modules "^1.1.1"
1009 | chalk "^2.3.0"
1010 | commander "^2.12.1"
1011 | diff "^4.0.1"
1012 | glob "^7.1.1"
1013 | js-yaml "^3.13.1"
1014 | minimatch "^3.0.4"
1015 | mkdirp "^0.5.1"
1016 | resolve "^1.3.2"
1017 | semver "^5.3.0"
1018 | tslib "^1.8.0"
1019 | tsutils "^2.29.0"
1020 |
1021 | tsutils@^2.29.0:
1022 | version "2.29.0"
1023 | resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.29.0.tgz#32b488501467acbedd4b85498673a0812aca0b99"
1024 | integrity sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==
1025 | dependencies:
1026 | tslib "^1.8.1"
1027 |
1028 | tunnel@0.0.4:
1029 | version "0.0.4"
1030 | resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.4.tgz#2d3785a158c174c9a16dc2c046ec5fc5f1742213"
1031 | integrity sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=
1032 |
1033 | typed-rest-client@1.2.0:
1034 | version "1.2.0"
1035 | resolved "https://registry.yarnpkg.com/typed-rest-client/-/typed-rest-client-1.2.0.tgz#723085d203f38d7d147271e5ed3a75488eb44a02"
1036 | integrity sha512-FrUshzZ1yxH8YwGR29PWWnfksLEILbWJydU7zfIRkyH7kAEzB62uMAl2WY6EyolWpLpVHeJGgQm45/MaruaHpw==
1037 | dependencies:
1038 | tunnel "0.0.4"
1039 | underscore "1.8.3"
1040 |
1041 | typescript@^3.6.4:
1042 | version "3.8.3"
1043 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
1044 | integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
1045 |
1046 | uc.micro@^1.0.1, uc.micro@^1.0.5:
1047 | version "1.0.6"
1048 | resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
1049 | integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
1050 |
1051 | underscore@1.8.3:
1052 | version "1.8.3"
1053 | resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022"
1054 | integrity sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=
1055 |
1056 | url-join@^1.1.0:
1057 | version "1.1.0"
1058 | resolved "https://registry.yarnpkg.com/url-join/-/url-join-1.1.0.tgz#741c6c2f4596c4830d6718460920d0c92202dc78"
1059 | integrity sha1-dBxsL0WWxIMNZxhGCSDQySIC3Hg=
1060 |
1061 | util-deprecate@^1.0.1:
1062 | version "1.0.2"
1063 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
1064 | integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
1065 |
1066 | vsce@^1.71.0:
1067 | version "1.74.0"
1068 | resolved "https://registry.yarnpkg.com/vsce/-/vsce-1.74.0.tgz#ed70a20d08c70e63d21b99fc35428c4c8efc0a82"
1069 | integrity sha512-8zWM9bZBNn9my40kkxAxdY4nhb9ADfazXsyDgx1thbRaLPbmPTlmqQ55vCAyWYFEi6XbJv8w599vzVUqsU1gHg==
1070 | dependencies:
1071 | azure-devops-node-api "^7.2.0"
1072 | chalk "^2.4.2"
1073 | cheerio "^1.0.0-rc.1"
1074 | commander "^2.8.1"
1075 | denodeify "^1.2.1"
1076 | didyoumean "^1.2.1"
1077 | glob "^7.0.6"
1078 | lodash "^4.17.15"
1079 | markdown-it "^8.3.1"
1080 | mime "^1.3.4"
1081 | minimatch "^3.0.3"
1082 | osenv "^0.1.3"
1083 | parse-semver "^1.1.1"
1084 | read "^1.0.7"
1085 | semver "^5.1.0"
1086 | tmp "0.0.29"
1087 | typed-rest-client "1.2.0"
1088 | url-join "^1.1.0"
1089 | yauzl "^2.3.1"
1090 | yazl "^2.2.2"
1091 |
1092 | vscode-test@^1.2.2:
1093 | version "1.3.0"
1094 | resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-1.3.0.tgz#3310ab385d9b887b4c82e8f52be1030e7cf9493d"
1095 | integrity sha512-LddukcBiSU2FVTDr3c1D8lwkiOvwlJdDL2hqVbn6gIz+rpTqUCkMZSKYm94Y1v0WXlHSDQBsXyY+tchWQgGVsw==
1096 | dependencies:
1097 | http-proxy-agent "^2.1.0"
1098 | https-proxy-agent "^2.2.4"
1099 | rimraf "^2.6.3"
1100 |
1101 | which-module@^2.0.0:
1102 | version "2.0.0"
1103 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
1104 | integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
1105 |
1106 | which@1.3.1:
1107 | version "1.3.1"
1108 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
1109 | integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
1110 | dependencies:
1111 | isexe "^2.0.0"
1112 |
1113 | wide-align@1.1.3:
1114 | version "1.1.3"
1115 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
1116 | integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==
1117 | dependencies:
1118 | string-width "^1.0.2 || 2"
1119 |
1120 | wrap-ansi@^5.1.0:
1121 | version "5.1.0"
1122 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
1123 | integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==
1124 | dependencies:
1125 | ansi-styles "^3.2.0"
1126 | string-width "^3.0.0"
1127 | strip-ansi "^5.0.0"
1128 |
1129 | wrappy@1:
1130 | version "1.0.2"
1131 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
1132 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
1133 |
1134 | y18n@^4.0.0:
1135 | version "4.0.0"
1136 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
1137 | integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==
1138 |
1139 | yargs-parser@13.1.1:
1140 | version "13.1.1"
1141 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0"
1142 | integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==
1143 | dependencies:
1144 | camelcase "^5.0.0"
1145 | decamelize "^1.2.0"
1146 |
1147 | yargs-parser@^13.1.1:
1148 | version "13.1.2"
1149 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38"
1150 | integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==
1151 | dependencies:
1152 | camelcase "^5.0.0"
1153 | decamelize "^1.2.0"
1154 |
1155 | yargs-unparser@1.6.0:
1156 | version "1.6.0"
1157 | resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-1.6.0.tgz#ef25c2c769ff6bd09e4b0f9d7c605fb27846ea9f"
1158 | integrity sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==
1159 | dependencies:
1160 | flat "^4.1.0"
1161 | lodash "^4.17.15"
1162 | yargs "^13.3.0"
1163 |
1164 | yargs@13.3.0, yargs@^13.3.0:
1165 | version "13.3.0"
1166 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83"
1167 | integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==
1168 | dependencies:
1169 | cliui "^5.0.0"
1170 | find-up "^3.0.0"
1171 | get-caller-file "^2.0.1"
1172 | require-directory "^2.1.1"
1173 | require-main-filename "^2.0.0"
1174 | set-blocking "^2.0.0"
1175 | string-width "^3.0.0"
1176 | which-module "^2.0.0"
1177 | y18n "^4.0.0"
1178 | yargs-parser "^13.1.1"
1179 |
1180 | yauzl@^2.3.1:
1181 | version "2.10.0"
1182 | resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
1183 | integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=
1184 | dependencies:
1185 | buffer-crc32 "~0.2.3"
1186 | fd-slicer "~1.1.0"
1187 |
1188 | yazl@^2.2.2:
1189 | version "2.5.1"
1190 | resolved "https://registry.yarnpkg.com/yazl/-/yazl-2.5.1.tgz#a3d65d3dd659a5b0937850e8609f22fffa2b5c35"
1191 | integrity sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw==
1192 | dependencies:
1193 | buffer-crc32 "~0.2.3"
1194 |
--------------------------------------------------------------------------------