Skip to content

Commit b328ccd

Browse files
authored
Merge pull request #221 from visualpython/release
Release v2.4.1
2 parents 6cc15c1 + 356b68c commit b328ccd

77 files changed

Lines changed: 1394 additions & 348 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
dist/
2+
jupyterlab/_output
3+
jupyterlab/.jupyterlite.doit.db
24
jupyterlab/lib/visualpython
35
jupyternotebook/visualpython
46
colab/visualpython

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Set version and replace it
1313
#=============================================================================
14-
VP_ORG_VER=2.3.7
15-
VP_NEW_VER=2.4.0
14+
VP_ORG_VER=2.4.0
15+
VP_NEW_VER=2.4.1
1616

1717
# update version info
1818
grep -REil "VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"

colab/build.colab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version
1313
#=============================================================================
14-
VP_ORG_VER=2.3.7
15-
VP_NEW_VER=2.4.0
14+
VP_ORG_VER=2.4.0
15+
VP_NEW_VER=2.4.1
1616

1717
# update version info
1818
# update manifest version with new numbering for new version

colab/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Visual Python for Colab",
33
"description": "GUI-based Python code generator for Google Colab as an extension",
4-
"version": "2.4.0",
4+
"version": "2.4.1",
55
"manifest_version": 3,
66
"icons": {
77
"48": "icon.png",

jupyterlab/.jupyterlite.doit.db

76 KB
Binary file not shown.

jupyterlab/build.jupyterlab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.3.7
15-
VP_NEW_VER=2.4.0
14+
VP_ORG_VER=2.4.0
15+
VP_NEW_VER=2.4.1
1616

1717
# update version info
1818
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"

jupyterlab/dev-build.jupyterlab.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,10 @@ grep -rl "__VP_CSS_LOADER__" lib/visualpython/js/* | xargs sed -i "s/__VP_CSS_LO
4444
# jupyter labextension install # install the current directory as an extension
4545

4646
# Run Build for jupyterlab extension
47-
jlpm run build
47+
jlpm run build
48+
49+
# Run Build for jupyterlite
50+
# jupyter lite build
51+
52+
# Run jupyterlite server
53+
# jupyter lite serve

jupyterlab/lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ module.exports = [{
2525
);
2626

2727
global.vpExtType = 'lab';
28+
if (app.name === 'JupyterLite') {
29+
global.vpExtType = 'lite';
30+
}
2831
global.vpLab = app;
2932

3033
const VpPanel = require('./VpPanel');

jupyterlab/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyterlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-visualpython",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
55
"keywords": [
66
"jupyter",

0 commit comments

Comments
 (0)