can I delete this line "react-web@latest": "link:plasmicapp/react-web@latest", from package.json?

I’m pretty sure this was added by via a plasmic sync to my package.json

“react-web@latest”: “link:plasmicapp/react-web@latest”,

it exists in addition to
@plasmicapp/react-web”: “^0.2.403”,

I would assume its there on purpose.

(I also noticed that sometimes in the past I had to manually update @plasmicapp/react-web after a plasmic sync for my app to run.)

I would like to delete this line if possible. because it causes my IDE (Webstorm) to always tell me that I have to ‘update dependencies’

Hello @johannes_horteis

We were not able to reproduce this issue on our end. Does it happen when you codegen a new project using the Plasmic CLI?

Also, you might need to update @plasmicapp/react-web if the latest codegen requires it. You will be informed of that during the sync operation. The currently required @plasmicapp/react-web version is 0.2.404, which might be why you are being prompted to update dependencies.

This happens on 2 very old projects using Plasmic codegen.

at some point in time their package.json files received this line
“react-web@latest”: “link:plasmicapp/react-web@latest”,

I would like to remove it, if possible

and pnpm update @plasmicapp/react-web is something that we often have to do, otherwise the app might not run

Yes you can remove “react-web@latest”: “link:plasmicapp/react-web@latest”,