Skip to content

Conversation

@ItsxZaid
Copy link

Overview

The latest version of @wxt-dev/storage (v1.2.5) was published with an internal "@wxt-dev/browser": "workspace:^" dependency. This breaks the installation for end-users, as it's an unresolved workspace protocol.

This PR directly replaces the workspace:^ protocol in the source package.json with a concrete version range (^0.1.4). This ensures that the unbuild process generates a correct package.json for publishing, resolving the installation error.

Manual Testing

I have verified this fix locally by running pnpm pack and inspecting the resulting package.json in the tarball to confirm the protocol was correctly replaced. All project tests (pnpm test) also pass.

Related Issue

This PR closes #1933

@netlify
Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for creative-fairy-df92c4 failed.

Name Link
🔨 Latest commit 1e732a0
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/68ecdd738967570008f45773

@LasyIsLazy
Copy link

The root cause isn't in the code, but in the publishing tool. Using pnpm publish instead of npm publish should fix it, as pnpm is designed to correctly handle the workspace: protocol during publication.

@flazouh
Copy link

flazouh commented Oct 13, 2025

Merge this ASAP please.

@lishaduck
Copy link
Contributor

lishaduck commented Oct 25, 2025

Superseded by #1943, which implemented the correct fix (and should be released pretty soon)

@aklinker1
Copy link
Member

aklinker1 commented Oct 25, 2025

I've deprecated the bad version on NPM, I'll fix this by fixing the publishing workflow. Thanks for opening the PR!

#1933 (comment)

@aklinker1 aklinker1 closed this Oct 25, 2025
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.

latest version has a bug

5 participants