Skip to content

Commit ce352e4

Browse files
authored
Merge pull request #6 from jtpio/rename
Rename to `jupyterlab-filesystem-access`
2 parents 6e26672 + 6bb58c9 commit ce352e4

File tree

14 files changed

+34
-34
lines changed

14 files changed

+34
-34
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
jlpm lint:check
2828
python -m pip install .
2929
30-
jupyter labextension list 2>&1 | grep -ie "jupyterlab-filesystem.*OK"
30+
jupyter labextension list 2>&1 | grep -ie "jupyterlab-filesystem-access.*OK"
3131
python -m jupyterlab.browser_check
3232
3333
check-manifest -v
3434
3535
pip install build
3636
python -m build --sdist
3737
cp dist/*.tar.gz myextension.tar.gz
38-
pip uninstall -y "jupyterlab_filesystem" jupyterlab
38+
pip uninstall -y "jupyterlab_filesystem_access" jupyterlab
3939
rm -rf myextension
4040
4141
- uses: actions/upload-artifact@v2
@@ -66,5 +66,5 @@ jobs:
6666
sudo rm -rf $(which node)
6767
pip install myextension.tar.gz
6868
pip install jupyterlab
69-
jupyter labextension list 2>&1 | grep -ie "jupyterlab-filesystem.*OK"
69+
jupyter labextension list 2>&1 | grep -ie "jupyterlab-filesystem-access.*OK"
7070
python -m jupyterlab.browser_check --no-chrome-test

.github/workflows/check-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
uses: actions/setup-node@v2
2626
with:
2727
node-version: '14.x'
28-
29-
28+
29+
3030
- name: Get pip cache dir
3131
id: pip-cache
3232
run: |
@@ -55,9 +55,9 @@ jobs:
5555
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
5656
with:
5757
token: ${{ secrets.GITHUB_TOKEN }}
58-
58+
5959
- name: Upload Distributions
6060
uses: actions/upload-artifact@v2
6161
with:
62-
name: jupyterlab_filesystem-releaser-dist-${{ github.run_number }}
62+
name: jupyterlab_filesystem_access-releaser-dist-${{ github.run_number }}
6363
path: .jupyter_releaser_checkout/dist

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_modules/
66
*.egg-info/
77
.ipynb_checkpoints
88
*.tsbuildinfo
9-
jupyterlab_filesystem/labextension
9+
jupyterlab_filesystem_access/labextension
1010

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

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ node_modules
22
**/node_modules
33
**/lib
44
**/package.json
5-
jupyterlab_filesystem
5+
jupyterlab_filesystem_access

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include install.json
77
include ts*.json
88
include yarn.lock
99

10-
graft jupyterlab_filesystem/labextension
10+
graft jupyterlab_filesystem_access/labextension
1111

1212
# Javascript files
1313
graft src

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# jupyterlab-filesystem
1+
# jupyterlab-filesystem-access
22

