chore: v0.12.0-beta.1(版本三处同步,api-surface 测试放行预发布版本号)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"id": "dsh-external/dsh-better-sidebar",
|
||||
"version": "0.12.0",
|
||||
"version": "0.12.0-beta.1",
|
||||
"main": "./lib/index.js",
|
||||
"description": "VSCode 风格右侧侧边栏:文件资源管理器 / 编辑器 / 终端 / Git / 浏览器,按会话隔离。暴露服务供其他插件注册侧边栏页面和文件预览器",
|
||||
"engines": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dsh-better-sidebar",
|
||||
"version": "0.12.0",
|
||||
"version": "0.12.0-beta.1",
|
||||
"description": "DSH web plugin: a VSCode-like right sidebar (explorer / editor / terminal / git / browser), isolated per conversation session. Exposes a service for other plugins to register sidebar tabs and file viewers.",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
|
||||
@@ -377,7 +377,7 @@ function baseNameOf(path: string): string {
|
||||
* The plugin version this service instance reports. Keep in lockstep with
|
||||
* `package.json`'s version — `tests/service.spec.ts` asserts the pair.
|
||||
*/
|
||||
export const SIDEBAR_SERVICE_VERSION = '0.12.0'
|
||||
export const SIDEBAR_SERVICE_VERSION = '0.12.0-beta.1'
|
||||
|
||||
/**
|
||||
* Monotonic capability list consumers use to gate new API usage (features
|
||||
|
||||
@@ -58,7 +58,8 @@ describe('public API surface (v0.12.0)', () => {
|
||||
})
|
||||
|
||||
it('advertises the capability list and version (values come from service.ts)', () => {
|
||||
expect(SIDEBAR_SERVICE_VERSION).toMatch(/^\d+\.\d+\.\d+$/)
|
||||
// Full releases are bare x.y.z; pre-releases (beta) carry -<tag>.<n>.
|
||||
expect(SIDEBAR_SERVICE_VERSION).toMatch(/^\d+\.\d+\.\d+(-[a-z0-9.]+)?$/)
|
||||
expect(SIDEBAR_FEATURES.length).toBeGreaterThanOrEqual(8)
|
||||
for (const feature of ['badge', 'tabLifecycle', 'updateTab', 'openFile', 'targetedOpen', 'stateSubscription', 'tabMeta', 'pluginSettings']) {
|
||||
expect(SIDEBAR_FEATURES).toContain(feature)
|
||||
|
||||
Reference in New Issue
Block a user