File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,9 @@ test-repo/
16
16
venv /
17
17
18
18
.ipynb_checkpoints
19
- docs /_build
19
+ docs /_build
20
+
21
+ node_modules /
22
+ package-lock.json
23
+
24
+ nbgitpuller /static /dist
Original file line number Diff line number Diff line change 34
34
35
35
{% block script %}
36
36
{{super()}}
37
- < script src ="{{ base_url }}git-pull/static/index.js?v={{ version }} " >
38
- </ script >
37
+ < script type =" module src= "{{ base_url }}git-pull /static/js/ index.js" > </ script >
38
+ < script src =" {{ base_url }}git-pull/static/dist/bundle.js " > < /script >
39
39
{% endblock %}
40
40
41
41
{% block stylesheet %}
42
42
{{super()}}
43
43
44
- < link rel ="stylesheet " href ="{{ static_url( "terminal /css/override.css") }}" type="text/css " />
45
- < link rel ="stylesheet " href ="{{ static_url( "components /xterm.js-css/index.css") }}" type="text/css " />
46
44
< style >
47
45
# status-details-container {
48
46
padding : 16px ;
Original file line number Diff line number Diff line change 1
1
from setuptools import find_packages , setup
2
2
from distutils .util import convert_path
3
+ import subprocess
3
4
4
5
# Imports __version__, reference: https://stackoverflow.com/a/24517154/2220152
5
6
ns = {}
8
9
exec (ver_file .read (), ns )
9
10
__version__ = ns ['__version__' ]
10
11
12
+ subprocess .check_call (['npm' , 'install' ])
13
+ subprocess .check_call (['npm' , 'run' , 'webpack' ])
14
+
11
15
setup (
12
16
name = 'nbgitpuller' ,
13
17
version = __version__ ,
You can’t perform that action at this time.
0 commit comments