Skip to content

feat: move buildDocs and cleanMarkdown to readme-validator#18

Open
dgaponov wants to merge 1 commit into
mainfrom
refactor/move-docs-to-readme-validator
Open

feat: move buildDocs and cleanMarkdown to readme-validator#18
dgaponov wants to merge 1 commit into
mainfrom
refactor/move-docs-to-readme-validator

Conversation

@dgaponov

Copy link
Copy Markdown
Contributor

BREAKING CHANGE: the AI documentation build (buildDocs, createDefaultDocsConfig, cleanMarkdown and their types) now lives in @gravity-ui/readme-validator (see readme-validator#6), next to the parse* functions it depended on. Import them from there instead.

Removed

  • src/buildDocs.ts, src/cleanMarkdown.ts
  • test/buildDocs.test.ts, test/cleanMarkdown.test.ts, test/fixtures/
  • buildDocs/createDefaultDocsConfig exports and the Docs* types from the public API
  • @gravity-ui/readme-validator dependency (and lockfile entry)
  • ## buildDocs README section

Migration

- import {buildDocs, createDefaultDocsConfig} from '@gravity-ui/gulp-utils';
+ import {buildDocs, createDefaultDocsConfig} from '@gravity-ui/readme-validator';

Verification

  • npm run typecheck, npm run lint (incl. attw exports check), npm run build — green
  • No lingering references to buildDocs/cleanMarkdown/readme-validator

Note: gulp-utils now ships no tests (the gulp transforms were never covered) — worth a follow-up.

🤖 Generated with Claude Code

The AI documentation build (buildDocs, createDefaultDocsConfig,
cleanMarkdown) depends on the validator's parse* functions, so it now
lives in @gravity-ui/readme-validator alongside them. Removed here:
src/buildDocs.ts, src/cleanMarkdown.ts, their tests and fixtures, the
buildDocs public exports, the @gravity-ui/readme-validator dependency
and the README section.

BREAKING CHANGE: buildDocs, createDefaultDocsConfig, cleanMarkdown and
their types are no longer exported from @gravity-ui/gulp-utils. Import
them from @gravity-ui/readme-validator instead.
@dgaponov dgaponov changed the title feat!: move buildDocs and cleanMarkdown to readme-validator feat: move buildDocs and cleanMarkdown to readme-validator Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant