forked from facebook/astryx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.npmrc
More file actions
19 lines (15 loc) · 842 Bytes
/
Copy path.npmrc
File metadata and controls
19 lines (15 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Hoist deps to the root node_modules to mirror Yarn 1's flat layout.
# This is the conservative migration default — keeps build-time tools
# that walk node_modules (StyleX babel plugin, Storybook, etc.) working
# without changes. We can tighten this later (e.g. specific
# public-hoist-pattern entries) if/when the team wants stricter
# isolation.
shamefully-hoist=true
# Use the Node-modules linker (default), not pnpm's PnP. Matches Yarn 1.
node-linker=hoisted
# pnpm 10 flipped the default for link-workspace-packages from true to false,
# which would force every internal "@astryxdesign/*": "*" dep to resolve from the
# registry. Restore the Yarn 1 / pnpm <10 behavior so workspace packages
# link locally. Removing this requires migrating every internal dep to the
# explicit "workspace:*" protocol.
link-workspace-packages=true