@supacloud/compiler 0.3.1 → 0.4.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/analyze.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { ApplicationGraph } from "./types";
2
2
  /**
3
- * 分析 rootDir 下的源码(ts-morph AST,无类型检查依赖),构建 ApplicationGraph。
4
- * 装饰器仅按名字匹配(Module/Injectable/Inject/Command/Query/Controller/Get/...),
5
- * 不校验 import 来源,因此本包不需要依赖 @supacloud/app。
3
+ * Analyzes source code under rootDir (via ts-morph AST, without typecheck dependency) to build ApplicationGraph.
4
+ * Decorators are matched by name only (Module/Injectable/Inject/Command/Query/Controller/Get/...),
5
+ * without checking import origins, so this package does not need to depend on @supacloud/app.
6
6
  */
7
7
  export declare function analyzeProject(rootDir: string, include?: string[]): Promise<ApplicationGraph>;