wip esm adapt lodash
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {identity, isPlainObject, omit, castArray, isNil, isString} from 'lodash';
|
||||
import lodash from 'lodash'
|
||||
const {identity, isPlainObject, omit, castArray, isNil, isString} = lodash
|
||||
import AggregateError from 'aggregate-error';
|
||||
import getError from '../get-error.js';
|
||||
import PLUGINS_DEFINITIONS from '../definitions/plugins.js';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import {isPlainObject, isFunction, noop, cloneDeep, omit} from 'lodash';
|
||||
import lodash from 'lodash'
|
||||
const {isPlainObject, isFunction, noop, cloneDeep, omit} = lodash
|
||||
import debugFactory from 'debug';
|
||||
const debug = debugFactory('semantic-release:plugins');
|
||||
import getError from '../get-error.js';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import {identity} from 'lodash';
|
||||
import lodash from 'lodash'
|
||||
const {identity} = lodash
|
||||
import pReduce from 'p-reduce';
|
||||
import AggregateError from 'aggregate-error';
|
||||
import {extractErrors} from '../utils.js';
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import {dirname} from 'path';
|
||||
import {isString, isFunction, castArray, isArray, isPlainObject, isNil} from 'lodash';
|
||||
import lodash from 'lodash'
|
||||
const {isString, isFunction, castArray, isArray, isPlainObject, isNil} = lodash
|
||||
import resolveFrom from 'resolve-from';
|
||||
|
||||
const validateSteps = (conf) => {
|
||||
|
||||
Reference in New Issue
Block a user