1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Remove version from component name when considering used plugins in screen docs

This commit is contained in:
Andrew Kingston 2022-09-02 19:58:54 +01:00
parent 0c7e8c2033
commit 0f0e14a64f

View file

@ -55,7 +55,7 @@ exports.save = async ctx => {
.filter(plugin => {
return (
plugin.schema.type === "component" &&
pluginNames.includes(`plugin/${plugin.name}/${plugin.version}`)
pluginNames.includes(`plugin/${plugin.name}`)
)
})
@ -71,6 +71,7 @@ exports.save = async ctx => {
name: plugin.name,
version: plugin.version,
jsUrl: plugin.jsUrl,
hash: plugin.hash,
})
}
})