proper src structure, dockerfile, entrypoint
This commit is contained in:
1 parent
e5828c7d31
commit
73c9f580a1
556 files changed
+1390
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import { json, type RequestHandler } from '@sveltejs/kit';
|
||||
import dependencies from '$lib/data/dependencies.json';
|
||||
|
||||
// External tools used by Dockhand (Docker images)
|
||||
const externalTools = [
|
||||
{
|
||||
name: 'anchore/grype',
|
||||
version: 'latest',
|
||||
license: 'Apache-2.0',
|
||||
repository: 'https://github.com/anchore/grype'
|
||||
},
|
||||
{
|
||||
name: 'aquasec/trivy',
|
||||
version: 'latest',
|
||||
license: 'Apache-2.0',
|
||||
repository: 'https://github.com/aquasecurity/trivy'
|
||||
}
|
||||
];
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
// Combine npm dependencies with external tools, exclude dockhand itself
|
||||
const allDependencies = [...dependencies, ...externalTools]
|
||||
.filter((dep) => dep.name !== 'dockhand')
|
||||
.sort((a, b) => a.name.localeCompare(b.name));
|
||||
return json(allDependencies);
|
||||
};
|
||||
Reference in new issue
Block a user