-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
45 lines (36 loc) · 1.3 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
45 lines (36 loc) · 1.3 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
# pnpm workspace configuration
packages:
# Core packages
- 'packages/*'
# Website package (hidden app root)
- 'website/.markopress'
# Enable workspace protocol
# This allows packages to reference each other using workspace: prefix
# Example: "markopress": "workspace:*"
# Catalog settings (optional but recommended)
catalogs:
default:
# Default catalog for shared dependencies
# This helps keep versions consistent across packages
react: ^18.0.0
react-dom: ^18.0.0
# MarkoPress internal packages
# These will be available as workspace: references
markopress: "workspace:*"
"@markopress/website": "workspace:*"
# Workspace settings
# See: https://pnpm.io/npmrc.html
# Enable public workspace protocol (recommended for monorepos)
# This allows workspace dependencies to be referenced externally
public-hoist-pattern:
- '*'
- '**/*'
# Link workspace packages (default: true)
# When true, pnpm creates links to workspace packages instead of copying
link-workspace-packages: true
# Prefer workspace versions (default: true)
# When true, pnpm prefers local workspace versions over registry versions
prefer-workspace-packages: true
# Workspace package location (default: node_modules/.pnpm)
# Where to store links to workspace packages
# workspace-package-location: node_modules/.pnpm