Skip to content

Commit dc3e5b4

Browse files
committed
Rename all md file to mdx
1 parent a355a6a commit dc3e5b4

File tree

408 files changed

+3
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

408 files changed

+3
-1
lines changed

cli/lib/extract.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ const unpackTarball = async ({release, cwd, dir}) => {
6969
}),
7070
)
7171

72+
await Promise.all(result.map(f => fs.rename(join(cwd, f), join(cwd, f.replace('.md', '.mdx')))))
73+
7274
return result
7375
}
7476

@@ -93,7 +95,7 @@ const writeChangelog = async ({release, nav, cwd, srcPath, contentPath}) => {
9395
const changelog = await gh.getFile({ref: release.branch, path: srcPath})
9496

9597
await fs.writeFile(
96-
join(cwd, contentPath + '.md'),
98+
join(cwd, contentPath + '.mdx'),
9799
Transform.sync(changelog, {
98100
release,
99101
path: contentPath,

0 commit comments

Comments
 (0)