Skip to content

Commit 061856a

Browse files
committed
avoid yarn warnings on install
1 parent b4cfdb4 commit 061856a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.yarnrc.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11
nodeLinker: node-modules
2+
3+
# Patch upstream JupyterLab packages for peer validation. Does NOT install
4+
# anything — react/typescript are already in our package.json.
5+
# - testutils: declare typescript peer so Yarn sees it as satisfied by our root.
6+
# - settingregistry: mark react peer as optional so Yarn doesn't require
7+
# services to "provide" it (we have react at root; this only relaxes the check).
8+
packageExtensions:
9+
"@jupyterlab/settingregistry@*":
10+
peerDependenciesMeta:
11+
react:
12+
optional: true
13+
"@jupyterlab/testutils@*":
14+
peerDependencies:
15+
typescript: "*"

0 commit comments

Comments
 (0)