Commit 10c89ad
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
- ai
- ai-actions
- ai-builder
- scripts
- packages/ai
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| |||
This file was deleted.
0 commit comments