bug: Upgrade to Lerna 4
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user