mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
refactor: move release notes into changelog
This commit is contained in:
parent
35b2ce8b42
commit
934adfdffe
3 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||||
|
|
||||||
|
|
|
@ -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']);
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue