Skip to content

Commit

Permalink
Bgd 4170 force local packages versions (#27)
Browse files Browse the repository at this point in the history
fix semver and use local packages
  • Loading branch information
sigmarkarl authored May 3, 2024
1 parent 8a7178b commit 704f999
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dev_mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@jupyterlab/lsp": "~4.1.8",
"@jupyterlab/lsp-extension": "~4.1.8",
"@jupyterlab/mainmenu": "~4.1.8",
"@jupyterlab/mainmenu-extension": "~4.1.8",
"@jupyterlab/mainmenu-extension": "../packages/mainmenu-extension",
"@jupyterlab/markdownviewer": "~4.1.8",
"@jupyterlab/markdownviewer-extension": "~4.1.8",
"@jupyterlab/markedparser-extension": "~4.1.8",
Expand Down Expand Up @@ -115,7 +115,7 @@
"@jupyterlab/tooltip-extension": "~4.1.8",
"@jupyterlab/translation": "~4.1.8",
"@jupyterlab/translation-extension": "~4.1.8",
"@jupyterlab/ui-components": "~4.1.8",
"@jupyterlab/ui-components": "../packages/ui-components",
"@jupyterlab/ui-components-extension": "~4.1.8",
"@jupyterlab/vega5-extension": "~4.1.8",
"@lezer/common": "^1.0.0",
Expand Down
4 changes: 4 additions & 0 deletions jupyterlab/semver.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,10 @@ class Range:
def __init__(self, range_, loose):
if "/services" in range_:
range_ = "~7.1.8"
elif "/ui-components" in range_:
range_ = "~4.1.8"
elif "/mainmenu-extension" in range_:
range_ = "~4.1.8"

self.loose = loose
# First, split based on boolean or ||
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/staging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@jupyterlab/lsp": "~4.1.8",
"@jupyterlab/lsp-extension": "~4.1.8",
"@jupyterlab/mainmenu": "~4.1.8",
"@jupyterlab/mainmenu-extension": "~4.1.8",
"@jupyterlab/mainmenu-extension": "../../packages/mainmenu-extension",
"@jupyterlab/markdownviewer": "~4.1.8",
"@jupyterlab/markdownviewer-extension": "~4.1.8",
"@jupyterlab/markedparser-extension": "~4.1.8",
Expand Down Expand Up @@ -115,7 +115,7 @@
"@jupyterlab/tooltip-extension": "~4.1.8",
"@jupyterlab/translation": "~4.1.8",
"@jupyterlab/translation-extension": "~4.1.8",
"@jupyterlab/ui-components": "~4.1.8",
"@jupyterlab/ui-components": "../../packages/ui-components",
"@jupyterlab/ui-components-extension": "~4.1.8",
"@jupyterlab/vega5-extension": "~4.1.8",
"@lezer/common": "^1.0.0",
Expand Down

0 comments on commit 704f999

Please sign in to comment.