bug: Upgrade to Lerna 4

This commit is contained in:
blam
2021-02-12 10:14:53 +01:00
parent 8155fad537
commit 1d2bceafd5
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ const chalk = require('chalk');
async function main() {
// This is from lerna, and cba polluting root package.json
// eslint-disable-next-line import/no-extraneous-dependencies
const LernaProject = require('@lerna/project');
const { LernaProject } = require('@lerna/project');
const project = new LernaProject(resolvePath('.'));
const packages = await project.getPackages();
+1 -1
View File
@@ -18,7 +18,7 @@
const path = require('path');
const childProcess = require('child_process');
// eslint-disable-next-line import/no-extraneous-dependencies
const LernaProject = require('@lerna/project');
const { LernaProject } = require('@lerna/project');
// Prepare a release of the provided packages, e.g. @backstage/core
async function main(args) {