Skip to content

Commit a691ff9

Browse files
committed
first commit for release
0 parents  commit a691ff9

Some content is hidden

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

43 files changed

+12865
-0
lines changed

.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": [
9+
"@typescript-eslint"
10+
],
11+
"rules": {
12+
"@typescript-eslint/naming-convention": "warn",
13+
"@typescript-eslint/semi": "warn",
14+
"curly": "warn",
15+
"eqeqeq": "warn",
16+
"no-throw-literal": "warn",
17+
"semi": "off"
18+
},
19+
"ignorePatterns": [
20+
"out",
21+
"dist",
22+
"**/*.d.ts"
23+
]
24+
}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
out/**
3+
client/bin/**
4+
client/out/**
5+
client/node_modules/**
6+
server/bin/**
7+
server/out/**
8+
server/node_modules/**

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint"
6+
]
7+
}

.vscode/launch.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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": "Launch Client",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"runtimeExecutable": "${execPath}",
13+
"args": [
14+
"--extensionDevelopmentPath=${workspaceRoot}"
15+
],
16+
"outFiles": [
17+
"${workspaceRoot}/client/out/**/*.js"
18+
],
19+
"preLaunchTask": {
20+
"type": "npm",
21+
"script": "watch"
22+
}
23+
},
24+
{
25+
"name": "Attach to Server",
26+
"type": "node",
27+
"request": "attach",
28+
"port": 6009,
29+
"restart": true,
30+
"outFiles": [
31+
"${workspaceRoot}/server/out/**/*.js"
32+
],
33+
},
34+
{
35+
"name": "Attach",
36+
"type": "node",
37+
"request": "attach",
38+
"port": 9229,
39+
}
40+
],
41+
"compounds": [
42+
{
43+
"name": "Client + Server",
44+
"configurations": ["Launch Client", "Attach to Server"]
45+
}
46+
]
47+
}

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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": "compile",
9+
"group": "build",
10+
"presentation": {
11+
"panel": "dedicated",
12+
"reveal": "never"
13+
},
14+
"problemMatcher": [
15+
"$tsc"
16+
]
17+
},
18+
{
19+
"type": "npm",
20+
"script": "watch",
21+
"isBackground": true,
22+
"group": {
23+
"kind": "build",
24+
"isDefault": true
25+
},
26+
"presentation": {
27+
"panel": "dedicated",
28+
"reveal": "never"
29+
},
30+
"problemMatcher": [
31+
"$tsc-watch"
32+
]
33+
}
34+
]
35+
}

.vscodeignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.vscode/**
2+
.vscode-test/**
3+
src/**
4+
.gitignore
5+
.yarnrc
6+
**/tsconfig.json
7+
**/.eslintrc.json
8+
**/*.map
9+
**/*.ts

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 0.0.1(2023.2.6)
2+
3+
First release by Tomoyasu Akashi from OSS Management Solution Group.

LICENSE

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

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Editor for SBOM
2+
3+
## About
4+
5+
Editor for SBOM provides language support for Tag-Value format in [SPDX®](https://spdx.dev/) Specification to VSCode.
6+
7+
Now, this software aims to comply with SPDX Specification 2.2 .
8+
## Usage
9+
10+
After installing in VSCode, all features are enabled when `.spdx` file is open.
11+
## Features
12+
13+
All features work for a part of the specification.
14+
15+
- syntax highlights
16+
- snippets
17+
- everySections
18+
- completion
19+
- SPDXID
20+
- LicenseID
21+
- go to declaration
22+
- SPDXID
23+
- LicenseID
24+
- hover information
25+
- SPDXID description
26+
- LicenseID description
27+
- check syntax errors
28+
29+
## License
30+
31+
Editor for SBOM is licensed under the MIT License. This tool is provided on an "AS IS" bases without any warranties. See LICENSE for details.
32+
## Notification
33+
34+
- SPDX is a trademark of The Linux Foundation.

0 commit comments

Comments
 (0)