rename: apes--sidebar → apes-sidebar(包名改单连字符)
- package.json name、cordis.patch.yml id/name、lib/index.js 导出、client.js 插件 id/设置命名空间/显示名默认值,全部统一为单连字符 apes-sidebar - 双连字符写法在 npm 包名和 loader 解析中易与单连字符混淆,统一后更规范
This commit is contained in:
1 parent
58857d6ecd
commit
5f6018a9ec
5 files changed
+28
-28
No files matched your search
+3
-3
@@ -1,4 +1,4 @@
|
||||
# apes--sidebar bundle patch: inserts the host plugin row into the profile
|
||||
# apes-sidebar bundle patch: inserts the host plugin row into the profile
|
||||
# roster. The client half (sidebar tabs: Tasks / Agents / Profile) loads
|
||||
# through the dsh.client.inject declaration in package.json; this patch mounts
|
||||
# the Node-side host entry only.
|
||||
@@ -7,7 +7,7 @@
|
||||
# package (e.g. via an aggregate bundle), this row backs off.
|
||||
- insert:
|
||||
- id: apes-sidebar
|
||||
name: apes--sidebar
|
||||
name: apes-sidebar
|
||||
disabled: !!js >
|
||||
[...ctx.loader.entries()].some((e) =>
|
||||
e.options.name === 'apes--sidebar' && e.options.id !== 'apes-sidebar' && !e.disabled)
|
||||
e.options.name === 'apes-sidebar' && e.options.id !== 'apes-sidebar' && !e.disabled)
|
||||
Reference in new issue
Block a user