@@ -27,7 +27,7 @@ For fine-grained access to the `jlpm` command and various build steps:
2727
2828``` bash
2929pip install -e ' .[dev]'
30- cd jupyterlab/packages/jupyterlab-jupytext
30+ cd jupyterlab/packages/jupyterlab-jupytext-extension
3131jlpm
3232jlpm install:extension # Symlink into `{sys.prefix}/share/jupyter/labextensions`
3333```
@@ -37,7 +37,7 @@ jlpm install:extension # Symlink into `{sys.prefix}/share/jupyter/labextensi
3737Watch the source directory and automatically rebuild the ` lib ` folder:
3838
3939``` bash
40- cd jupyterlab/packages/jupyterlab-jupytext
40+ cd jupyterlab/packages/jupyterlab-jupytext-extension
4141# Watch the source directory in one terminal, automatically rebuilding when needed
4242jlpm watch
4343# Run JupyterLab in another terminal
@@ -58,12 +58,14 @@ Please note that the main purpose of updating the extension on [npm](https://www
5858Make sure you have ` nodejs>=18 ` installed, bump the version in ` package.json ` , and then:
5959
6060``` bash
61+ cd jupyterlab/packages/jupyterlab-jupytext-extension
62+
6163# Package the extension
62- npm pack --pack-destination dist jupyterlab/packages/jupyterlab-jupytext-extension
64+ npm pack
6365
6466# Test the extension locally
65- jupyter labextension install dist/ jupyterlab-jupytext-xxx.tgz
67+ jupyter labextension install jupyterlab-jupytext-xxx.tgz
6668
6769# Publish the package on npm with
68- npm publish --access=public jupyterlab/packages/jupyterlab-jupytext-extension/
70+ npm publish --access=public
6971```
0 commit comments