Skip to content

Commit 30fffd3

Browse files
authored
Remove defunct vega2 (#299)
* Remove defunct vega2 * Update README and configuration
1 parent 4e51004 commit 30fffd3

19 files changed

+74
-2262
lines changed

README.md

+10-22
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ consists of [JupyterLab](https://github.com/jupyterlab/jupyterlab) _mimerender e
1414
| [fasta-extension](packages/fasta-extension) | `application/vnd.fasta.fasta` | `.fasta` | [![Version](https://img.shields.io/pypi/v/jupyterlab-fasta?style=flat-square)](https://pypi.org/project/jupyterlab-fasta/) |
1515
| [geojson-extension](packages/geojson-extension) | `application/geo+json` | `.geojson`, `.geo.json` | [![Version](https://img.shields.io/pypi/v/jupyterlab-geojson?style=flat-square)](https://pypi.org/project/jupyterlab-geojson) |
1616
| [katex-extension](packages/katex-extension) | N/A | N/A | [![Version](https://img.shields.io/pypi/v/jupyterlab-katex?style=flat-square)](https://pypi.org/project/jupyterlab-katex) |
17-
| [mathjax3-extension](packages/mathjax3-extension) | N/A | N/A | [![Version](https://img.shields.io/pypi/v/jupyterlab-mathjax3?style=flat-square)](https://pypi.org/project/jupyterlab-mathjax3) |
18-
| [vega2-extension](packages/vega2-extension) | `application/vnd.vega.v2+json`, `application/vnd.vegalite.v1+json` | `.vg`, `.vl`, `.vg.json`, `.vl.json`, `.vega`, `.vegalite` | [![Version](https://img.shields.io/pypi/v/jupyterlab-vega2?style=flat-square)](https://pypi.org/project/jupyterlab-vega2) |
17+
| [mathjax2-extension](packages/mathjax2-extension) | N/A | N/A | [![Version](https://img.shields.io/pypi/v/jupyterlab-mathjax2?style=flat-square)](https://pypi.org/project/jupyterlab-mathjax2) |
1918
| [vega3-extension](packages/vega3-extension) | `application/vnd.vega.v3+json`, `application/vnd.vegalite.v2+json` | `.vg`, `.vl`, `.vg.json`, `.vl.json`, `.vega`, `.vegalite` | [![Version](https://img.shields.io/pypi/v/jupyterlab-vega3?style=flat-square)](https://pypi.org/project/jupyterlab-vega3) |
2019

2120
## Looking for plotly-extension?
@@ -24,29 +23,16 @@ consists of [JupyterLab](https://github.com/jupyterlab/jupyterlab) _mimerender e
2423

2524
## Install
2625

27-
With JupyterLab 3.0, it is possible to install the prebuilt extensions with `pip`:
26+
With JupyterLab 3.0 and above, it is possible to install the prebuilt extensions with `pip`:
2827

2928
```bash
3029
pip install jupyterlab-fasta
3130
pip install jupyterlab-geojson
3231
pip install jupyterlab-katex
33-
pip install jupyterlab-mathjax3
34-
pip install jupyterlab-vega2
32+
pip install jupyterlab-mathjax2
3533
pip install jupyterlab-vega3
3634
```
3735

38-
<details><summary>For versions prior to JupyterLab v3.0,</summary>
39-
it is also possible to install the extension from source using the `jupyter labextension install` command:
40-
41-
- fasta-extension: `jupyter labextension install @jupyterlab/fasta-extension`
42-
- geojson-extension: `jupyter labextension install @jupyterlab/geojson-extension`
43-
- katex-extension: `jupyter labextension install @jupyterlab/katex-extension`
44-
- mathjax3-extension: `jupyter labextension install @jupyterlab/mathjax3-extension`
45-
- vega2-extension: `jupyter labextension install @jupyterlab/vega2-extension`
46-
- vega3-extension: `jupyter labextension install @jupyterlab/vega3-extension`
47-
48-
</details>
49-
5036
## Contributing
5137

5238
If you would like to contribute to the project, please read our [contributor documentation](https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md).
@@ -55,7 +41,7 @@ JupyterLab follows the official [Jupyter Code of Conduct](https://github.com/jup
5541

5642
## Requirements
5743

58-
- Node.js >= 4 (see [Installing Node.js and jlpm](https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md#installing-nodejs-and-jlpm) in the JupyterLab docs)
44+
- Node.js >= 18 (see [Installing Node.js and jlpm](https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md#installing-nodejs-and-jlpm) in the JupyterLab docs)
5945

6046
### Install
6147

@@ -107,10 +93,12 @@ jupyter lab
10793

10894
### Publishing packages
10995

110-
```bash
111-
jlpm run publish
112-
# If publishing a package for the first time
113-
npm access public @jupyterlab/<extension name>
96+
Build all Python packages:
97+
98+
```
99+
rm -rf dist/*
100+
jlpm build-py
101+
twine upload dist/jupyterlab*
114102
```
115103

116104
### Creating icons

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
],
66
"scripts": {
77
"build": "lerna run --parallel build",
8-
"build-py": "rimraf dist && mkdir -p dist && lerna run --parallel clean:all && lerna exec --concurrency 4 -- python -m build && lerna exec --concurrency 4 -- mv dist/* ../../dist/",
8+
"build-py": "rimraf dist && mkdir -p dist && lerna run --parallel clean:all && lerna exec --concurrency 4 -- python -m build && lerna exec --concurrency 4 -- mv ./dist/jupyterlab* ../../dist/",
99
"build:prod": "lerna run --parallel build:prod",
1010
"eslint": "eslint . --ext .ts,.tsx --fix",
1111
"eslint:check": "eslint . --ext .ts,.tsx",

packages/vega2-extension/.eslintignore

-8
This file was deleted.

packages/vega2-extension/.gitignore

-125
This file was deleted.

packages/vega2-extension/.prettierignore

-6
This file was deleted.

packages/vega2-extension/LICENSE

-28
This file was deleted.

packages/vega2-extension/README.md

-88
This file was deleted.

packages/vega2-extension/install.json

-5
This file was deleted.

packages/vega2-extension/jupyterlab_vega2/__init__.py

-9
This file was deleted.

0 commit comments

Comments
 (0)