faf-cli 8.0.1 → 8.1.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.
@@ -148,7 +148,7 @@ export interface DetectedFramework {
148
148
  version?: string;
149
149
  }
150
150
  /** Signal types for framework detection */
151
- export type SignalType = 'dependency' | 'file' | 'devDependency' | 'content';
151
+ export type SignalType = 'dependency' | 'file' | 'devDependency' | 'anyDependency' | 'content';
152
152
  export interface Signal {
153
153
  type: SignalType;
154
154
  key?: string;
@@ -85,8 +85,11 @@ export declare function detectCicd(dir: string): string | null;
85
85
  /** Detect hosting platform — from a platform's own config file. A bare
86
86
  * Dockerfile is not one: it shows a container build, not where the app runs. */
87
87
  export declare function detectHosting(dir: string): string | null;
88
- /** Detect SvelteKit adapter from svelte.config.js */
88
+ /** Detect SvelteKit adapter from svelte.config.js, vite.config.* or package.json */
89
89
  export declare function detectSvelteAdapter(dir: string): string | null;
90
+ /** "Vite 8" from the vite range package.json declares (`^8.3.2` → 8), or
91
+ * plain "Vite" when the range carries no version number (`latest`). */
92
+ export declare function viteLabel(pkg: PackageJson | null): string;
90
93
  /** Detect build tool */
91
94
  export declare function detectBuildTool(dir: string): string | null;
92
95
  /** Detect a list of important file paths for the `key_files` chunk.