Skip to content

Commit 1842173

Browse files
committed
update with review comments
1 parent 4b8a889 commit 1842173

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

labextension/.yarnrc.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# jlpm in JupyterLab 4 is yarn 3
2-
# Config reference: https://yarnpkg.com/configuration/yarnrc
2+
#
3+
# JupyterLab 4 is used when building the extension as specified via
4+
# ../pyproject.toml's build-system config, but the built extension can be used by
5+
# JupyterLab 3 as well.
36

47
enableInlineBuilds: false
58
enableTelemetry: false
@@ -8,16 +11,17 @@ nodeLinker: node-modules
811
npmRegistryServer: https://registry.npmjs.org/
912
installStatePath: ./build/.cache/yarn/install-state.gz
1013
cacheFolder: ./build/.cache/yarn/cache
14+
# logFilters codes described: https://yarnpkg.com/advanced/error-codes
1115
logFilters:
12-
- code: YN0006
16+
- code: YN0002 # MISSING_PEER_DEPENDENCY
1317
level: discard
14-
- code: YN0002
18+
- code: YN0006 # SOFT_LINK_BUILD
1519
level: discard
16-
- code: YN0007
20+
- code: YN0007 # MUST_BUILD
1721
level: discard
18-
- code: YN0013
22+
- code: YN0008 # MUST_REBUILD
1923
level: discard
20-
- code: YN0019
24+
- code: YN0013 # FETCH_NOT_CACHED
2125
level: discard
22-
- code: YN0008
26+
- code: YN0019 # UNUSED_CACHE_ENTRY
2327
level: discard

labextension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"watch:src": "jlpm build:lib -w --preserveWatchOutput",
4242
"watch:labextension": "jupyter labextension watch .",
4343
"deduplicate": "yarn-deduplicate -s fewer --fail",
44-
"lint:prettier": "prettier --write \"../.github/**/*.yaml\" \"../*.{yaml,yml,md}\" \"../docs/**/*.md\" \"src/**/*.{tsx,ts}\""
44+
"lint:prettier": "prettier --write \"../.github/**/*.yaml\" \"../*.{yaml,yml,md}\" \"../docs/**/*.md\" \"src/**/*.{tsx,ts}\" \"./*.{yml,json,md}\""
4545
},
4646
"dependencies": {
4747
"@jupyterlab/application": "^2.0 || ^3.0 || ^4.0",

0 commit comments

Comments
 (0)