Просмотр исходного кода

test(web): keep the assembled boot entry list module-private

knip rejects it as an unused export: both snapshot files reach the graph
through mountAssembledApp, never through the entry list itself.
Chinesezjc 1 месяц назад
Родитель
Сommit
230752aaa2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/web/tests/assembled-boot.ts

+ 1 - 1
apps/web/tests/assembled-boot.ts

@@ -15,7 +15,7 @@ import type { WebBootEntry } from '@deepseek-ai/dsh-client-modules/client'
 import { AppWebEntry } from '@deepseek-ai/dsh-client-web'
 
 /** Boot entries for the minimal assembled graph, each carrying the workspace directory its bundle is read from. */
-export const PLUGINS: readonly (WebBootEntry & { dir: string })[] = [
+const PLUGINS: readonly (WebBootEntry & { dir: string })[] = [
   { id: '@deepseek-ai/dsh-client-connection', dir: 'connection', url: '/plugins/connection.js', rev: 'fx', inject: [], immediately: true },
   { id: '@deepseek-ai/dsh-client-runtime', dir: 'runtime', url: '/plugins/runtime.js', rev: 'fx', inject: ['@deepseek-ai/dsh-client-connection'], immediately: true },
   { id: '@deepseek-ai/dsh-client-ui-theme', dir: 'ui-theme', url: '/plugins/ui-theme.js', rev: 'fx', inject: [], immediately: true },