From 3700e2bb93a5050f263d36c2c1bc775388860d31 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 4 Apr 2026 12:17:43 +0300 Subject: [PATCH] chore(ai): update copilot instructions for PDF.js update --- .github/copilot-instructions.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 7184420945..a573d1938c 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -289,6 +289,12 @@ View types are configured via `#viewType` label (e.g., `#viewType=table`). Each - Register in `packages/ckeditor5/src/plugins.ts` - See `ckeditor5-admonition`, `ckeditor5-footnotes`, `ckeditor5-math`, `ckeditor5-mermaid` for examples +### Updating PDF.js +1. Update `pdfjs-dist` version in `packages/pdfjs-viewer/package.json` +2. Run `npx tsx scripts/update-viewer.ts` from that directory +3. Run `pnpm build` to verify success +4. Commit all changes including updated viewer files + ### Database Migrations - Add migration scripts in `apps/server/src/migrations/YYMMDD_HHMM__description.sql` - Update schema in `apps/server/src/assets/db/schema.sql`