This repository was archived by the owner on Jul 5, 2026. It is now read-only.
Conversation
- migrate to ESM (type: module), v4 transform object API - findup -> find-up ^8, rewrite call sites (findUpSync, cwd is a dir) - drop markdown-magic-install-command devDep (dead, unused) - convert to vitest, add index.spec.js (happy path + no-scripts edge) - delete yarn.lock, npm-only lockfile - add CI workflow (Node 22/24, npm ci, npm test, prettier check) - peer markdown-magic ^4 - version 2.0.0
camacho
commented
Jul 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v1.2.2 → v2.0.0.
Package-specific:
markdown-magic-install-commanddevDep — dead, never imported anywhere in sourcescriptsfield now returns the block content unchanged (master crashed with a TypeError inside sort-scripts); consistent with the family-wide passthrough conventionBreaking changes (unpublished)
"type": "module"); CJS consumers on Node ≥22.12 must userequire(pkg).default({ content, options, srcPath }); peermarkdown-magic@^4Shared changes
npm auditcleandocsscript formats README after regeneration so CI format checks stay stableValidation
npm run docsidempotent (hash-verified); ESM + CJS interop smokes pass; reviewed (approved)Part of the markdown-magic-* family modernization preceding the planned monorepo consolidation. Refs: markdown-magic v4 API (https://github.com/DavidWells/markdown-magic), pure-ESM package conventions (https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)