import { createRequire as _createRequire } from 'node:module';
const require = _createRequire(import.meta.url);
import {
  readAppManifest
} from "./chunk-OSDDOY2U.js";
import {
  getAppManifestPath,
  writeJson
} from "./chunk-VCFM6SMQ.js";
import {
  init_esm_shims
} from "./chunk-4EFJZ3GQ.js";

// src/app-manifest/file.ts
init_esm_shims();
async function writeAppManifestFile({
  projectFolder,
  manifest
}) {
  const manifestPath = getAppManifestPath(projectFolder);
  return writeJson(manifestPath, manifest);
}
async function readAppManifestFile(projectFolder) {
  const manifestPath = getAppManifestPath(projectFolder);
  return readAppManifest(manifestPath);
}

export {
  writeAppManifestFile,
  readAppManifestFile
};
//# sourceMappingURL=chunk-VJAMKDBT.js.map