Repository navigation
Conversation
The repo is public now, with develop as the integration branch. CONTRIBUTING told people to clone the repo directly, and CI skipped pushes to develop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(contributing): send contributors through forks and develop
Angular's security.autoCsp writes a meta CSP without 'wasm-unsafe-eval', so both engines fail to compile their WebAssembly on the page. Document the worker recipe, the angular.json asset entry, and how to register a font for characters outside the standard PDF fonts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(installation): render PDFs in a Web Worker so autoCsp apps work
renderTree parented its injector on platformCore(). bootstrapApplication creates its platform without the core marker, so platformCore() threw NG0400 on every render in dev mode. Reuse the existing platform and keep platformCore() as the fallback when none exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(renderer): stop NG0400 on every render in bootstrapApplication apps
… render The registry pinned @formepdf/core to ^0.25.0, which keeps consumers on 0.25.x. Bump to ^0.32.0 and declare the engine once, on forme/utils. The browser docs started the worker and fetched the WASM on every app load. Create the worker and import the document on first render, and mark @formepdf/react external so ng build drops a chunk nothing loads. Installed files now end with an MIT notice. shadcn add strips leading comments, so the notice goes last. build-registry fails on registry dependencies that no file imports, and four stale ones are removed. The keep-together docs say what happens to content taller than the remaining page and that Forme ignores minPresenceAhead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orker fails Address the review on #9. The Forme font snippet passes a theme that names Noto Sans again. Both worker snippets reject when the worker fails to load instead of hanging. The registry's reverse dependency check compares source paths, so a cross-base dependency fails. The license line is called an attribution line, and keep-together says only text splits across pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(forme): move consumers to Forme 0.32 and load the engine on first render
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Brings
mainup todevelopso the live registry at pdfcn-angular.com serves the latest components.mainonly receives merges fromdevelop, and it has no commits of its own.What ships
forme/utils, the engine and document load on first render, a worker that fails to load rejects instead of hanging, the font example passes its theme, a one-line MIT attribution on every installed file, and the registry build rejects unused registry dependencies.bootstrapApplication.autoCspwork.develop.Each PR passed
pnpm verifyand CI ondevelop.🤖 Generated with Claude Code