@cloudflare/autoconfig 0.1.3 → 0.1.4

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/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { PackageManager, RawConfig, PackageJSON, Config, FatalError, TelemetryMessage, UserError } from '@cloudflare/workers-utils';
2
+ export { getInstalledPackageVersion } from '@cloudflare/workers-utils';
2
3
 
3
4
  /**
4
5
  * Logger interface for autoconfig output.
@@ -325,16 +326,4 @@ declare class AutoConfigDetectionError extends FatalError {
325
326
  });
326
327
  }
327
328
 
328
- /**
329
- * Gets the exact version of a package installed by a project (or undefined if the package is not installed)
330
-
331
- * @param packageName the name of the target package
332
- * @param projectPath the path of the project to check
333
- * @param opts.stopAtProjectPath flag indicating whether the function should stop looking for the package at the project's path
334
- * @returns the version of the package if the package is installed, undefined otherwise
335
- */
336
- declare function getInstalledPackageVersion(packageName: string, projectPath: string, opts?: {
337
- stopAtProjectPath?: boolean;
338
- }): string | undefined;
339
-
340
- export { type AutoConfigContext, type AutoConfigDetails, type AutoConfigDetailsForConfiguredProject, type AutoConfigDetailsForNonConfiguredProject, AutoConfigDetectionError, type AutoConfigDialogs, AutoConfigFrameworkConfigurationError, type AutoConfigFrameworkPackageInfo, type AutoConfigLogger, type AutoConfigOptions, type AutoConfigSummary, type ConfigurationOptions, type ConfigurationResults, Framework, type FrameworkInfo, type PackageJsonScriptsOverrides, buildOperationsSummary, confirmAutoConfigDetails, displayAutoConfigDetails, getDetailsForAutoConfig, getInstalledPackageVersion, isFrameworkSupported, runAutoConfig };
329
+ export { type AutoConfigContext, type AutoConfigDetails, type AutoConfigDetailsForConfiguredProject, type AutoConfigDetailsForNonConfiguredProject, AutoConfigDetectionError, type AutoConfigDialogs, AutoConfigFrameworkConfigurationError, type AutoConfigFrameworkPackageInfo, type AutoConfigLogger, type AutoConfigOptions, type AutoConfigSummary, type ConfigurationOptions, type ConfigurationResults, Framework, type FrameworkInfo, type PackageJsonScriptsOverrides, buildOperationsSummary, confirmAutoConfigDetails, displayAutoConfigDetails, getDetailsForAutoConfig, isFrameworkSupported, runAutoConfig };