Skip to content

Commit 7635fbf

Browse files
committed
Add PoC version
1 parent 7a84f91 commit 7635fbf

20 files changed

+3004
-57
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Deploy to GitHub pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-docs:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: node:lts-alpine
13+
environment:
14+
IBM_TELEMETRY_DISABLED: true
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Install Dependencies
20+
run: pnpm ci
21+
22+
- name: Build
23+
run: pnpm run build
24+
25+
- name: Create Pages Artifact
26+
uses: actions/upload-pages-artifact@v3
27+
with:
28+
path: build
29+
30+
deploy:
31+
runs-on: ubuntu-latest
32+
33+
needs: build-docs
34+
35+
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
36+
permissions:
37+
pages: write # to deploy to Pages
38+
id-token: write # to verify the deployment originates from an appropriate source
39+
40+
# Deploy to the github-pages environment
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
45+
steps:
46+
- name: Deploy to GitHub Pages
47+
id: deployment
48+
uses: actions/deploy-pages@v4

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
A small web application that processes a [CycloneDX](https://cyclonedx.org/) SBOM in the browser
44
and displays the contained components and their dependency tree.
55

6+
> ⚠️ It is in PoC state without much error handling. _There will be bugs. 🪲🪲🪲_
7+
68

79
## Developing
810

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@
2323
"@sveltejs/vite-plugin-svelte": "^5.0.0",
2424
"@testing-library/jest-dom": "^6.6.3",
2525
"@testing-library/svelte": "^5.2.4",
26+
"@types/node": "^22.13.4",
27+
"carbon-preprocess-svelte": "^0.11.10",
2628
"eslint": "^9.18.0",
2729
"eslint-config-prettier": "^10.0.1",
2830
"eslint-plugin-svelte": "^2.46.1",
2931
"globals": "^15.14.0",
3032
"jsdom": "^25.0.1",
3133
"prettier": "^3.4.2",
3234
"prettier-plugin-svelte": "^3.3.3",
35+
"sass-embedded": "^1.85.0",
3336
"svelte": "^5.0.0",
3437
"svelte-check": "^4.0.0",
3538
"typescript": "^5.0.0",
@@ -42,5 +45,14 @@
4245
"esbuild"
4346
]
4447
},
45-
"packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
48+
"packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4",
49+
"dependencies": {
50+
"@carbon/charts-svelte": "^1.22.17",
51+
"@carbon/layout": "^11.29.0",
52+
"@carbon/type": "^11.35.0",
53+
"@cyclonedx/cyclonedx-library": "^7.1.0",
54+
"@ibm/plex": "^6.4.1",
55+
"carbon-components-svelte": "^0.87.5",
56+
"carbon-icons-svelte": "^13.2.0"
57+
}
4658
}

0 commit comments

Comments
 (0)