Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ This is managed by the `jlpm` command, JupyterLab's pinned version of [yarn](htt
that is installed with JupyterLab in the Pixi file.
You may use `yarn` or `npm` in lieu of `jlpm` below.

To build the client-side extension, use:
To install the client-side extension for development, use:
```sh
pixi run jlpm build
pixi run install-dev
```

To run the extension in development mode in JupyterLab, run the following with pixi.
Expand Down
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,14 @@ description = "Install NPM packages."
inputs = ["package.json", "yarn.lock"]
outputs = [".yarn/install-state.gz"]

[tool.pixi.feature.dev.tasks.install-dev]
[tool.pixi.feature.dev.tasks.jlpm-build]
depends-on = ["jlpm-install"]
cmd = "jlpm build"
description = "Build Arbalister client package."
inputs = ["src/", "style/"]

[tool.pixi.feature.dev.tasks.install-dev]
depends-on = ["jlpm-build"]
cmd = "jupyter labextension develop . --overwrite"
description = "Install extension in developer mode."

Expand All @@ -278,7 +284,6 @@ description = "Launch JupyterLab with the current extension installed."

[tool.pixi.feature.dev.tasks]
jlpm = { cmd = "jlpm", description = "Run Jupyter lab package manager." }
jlpm-build = "jlpm run build"
jlpm-watch = "jlpm run watch"
pre-commit = { cmd = "pre-commit", description = "Run pre-commit executable." }
commitlint = "commitlint --config dev/commitlint.yml"
Expand Down
Loading