Skip to content

Generate Blazor Nuget with modus-stencil-razor-output-target#1009

Open
RyanNieburViewpoint wants to merge 14 commits intotrimble-oss:mainfrom
RyanNieburViewpoint:feature/blazor
Open

Generate Blazor Nuget with modus-stencil-razor-output-target#1009
RyanNieburViewpoint wants to merge 14 commits intotrimble-oss:mainfrom
RyanNieburViewpoint:feature/blazor

Conversation

@RyanNieburViewpoint
Copy link
Copy Markdown
Contributor

@RyanNieburViewpoint RyanNieburViewpoint commented Apr 3, 2026

📄 Summary of Changes

💭 Type of Change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)
  • Configuration change (modifies scaling or properties of existing infrastructure & services)
  • Documentation change
  • Other

📋 Test Plan

✅ Self Code Review Checklist

PR authors and reviewers, please verify that all of these items have been completed.

  • My code is clean and readable
  • I followed standard conventions
  • Component code is WCAG 2.2 compliant (if applicable)
  • I have made theme files changes (if applicable)
  • I have made documentation changes (if applicable)
  • I have made Storybook changes including usage documentation (if applicable)
  • I have tested the component thoroughly in Storybook including RTL rendering (if applicable)

🔗 Work Item

Part of Phase 1 of #1008

@RyanNieburViewpoint RyanNieburViewpoint requested a review from a team as a code owner April 3, 2026 04:54
Copilot AI review requested due to automatic review settings April 3, 2026 04:54
Copy link
Copy Markdown

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

Adds a Blazor integration pipeline by generating a Razor Class Library (RCL) from the Stencil build output and publishing it as a NuGet package via GitHub Actions, as part of Phase 1 work for Blazor support.

Changes:

  • Add @trimble-oss/modus-stencil-razor-output-target and configure Stencil to emit Blazor/Razor output.
  • Update npm/GitHub Actions configuration to authenticate to GitHub Packages for npm installs.
  • Introduce new CI workflows to build and publish the generated Blazor NuGet package and wire it into the main publish workflow.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
stencil.config.ts Adds blazorOutputTarget to generate Blazor RCL output during Stencil builds.
package.json Adds the Blazor Stencil output target dependency.
package-lock.json Locks the new output-target package and its transitive dependencies.
.npmrc Configures GitHub Packages registry for @trimble-oss scope using GITHUB_AUTH_TOKEN.
.github/workflows/publish.yml Exports GITHUB_AUTH_TOKEN for installs and triggers the new Blazor publish workflow.
.github/workflows/publish-vue.yml Exports GITHUB_AUTH_TOKEN for installs.
.github/workflows/publish-react.yml Exports GITHUB_AUTH_TOKEN for installs.
.github/workflows/publish-angular.yml Exports GITHUB_AUTH_TOKEN for installs.
.github/workflows/merge-gate.yml Exports GITHUB_AUTH_TOKEN for installs and adds a Blazor build reusable workflow call.
.github/workflows/build-vue.yml Exports GITHUB_AUTH_TOKEN for installs.
.github/workflows/build-react.yml Exports GITHUB_AUTH_TOKEN for installs.
.github/workflows/build-angular.yml Exports GITHUB_AUTH_TOKEN for installs.
.github/workflows/publish-blazor.yml New workflow: build, pack, publish NuGet to GitHub Packages, and create a release.
.github/workflows/build-blazor.yml New workflow: build Stencil (generating Blazor RCL) and dotnet build the generated project.

Comment thread .npmrc
Comment thread .github/workflows/merge-gate.yml
Comment thread package.json
Comment thread .github/workflows/publish-blazor.yml Outdated
Comment thread .github/workflows/build-blazor.yml Outdated
@RyanNieburViewpoint RyanNieburViewpoint marked this pull request as draft April 3, 2026 05:12
@RyanNieburViewpoint
Copy link
Copy Markdown
Contributor Author

RyanNieburViewpoint commented Apr 3, 2026

PR to be published after the first 2 of phase 1 are merged, see #1008

Copilot AI and others added 2 commits April 3, 2026 20:38
…up-dotnet action

Agent-Logs-Url: https://github.com/RyanNieburViewpoint/modus-wc-2.0/sessions/87f9d197-a732-4b4e-aecf-0ec07bc12055

Co-authored-by: RyanNieburViewpoint <14806428+RyanNieburViewpoint@users.noreply.github.com>
…endency-to-1-0-10

feat: upgrade modus-stencil-razor-output-target to 1.0.10 and pin setup-dotnet action
Comment thread package-lock.json Outdated
Copilot AI and others added 2 commits April 3, 2026 21:26
…r wireit output

Agent-Logs-Url: https://github.com/RyanNieburViewpoint/modus-wc-2.0/sessions/867c482d-56c5-4221-b2be-ab0d49b10ce8

Co-authored-by: RyanNieburViewpoint <14806428+RyanNieburViewpoint@users.noreply.github.com>
…or-publish-workflows

fix: address npmrc publish routing, merge-gate permissions, and Blazor wireit outputs
Copilot AI and others added 5 commits April 4, 2026 00:01
…tHub registry access

Agent-Logs-Url: https://github.com/RyanNieburViewpoint/modus-wc-2.0/sessions/439b9dff-3f9f-4aa5-bc25-b86fb3b48b5c

Co-authored-by: RyanNieburViewpoint <14806428+RyanNieburViewpoint@users.noreply.github.com>
…RIMBLE_AGENTIC_NPM_TOKEN

Agent-Logs-Url: https://github.com/RyanNieburViewpoint/modus-wc-2.0/sessions/abca72f9-3832-4aef-9707-6788bfc2165b

Co-authored-by: RyanNieburViewpoint <14806428+RyanNieburViewpoint@users.noreply.github.com>
…ccess-issues

fix: add GITHUB_AUTH_TOKEN and packages: read to workflows missing GitHub registry access
@RyanNieburViewpoint RyanNieburViewpoint marked this pull request as ready for review April 4, 2026 00:22
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 4, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://trimble-oss.github.io/modus-wc-2.0/pr-preview/pr-1009/

Built to branch gh-pages at 2026-04-04 00:31 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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.

3 participants