'use strict';

var fix = require('./fix-FWgJ8c2m.cjs.js');
require('@backstage/cli-node');
require('fs-extra');
require('path');
require('./index-CCLafGQH.cjs.js');
require('commander');
require('chalk');
require('semver');
require('@backstage/cli-common');
require('@backstage/errors');

async function command() {
  console.log(
    "The `migrate package-exports` command is deprecated, use `repo fix` instead."
  );
  const packages = await fix.readFixablePackages();
  for (const pkg of packages) {
    fix.fixPackageExports(pkg);
  }
  await fix.writeFixedPackages(packages);
}

exports.command = command;
//# sourceMappingURL=packageExports-BWXuj98y.cjs.js.map
