diff options
-rw-r--r-- | packages/monorepo-scripts/src/utils/changelog_utils.ts | 5 | ||||
-rw-r--r-- | packages/sra-spec/src/md/index.ts | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/packages/monorepo-scripts/src/utils/changelog_utils.ts b/packages/monorepo-scripts/src/utils/changelog_utils.ts index 4781b3b7d..8058d222b 100644 --- a/packages/monorepo-scripts/src/utils/changelog_utils.ts +++ b/packages/monorepo-scripts/src/utils/changelog_utils.ts @@ -19,11 +19,6 @@ CHANGELOG export const changelogUtils = { getChangelogMdTitle(versionChangelog: VersionChangelog): string { - if (_.isUndefined(versionChangelog.timestamp)) { - throw new Error( - 'All CHANGELOG.json entries must be updated to include a timestamp before generating their MD version', - ); - } const date = moment(`${versionChangelog.timestamp}`, 'X').format('MMMM D, YYYY'); const title = `\n## v${versionChangelog.version} - _${date}_\n\n`; return title; diff --git a/packages/sra-spec/src/md/index.ts b/packages/sra-spec/src/md/index.ts index 0d1147aa0..b32cba6f4 100644 --- a/packages/sra-spec/src/md/index.ts +++ b/packages/sra-spec/src/md/index.ts @@ -1,5 +1,7 @@ import { readFileSync } from 'fs'; +console.log('DIR', __dirname); + export const md = { introduction: readFileSync('lib/md/introduction.md').toString(), }; |