Generate Blazor Nuget with modus-stencil-razor-output-target#1009
Open
RyanNieburViewpoint wants to merge 14 commits intotrimble-oss:mainfrom
Open
Generate Blazor Nuget with modus-stencil-razor-output-target#1009RyanNieburViewpoint wants to merge 14 commits intotrimble-oss:mainfrom
RyanNieburViewpoint wants to merge 14 commits intotrimble-oss:mainfrom
Conversation
There was a problem hiding this comment.
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-targetand 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. |
11 tasks
Contributor
Author
|
PR to be published after the first 2 of phase 1 are merged, see #1008 |
…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
…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
…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>
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
Contributor
|
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.
📄 Summary of Changes
💭 Type of Change
📋 Test Plan
✅ Self Code Review Checklist
PR authors and reviewers, please verify that all of these items have been completed.
🔗 Work Item
Part of Phase 1 of #1008