developit / nextjs-preact-demo

Next.js 9.3 + Preact = 21kB
https://nextjs-preact.now.sh
384 stars 25 forks source link

How to update those linked packages? #20

Closed muuvmuuv closed 4 years ago

muuvmuuv commented 4 years ago

I have never worked with linked package versions in yarn, how do I update those?

    "react": "github:preact-compat/react#1.0.0",
    "react-dom": "github:preact-compat/react-dom#1.0.0",
    "react-ssr-prepass": "npm:preact-ssr-prepass@^1.0.1"
developit commented 4 years ago

Hiya - the first two are just alias packages that contain no code. Releases for them are here, though they're unlikely to ever need to be updated.

The last one is a standard npm/yarn dependency, just with the name aliased. You can see version of the package here: https://www.npmjs.com/package/preact-ssr-prepass

developit commented 4 years ago

They've been updated as of #21/#22.