Skip to content

Commit e36cea3

Browse files
committed
Fix Python name
1 parent f648043 commit e36cea3

File tree

11 files changed

+26
-26
lines changed

11 files changed

+26
-26
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
4646
pip install build
4747
python -m build
48-
pip uninstall -y "jupyterlab_cell_diff" jupyterlab
48+
pip uninstall -y "jupyterlab_diff" jupyterlab
4949
5050
- name: Upload extension packages
5151
uses: actions/upload-artifact@v4
5252
with:
5353
name: extension-artifacts
54-
path: dist/jupyterlab_cell_diff*
54+
path: dist/jupyterlab_diff*
5555
if-no-files-found: error
5656

5757
test_isolated:
@@ -74,7 +74,7 @@ jobs:
7474
sudo rm -rf $(which node)
7575
sudo rm -rf $(which node)
7676
77-
pip install "jupyterlab>=4.0.0,<5" jupyterlab_cell_diff*.whl
77+
pip install "jupyterlab>=4.0.0,<5" jupyterlab_diff*.whl
7878
7979
jupyter labextension list
8080
jupyter labextension list 2>&1 | grep -ie "jupyterlab-diff.*OK"

.github/workflows/check-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
- name: Upload Distributions
2929
uses: actions/upload-artifact@v4
3030
with:
31-
name: jupyterlab_cell_diff-releaser-dist-${{ github.run_number }}
31+
name: jupyterlab_diff-releaser-dist-${{ github.run_number }}
3232
path: .jupyter_releaser_checkout/dist

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ node_modules/
77
*.egg-info/
88
.ipynb_checkpoints
99
*.tsbuildinfo
10-
jupyterlab_cell_diff/labextension
10+
jupyterlab_diff/labextension
1111
# Version file is handled by hatchling
12-
jupyterlab_cell_diff/_version.py
12+
jupyterlab_diff/_version.py
1313

1414
# Created by https://www.gitignore.io/api/python
1515
# Edit at https://www.gitignore.io/?templates=python

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ node_modules
33
**/lib
44
**/package.json
55
!/package.json
6-
jupyterlab_cell_diff
6+
jupyterlab_diff
77
.venv

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `jlpm` command is JupyterLab's pinned version of
1010

1111
```bash
1212
# Clone the repo to your local environment
13-
# Change directory to the jupyterlab_cell_diff directory
13+
# Change directory to the jupyterlab_diff directory
1414
# Install package in development mode
1515
pip install -e "."
1616
# Link your development version of the extension with JupyterLab
@@ -40,7 +40,7 @@ jupyter lab build --minimize=False
4040

4141
```bash
4242
# Server extension must be manually disabled in develop mode
43-
pip uninstall jupyterlab_cell_diff
43+
pip uninstall jupyterlab_diff
4444
```
4545

4646
In development mode, you will also need to remove the symlink created by `jupyter labextension develop`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A JupyterLab extension for showing cell diffs with multiple diffing strategies.
1313
### PyPI Installation
1414

1515
```bash
16-
pip install jupyterlab_cell_diff
16+
pip install jupyterlab_diff
1717
```
1818

1919
### Development Installation
@@ -123,7 +123,7 @@ The extension provides two diff viewing strategies:
123123
To remove the extension, execute:
124124

125125
```bash
126-
pip uninstall jupyterlab_cell_diff
126+
pip uninstall jupyterlab_diff
127127
```
128128

129129
## Troubleshoot

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Making a new release of jupyterlab_cell_diff
1+
# Making a new release of jupyterlab_diff
22

33
The extension can be published to `PyPI` and `npm` manually or using the [Jupyter Releaser](https://github.com/jupyter-server/jupyter_releaser).
44

install.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"packageManager": "python",
3-
"packageName": "jupyterlab_cell_diff",
4-
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_cell_diff"
3+
"packageName": "jupyterlab_diff",
4+
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_diff"
55
}

jupyterlab_cell_diff/__init__.py renamed to jupyterlab_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
77
import warnings
88

9-
warnings.warn("Importing 'jupyterlab_cell_diff' outside a proper installation.")
9+
warnings.warn("Importing 'jupyterlab_diff' outside a proper installation.")
1010
__version__ = "dev"
1111

1212

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"clean": "jlpm clean:lib",
4040
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
4141
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
42-
"clean:labextension": "rimraf jupyterlab_cell_diff/labextension jupyterlab_cell_diff/_version.py",
42+
"clean:labextension": "rimraf jupyterlab_diff/labextension jupyterlab_diff/_version.py",
4343
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
4444
"eslint": "jlpm eslint:check --fix",
4545
"eslint:check": "eslint . --cache --ext .ts,.tsx",
@@ -114,12 +114,12 @@
114114
"pip"
115115
],
116116
"base": {
117-
"name": "jupyterlab_cell_diff"
117+
"name": "jupyterlab_diff"
118118
}
119119
}
120120
},
121121
"extension": true,
122-
"outputDir": "jupyterlab_cell_diff/labextension"
122+
"outputDir": "jupyterlab_diff/labextension"
123123
},
124124
"eslintIgnore": [
125125
"node_modules",

0 commit comments

Comments
 (0)