You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Admonitions reverted back to pre-beta.4 design when using yarn 3 PnP #6140
bugAn error in the Docusaurus core causing instability or issues with its executionclosed: wontfixA fix will bring significant overhead, or is out of scope (for feature requests)
I have read the console error message carefully (if applicable).
Description
Switching to yarn 3 (a radically different package manager) , my admonitions now look like those found in the remark-admonitions readme instead of those found in the docusaurus docs.
Why is it that the admonitions in the remark-admonitions github readme look totally different from those in your documentation? If I can understand where that different styling is coming in, maybe I can understand how to fix the issue. Your admonition styling in preset-classic is MUCH better.
Hi, the admonition design is done on the Infima side (facebookincubator/infima#155) and it was just that the remark-admonitions README wasn't updated. Could you do yarn why infima and check the version of Infima installed?
I have several websites also using PnP and I've not observed that behavior.
changed the title [-]Admonitions look horrible when using yarn 3 (plug and play)[/-][+]Admonitions reverted back to pre-beta.4 design when using yarn 3 PnP[/+]on Dec 21, 2021
It looks like preset-classic is pulling in an older version of theme-classic, which is pulling in the old [email protected] (latest alpha.36). Peculiar. I don't know why there is a difference between the main package name and the "via npm" package name, that is peculiar. More research.
Theoretically we could deprecate those canary versions, but in practice there are too many of them🤦♂️ You are not the first to encounter this, but in fact we've received very few complaints about pkg managers resolving to a terrible pre-release version. Maybe Yarn also checks release timestamps when doing upgrades? At least I use fixed versions
bugAn error in the Docusaurus core causing instability or issues with its executionclosed: wontfixA fix will bring significant overhead, or is out of scope (for feature requests)
Activity
Josh-Cena commentedon Dec 21, 2021
Hi, the admonition design is done on the Infima side (facebookincubator/infima#155) and it was just that the
remark-admonitionsREADME wasn't updated. Could you doyarn why infimaand check the version of Infima installed?I have several websites also using PnP and I've not observed that behavior.
[-]Admonitions look horrible when using yarn 3 (plug and play)[/-][+]Admonitions reverted back to pre-beta.4 design when using yarn 3 PnP[/+]factoidforrest commentedon Dec 21, 2021
Hm
factoidforrest commentedon Dec 21, 2021
It looks like preset-classic is pulling in an older version of theme-classic, which is pulling in the old [email protected] (latest alpha.36). Peculiar. I don't know why there is a difference between the main package name and the "via npm" package name, that is peculiar. More research.
Josh-Cena commentedon Dec 21, 2021
You are not installing the right Docusaurus version. Please use exact versions rather than caret versions; we had a bad canary version naming and that version
2.0.0-beta.ff31de0ffwas actually a pre-release forbeta.0(https://www.npmjs.com/package/@docusaurus/core/v/2.0.0-beta.ff31de0ff)Josh-Cena commentedon Dec 21, 2021
Theoretically we could deprecate those canary versions, but in practice there are too many of them🤦♂️ You are not the first to encounter this, but in fact we've received very few complaints about pkg managers resolving to a terrible pre-release version. Maybe Yarn also checks release timestamps when doing upgrades? At least I use fixed versions
factoidforrest commentedon Dec 21, 2021
Thank you very much!