@sanity-labs/backstage-plugin-trivy 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +20 -14
- package/src/index.ts +10 -0
package/package.json
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity-labs/backstage-plugin-trivy",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"main": "
|
|
5
|
-
"types": "
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"main": "src/index.ts",
|
|
5
|
+
"types": "src/index.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/sanity-labs/backstage-plugin-trivy.git"
|
|
10
|
+
},
|
|
7
11
|
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
12
|
+
"access": "public",
|
|
13
|
+
"main": "dist/index.esm.js",
|
|
14
|
+
"types": "dist/index.d.ts"
|
|
9
15
|
},
|
|
10
16
|
"backstage": {
|
|
11
17
|
"role": "frontend-plugin"
|
|
12
18
|
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"start": "backstage-cli package start",
|
|
21
|
+
"build": "backstage-cli package build",
|
|
22
|
+
"lint": "backstage-cli package lint",
|
|
23
|
+
"test": "backstage-cli package test",
|
|
24
|
+
"clean": "backstage-cli package clean",
|
|
25
|
+
"tsc": "tsc --project tsconfig.json --declaration --emitDeclarationOnly --outDir dist-types/src"
|
|
26
|
+
},
|
|
13
27
|
"dependencies": {
|
|
14
28
|
"@backstage/config": "^1.1.1",
|
|
15
29
|
"@backstage/core-components": "^0.13.10",
|
|
@@ -43,13 +57,5 @@
|
|
|
43
57
|
},
|
|
44
58
|
"files": [
|
|
45
59
|
"dist"
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
"start": "backstage-cli package start",
|
|
49
|
-
"build": "backstage-cli package build",
|
|
50
|
-
"lint": "backstage-cli package lint",
|
|
51
|
-
"test": "backstage-cli package test",
|
|
52
|
-
"clean": "backstage-cli package clean",
|
|
53
|
-
"tsc": "tsc --project tsconfig.json --declaration --emitDeclarationOnly --outDir dist-types/src"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
60
|
+
]
|
|
61
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { trivyPlugin, TrivyPage } from './plugin';
|
|
2
|
+
export { TrivyFindingsCard } from './components/TrivyFindingsCard';
|
|
3
|
+
export { EntityTrivyCard } from './components/EntityTrivyCard';
|
|
4
|
+
export { StandaloneTrivyCard } from './components/StandaloneTrivyCard';
|
|
5
|
+
export { TrivyQueryProvider, SimpleTrivyQueryProvider } from './api/QueryProvider';
|
|
6
|
+
export { useTrivyScans, useTrivyScan, useTrivyLatestScan } from './api/hooks';
|
|
7
|
+
export type { TrivyApi, TrivyScanResult, TrivyFinding, TrivyMetadata } from './api/TrivyApi';
|
|
8
|
+
export { trivyApiRef } from './api/TrivyApi';
|
|
9
|
+
export type { TrivyConfig } from './api/config';
|
|
10
|
+
export { getTrivyConfig, DEFAULT_TRIVY_CONFIG } from './api/config';
|