Skip to content

@silvery/ui@0.3.0 was published with unresolved workspace:* dependencies #2

@howmanysmall

Description

@howmanysmall

@silvery/ui@0.3.0 was published with unresolved workspace:* dependencies

@silvery/ui@0.3.0 is published with workspace:* dependencies that Bun can't resolve outside the monorepo.

I hit this when running:

bun add @silvery/ui

Current package metadata includes:

{
	"dependencies": {
		"@silvery/react": "workspace:*",
		"@silvery/theme": "workspace:*"
	}
}

Bun treats those as local workspace dependencies and fails:

bun add @silvery/ui

error: Workspace dependency "@silvery/react" not found
error: Workspace dependency "@silvery/theme" not found
error: @silvery/react@workspace:* failed to resolve
error: @silvery/theme@workspace:* failed to resolve

@silvery/react@0.3.0 and @silvery/theme@0.3.0 are both on npm, so it looks like the publish step didn't rewrite workspace:* to real versions.

Environment:

  • Bun: 1.3.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions