Skip to content

build: GitHub workflows to publish the React and Angular SDKs to npmjs are failing#197

Draft
mrudatsprint wants to merge 3 commits into
mainfrom
miker/fix-publishing
Draft

build: GitHub workflows to publish the React and Angular SDKs to npmjs are failing#197
mrudatsprint wants to merge 3 commits into
mainfrom
miker/fix-publishing

Conversation

@mrudatsprint

@mrudatsprint mrudatsprint commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Description:
The GitHub workflows to publish the React and Angular SDKs to npmjs are failing.

  • The Angular SDK needed the repository.url from the package.json as the publishing is now issuing a signed provenance statement with source and build information.
  • The React SDK packaging failed due to a build error introduced in the Angular 22.x.x upgrade

Test:
The React and Angular SDKs have now been published to npmjs.

@mrudatsprint mrudatsprint changed the title build: The publish job is failing. build: The angular and react publish github workflows are failing Jun 23, 2026
@mrudatsprint mrudatsprint changed the title build: The angular and react publish github workflows are failing build: The GitHub workflows to publish the React and Angular SDKs to npmjs are failing Jun 23, 2026
…peScript to use vitest's bundled vite types. It was a double-slash or comment. Also, don't pull in vite.config.ts in tsconfig.json as this was pulling the vite config into type checking.
@mrudatsprint mrudatsprint requested a review from Copilot June 24, 2026 14:05
@mrudatsprint mrudatsprint changed the title build: The GitHub workflows to publish the React and Angular SDKs to npmjs are failing build: GitHub workflows to publish the React and Angular SDKs to npmjs are failing Jun 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes npm publish workflow failures for the React and Angular SDK packages by ensuring required package metadata is present for npm provenance and by resolving a React build/typecheck issue introduced during the Angular 22 upgrade.

Changes:

  • React: ensure Vitest types are correctly referenced in vite.config.ts and avoid typechecking the Vite config via tsconfig.json.
  • Angular: add repository metadata (plus standard author, license, bugs) to satisfy npm provenance/source requirements.

Reviewed changes

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

File Description
packages/sdk-react/vite.config.ts Uses a proper triple-slash reference so the config can typecheck with Vitest types.
packages/sdk-react/tsconfig.json Stops including vite.config.ts in tsc compilation to prevent config-related build/typecheck failures.
packages/sdk-angular/projects/fusionauth-angular-sdk/package.json Adds repository.url (and related metadata) required for npm’s signed provenance publication.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants