refactor: Extract web-templates package and unify build/pack workflow

Moves export-html and insight templates from cli/assets to a new
dedicated web-templates package. Updates Dockerfile and build scripts
to use consolidated bundle/prepare:package/pack workflow.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-02-26 21:02:46 +08:00
parent 5926b37f4d
commit 9e4c5ee891
44 changed files with 1153 additions and 265 deletions

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { INSIGHT_JS, INSIGHT_CSS } from '../templates/insightTemplate.js';
import { INSIGHT_JS, INSIGHT_CSS } from '@qwen-code/web-templates';
import type { InsightData } from '../types/StaticInsightTypes.js';
export class TemplateRenderer {