From 66c28f1852aba9ebd055e3581274fa1874c6a1be Mon Sep 17 00:00:00 2001 From: Dmitry Mikushin Date: Mon, 19 Jun 2023 14:42:31 +0000 Subject: [PATCH 1/2] Addng notes on building and installing from source --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index bfdfaee..3d9d7fb 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,21 @@ To install the both the server extension and (prebuilt) lab extension, enter the pip install jupyterlab-github ``` +Alternatively, build from source and install with: + +```bash +pip install . +``` + +Upon successful installation, `jupyterlab_github` should appear in the list of extensions: + +```bash +jupyter labextension list +JupyterLab v3.6.4 +/opt/conda/share/jupyter/labextensions + @jupyterlab/github v3.0.1 enabled OK (python, jupyterlab_github) +``` + After restarting JupyterLab, the extension should work, and you can experience the joys of being rate-limited first-hand! From 59e1459a4db99fde450b9b94fa7dbf0904fa737f Mon Sep 17 00:00:00 2001 From: Dmitry Mikushin Date: Mon, 19 Jun 2023 14:44:01 +0000 Subject: [PATCH 2/2] Working around TypeScript compile errors --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 4516624..59be2ac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "declaration": true, + "lib": ["es2015", "dom", "esnext.asynciterable"], "noImplicitAny": true, "strictNullChecks": true, "noEmitOnError": true, @@ -18,7 +19,8 @@ "rootDir": "src", "strict": true, "types": [], - "jsx": "react" + "jsx": "react", + "skipLibCheck": true }, "include": ["src/*"] }