Skip to content

Conversation

merrcury
Copy link
Member

This pull request updates the release workflow and publishing configuration for several packages to improve consistency and automation. The main changes involve switching to Nx's run-many command for publishing, introducing a custom nx-release-publish target for each package, and removing direct publish scripts from package manifests.

Release workflow improvements:

  • Updated .github/workflows/release-packages.yml to use pnpm nx run-many -t nx-release-publish for publishing packages, with support for nightly and latest tags via the NX_RELEASE_TAG environment variable.

Nx publish target additions:

  • Added a new nx-release-publish target to project.json files for @novu/js, @novu/react, @novu/nextjs, and @novu/react-native, enabling consistent publishing with custom options (public access, no git checks, dynamic tag). [1] [2] [3] [4]

Package manifest cleanup:

  • Removed the "publish" script from the package.json files of @novu/js, @novu/react, and @novu/nextjs, centralizing publish logic in Nx targets instead. [1] [2] [3]

Build and publish script refinement:

  • Updated the prepublishOnly script in packages/add-inbox/package.json to suppress build output for cleaner logs.

@linear
Copy link

linear bot commented Aug 13, 2025

@netlify
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for dashboard-v2-novu-staging canceled.

Name Link
🔨 Latest commit c22578f
🔍 Latest deploy log https://app.netlify.com/projects/dashboard-v2-novu-staging/deploys/689c7cdeb1e5ad0008cee0f0

@github-actions github-actions bot added the CI/CD label Aug 13, 2025
@merrcury merrcury requested a review from ChmaraX August 13, 2025 11:54
@merrcury merrcury changed the title fix(root): nx release publish issue for syntax error NV-6506 fix(root): nx release publish issue for syntax error fixes NV-6506 Aug 13, 2025
@merrcury merrcury self-assigned this Aug 13, 2025
@merrcury merrcury enabled auto-merge (squash) August 13, 2025 12:01
@merrcury merrcury merged commit 16ed59d into next Aug 13, 2025
30 checks passed
@merrcury merrcury deleted the fix/nx-publish branch August 13, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants