Skip to content

Commit 89eca2f

Browse files
authored
Merge pull request #1 from fosslight/develop
feat: environment settings for deployment and marketplace upload
2 parents 19d9241 + e70784a commit 89eca2f

7 files changed

Lines changed: 51 additions & 48 deletions

File tree

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"files.associations": {
3+
"*.ttml": "xml",
4+
"*.ttss": "css"
5+
}
6+
}

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,20 @@ $ yarn compile
2929
#### Run
3030

3131
> Open **src/extension.ts** and press `F5` or run the command Debug: Start Debugging from the Command Palette (`Ctrl+Shift+P`).
32+
33+
### Releasing New Version in VSCode Extention Marketplace
34+
35+
1. Change version number at package.json file
36+
2. Change README.md file of fosslight-scanner directory if needed.
37+
3. Type the below commands in order to the terminal.
38+
39+
```bash
40+
$ npm install -g vsce (only if needed)
41+
```
42+
43+
```bash
44+
$ vsce login lgopensource
45+
```
46+
47+
4. Type the Azure personal access token in the terminal as instructed.
48+
5. Type `vsce publish` and type `y` in for the two 'Do you want to continue?' questions.

fosslight-scanner/README.md

Lines changed: 10 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,35 @@
1-
# fosslight-scanner README
1+
# FOSSLight Scanner README
22

3-
This is the README for your extension "fosslight-scanner". After writing up a brief description, we recommend including the following sections.
3+
FOSSLight Scanner is an opensource project that can perform an analysis for open source compliance at once. It can perform open source analysis of source code, binary and dependency.
44

55
## Features
66

7-
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
7+
This extension enhances user convenience by enabling key functionalities of the Fosslight Scanner project directly within the VS Code development environment. The main features include the functions below and will be consistently updated.
88

9-
For example if there is an image subfolder under your extension project workspace:
9+
1. Running source, binary, and dependency scanner on the root directory
10+
2. Running source scanner on the currently active file in the code editor
1011

11-
\!\[feature X\]\(images/feature-x.png\)
12-
13-
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
1412

1513
## Requirements
1614

17-
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
18-
19-
## Extension Settings
20-
21-
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
22-
23-
For example:
15+
1. Python 3.8+.
16+
2. (Only for windows) Install Microsoft Build Tools (Microsoft Visual C++ 14.0+) from https://visualstudio.microsoft.com/ko/visual-cpp-build-tools/
2417

25-
This extension contributes the following settings:
26-
27-
* `myExtension.enable`: Enable/disable this extension.
28-
* `myExtension.thing`: Set to `blah` to do something.
2918

3019
## Known Issues
3120

32-
Calling out known issues can help limit users opening duplicate issues against your extension.
21+
TBD
3322

3423
## Release Notes
3524

36-
Users appreciate release notes as you update your extension.
37-
3825
### 1.0.0
3926

40-
Initial release of ...
41-
42-
### 1.0.1
43-
44-
Fixed issue #.
45-
46-
### 1.1.0
47-
48-
Added features X, Y, and Z.
49-
50-
---
51-
52-
## Following extension guidelines
53-
54-
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
55-
56-
* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines)
27+
Initial release of FOSSLight Scanner VSCode extension.
5728

58-
## Working with Markdown
5929

60-
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
6130

62-
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
63-
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
64-
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
6531

6632
## For more information
6733

68-
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
69-
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
34+
* [FOSSLight Scanner Official Website](https://fosslight.org)
7035

71-
**Enjoy!**

fosslight-scanner/foss_logo.png

18.6 KB
Loading

fosslight-scanner/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"name": "fosslight-scanner",
33
"displayName": "FOSSLight Scanner",
4-
"description": "A VSCode Extension to run FOSSLight Scanner",
5-
"version": "0.0.1",
4+
"publisher": "lgopensource",
5+
"description": "A VSCode Extension made for the convenient use of FOSSLight Scanner",
6+
"icon": "foss_logo.png",
7+
"version": "0.0.2",
68
"engines": {
79
"vscode": "^1.90.0"
810
},

node_modules/.yarn-integrity

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+

0 commit comments

Comments
 (0)