Skip to content

Commit

Permalink
Try using a portal to submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Oct 8, 2023
1 parent 331f541 commit f84f759
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 99 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
run: |
cd jupyterlab
python -m pip install -e .
jlpm install
jlpm build
# python -m pip install -U "jupyterlab>=4.0.0,<5"
- name: Lint the extension
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "jupyterlab"]
path = jupyterlab
url = https://github.com/krassowski/jupyterlab
branch = inline-completion-api
1 change: 1 addition & 0 deletions jupyterlab
Submodule jupyterlab added at bdbd13
196 changes: 98 additions & 98 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,103 +185,103 @@
}
},
"resolutions": {
"@jupyterlab/buildutils": "portal:/home/krassowski/jupyterlab/buildutils",
"@jupyterlab/template": "portal:/home/krassowski/jupyterlab/buildutils/template",
"@jupyterlab/galata": "portal:/home/krassowski/jupyterlab/galata",
"@jupyterlab/application": "portal:/home/krassowski/jupyterlab/packages/application",
"@jupyterlab/application-extension": "portal:/home/krassowski/jupyterlab/packages/application-extension",
"@jupyterlab/apputils": "portal:/home/krassowski/jupyterlab/packages/apputils",
"@jupyterlab/apputils-extension": "portal:/home/krassowski/jupyterlab/packages/apputils-extension",
"@jupyterlab/attachments": "portal:/home/krassowski/jupyterlab/packages/attachments",
"@jupyterlab/cell-toolbar": "portal:/home/krassowski/jupyterlab/packages/cell-toolbar",
"@jupyterlab/cell-toolbar-extension": "portal:/home/krassowski/jupyterlab/packages/cell-toolbar-extension",
"@jupyterlab/cells": "portal:/home/krassowski/jupyterlab/packages/cells",
"@jupyterlab/celltags-extension": "portal:/home/krassowski/jupyterlab/packages/celltags-extension",
"@jupyterlab/codeeditor": "portal:/home/krassowski/jupyterlab/packages/codeeditor",
"@jupyterlab/codemirror": "portal:/home/krassowski/jupyterlab/packages/codemirror",
"@jupyterlab/codemirror-extension": "portal:/home/krassowski/jupyterlab/packages/codemirror-extension",
"@jupyterlab/completer": "portal:/home/krassowski/jupyterlab/packages/completer",
"@jupyterlab/completer-extension": "portal:/home/krassowski/jupyterlab/packages/completer-extension",
"@jupyterlab/console": "portal:/home/krassowski/jupyterlab/packages/console",
"@jupyterlab/console-extension": "portal:/home/krassowski/jupyterlab/packages/console-extension",
"@jupyterlab/coreutils": "portal:/home/krassowski/jupyterlab/packages/coreutils",
"@jupyterlab/csvviewer": "portal:/home/krassowski/jupyterlab/packages/csvviewer",
"@jupyterlab/csvviewer-extension": "portal:/home/krassowski/jupyterlab/packages/csvviewer-extension",
"@jupyterlab/debugger": "portal:/home/krassowski/jupyterlab/packages/debugger",
"@jupyterlab/debugger-extension": "portal:/home/krassowski/jupyterlab/packages/debugger-extension",
"@jupyterlab/docmanager": "portal:/home/krassowski/jupyterlab/packages/docmanager",
"@jupyterlab/docmanager-extension": "portal:/home/krassowski/jupyterlab/packages/docmanager-extension",
"@jupyterlab/docregistry": "portal:/home/krassowski/jupyterlab/packages/docregistry",
"@jupyterlab/documentsearch": "portal:/home/krassowski/jupyterlab/packages/documentsearch",
"@jupyterlab/documentsearch-extension": "portal:/home/krassowski/jupyterlab/packages/documentsearch-extension",
"@jupyterlab/extensionmanager": "portal:/home/krassowski/jupyterlab/packages/extensionmanager",
"@jupyterlab/extensionmanager-extension": "portal:/home/krassowski/jupyterlab/packages/extensionmanager-extension",
"@jupyterlab/filebrowser": "portal:/home/krassowski/jupyterlab/packages/filebrowser",
"@jupyterlab/filebrowser-extension": "portal:/home/krassowski/jupyterlab/packages/filebrowser-extension",
"@jupyterlab/fileeditor": "portal:/home/krassowski/jupyterlab/packages/fileeditor",
"@jupyterlab/fileeditor-extension": "portal:/home/krassowski/jupyterlab/packages/fileeditor-extension",
"@jupyterlab/help-extension": "portal:/home/krassowski/jupyterlab/packages/help-extension",
"@jupyterlab/htmlviewer": "portal:/home/krassowski/jupyterlab/packages/htmlviewer",
"@jupyterlab/htmlviewer-extension": "portal:/home/krassowski/jupyterlab/packages/htmlviewer-extension",
"@jupyterlab/hub-extension": "portal:/home/krassowski/jupyterlab/packages/hub-extension",
"@jupyterlab/imageviewer": "portal:/home/krassowski/jupyterlab/packages/imageviewer",
"@jupyterlab/imageviewer-extension": "portal:/home/krassowski/jupyterlab/packages/imageviewer-extension",
"@jupyterlab/inspector": "portal:/home/krassowski/jupyterlab/packages/inspector",
"@jupyterlab/inspector-extension": "portal:/home/krassowski/jupyterlab/packages/inspector-extension",
"@jupyterlab/javascript-extension": "portal:/home/krassowski/jupyterlab/packages/javascript-extension",
"@jupyterlab/json-extension": "portal:/home/krassowski/jupyterlab/packages/json-extension",
"@jupyterlab/launcher": "portal:/home/krassowski/jupyterlab/packages/launcher",
"@jupyterlab/launcher-extension": "portal:/home/krassowski/jupyterlab/packages/launcher-extension",
"@jupyterlab/logconsole": "portal:/home/krassowski/jupyterlab/packages/logconsole",
"@jupyterlab/logconsole-extension": "portal:/home/krassowski/jupyterlab/packages/logconsole-extension",
"@jupyterlab/lsp": "portal:/home/krassowski/jupyterlab/packages/lsp",
"@jupyterlab/lsp-extension": "portal:/home/krassowski/jupyterlab/packages/lsp-extension",
"@jupyterlab/mainmenu": "portal:/home/krassowski/jupyterlab/packages/mainmenu",
"@jupyterlab/mainmenu-extension": "portal:/home/krassowski/jupyterlab/packages/mainmenu-extension",
"@jupyterlab/markdownviewer": "portal:/home/krassowski/jupyterlab/packages/markdownviewer",
"@jupyterlab/markdownviewer-extension": "portal:/home/krassowski/jupyterlab/packages/markdownviewer-extension",
"@jupyterlab/markedparser-extension": "portal:/home/krassowski/jupyterlab/packages/markedparser-extension",
"@jupyterlab/mathjax-extension": "portal:/home/krassowski/jupyterlab/packages/mathjax-extension",
"@jupyterlab/mermaid": "portal:/home/krassowski/jupyterlab/packages/mermaid",
"@jupyterlab/mermaid-extension": "portal:/home/krassowski/jupyterlab/packages/mermaid-extension",
"@jupyterlab/metadataform": "portal:/home/krassowski/jupyterlab/packages/metadataform",
"@jupyterlab/metadataform-extension": "portal:/home/krassowski/jupyterlab/packages/metadataform-extension",
"@jupyterlab/metapackage": "portal:/home/krassowski/jupyterlab/packages/metapackage",
"@jupyterlab/nbconvert-css": "portal:/home/krassowski/jupyterlab/packages/nbconvert-css",
"@jupyterlab/nbformat": "portal:/home/krassowski/jupyterlab/packages/nbformat",
"@jupyterlab/notebook": "portal:/home/krassowski/jupyterlab/packages/notebook",
"@jupyterlab/notebook-extension": "portal:/home/krassowski/jupyterlab/packages/notebook-extension",
"@jupyterlab/observables": "portal:/home/krassowski/jupyterlab/packages/observables",
"@jupyterlab/outputarea": "portal:/home/krassowski/jupyterlab/packages/outputarea",
"@jupyterlab/pdf-extension": "portal:/home/krassowski/jupyterlab/packages/pdf-extension",
"@jupyterlab/property-inspector": "portal:/home/krassowski/jupyterlab/packages/property-inspector",
"@jupyterlab/rendermime": "portal:/home/krassowski/jupyterlab/packages/rendermime",
"@jupyterlab/rendermime-extension": "portal:/home/krassowski/jupyterlab/packages/rendermime-extension",
"@jupyterlab/rendermime-interfaces": "portal:/home/krassowski/jupyterlab/packages/rendermime-interfaces",
"@jupyterlab/running": "portal:/home/krassowski/jupyterlab/packages/running",
"@jupyterlab/running-extension": "portal:/home/krassowski/jupyterlab/packages/running-extension",
"@jupyterlab/services": "portal:/home/krassowski/jupyterlab/packages/services",
"@jupyterlab/settingeditor": "portal:/home/krassowski/jupyterlab/packages/settingeditor",
"@jupyterlab/settingeditor-extension": "portal:/home/krassowski/jupyterlab/packages/settingeditor-extension",
"@jupyterlab/settingregistry": "portal:/home/krassowski/jupyterlab/packages/settingregistry",
"@jupyterlab/shortcuts-extension": "portal:/home/krassowski/jupyterlab/packages/shortcuts-extension",
"@jupyterlab/statedb": "portal:/home/krassowski/jupyterlab/packages/statedb",
"@jupyterlab/statusbar": "portal:/home/krassowski/jupyterlab/packages/statusbar",
"@jupyterlab/statusbar-extension": "portal:/home/krassowski/jupyterlab/packages/statusbar-extension",
"@jupyterlab/terminal": "portal:/home/krassowski/jupyterlab/packages/terminal",
"@jupyterlab/terminal-extension": "portal:/home/krassowski/jupyterlab/packages/terminal-extension",
"@jupyterlab/testing": "portal:/home/krassowski/jupyterlab/packages/testing",
"@jupyterlab/theme-dark-extension": "portal:/home/krassowski/jupyterlab/packages/theme-dark-extension",
"@jupyterlab/theme-light-extension": "portal:/home/krassowski/jupyterlab/packages/theme-light-extension",
"@jupyterlab/toc": "portal:/home/krassowski/jupyterlab/packages/toc",
"@jupyterlab/toc-extension": "portal:/home/krassowski/jupyterlab/packages/toc-extension",
"@jupyterlab/tooltip": "portal:/home/krassowski/jupyterlab/packages/tooltip",
"@jupyterlab/tooltip-extension": "portal:/home/krassowski/jupyterlab/packages/tooltip-extension",
"@jupyterlab/translation": "portal:/home/krassowski/jupyterlab/packages/translation",
"@jupyterlab/translation-extension": "portal:/home/krassowski/jupyterlab/packages/translation-extension",
"@jupyterlab/ui-components": "portal:/home/krassowski/jupyterlab/packages/ui-components",
"@jupyterlab/ui-components-extension": "portal:/home/krassowski/jupyterlab/packages/ui-components-extension",
"@jupyterlab/vega5-extension": "portal:/home/krassowski/jupyterlab/packages/vega5-extension",
"@jupyterlab/testutils": "portal:/home/krassowski/jupyterlab/testutils"
"@jupyterlab/buildutils": "portal:./jupyterlab/buildutils",
"@jupyterlab/template": "portal:./jupyterlab/buildutils/template",
"@jupyterlab/galata": "portal:./jupyterlab/galata",
"@jupyterlab/application": "portal:./jupyterlab/packages/application",
"@jupyterlab/application-extension": "portal:./jupyterlab/packages/application-extension",
"@jupyterlab/apputils": "portal:./jupyterlab/packages/apputils",
"@jupyterlab/apputils-extension": "portal:./jupyterlab/packages/apputils-extension",
"@jupyterlab/attachments": "portal:./jupyterlab/packages/attachments",
"@jupyterlab/cell-toolbar": "portal:./jupyterlab/packages/cell-toolbar",
"@jupyterlab/cell-toolbar-extension": "portal:./jupyterlab/packages/cell-toolbar-extension",
"@jupyterlab/cells": "portal:./jupyterlab/packages/cells",
"@jupyterlab/celltags-extension": "portal:./jupyterlab/packages/celltags-extension",
"@jupyterlab/codeeditor": "portal:./jupyterlab/packages/codeeditor",
"@jupyterlab/codemirror": "portal:./jupyterlab/packages/codemirror",
"@jupyterlab/codemirror-extension": "portal:./jupyterlab/packages/codemirror-extension",
"@jupyterlab/completer": "portal:./jupyterlab/packages/completer",
"@jupyterlab/completer-extension": "portal:./jupyterlab/packages/completer-extension",
"@jupyterlab/console": "portal:./jupyterlab/packages/console",
"@jupyterlab/console-extension": "portal:./jupyterlab/packages/console-extension",
"@jupyterlab/coreutils": "portal:./jupyterlab/packages/coreutils",
"@jupyterlab/csvviewer": "portal:./jupyterlab/packages/csvviewer",
"@jupyterlab/csvviewer-extension": "portal:./jupyterlab/packages/csvviewer-extension",
"@jupyterlab/debugger": "portal:./jupyterlab/packages/debugger",
"@jupyterlab/debugger-extension": "portal:./jupyterlab/packages/debugger-extension",
"@jupyterlab/docmanager": "portal:./jupyterlab/packages/docmanager",
"@jupyterlab/docmanager-extension": "portal:./jupyterlab/packages/docmanager-extension",
"@jupyterlab/docregistry": "portal:./jupyterlab/packages/docregistry",
"@jupyterlab/documentsearch": "portal:./jupyterlab/packages/documentsearch",
"@jupyterlab/documentsearch-extension": "portal:./jupyterlab/packages/documentsearch-extension",
"@jupyterlab/extensionmanager": "portal:./jupyterlab/packages/extensionmanager",
"@jupyterlab/extensionmanager-extension": "portal:./jupyterlab/packages/extensionmanager-extension",
"@jupyterlab/filebrowser": "portal:./jupyterlab/packages/filebrowser",
"@jupyterlab/filebrowser-extension": "portal:./jupyterlab/packages/filebrowser-extension",
"@jupyterlab/fileeditor": "portal:./jupyterlab/packages/fileeditor",
"@jupyterlab/fileeditor-extension": "portal:./jupyterlab/packages/fileeditor-extension",
"@jupyterlab/help-extension": "portal:./jupyterlab/packages/help-extension",
"@jupyterlab/htmlviewer": "portal:./jupyterlab/packages/htmlviewer",
"@jupyterlab/htmlviewer-extension": "portal:./jupyterlab/packages/htmlviewer-extension",
"@jupyterlab/hub-extension": "portal:./jupyterlab/packages/hub-extension",
"@jupyterlab/imageviewer": "portal:./jupyterlab/packages/imageviewer",
"@jupyterlab/imageviewer-extension": "portal:./jupyterlab/packages/imageviewer-extension",
"@jupyterlab/inspector": "portal:./jupyterlab/packages/inspector",
"@jupyterlab/inspector-extension": "portal:./jupyterlab/packages/inspector-extension",
"@jupyterlab/javascript-extension": "portal:./jupyterlab/packages/javascript-extension",
"@jupyterlab/json-extension": "portal:./jupyterlab/packages/json-extension",
"@jupyterlab/launcher": "portal:./jupyterlab/packages/launcher",
"@jupyterlab/launcher-extension": "portal:./jupyterlab/packages/launcher-extension",
"@jupyterlab/logconsole": "portal:./jupyterlab/packages/logconsole",
"@jupyterlab/logconsole-extension": "portal:./jupyterlab/packages/logconsole-extension",
"@jupyterlab/lsp": "portal:./jupyterlab/packages/lsp",
"@jupyterlab/lsp-extension": "portal:./jupyterlab/packages/lsp-extension",
"@jupyterlab/mainmenu": "portal:./jupyterlab/packages/mainmenu",
"@jupyterlab/mainmenu-extension": "portal:./jupyterlab/packages/mainmenu-extension",
"@jupyterlab/markdownviewer": "portal:./jupyterlab/packages/markdownviewer",
"@jupyterlab/markdownviewer-extension": "portal:./jupyterlab/packages/markdownviewer-extension",
"@jupyterlab/markedparser-extension": "portal:./jupyterlab/packages/markedparser-extension",
"@jupyterlab/mathjax-extension": "portal:./jupyterlab/packages/mathjax-extension",
"@jupyterlab/mermaid": "portal:./jupyterlab/packages/mermaid",
"@jupyterlab/mermaid-extension": "portal:./jupyterlab/packages/mermaid-extension",
"@jupyterlab/metadataform": "portal:./jupyterlab/packages/metadataform",
"@jupyterlab/metadataform-extension": "portal:./jupyterlab/packages/metadataform-extension",
"@jupyterlab/metapackage": "portal:./jupyterlab/packages/metapackage",
"@jupyterlab/nbconvert-css": "portal:./jupyterlab/packages/nbconvert-css",
"@jupyterlab/nbformat": "portal:./jupyterlab/packages/nbformat",
"@jupyterlab/notebook": "portal:./jupyterlab/packages/notebook",
"@jupyterlab/notebook-extension": "portal:./jupyterlab/packages/notebook-extension",
"@jupyterlab/observables": "portal:./jupyterlab/packages/observables",
"@jupyterlab/outputarea": "portal:./jupyterlab/packages/outputarea",
"@jupyterlab/pdf-extension": "portal:./jupyterlab/packages/pdf-extension",
"@jupyterlab/property-inspector": "portal:./jupyterlab/packages/property-inspector",
"@jupyterlab/rendermime": "portal:./jupyterlab/packages/rendermime",
"@jupyterlab/rendermime-extension": "portal:./jupyterlab/packages/rendermime-extension",
"@jupyterlab/rendermime-interfaces": "portal:./jupyterlab/packages/rendermime-interfaces",
"@jupyterlab/running": "portal:./jupyterlab/packages/running",
"@jupyterlab/running-extension": "portal:./jupyterlab/packages/running-extension",
"@jupyterlab/services": "portal:./jupyterlab/packages/services",
"@jupyterlab/settingeditor": "portal:./jupyterlab/packages/settingeditor",
"@jupyterlab/settingeditor-extension": "portal:./jupyterlab/packages/settingeditor-extension",
"@jupyterlab/settingregistry": "portal:./jupyterlab/packages/settingregistry",
"@jupyterlab/shortcuts-extension": "portal:./jupyterlab/packages/shortcuts-extension",
"@jupyterlab/statedb": "portal:./jupyterlab/packages/statedb",
"@jupyterlab/statusbar": "portal:./jupyterlab/packages/statusbar",
"@jupyterlab/statusbar-extension": "portal:./jupyterlab/packages/statusbar-extension",
"@jupyterlab/terminal": "portal:./jupyterlab/packages/terminal",
"@jupyterlab/terminal-extension": "portal:./jupyterlab/packages/terminal-extension",
"@jupyterlab/testing": "portal:./jupyterlab/packages/testing",
"@jupyterlab/theme-dark-extension": "portal:./jupyterlab/packages/theme-dark-extension",
"@jupyterlab/theme-light-extension": "portal:./jupyterlab/packages/theme-light-extension",
"@jupyterlab/toc": "portal:./jupyterlab/packages/toc",
"@jupyterlab/toc-extension": "portal:./jupyterlab/packages/toc-extension",
"@jupyterlab/tooltip": "portal:./jupyterlab/packages/tooltip",
"@jupyterlab/tooltip-extension": "portal:./jupyterlab/packages/tooltip-extension",
"@jupyterlab/translation": "portal:./jupyterlab/packages/translation",
"@jupyterlab/translation-extension": "portal:./jupyterlab/packages/translation-extension",
"@jupyterlab/ui-components": "portal:./jupyterlab/packages/ui-components",
"@jupyterlab/ui-components-extension": "portal:./jupyterlab/packages/ui-components-extension",
"@jupyterlab/vega5-extension": "portal:./jupyterlab/packages/vega5-extension",
"@jupyterlab/testutils": "portal:./jupyterlab/testutils"
}
}

0 comments on commit f84f759

Please sign in to comment.