Skip to content

Commit

Permalink
remove legacy nbextension
Browse files Browse the repository at this point in the history
  • Loading branch information
smacke committed Jan 27, 2024
1 parent 24b996e commit e206aa7
Show file tree
Hide file tree
Showing 21 changed files with 11 additions and 6,751 deletions.
9 changes: 3 additions & 6 deletions Makefile
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
.PHONY: clean black blackcheck eslint imports build deploy_only deploy check check_no_typing test tests deps devdeps dev typecheck version bump extlink kernel nbext
.PHONY: clean black blackcheck eslint imports build deploy_only deploy check check_no_typing test tests deps devdeps dev typecheck version bump extlink kernel

clean:
rm -rf __pycache__ core/__pycache__ build/ core/build/ core/dist/ dist/ ipyflow.egg-info/ core/ipyflow_core.egg-info core/ipyflow/resources/nbextension core/ipyflow/resources/labextension
rm -rf __pycache__ core/__pycache__ build/ core/build/ core/dist/ dist/ ipyflow.egg-info/ core/ipyflow_core.egg-info core/ipyflow/resources/labextension

build: clean
./scripts/build.sh
Expand Down Expand Up @@ -72,7 +72,4 @@ extlink:
kernel:
python -m ipyflow.install --sys-prefix

nbext:
./scripts/nbext.sh --sys-prefix

dev: devdeps build extlink kernel nbext
dev: devdeps build extlink kernel
15 changes: 0 additions & 15 deletions core/ipyflow/__init__.py
Expand Up @@ -16,21 +16,6 @@
from IPython import InteractiveShell


# Jupyter Extension points
def _jupyter_nbextension_paths():
return [
{
"section": "notebook",
# the path is relative to the `my_fancy_module` directory
"src": "resources/nbextension",
# directory in the `nbextension/` namespace
"dest": "ipyflow",
# _also_ in the `nbextension/` namespace
"require": "ipyflow/index",
}
]


def _jupyter_server_extension_paths():
return [{"module": "ipyflow"}]

Expand Down
5 changes: 0 additions & 5 deletions frontend/nbextension/.eslintignore

This file was deleted.

40 changes: 0 additions & 40 deletions frontend/nbextension/.eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions frontend/nbextension/.prettierignore

This file was deleted.

3 changes: 0 additions & 3 deletions frontend/nbextension/.prettierrc

This file was deleted.

2 changes: 0 additions & 2 deletions frontend/nbextension/external/Jupyter.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/nbextension/ipyflow.json

This file was deleted.

0 comments on commit e206aa7

Please sign in to comment.