import { createRequire as _createRequire } from 'node:module';
const require = _createRequire(import.meta.url);
import {
  createPackageManager,
  getRepoType
} from "./chunk-TMYRNVQ4.js";
import "./chunk-ZR3N5INU.js";
import {
  CliError,
  CliErrorCode,
  useAsync,
  useProjectModel
} from "./chunk-A4MGEEM2.js";
import {
  init_esm_shims
} from "./chunk-PYIAC2GK.js";

// src/components/CreateVersionCommand/index.ts
init_esm_shims();

// src/components/CreateVersionCommand/CreateVersionCommandDeprecated.tsx
init_esm_shims();
var CreateVersionCommandDeprecated = () => {
  const { model } = useProjectModel();
  useAsync(async () => {
    let packageManagerRunCmd;
    try {
      const repoType = await getRepoType(model.projectFolder);
      const packageManager = await createPackageManager(repoType);
      packageManagerRunCmd = packageManager.getRunCmd();
    } catch {
    }
    throw new CliError({
      code: CliErrorCode.CreateVersionDeprecated({
        packageManagerRunCmd
      }),
      cause: void 0
    });
  }, []);
  return null;
};
export {
  CreateVersionCommandDeprecated
};
//# sourceMappingURL=CreateVersionCommand-RNDE35EA.js.map