diff --git a/.changeset/tired-plums-sing.md b/.changeset/tired-plums-sing.md deleted file mode 100644 index 89365d9..0000000 --- a/.changeset/tired-plums-sing.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@plttn/mkd": patch ---- - -fix mkd crashing with "is not a function" by dropping the CJS build - -mkd ran as CJS, which loaded ESM-only deps (slugify, filenamify) through -require() at runtime. On newer Node versions this broke the CJS interop -and made slugify undefined. mkd is a CLI, not a library other code -requires, so it now builds and ships as ESM only. diff --git a/CHANGELOG.md b/CHANGELOG.md index 25f0e8d..06fdd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # @plttn/mkd +## 0.2.3 + +### Patch Changes + +- 9526050: fix mkd crashing with "is not a function" by dropping the CJS build + + mkd ran as CJS, which loaded ESM-only deps (slugify, filenamify) through + require() at runtime. On newer Node versions this broke the CJS interop + and made slugify undefined. mkd is a CLI, not a library other code + requires, so it now builds and ships as ESM only. + ## 0.2.2 ### Patch Changes diff --git a/package.json b/package.json index 93c6c84..29dd9c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@plttn/mkd", - "version": "0.2.2", + "version": "0.2.3", "description": "A tool for managing markdown blog posts", "scripts": { "dev": "tsx ./src/index.ts",