Skip to content

Update project dependencies (#12211)#12212

Merged
yasmoradi merged 17 commits intobitfoundation:developfrom
yasmoradi:12211
Mar 25, 2026
Merged

Update project dependencies (#12211)#12212
yasmoradi merged 17 commits intobitfoundation:developfrom
yasmoradi:12211

Conversation

@yasmoradi
Copy link
Member

@yasmoradi yasmoradi commented Mar 23, 2026

closes #12211

Summary by CodeRabbit

  • Chores

    • Updated development tooling versions: esbuild and TypeScript bumped across projects
    • Upgraded NuGet package versions including Scalar, Aspire, Semantic Kernel, and other dependencies
    • Updated TypeScript compiler configuration for improved compatibility
  • Improvements

    • Refined Android push notification request handling
@yasmoradi yasmoradi requested a review from Copilot March 23, 2026 18:55
@coderabbitai
Copy link

coderabbitai bot commented Mar 23, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 64a9b80c-c746-4311-b4c1-b9663f2faf19

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This pull request updates multiple project dependencies across the codebase. NuGet packages (Jint, Scalar, Aspire suite, Plugin.LocalNotification, Microsoft.SemanticKernel, and Microsoft.Identity.Web) are updated to their latest versions. npm packages (esbuild and TypeScript) are bumped to newer versions, with TypeScript 6.0.2 requiring the addition of ignoreDeprecations: "6.0" in TypeScript configuration files. A code change in MainActivity.cs reflects the Plugin.LocalNotification API update.

Changes

Cohort / File(s) Summary
NuGet Dependency Updates
src/BlazorUI/Bit.BlazorUI.Extras/Bit.BlazorUI.Extras.csproj, src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj
Bumped Jint from 4.6.3 to 4.6.4.
npm Package Updates
src/BlazorUI/Bit.BlazorUI.Extras/package.json, src/BlazorUI/Bit.BlazorUI/package.json, src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/package.json, src/Bswup/Bit.Bswup/package.json, src/Butil/Bit.Butil/package.json, src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package.json, src/Websites/Careers/src/Bit.Websites.Careers.Client/package.json, src/Websites/Platform/src/Bit.Websites.Platform.Client/package.json, src/Websites/Sales/src/Bit.Websites.Sales.Client/package.json
Updated esbuild (0.27.3 → 0.27.4) and TypeScript (5.9.3 → 6.0.2) dependencies.
TypeScript Configuration
src/BlazorUI/Bit.BlazorUI.Extras/tsconfig.json, src/BlazorUI/Bit.BlazorUI/tsconfig.json, src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/tsconfig.json, src/Butil/Bit.Butil/tsconfig.json, src/Websites/Careers/src/Bit.Websites.Careers.Client/tsconfig.json, src/Websites/Platform/src/Bit.Websites.Platform.Client/tsconfig.json, src/Websites/Sales/src/Bit.Websites.Sales.Client/tsconfig.json
Added ignoreDeprecations: "6.0" compiler option to suppress TypeScript 6.0 deprecation warnings.
Central Package Management
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props
Updated multiple NuGet packages: Scalar.AspNetCore (2.13.11 → 2.13.13), Aspire packages (13.1.x → 13.2.0), Plugin.LocalNotification (13.0.0 → 14.0.0), Microsoft.SemanticKernel (1.73.0 → 1.74.0), Redis packages (13.1.3 → 13.2.0), and Microsoft.Identity.Web (4.5.0 → 4.6.0).
App Host Project
src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj
Updated Aspire.AppHost.Sdk to 13.2.0; removed Aspire.Hosting.AppHost package reference.
Android Notification API Update
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Platforms/Android/MainActivity.cs
Updated notification payload extraction from LocalNotificationCenter.ReturnRequest to RequestConstants.ReturnRequest and changed namespace import to Plugin.LocalNotification.Core.Models to reflect Plugin.LocalNotification 14.0.0 API changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Hop along the version trail,
Dependencies skip a minor version scale,
TypeScript whispers "6.0 ahoy,"
With ignoreDeprecations to mute the ploy—
Fresh packages dance, as the codebase grows,
All systems updated from head to toes! 📦✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update project dependencies' accurately summarizes the main change in the PR, which updates multiple NuGet and npm packages across the codebase.
Linked Issues check ✅ Passed The PR updates outdated project dependencies as required by issue #12211, including NuGet packages (Jint, Aspire, SemanticKernel, etc.) and npm packages (esbuild, typescript).
Out of Scope Changes check ✅ Passed All changes are scoped to dependency version updates and related TypeScript configuration adjustments; no unrelated or out-of-scope code modifications detected.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates JavaScript/TypeScript and .NET dependencies across multiple client projects and the Boilerplate template to address issue #12211 (outdated dependencies).

Changes:

  • Bump JS toolchain versions (TypeScript 6.0.2, esbuild 0.27.4) and add ignoreDeprecations to several tsconfig.json files.
  • Update Boilerplate template dependencies (Aspire AppHost SDK 13.2.0, Aspire-related package versions, Scalar.AspNetCore, Plugin.LocalNotification, SemanticKernel, Microsoft.Identity.Web).
  • Bump Jint to 4.6.4 in demo server and Extras.

Reviewed changes

Copilot reviewed 21 out of 30 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Websites/Sales/src/Bit.Websites.Sales.Client/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/Websites/Sales/src/Bit.Websites.Sales.Client/package.json Bump esbuild/typescript devDependencies.
src/Websites/Sales/src/Bit.Websites.Sales.Client/package-lock.json Sync lockfile for esbuild/typescript updates.
src/Websites/Platform/src/Bit.Websites.Platform.Client/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/Websites/Platform/src/Bit.Websites.Platform.Client/package.json Bump esbuild/typescript devDependencies.
src/Websites/Platform/src/Bit.Websites.Platform.Client/package-lock.json Sync lockfile for esbuild/typescript updates.
src/Websites/Careers/src/Bit.Websites.Careers.Client/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/Websites/Careers/src/Bit.Websites.Careers.Client/package.json Bump esbuild/typescript devDependencies.
src/Websites/Careers/src/Bit.Websites.Careers.Client/package-lock.json Sync lockfile for esbuild/typescript updates.
src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj Update Aspire AppHost SDK and remove explicit Aspire.Hosting.AppHost reference.
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props Update centralized package versions (Aspire, LocalNotification, Scalar, SemanticKernel, Identity.Web, etc.).
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Platforms/Android/MainActivity.cs Update LocalNotification constants/types usage for newer package version.
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package.json Bump TypeScript devDependency.
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package-lock.json Sync lockfile for TypeScript update.
src/Butil/Bit.Butil/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/Butil/Bit.Butil/package.json Bump esbuild/typescript devDependencies.
src/Butil/Bit.Butil/package-lock.json Sync lockfile for esbuild/typescript updates.
src/Bswup/Bit.Bswup/package.json Bump esbuild/typescript devDependencies.
src/Bswup/Bit.Bswup/package-lock.json Sync lockfile for esbuild/typescript updates.
src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/package.json Bump esbuild/typescript devDependencies.
src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/package-lock.json Sync lockfile for esbuild/typescript updates.
src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj Bump Jint package version.
src/BlazorUI/Bit.BlazorUI/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/BlazorUI/Bit.BlazorUI/package.json Bump esbuild/typescript devDependencies.
src/BlazorUI/Bit.BlazorUI/package-lock.json Sync lockfile for esbuild/typescript updates.
src/BlazorUI/Bit.BlazorUI.Extras/tsconfig.json Add ignoreDeprecations for TS 6 and adjust trailing comma.
src/BlazorUI/Bit.BlazorUI.Extras/package.json Bump esbuild/typescript devDependencies.
src/BlazorUI/Bit.BlazorUI.Extras/package-lock.json Sync lockfile for esbuild/typescript updates.
src/BlazorUI/Bit.BlazorUI.Extras/Bit.BlazorUI.Extras.csproj Bump Jint package version.
Files not reviewed (9)
  • src/BlazorUI/Bit.BlazorUI.Extras/package-lock.json: Language not supported
  • src/BlazorUI/Bit.BlazorUI/package-lock.json: Language not supported
  • src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/package-lock.json: Language not supported
  • src/Bswup/Bit.Bswup/package-lock.json: Language not supported
  • src/Butil/Bit.Butil/package-lock.json: Language not supported
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package-lock.json: Language not supported
  • src/Websites/Careers/src/Bit.Websites.Careers.Client/package-lock.json: Language not supported
  • src/Websites/Platform/src/Bit.Websites.Platform.Client/package-lock.json: Language not supported
  • src/Websites/Sales/src/Bit.Websites.Sales.Client/package-lock.json: Language not supported
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 10

🧹 Nitpick comments (1)
src/BlazorUI/Bit.BlazorUI/tsconfig.json (1)

8-9: Consider migrating away from the deprecated outFile option.

The outFile option combined with namespace declarations (as shown in the relevant code snippets) is a legacy TypeScript compilation pattern that's deprecated in TypeScript 6.0. While ignoreDeprecations temporarily suppresses warnings, this approach may be unsupported in future versions. Consider migrating to modern ES modules with a bundler like esbuild.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/BlazorUI/Bit.BlazorUI/tsconfig.json` around lines 8 - 9, The tsconfig currently uses the deprecated "outFile" producing wwwroot/scripts/bit.blazorui.js and silences the warning with "ignoreDeprecations": "6.0"; remove the "outFile" entry and stop relying on legacy namespace concatenation, switch the TS module target to an ES module (e.g., set "module" to "esnext" or similar in tsconfig.json), update source files to use ES module exports/imports instead of TypeScript namespaces, and add a bundler step (esbuild/webpack/rollup) in the project build scripts to emit a single bundle into wwwroot/scripts/bit.blazorui.js so you no longer need "ignoreDeprecations" or outFile. Ensure you update any build targets and CI tasks that referenced outFile and verify runtime imports in the Blazor UI consume the new bundled ES module output. 
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed. Inline comments: In `@src/BlazorUI/Bit.BlazorUI.Extras/tsconfig.json`: - Around line 8-9: The tsconfig.json uses "outFile" which requires an explicit rootDir in TypeScript 6.0 to avoid TS5011; add a "rootDir" property (e.g., "rootDir": "Scripts" or "./Scripts") alongside "outFile" and "ignoreDeprecations" so the compiler knows the common source directory and the build error is resolved. In `@src/BlazorUI/Bit.BlazorUI/package.json`: - Around line 3-5: The package.json dependency "typescript": "6.0.2" is invalid; update the TypeScript version declaration to a valid release (for example set "typescript" to "5.9.3" or to a valid 6.x prerelease such as "6.0.1-rc" or "6.0.0-beta") so npm install will succeed—modify the "typescript" entry in the Bit.BlazorUI/package.json dependencies accordingly. In `@src/BlazorUI/Bit.BlazorUI/tsconfig.json`: - Around line 8-9: The TS build fails with TS5011 because tsconfig.json uses "outFile" without an explicit "rootDir"; update the tsconfig.json next to the existing "outFile": "wwwroot/scripts/bit.blazorui.js" to add a "rootDir" property (e.g., "rootDir": "./Scripts" or the actual common source directory for Bit.BlazorUI sources) so TypeScript 6+ can resolve the common source root when producing the single concatenated output. In `@src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/tsconfig.json`: - Around line 8-9: TS build fails with TS5011 because tsconfig.json uses "outFile": "wwwroot/scripts/app.js" but doesn't set "rootDir"; add an explicit "rootDir" property to the tsconfig.json (e.g., point to the common source folder like "Scripts" or the actual source root) so the compiler knows the input root. Update the tsconfig.json by adding "rootDir": "<your-source-root>" at the same level as "outFile" and "ignoreDeprecations" (preserve existing keys), then re-run the build to ensure the TS5011 error is resolved. In `@src/Bswup/Bit.Bswup/package.json`: - Around line 3-4: TypeScript was bumped to 6.0.2 in package.json which triggers TS5011 for projects using outFile without an explicit compilerOptions.rootDir; add a "rootDir" entry under "compilerOptions" in each affected tsconfig.json (specifically Bit.BlazorUI/tsconfig.json, Bit.BlazorUI.Extras/tsconfig.json, Bit.BlazorUI.Demo.Client.Core/tsconfig.json, Bit.Butil/tsconfig.json, Bit.Websites.Careers.Client/tsconfig.json, Bit.Websites.Platform.Client/tsconfig.json, Bit.Websites.Sales.Client/tsconfig.json) pointing to the appropriate source root (e.g., "src" or the folder containing your TypeScript sources) so the compiler has an explicit rootDir and TS5011 is avoided when building with TypeScript 6.0.2. In `@src/Butil/Bit.Butil/tsconfig.json`: - Around line 7-9: TS5011 occurs because TypeScript needs an explicit rootDir when using outFile; update the tsconfig.json to add a "rootDir" property pointing to the common source directory (e.g., "Scripts") next to "outFile" and "ignoreDeprecations" so the compiler knows the input root. Edit the tsconfig.json JSON object (the same block containing "outFile": "wwwroot/bit-butil.js") and add "rootDir": "Scripts" (or the actual source folder used in the project) to resolve the compilation error. - Line 8: The tsconfig.json contains an invalid ignoreDeprecations value ("6.0"); update the ignoreDeprecations setting in tsconfig.json (property name: ignoreDeprecations) to a valid TypeScript version (for example "5.9" or "5.9.3") or remove the setting entirely if you don't need to suppress deprecation warnings; ensure the change is made where ignoreDeprecations is defined so the compiler no longer targets a non-existent TypeScript release. In `@src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package.json`: - Line 8: Add the TypeScript 6 deprecation suppression to the project's tsconfig.json by adding the compilerOptions entry "ignoreDeprecations": "6.0" (so the compilerOptions block in src/Templates/.../Boilerplate.Client.Core/tsconfig.json includes ignoreDeprecations set to "6.0"); this ensures compatibility with the project’s declared TypeScript version ("typescript": "6.0.2") and prevents deprecation warnings during build/editor use. In `@src/Websites/Platform/src/Bit.Websites.Platform.Client/tsconfig.json`: - Line 9: The tsconfig contains an invalid/unsupported ignoreDeprecations value; update the "ignoreDeprecations" property (in tsconfig.json) to target a real stable TypeScript version (e.g., change "ignoreDeprecations": "6.0" to "5.9") or remove the "ignoreDeprecations" entry entirely if you do not intend to rely on pre-release TypeScript builds so the setting no longer points at a non-existent TS 6.0.x version. In `@src/Websites/Sales/src/Bit.Websites.Sales.Client/tsconfig.json`: - Around line 8-9: The tsconfig.json currently sets "outFile" (wwwroot/scripts/app.js) but lacks an explicit "rootDir", causing TS5011 under TypeScript 6.0; update the tsconfig.json to add a "rootDir" property pointing to the common source directory (e.g., "Scripts" or the correct source folder) so the compiler can determine inputs when using outFile, and ensure this key sits alongside "outFile" and "ignoreDeprecations" in the same compilerOptions object. --- Nitpick comments: In `@src/BlazorUI/Bit.BlazorUI/tsconfig.json`: - Around line 8-9: The tsconfig currently uses the deprecated "outFile" producing wwwroot/scripts/bit.blazorui.js and silences the warning with "ignoreDeprecations": "6.0"; remove the "outFile" entry and stop relying on legacy namespace concatenation, switch the TS module target to an ES module (e.g., set "module" to "esnext" or similar in tsconfig.json), update source files to use ES module exports/imports instead of TypeScript namespaces, and add a bundler step (esbuild/webpack/rollup) in the project build scripts to emit a single bundle into wwwroot/scripts/bit.blazorui.js so you no longer need "ignoreDeprecations" or outFile. Ensure you update any build targets and CI tasks that referenced outFile and verify runtime imports in the Blazor UI consume the new bundled ES module output. 
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5c27b34e-d6b2-4a50-bbbe-0f8f58286dd7

📥 Commits

Reviewing files that changed from the base of the PR and between 994f6cf and 7602e17.

⛔ Files ignored due to path filters (9)
  • src/BlazorUI/Bit.BlazorUI.Extras/package-lock.json is excluded by !**/package-lock.json
  • src/BlazorUI/Bit.BlazorUI/package-lock.json is excluded by !**/package-lock.json
  • src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/package-lock.json is excluded by !**/package-lock.json
  • src/Bswup/Bit.Bswup/package-lock.json is excluded by !**/package-lock.json
  • src/Butil/Bit.Butil/package-lock.json is excluded by !**/package-lock.json
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package-lock.json is excluded by !**/package-lock.json
  • src/Websites/Careers/src/Bit.Websites.Careers.Client/package-lock.json is excluded by !**/package-lock.json
  • src/Websites/Platform/src/Bit.Websites.Platform.Client/package-lock.json is excluded by !**/package-lock.json
  • src/Websites/Sales/src/Bit.Websites.Sales.Client/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (21)
  • src/BlazorUI/Bit.BlazorUI.Extras/Bit.BlazorUI.Extras.csproj
  • src/BlazorUI/Bit.BlazorUI.Extras/package.json
  • src/BlazorUI/Bit.BlazorUI.Extras/tsconfig.json
  • src/BlazorUI/Bit.BlazorUI/package.json
  • src/BlazorUI/Bit.BlazorUI/tsconfig.json
  • src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj
  • src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/package.json
  • src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/tsconfig.json
  • src/Bswup/Bit.Bswup/package.json
  • src/Butil/Bit.Butil/package.json
  • src/Butil/Bit.Butil/tsconfig.json
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package.json
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Platforms/Android/MainActivity.cs
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj
  • src/Websites/Careers/src/Bit.Websites.Careers.Client/package.json
  • src/Websites/Careers/src/Bit.Websites.Careers.Client/tsconfig.json
  • src/Websites/Platform/src/Bit.Websites.Platform.Client/package.json
  • src/Websites/Platform/src/Bit.Websites.Platform.Client/tsconfig.json
  • src/Websites/Sales/src/Bit.Websites.Sales.Client/package.json
  • src/Websites/Sales/src/Bit.Websites.Sales.Client/tsconfig.json
@yasmoradi yasmoradi merged commit 67c3e95 into bitfoundation:develop Mar 25, 2026
7 checks passed
@yasmoradi yasmoradi deleted the 12211 branch March 25, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants