Skip to content

fix: avoid docs generation during package publish []#10914

Merged
Mitch Goudy (mgoudy91) merged 1 commit into
masterfrom
codex/fix-dam-prepack-docs
Apr 22, 2026
Merged

fix: avoid docs generation during package publish []#10914
Mitch Goudy (mgoudy91) merged 1 commit into
masterfrom
codex/fix-dam-prepack-docs

Conversation

@mgoudy91
Copy link
Copy Markdown
Contributor

Summary

Prevents @contentful/dam-app-base package publishing from failing on Typedoc by limiting publish-time work to the build artifacts that are actually shipped.

Changes

  • change @contentful/dam-app-base prepack to run only npm run build
  • keep docs generation available as build:docs, but remove it from the package publish path

Notes

  • @contentful/dam-app-base publishes only lib, not docs
  • this follows the failed publish of @contentful/ecommerce-app-base@4.1.1, where dam-app-base blocked the shared package publish step during prepack
  • verified with npm pack --dry-run --json from a clean packages/dam-app-base directory; the tarball now contains lib/index.js without invoking Typedoc

Updated in:

  • packages/dam-app-base

@mgoudy91 Mitch Goudy (mgoudy91) marked this pull request as ready for review April 22, 2026 19:16
@mgoudy91 Mitch Goudy (mgoudy91) merged commit cf8b3b0 into master Apr 22, 2026
17 checks passed
@mgoudy91 Mitch Goudy (mgoudy91) deleted the codex/fix-dam-prepack-docs branch April 22, 2026 19:16
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