Skip to content

Commit

Permalink
Documentation (#22)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Jul 28, 2024
1 parent f8445bd commit 4dbb6d9
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# jupyter-builder
# Jupyter Builder - GSoC 2024

Build tools for JupyterLab (and remixes)

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

- This would also solve some chicken-and-egg problems like jupyterlab/jupyterlab_pygments#23.
- Isolating the builder functionalities will simplify the work
of core and extension developers who can now focus on their respective parts of the
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.

## How to install the package?

Execute the following command in a terminal:

```
pip install jupyter_builder
```

## What does it do?

- Provides a CLI for building Jupyter extensions. There are 3 subcommands
- `build` : Builds the Jupyter extension JavaScript assets to be consumed by the Jupyter app.
```
jupyter-builder build <path to extension folder>
```
- `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)
```
jupyter-builder develop --overwrite (path to extension folder)
```
- `watch` : Automatically rebuild the development JavaScript assets when one file is changed to ease development.
```
jupyter-builder watch (path to extension folder)
```
- Provides a NPM package manager: `jlpm`

## How to uninstall the package?

Execute the following command in a terminal:

```
pip uninstall jupyter_builder
```

See https://github.com/jupyterlab/jupyterlab/issues/13456

0 comments on commit 4dbb6d9

Please sign in to comment.