2022-03-08 15:46:11 -06:00
|
|
|
# Important! Never install `astro` even when new version is in registry
|
|
|
|
prefer-workspace-packages=true
|
2022-03-09 15:36:56 -03:00
|
|
|
link-workspace-packages=true
|
|
|
|
save-workspace-protocol=false # This prevents the examples to have the `workspace:` prefix
|
2022-08-29 18:00:08 +02:00
|
|
|
auto-install-peers=false
|
2022-03-09 15:36:56 -03:00
|
|
|
|
2022-09-28 23:13:33 +08:00
|
|
|
# Vite's esbuild optimizer has trouble optimizing `@astrojs/lit/client-shim.js`
|
|
|
|
# which imports this dependency.
|
|
|
|
public-hoist-pattern[]=@webcomponents/template-shadowroot
|
|
|
|
# There's a lit dependency duplication somewhere causing multiple Lit versions error.
|
|
|
|
public-hoist-pattern[]=*lit*
|
2024-06-26 17:19:16 +08:00
|
|
|
# `astro sync` could try to import `@astrojs/db` but could fail due to linked dependencies in the monorepo.
|
|
|
|
# We hoist it here so that it can easily resolve `@astrojs/db` without hardcoded handling.
|
|
|
|
public-hoist-pattern[]=@astrojs/db
|