Skip to content

Commit 4dbb6d9

Browse files
cronan03fcollonvalgithub-actions[bot]
authored
Documentation (#22)
* watch working * watch test working * Update jupyter_builder/extension_commands/watch.py Co-authored-by: Frédéric Collonval <[email protected]> * Update jupyter_builder/federated_extensions.py Co-authored-by: Frédéric Collonval <[email protected]> * sleep time increased in test * Automatic application of license header * Delete jupyter_builder/yarn.js * ran precommit * added jlpm * Update README.md * Automatic application of license header * Update README.md Co-authored-by: Frédéric Collonval <[email protected]> * Update README.md Co-authored-by: Frédéric Collonval <[email protected]> * Update README.md Co-authored-by: Frédéric Collonval <[email protected]> * Update README.md Co-authored-by: Frédéric Collonval <[email protected]> * Update README.md Co-authored-by: Frédéric Collonval <[email protected]> * Update README.md Co-authored-by: Frédéric Collonval <[email protected]> * Delete jupyter_builder/yarn.js * linter --------- Co-authored-by: Frédéric Collonval <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f8445bd commit 4dbb6d9

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jupyter-builder
1+
# Jupyter Builder - GSoC 2024
22

33
Build tools for JupyterLab (and remixes)
44

@@ -8,5 +8,41 @@ Build tools for JupyterLab (and remixes)
88
## Why extracting the build tools?
99

1010
- 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+
```
1147
1248
See https://github.com/jupyterlab/jupyterlab/issues/13456

0 commit comments

Comments
 (0)