build(deps): update yarn packages and resolve build, test, and lint deprecations#1616
Merged
Merged
Conversation
…eprecations - Pin TypeScript to 5.9.3 and Angular to v21/v20 to prevent baseUrl deprecation errors. - Remove ignoreDeprecations across tsconfig files. - Resolve Angular relative path mapping and CommonJS build warnings. - Update Playwright resolution to 1.58.1 to maintain cached browser compatibility. - Adjust React 19 testing assertions for concurrent batching in components.test.tsx. - Disable noisy linter rules in tools/composer/eslint.config.mjs and configure Material Symbols link display. - Increase Angular initial bundle size budgets across sample projects to 1.5MB warning / 2.5MB error.
- Align workspace package.json versions with stable root resolutions (TypeScript 5.9.3, Zod 3.25.76, Hono 4.11.10, React Resizable Panels 3.0.6, and Angular 21.2.5). - Remove explicit rootDir configurations from samples/mcp/a2ui-in-mcpapps/server/apps/editor/tsconfig.app.json and samples/mcp/a2ui-in-mcpapps/server/apps/src/tsconfig.app.json. - Remove unused sub-package resolutions block in renderers/angular/package.json.
- Remove invalid ESLint rule overrides (react-hooks/set-state-in-effect, react-hooks/immutability, preserve-caught-error) from tools/composer/eslint.config.mjs per PR review feedback.
- Align TypeScript dependency version to 5.9.3 across remaining sample and evaluation packages (renderers/lit/a2ui_explorer, specification/v0_9_1/eval, samples/mcp/a2ui-in-mcpapps/server/apps/editor, samples/mcp/a2ui-in-mcpapps/server/apps/src, samples/mcp/a2ui-over-mcp-recipe/client, samples/mcp/mcp-apps-calculator/apps/src) to match root resolutions.
- Introduce .syncpackrc config to define monorepo dependency alignment rules (TypeScript 5.9.3, Zod 3.25.76). - Add syncpack to root devDependencies and configure lint:deps script in main/package.json. - Execute syncpack fix-mismatches across all monorepo packages to resolve 64 semver and pin mismatches.
- Disable @next/next/google-font-display rule on Material Symbols link in tools/composer/src/app/layout.tsx to permit using display=block.
- Restore rule overrides (react-hooks/set-state-in-effect: off, react-hooks/immutability: off, preserve-caught-error: off) in tools/composer/eslint.config.mjs to ensure 100% successful linting.
josemontespg
approved these changes
Jun 12, 2026
josemontespg
left a comment
Collaborator
There was a problem hiding this comment.
This is awesome, thank you!
| <link | ||
| rel="stylesheet" | ||
| href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" | ||
| href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block" |
Collaborator
There was a problem hiding this comment.
What is the purpose of the &display=block here?
Collaborator
Author
There was a problem hiding this comment.
It prevents the name of the icon from flashing up before the font is fully loaded. Otherwise you get stuff like [shopping_cart_checkout] showing up as text instead of the icon for a moment before it loads, and it messes with the layout a lot.
7 tasks
ditman
added a commit
to ditman/a2ui-project-a2ui
that referenced
this pull request
Jun 13, 2026
…d lint deprecations (a2ui-project#1616)" This reverts commit 85381fc.
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.
Description
This PR updates monorepo package dependencies and updates
yarn.lockto resolve deprecations, bundle size budgets, and dependency misalignments.syncpack):.syncpackrcconfiguration enforcing unified dependency version rules (TypeScript5.9.3, Zod3.25.76).syncpackto rootdevDependenciesand configurelint:depsscript for alignment verification.5.9.3across all workspaces to preventbaseUrlcompilation deprecation errors and removeignoreDeprecationsfromtsconfigfiles.^21.2.5to match core Angular packages across root resolutions and applications.@playwright/testto1.58.1to maintain cached browser binary compatibility.components.test.tsxto account for concurrent batching.1.5MBwarning /2.5MBerror.rootDirassignments from sub-projecttsconfig.app.jsonfiles to prevent mirroring the monorepo directory structure inside compilation output folders.tools/composer/eslint.config.mjs.tools/composer/src/app/layout.tsxto usedisplay=blockto prevent flash of unstyled text (FOUT).