UNPKG

lerna

Version:

Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository

16 lines (14 loc) 471 B
import "../../chunk-MLKGABMK.js"; // packages/lerna/src/migrations/remove-invalid-use-workspaces/remove-invalid-use-workspaces.ts import { formatFiles, readJson, writeJson } from "@nx/devkit"; async function generator(tree) { const lernaJson = readJson(tree, "lerna.json"); if (lernaJson.useWorkspaces !== void 0) { delete lernaJson.useWorkspaces; writeJson(tree, "lerna.json", lernaJson); } await formatFiles(tree); } export { generator as default };