Skip to content

Commit 49c048a

Browse files
committed
feat: initial implementation; trim CDX SBOM, convert CDX XML to JSON, convert SPDX to CDX
feat: initial implementation; trim CDX SBOM, convert CDX XML to JSON, convert SPDX to CDX
1 parent 5c87273 commit 49c048a

Some content is hidden

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

42 files changed

+465265
-0
lines changed

.github/workflows/validate.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Validate
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
lint:
9+
name: Lint
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: 'lts/*'
16+
cache: 'npm'
17+
18+
- run: npm ci
19+
- run: npm run lint
20+
21+
build:
22+
name: Build
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-node@v4
27+
with:
28+
node-version: 'lts/*'
29+
cache: 'npm'
30+
31+
- run: npm ci
32+
- run: npm run build
33+
34+
build:
35+
name: Test
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: 'lts/*'
42+
cache: 'npm'
43+
44+
- run: npm ci
45+
- run: npm run test

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
.claude
2+
.gemini
3+
.kiro
4+
5+
dist
16
node_modules

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

.oxlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["typescript", "unicorn", "oxc", "node", "promise"]
3+
}

.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"objectWrap": "collapse"
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sourced from https://github.com/CycloneDX/bom-examples/tree/master/SBOM/juice-shop/via_npm/bare

0 commit comments

Comments
 (0)