You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# jupyter-builder
1
+
# Jupyter Builder - GSoC 2024
2
2
3
3
Build tools for JupyterLab (and remixes)
4
4
@@ -8,5 +8,41 @@ Build tools for JupyterLab (and remixes)
8
8
## Why extracting the build tools?
9
9
10
10
- This would also solve some chicken-and-egg problems like jupyterlab/jupyterlab_pygments#23.
11
+
- Isolating the builder functionalities will simplify the work
12
+
of core and extension developers who can now focus on their respective parts of the
13
+
codebase instead of the earlier intertwined code. It will in particular reduce the need to update the maintenance tooling to produce extension compatible with newer version of Jupyter app.
14
+
15
+
## How to install the package?
16
+
17
+
Execute the following command in a terminal:
18
+
19
+
```
20
+
pip install jupyter_builder
21
+
```
22
+
23
+
## What does it do?
24
+
25
+
- Provides a CLI for building Jupyter extensions. There are 3 subcommands
26
+
-`build` : Builds the Jupyter extension JavaScript assets to be consumed by the Jupyter app.
27
+
```
28
+
jupyter-builder build <path to extension folder>
29
+
```
30
+
- `develop` : Install the Jupyter extension JavaScript assets in dev mode for consumption in the Jupyter app. It similar to [editable install mode of pip](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs)
31
+
```
32
+
jupyter-builder develop --overwrite (path to extension folder)
33
+
```
34
+
- `watch` : Automatically rebuild the development JavaScript assets when one file is changed to ease development.
35
+
```
36
+
jupyter-builder watch (path to extension folder)
37
+
```
38
+
- Provides a NPM package manager: `jlpm`
39
+
40
+
## How to uninstall the package?
41
+
42
+
Execute the following command in a terminal:
43
+
44
+
```
45
+
pip uninstall jupyter_builder
46
+
```
11
47
12
48
See https://github.com/jupyterlab/jupyterlab/issues/13456
0 commit comments