๐Ÿ“ฆ makeplane / plane

๐Ÿ“„ .npmrc ยท 54 lines
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# ------------------------------
# Core Workspace Behavior
# ------------------------------

# Always prefer using local workspace packages when available
prefer-workspace-packages = true

# Symlink workspace packages instead of duplicating them
link-workspace-packages = true

# Use a single lockfile across the whole monorepo
shared-workspace-lockfile = true

# Ensure packages added from workspace save using workspace: protocol
save-workspace-protocol = true


# ------------------------------
# Dependency Resolution
# ------------------------------

# Choose the highest compatible version across the workspace
# โ†’ reduces fragmentation & node_modules bloat
resolution-mode = highest

# Automatically install peer dependencies instead of forcing every package to declare them
auto-install-peers = true

# Don't break the install if peers are missing
strict-peer-dependencies = false


# ------------------------------
# Performance Optimizations
# ------------------------------

# Use cached artifacts for native modules (sharp, esbuild, etc.)
side-effects-cache = true

# Prefer local cached packages rather than hitting network
prefer-offline = true

# In CI, refuse to modify lockfile (prevents drift)
prefer-frozen-lockfile = true

# Use isolated linker (best compatibility with Node ecosystem tools)
node-linker = isolated

# Hoist commonly used tools to the root to prevent duplicates and speed up resolution
public-hoist-pattern[] = typescript
public-hoist-pattern[] = eslint
public-hoist-pattern[] = *@plane/*
public-hoist-pattern[] = vite
public-hoist-pattern[] = turbo