mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
33 lines
1.3 KiB
JSON
33 lines
1.3 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Generates pods based on the templates in the corresponding folder.",
|
|
"@id": "urn:solid-server:default:PodResourcesGenerator",
|
|
"@type": "StaticFolderGenerator",
|
|
"templateFolder": "@css:templates/pod",
|
|
"resourcesGenerator": { "@id": "urn:solid-server:default:TemplatedResourcesGenerator" }
|
|
},
|
|
{
|
|
"comment": [
|
|
"Generates resources in the base subfolder of the provided folder.",
|
|
"Authorization configurations should add their corresponding subfolder containing the relevant authorization files."
|
|
],
|
|
"@id": "urn:solid-server:default:TemplatedResourcesGenerator",
|
|
"@type": "SubfolderResourcesGenerator",
|
|
"subfolders": [ "base" ],
|
|
"resourcesGenerator": {
|
|
"@type": "BaseResourcesGenerator",
|
|
"factory": {
|
|
"@type": "ExtensionBasedMapperFactory"
|
|
},
|
|
"templateEngine": {
|
|
"@id": "urn:solid-server:default:TemplateEngine"
|
|
},
|
|
"metadataStrategy": { "@id": "urn:solid-server:default:MetadataStrategy" },
|
|
"store": { "@id": "urn:solid-server:default:ResourceStore" }
|
|
}
|
|
}
|
|
]
|
|
}
|