3-
[![Github Actions Status](https://github.com/jtpio/jupyterlab-filesystem/workflows/Build/badge.svg)](https://github.com/jtpio/jupyterlab-filesystem/actions/workflows/build.yml)
3+
[![Github Actions Status](https://github.com/jtpio/jupyterlab-filesystem-access/workflows/Build/badge.svg)](https://github.com/jtpio/jupyterlab-filesystem-access/actions/workflows/build.yml)
44

55
Browse local files using the non-standard Web Browser File System Access API.
66

@@ -27,15 +27,15 @@ It can also be used on hosted and ephemeral JupyterLab deployments such as [Bind
2727
To install the extension, execute:
2828

2929
```bash
30-
pip install jupyterlab_filesystem
30+
pip install jupyterlab_filesystem_access
3131
```
3232

3333
## Uninstall
3434

3535
To remove the extension, execute:
3636

3737
```bash
38-
pip uninstall jupyterlab_filesystem
38+
pip uninstall jupyterlab_filesystem_access
3939
```
4040

4141
## Contributing
@@ -50,7 +50,7 @@ The `jlpm` command is JupyterLab's pinned version of
5050

5151
```bash
5252
# Clone the repo to your local environment
53-
# Change directory to the jupyterlab_filesystem directory
53+
# Change directory to the jupyterlab_filesystem_access directory
5454
# Install package in development mode
5555
pip install -e .
5656
# Link your development version of the extension with JupyterLab
@@ -79,12 +79,12 @@ jupyter lab build --minimize=False
7979
### Development uninstall
8080

8181
```bash
82-
pip uninstall jupyterlab_filesystem
82+
pip uninstall jupyterlab_filesystem_access
8383
```
8484

8585
In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
8686
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
87-
folder is located. Then you can remove the symlink named `jupyterlab-filesystem` within that folder.
87+
folder is located. Then you can remove the symlink named `jupyterlab-filesystem-access` within that folder.
8888

8989
### Packaging the extension
9090

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_filesystem
1+
# Making a new release of jupyterlab_filesystem_access
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_filesystem",
4-
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_filesystem"
3+
"packageName": "jupyterlab_filesystem_access",
4+
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_filesystem_access"
55
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "jupyterlab-filesystem",
2+
"name": "jupyterlab-filesystem-access",
33
"version": "0.1.0",
44
"description": "Mount local files using the Filesystem API",
55
"keywords": [
66
"jupyter",
77
"jupyterlab",
88
"jupyterlab-extension"
99
],
10-
"homepage": "https://github.com/jtpio/jupyterlab-filesystem",
10+
"homepage": "https://github.com/jtpio/jupyterlab-filesystem-access",
1111
"bugs": {
12-
"url": "https://github.com/jtpio/jupyterlab-filesystem/issues"
12+
"url": "https://github.com/jtpio/jupyterlab-filesystem-access/issues"
1313
},
1414
"license": "BSD-3-Clause",
1515
"author": {
@@ -25,7 +25,7 @@
2525
"style": "style/index.css",
2626
"repository": {
2727
"type": "git",
28-
"url": "https://github.com/jtpio/jupyterlab-filesystem.git"
28+
"url": "https://github.com/jtpio/jupyterlab-filesystem-access.git"
2929
},
3030
"scripts": {
3131
"build": "jlpm build:lib && jlpm build:labextension:dev",
@@ -36,7 +36,7 @@
3636
"clean": "jlpm clean:lib",
3737
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
3838
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
39-
"clean:labextension": "rimraf jupyterlab_filesystem/labextension",
39+
"clean:labextension": "rimraf jupyterlab_filesystem_access/labextension",
4040
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
4141
"eslint": "jlpm eslint:check --fix",
4242
"eslint:check": "eslint . --cache --ext .ts,.tsx",
@@ -88,7 +88,7 @@
8888
},
8989
"jupyterlab": {
9090
"extension": true,
91-
"outputDir": "jupyterlab_filesystem/labextension"
91+
"outputDir": "jupyterlab_filesystem_access/labextension"
9292
},
9393
"jupyter-releaser": {
9494
"hooks": {

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=3.1"]
33
build-backend = "jupyter_packaging.build_api"
44

55
[tool.jupyter-packaging.options]
6-
skip-if-exists = ["jupyterlab_filesystem/labextension/static/style.js"]
7-
ensured-targets = ["jupyterlab_filesystem/labextension/static/style.js", "jupyterlab_filesystem/labextension/package.json"]
6+
skip-if-exists = ["jupyterlab_filesystem_access/labextension/static/style.js"]
7+
ensured-targets = ["jupyterlab_filesystem_access/labextension/static/style.js", "jupyterlab_filesystem_access/labextension/package.json"]
88

99
[tool.jupyter-packaging.builder]
1010
factory = "jupyter_packaging.npm_builder"
@@ -14,4 +14,4 @@ build_cmd = "build:prod"
1414
npm = ["jlpm"]
1515

1616
[tool.check-manifest]
17-
ignore = ["jupyterlab_filesystem/labextension/**", "yarn.lock", ".*", "package-lock.json"]
17+
ignore = ["jupyterlab_filesystem_access/labextension/**", "yarn.lock", ".*", "package-lock.json"]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
jupyterlab_filesystem setup
2+
jupyterlab_filesystem_access setup
33
"""
44
import json
55
import sys
@@ -13,7 +13,7 @@
1313
pkg_json = json.loads((HERE / "package.json").read_bytes())
1414

1515
# The name of the project
16-
name = "jupyterlab-filesystem"
16+
name = "jupyterlab-filesystem-access"
1717

1818
lab_path = (HERE / pkg_json["jupyterlab"]["outputDir"])
1919

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import { listIcon, folderIcon } from '@jupyterlab/ui-components';
1414
import { FileSystemDrive } from './drive';
1515

1616
/**
17-
* Initialization data for the jupyterlab-filesystem extension.
17+
* Initialization data for the jupyterlab-filesystem-access extension.
1818
*/
1919
const plugin: JupyterFrontEndPlugin<void> = {
20-
id: 'jupyterlab-filesystem:plugin',
20+
id: 'jupyterlab-filesystem-access:plugin',
2121
requires: [IFileBrowserFactory, ITranslator],
2222
autoStart: true,
2323
activate: (
@@ -36,7 +36,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
3636
const { serviceManager } = app;
3737
const { createFileBrowser } = browser;
3838

39-
const trans = translator.load('jupyterlab-filesystem');
39+
const trans = translator.load('jupyterlab-filesystem-access');
4040
const drive = new FileSystemDrive();
4141

4242
serviceManager.contents.addDrive(drive);

0 commit comments

Comments
 (0)