0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

shamefully hoist to unblock

This commit is contained in:
Fred K. Schott 2022-03-09 11:31:35 -08:00
parent fa3cd4f53c
commit 1aa9fe43aa

30
.npmrc
View file

@ -3,17 +3,19 @@ prefer-workspace-packages=true
link-workspace-packages=true link-workspace-packages=true
save-workspace-protocol=false # This prevents the examples to have the `workspace:` prefix save-workspace-protocol=false # This prevents the examples to have the `workspace:` prefix
# Rather than shamefully hoisting everything, just make problematic packages public shamefully-hoist=true
public-hoist-pattern[]=autoprefixer # TODO: We would like to move to individual opt-in hoisting, but Astro was not originally
public-hoist-pattern[]=astro # written with this in mind. In the future, it would be good to hoist individual packages only.
public-hoist-pattern[]=remark-* # public-hoist-pattern[]=autoprefixer
public-hoist-pattern[]=rehype-* # public-hoist-pattern[]=astro
public-hoist-pattern[]=react # public-hoist-pattern[]=remark-*
public-hoist-pattern[]=react-dom # public-hoist-pattern[]=rehype-*
public-hoist-pattern[]=preact # public-hoist-pattern[]=react
public-hoist-pattern[]=preact-render-to-string # public-hoist-pattern[]=react-dom
public-hoist-pattern[]=vue # public-hoist-pattern[]=preact
public-hoist-pattern[]=svelte # public-hoist-pattern[]=preact-render-to-string
public-hoist-pattern[]=solid-js # public-hoist-pattern[]=vue
public-hoist-pattern[]=lit # public-hoist-pattern[]=svelte
public-hoist-pattern[]=@webcomponents/template-shadowroot # public-hoist-pattern[]=solid-js
# public-hoist-pattern[]=lit
# public-hoist-pattern[]=@webcomponents/template-shadowroot