Skip to content

fix: publishing#61

Merged
stevesarmiento merged 1 commit intomainfrom
fix-publishing
Feb 2, 2026
Merged

fix: publishing#61
stevesarmiento merged 1 commit intomainfrom
fix-publishing

Conversation

@stevesarmiento
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mosaic Ready Ready Preview, Comment Feb 2, 2026 4:43am

Request Review

@greptile-apps
Copy link

greptile-apps bot commented Feb 2, 2026

Greptile Overview

Greptile Summary

Added repository field to both @solana/mosaic-sdk and @solana/mosaic-cli package.json files to fix publishing metadata.

  • Adds repository URL, type, and monorepo directory path to both packages
  • Enables proper package source linking on NPM registry
  • Complements the publishing workflow added in PR chore: change package naming, addd publish ci  #60
  • Standard metadata required for npm packages in monorepos

Confidence Score: 5/5

  • Safe to merge - adds standard npm package metadata with no functional changes
  • This PR only adds repository metadata fields to package.json files, which is a standard npm best practice and poses no risk
  • No files require special attention

Important Files Changed

Filename Overview
packages/cli/package.json Added repository field for npm publishing metadata
packages/sdk/package.json Added repository field for npm publishing metadata

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant GH as GitHub Actions
    participant NPM as NPM Registry
    
    Note over Dev,NPM: Publishing Flow
    
    Dev->>GH: Push tag (v*) or manual workflow dispatch
    GH->>GH: Checkout code
    GH->>GH: Setup Node.js 20 + pnpm 10
    GH->>GH: Install dependencies (pnpm install)
    GH->>GH: Build packages (pnpm build)
    
    alt Publishing SDK
        GH->>NPM: npm publish @solana/mosaic-sdk<br/>(with repository metadata)
    end
    
    alt Publishing CLI
        GH->>NPM: npm publish @solana/mosaic-cli<br/>(with repository metadata)
    end
    
    GH->>GH: Create GitHub Release
    
    Note over Dev,NPM: Repository field added in this PR<br/>enables proper package metadata on NPM
Loading

@stevesarmiento stevesarmiento merged commit 543083d into main Feb 2, 2026
4 checks passed
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.

1 participant