wip esm adapt lodash

This commit is contained in:
Gregor Martynus
2021-07-30 13:57:35 -07:00
parent ab7a428102
commit e72d201afe
26 changed files with 52 additions and 26 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import {isString, remove, omit, mapValues, template} from 'lodash';
import lodash from 'lodash'
const {isString, remove, omit, mapValues, template} = lodash
import micromatch from 'micromatch';
import {getBranches} from '../git.js';
+2 -1
View File
@@ -1,4 +1,5 @@
import {template, escapeRegExp} from 'lodash';
import lodash from 'lodash'
const {template, escapeRegExp} = lodash
import semver from 'semver';
import pReduce from 'p-reduce';
import debugFactory from 'debug';
+2 -1
View File
@@ -1,4 +1,5 @@
import {isString, isRegExp} from 'lodash';
import lodash from 'lodash'
const {isString, isRegExp} = lodash
import AggregateError from 'aggregate-error';
import pEachSeries from 'p-each-series';
import DEFINITIONS from '../definitions/branches.js';
+2 -1
View File
@@ -1,4 +1,5 @@
import {sortBy, isNil} from 'lodash';
import lodash from 'lodash'
const {sortBy, isNil} = lodash
import semverDiff from 'semver-diff';
import {FIRST_RELEASE, RELEASE_TYPE} from '../definitions/constants.js';