-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
60 lines (56 loc) · 1.86 KB
/
pnpm-workspace.yaml
File metadata and controls
60 lines (56 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
packages:
- 'packages/**/*'
- 'packages/astro/test/units/_temp-fixtures'
- 'examples/**/*'
- 'triage/*'
- 'smoke/**/*'
- 'temp/*'
- 'scripts'
- 'benchmark'
- 'benchmark/packages/*'
- 'benchmark/static-projects/*'
# Below excludes are only for Turbo because it doesn't respect gitignore like pnpm does
- '!packages/astro/test/units/_temp-fixtures/*'
- '!**/.vercel/**'
# Important! Never install `astro` even when new version is in registry
preferWorkspacePackages: true
linkWorkspacePackages: true
saveWorkspaceProtocol: false # This prevents the examples to have the `workspace:` prefix
autoInstallPeers: false
# Vite's esbuild optimizer has trouble optimizing `@astrojs/lit/client-shim.js`
# which imports this dependency.
publicHoistPattern:
- '@webcomponents/template-shadowroot'
# There's a lit dependency duplication somewhere causing multiple Lit versions error.
- '*lit*'
# `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.
- '@astrojs/db'
# Wait until three days after release to install new versions of packages
minimumReleaseAge: 4320
minimumReleaseAgeExclude:
# TODO: remove once more stable
- '@flue/*'
- '@astrojs/compiler'
- '@astrojs/compiler-rs'
- '@astrojs/compiler-binding*'
# Renovate security update: fast-xml-parser@5.3.8
- fast-xml-parser@5.3.8
# Renovate security update: svelte@5.53.5
- svelte@5.53.5
peerDependencyRules:
allowAny:
- 'astro'
- 'vite'
onlyBuiltDependencies:
- 'esbuild'
- 'workerd'
- '@biomejs/biome'
- 'sharp'
- '@parcel/watcher'
- 'keytar'
- '@vscode/vsce-sign'
patchedDependencies:
'@changesets/get-github-info@0.7.0': patches/@changesets__get-github-info@0.7.0.patch
# TODO: enable when viable
# trustPolicy: 'no-downgrade'