chore: v0.12.0-beta.1(版本三处同步,api-surface 测试放行预发布版本号)

This commit is contained in:
Menghuan1918 committed 2026-08-15 00:28:59 +08:00
1 parent cba7e77896
commit 83a658efd4
4 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"id": "dsh-external/dsh-better-sidebar", "id": "dsh-external/dsh-better-sidebar",
"version": "0.12.0", "version": "0.12.0-beta.1",
"main": "./lib/index.js", "main": "./lib/index.js",
"description": "VSCode 风格右侧侧边栏:文件资源管理器 / 编辑器 / 终端 / Git / 浏览器,按会话隔离。暴露服务供其他插件注册侧边栏页面和文件预览器", "description": "VSCode 风格右侧侧边栏:文件资源管理器 / 编辑器 / 终端 / Git / 浏览器,按会话隔离。暴露服务供其他插件注册侧边栏页面和文件预览器",
"engines": { "engines": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dsh-better-sidebar", "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.", "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", "type": "module",
"repository": { "repository": {
+1 -1
View File
@@ -377,7 +377,7 @@ function baseNameOf(path: string): string {
* The plugin version this service instance reports. Keep in lockstep with * The plugin version this service instance reports. Keep in lockstep with
* `package.json`'s version — `tests/service.spec.ts` asserts the pair. * `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 * Monotonic capability list consumers use to gate new API usage (features
+2 -1
View File
@@ -58,7 +58,8 @@ describe('public API surface (v0.12.0)', () => {
}) })
it('advertises the capability list and version (values come from service.ts)', () => { 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) expect(SIDEBAR_FEATURES.length).toBeGreaterThanOrEqual(8)
for (const feature of ['badge', 'tabLifecycle', 'updateTab', 'openFile', 'targetedOpen', 'stateSubscription', 'tabMeta', 'pluginSettings']) { for (const feature of ['badge', 'tabLifecycle', 'updateTab', 'openFile', 'targetedOpen', 'stateSubscription', 'tabMeta', 'pluginSettings']) {
expect(SIDEBAR_FEATURES).toContain(feature) expect(SIDEBAR_FEATURES).toContain(feature)