refactor: move release notes into changelog

This commit is contained in:
Rhys Arkins 2018-09-03 08:39:30 +02:00
parent 35b2ce8b42
commit 934adfdffe
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
const versioning = require('../../../versioning'); const versioning = require('../../../versioning');
const { addReleaseNotes } = require('../release-notes'); const { addReleaseNotes } = require('./release-notes');
const sourceGithub = require('./source-github'); const sourceGithub = require('./source-github');

View file

@ -1,7 +1,7 @@
const changelogFilenameRegex = require('changelog-filename-regex'); const changelogFilenameRegex = require('changelog-filename-regex');
const { linkify } = require('linkify-markdown'); const { linkify } = require('linkify-markdown');
const MarkdownIt = require('markdown-it'); const MarkdownIt = require('markdown-it');
const ghGot = require('../../platform/github/gh-got-wrapper'); const ghGot = require('../../../platform/github/gh-got-wrapper');
const markdown = new MarkdownIt('zero'); const markdown = new MarkdownIt('zero');
markdown.enable(['heading', 'lheading']); markdown.enable(['heading', 'lheading']);

View file

@ -3,7 +3,7 @@ const ghGot = require('gh-got');
const { const {
getReleaseNotes, getReleaseNotes,
getReleaseNotesMd, getReleaseNotesMd,
} = require('../../../lib/workers/pr/release-notes'); } = require('../../../lib/workers/pr/changelog/release-notes');
const angularJsChangelogMd = fs.readFileSync( const angularJsChangelogMd = fs.readFileSync(
'test/_fixtures/changelog-md/angular.js.md', 'test/_fixtures/changelog-md/angular.js.md',