Repository navigation
feat: add companion workspace plugin recommendations catalog - #95
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / PR:
改动类型
改动说明
新增工作区插件推荐同级索引
lithe-plugin-recommendations.json(schemaVersion: 0),不修改lithe-plugin-index.json(保证<= 0.8.10客户端兼容性及现有plugin-index.schema.jsonSHA-256 校验不变)。lithe-plugin-recommendations.json:按pluginID排序定义工作区标志文件与扩展名推荐规则:io.github.lithe-idea.go-support(go.mod、go.work、.go)io.github.lithe-idea.gradle-build(build.gradle、build.gradle.kts、settings.gradle、settings.gradle.kts)io.github.lithe-idea.java-support(build.gradle、build.gradle.kts、pom.xml、.java,coveredBy: ["io.github.lithe-idea.java-navigation"])io.github.lithe-idea.maven-build(pom.xml)scripts/validate-recommendations.mjs:校验schemaVersion: 0、允许字段、标志文件/扩展名/coveredBy规范、规范格式与排序,并与lithe-plugin-index.json交叉校验所有pluginID和coveredBy是否已上架。scripts/store.test.mjs:补充推荐索引及各类非法输入的单测用例。.github/workflows/validate.yml:在Validate index后增加Validate recommendations检查步骤。插件
自检
plugin.json的vendor.signatureRequirement为"none",ID 不在dev.lithe.*(不适用:本次未调整插件发布条目)lithe-plugin-index.json及已发布归档):node --test scripts/store.test.mjs:53 passed, 0 failednode scripts/validate-index.mjs lithe-plugin-index.json:7 plugin(s) validnode scripts/validate-recommendations.mjs lithe-plugin-recommendations.json lithe-plugin-index.json:4 recommendation(s) validplugin.json中声明,并在仓库 README 中说明 (不适用)downloadURL/sha256,没有删除历史版本