From 3e64b3da398a90e6ddfc287ebf28ec780b64b56f Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 18 Jun 2018 19:00:39 +0200 Subject: Use semver library instead of semverUtils --- .../monorepo-scripts/src/utils/changelog_utils.ts | 5 +- .../monorepo-scripts/src/utils/semver_utils.ts | 56 ---------------------- packages/monorepo-scripts/src/utils/utils.ts | 7 --- 3 files changed, 2 insertions(+), 66 deletions(-) delete mode 100644 packages/monorepo-scripts/src/utils/semver_utils.ts (limited to 'packages/monorepo-scripts/src/utils') diff --git a/packages/monorepo-scripts/src/utils/changelog_utils.ts b/packages/monorepo-scripts/src/utils/changelog_utils.ts index 4e09fc842..a589fe985 100644 --- a/packages/monorepo-scripts/src/utils/changelog_utils.ts +++ b/packages/monorepo-scripts/src/utils/changelog_utils.ts @@ -3,13 +3,12 @@ import * as _ from 'lodash'; import * as moment from 'moment'; import * as path from 'path'; import { exec as execAsync } from 'promisify-child-process'; +import semver = require('semver'); import semverSort = require('semver-sort'); import { constants } from '../constants'; import { Change, Changelog, VersionChangelog } from '../types'; -import { semverUtils } from './semver_utils'; - const CHANGELOG_MD_HEADER = `