Skip to content

Commit 10c89ad

Browse files
authored
chore(ai): deprecate @superdoc-dev/ai (#2939)
* chore(ai): mark @superdoc-dev/ai deprecated, remove from docs Mark packages/ai/package.json as private and strip publish/release scripts so the package can never be accidentally republished. Add a deprecation banner to packages/ai/README.md pointing users at @superdoc-dev/mcp and @superdoc-dev/sdk with the Document API. Delete the already-hidden apps/docs/ai/ai-actions/ pages and remove @superdoc-dev/ai entries from apps/docs/scripts/validate-code-imports.ts and apps/docs/__tests__/lib/extract.ts so the docs stop advertising (and stop lint-allowing) a deprecated package. Run npm deprecate '@superdoc-dev/ai@*' '<message>' alongside merging this PR to emit install-time warnings for existing consumers. Full source removal (rm -rf packages/ai, pnpm-workspace.yaml entry, eval references, scripts/type-check-all and scripts/test-cov entries) is tracked as a separate cleanup PR. * docs: remove ai-builder placeholder page ai-builder/overview.mdx only existed to link to the now-deleted ai-actions docs and was already hidden from navigation. Remove the page and drop the corresponding skip pattern from the docs test extract helper so no broken internal links remain.
1 parent e7ef89d commit 10c89ad

9 files changed

Lines changed: 9 additions & 1502 deletions

File tree

apps/docs/__tests__/lib/extract.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ const SKIP_FILE_PATTERNS = [
2020
/document-api\//,
2121
/solutions\/esign\//,
2222
/solutions\/template-builder\//,
23-
/ai\/ai-actions\//,
24-
/ai\/ai-builder\//,
2523
/getting-started\/frameworks\//,
2624
/snippets\//,
2725
];
@@ -34,7 +32,6 @@ const SKIP_IMPORTS = [
3432
'hocuspocus',
3533
'fastify',
3634
'express',
37-
'@superdoc-dev/ai',
3835
'@superdoc-dev/esign',
3936
'@superdoc-dev/template-builder',
4037
'@superdoc-dev/superdoc-yjs-collaboration',

apps/docs/ai/ai-actions/configuration.mdx

Lines changed: 0 additions & 376 deletions
This file was deleted.

0 commit comments

Comments
 (0)