import { Tree } from '@nx/devkit';
/**
 * Migration: Fix npm workspaces pattern to use explicit includes
 *
 * This migration updates the root package.json workspaces array to use
 * explicit include patterns instead of a catch-all pattern with exclusions.
 *
 * The problem with "unisphere/**" + "!unisphere/applications/documentation/**"
 * is that npm's negation patterns don't work reliably. This caused documentation
 * apps (like Docusaurus) to be unable to have their own node_modules.
 *
 * The fix is to use explicit patterns that only include what should be workspaces:
 * - unisphere/packages/**
 * - unisphere/runtimes/**
 * - unisphere/visuals/**
 * - unisphere/applications/local/**
 * - unisphere/applications/server/**
 *
 * This automatically excludes unisphere/applications/documentation/** without
 * needing a negation pattern.
 *
 * After all migrations complete, the user should run:
 *   rm -rf node_modules && npm run reset && npm ci && npm run check
 */
export default function update(tree: Tree): Promise<string[]>;
//# sourceMappingURL=fix-workspaces-pattern.d.ts.map