@tbox.cn/app-cli 0.8.10 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.ts CHANGED
@@ -47,9 +47,12 @@ interface AssemblySyncResult {
47
47
  declare function syncAssemblyFile(content: string, kind: AssemblyKind, declared: DeclaredModule[], force?: boolean): AssemblySyncResult;
48
48
 
49
49
  /**
50
- * 源 workspace catalog 解析(literalization 取值源):从 startDir 向上找 pnpm-workspace.yaml,
51
- * 解析其 catalog 段为 Map(键 → 值,引号剥离)。找不到或无 catalog 段返回 undefined(调用方降级保留 catalog:)。
52
- * 生成应用自身的 pnpm-workspace.yaml 也会被命中(sync 路径取应用 catalog——展开路径取源 workspace catalog)。
50
+ * workspace catalog 解析:从 startDir 向上找 pnpm-workspace.yaml,解析其 catalog 段为 Map(键 → 值)。
51
+ * 找不到或无 catalog 段返回 undefined(调用方降级——fixture/降级态静默跳过)。
52
+ * 生成应用自身的 pnpm-workspace.yaml 会先于根 workspace 命中(sync 路径取应用 catalog——
53
+ * 展开路径取源 workspace catalog);template-agent 工厂态上溯命中根 catalog
54
+ * (模板子树是根 workspace 成员,.template.yaml 非 workspace 文件——其内成员 catalog: 运行时
55
+ * 亦对根解析,两态各自正确)。
53
56
  */
54
57
  declare function resolveWorkspaceCatalog(startDir: string): Map<string, string> | undefined;
55
58
 
package/dist/core.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{G as m,I as l,P as f,Q as a,R as x,S as c,d as e,k as t,n as p,o as s,y as d}from"./chunk-4SZBFICC.js";import{a as o,c as r}from"./chunk-ZGB7YQLL.js";import"./chunk-JZBQYBEL.js";export{m as THEME_ID_RE,f as TarballSource,t as assertValidModuleId,x as cliScaffoldAsset,a as detectContext,p as embeddedPackageDepIssues,c as expandScaffoldAsset,s as findInRepoModuleDir,o as parseModuleDescriptor,l as probeThemeWiring,d as resolveWorkspaceCatalog,e as syncAssemblyFile,r as writeAtomic};
2
+ import{D as f,E as a,F as x,G as c,e,h as o,l as r,m as t,n as p,p as s,w as d}from"./chunk-ZBPCUVG2.js";import{a as m,c as l}from"./chunk-4BWLYUIG.js";import"./chunk-IBFYJ3GA.js";export{p as THEME_ID_RE,d as TarballSource,f as assertValidModuleId,x as cliScaffoldAsset,a as detectContext,r as embeddedPackageDepIssues,c as expandScaffoldAsset,t as findInRepoModuleDir,m as parseModuleDescriptor,s as probeThemeWiring,o as resolveWorkspaceCatalog,e as syncAssemblyFile,l as writeAtomic};
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import{a,b,c}from"./chunk-QVXKZYHP.js";import"./chunk-4BWLYUIG.js";import"./chunk-IBFYJ3GA.js";export{c as collectDeclared,b as listLocalModules,a as readComponentFile};