Repository navigation
feat(index): 收录 mise 0.1.0(需要 toolchainSources 宿主能力) - #32
Closed
FxRayHughes wants to merge 1 commit into
Closed
FxRayHughes wants to merge 1 commit into
FxRayHughes wants to merge 1 commit into
Conversation
Collaborator
|
这个我先 close 了呀,后面你弄好了那个框架合入之后再提 PR 吧 |
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.
改动类型
插件
io.github.fxrayhughes.mise插件作用:让 Lithe 自动找到 mise 安装的 JDK、Node.js、Maven、Gradle、Go、Python 和 pnpm,并按项目的
mise.toml/.tool-versions(以及全局~/.config/mise/config.toml)选择版本,不用再手动添加路径。包里只有一份plugin.json和一个图标,不含任何可执行文件;Lithe 只读取 mise 的安装目录和版本文件,不运行 mise。pluginAPIVersion: 3、"requires": { "toolchainSources": 1 }、权限toolchains.read。toolchainSources能力由 1lck/Lithe-IDEA#1581 新增(目前为 Draft)。在那之前发布的 Lithe 宿主能力表里没有它,插件市场会隐藏这个条目,所以提前合入不会让旧版本用户装到无效插件,但用户也看不到它。node scripts/contract.mjs sync),本条目的requires与包内清单一致。自检
plugin.json的vendor.signatureRequirement为"none",ID 不在dev.lithe.*node scripts/validate-index.mjs --verify-archivesplugin.json中声明,并在仓库 README 中说明(不运行任何程序;README 的“安全与限制”一节说明了只读行为)downloadURL/sha256,没有删除历史版本(撤回除外)本地验证
node scripts/validate-index.mjs --write-format:格式无变化。node scripts/validate-index.mjs --verify-archives:10 个插件全部 verified,包括io.github.fxrayhughes.mise@0.1.0(SHA-256e8020787ee45264159c0026717b694d6b64976a5afc951eba20e153128527a1e,与 Release 说明一致)。node --test scripts/store.test.mjs:46/46 通过。tags首项为tool,README 总览归入“工具”分类;README 总览未手改,由Sync README工作流生成。icon固定到插件仓库提交75423c2的io.github.fxrayhughes.mise/icons/mise.svg(原创图形,未使用 mise 的商标)。mise current/mise where:java、node、maven、python、go、pnpm 选中的版本目录与 mise 一致。