@microtronics/studio-cli 1.2.0-alpha.0 → 1.2.0-alpha.2

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.
@@ -1985,6 +1985,15 @@ export declare namespace Dependencies {
1985
1985
  * @param logger
1986
1986
  */
1987
1987
  export function normalizeInstalledLibraryParts(cwd: URI, fs: LocalFS, logger: Log.Logger): Promise<void>;
1988
+ /**
1989
+ * Validate that every installed library dependency (direct and transitive, including dev dependencies)
1990
+ * requires a minimum server version ("engines.backend") that the current project (application or library)
1991
+ * already satisfies. Does not modify the manifest - raising "engines.backend" stays an explicit developer decision.
1992
+ * @param cwd
1993
+ * @param fs
1994
+ * @param logger
1995
+ */
1996
+ export function validateMinimumBackendVersion(cwd: URI, fs: LocalFS, logger: Log.Logger): Promise<void>;
1988
1997
  /**
1989
1998
  * Install npm dependencies in pov and blo working paths if they exist and contain a package.json.
1990
1999
  * This ensures that a single `studio install` command sets up the entire project.
@@ -2771,6 +2780,16 @@ export declare namespace Manifest {
2771
2780
  export function validateRegistryAllowedApplications(allowedApplications: undefined | null | string | string[]): Promise<string | null>;
2772
2781
  export function validateApplicationIcon(cwd: URI, fs: LocalFS, manifest: Manifest.Manifest): Promise<void>;
2773
2782
  export function validateEngineSettings(manifest: Manifest.Manifest): void;
2783
+ /**
2784
+ * Compare two "engines.backend" version strings (format like "52v006").
2785
+ * The major and minor parts are compared numerically so that values outside the zero-padded 2-digit
2786
+ * major format (e.g. "100v001") are still ordered correctly. Values that do not match the format fall
2787
+ * back to plain string ordering.
2788
+ * @param a
2789
+ * @param b
2790
+ * @returns a negative number if a < b, 0 if equal, a positive number if a > b
2791
+ */
2792
+ export function compareBackendVersion(a: string, b: string): number;
2774
2793
  /**
2775
2794
  * Validate if the given apm part is used
2776
2795
  * @param cwd