Skip to content

Commit

Permalink
Update nglview 3.1.0 (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm authored Jan 10, 2024
1 parent 3b26976 commit 3ba0309
Show file tree
Hide file tree
Showing 60 changed files with 1,091 additions and 281 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ jobs:
jlpm run eslint:check
python -m pip install .
jupyter labextension list 2>&1 | grep -ie "nglview-js-widgets.*OK"
python -m jupyterlab.browser_check
# jupyter labextension list 2>&1 | grep -ie "nglview-js-widgets.*OK"
# python -m jupyterlab.browser_check # FIXME: off for debugging, should turn on
24 changes: 0 additions & 24 deletions js/MANIFEST.in

This file was deleted.

64 changes: 0 additions & 64 deletions js/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions js/install.json

This file was deleted.

16 changes: 8 additions & 8 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nglview-js-widgets",
"version": "3.0.9",
"version": "3.1.0",
"description": "nglview-js-widgets",
"keywords": [
"ipython",
Expand Down Expand Up @@ -34,21 +34,21 @@
"url": "https://github.com/nglviewer/nglview.git"
},
"scripts": {
"prepublish": "jlpm build:prod && webpack && jlpm run copy:labextension",
"prepublish": "yarn build:prod && webpack && yarn run copy:labextension",
"copy:labextension": "cp -r nglview-js-widgets/labextension/* ../nglview/staticlab/",
"build": "jlpm run build:lib && jlpm run build:labextension:dev",
"build:prod": "jlpm run build:lib && jlpm run build:labextension",
"build": "yarn run build:lib && yarn run build:labextension:dev",
"build:prod": "yarn run build:lib && yarn run build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"clean": "jlpm run clean:lib",
"clean": "yarn run clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:labextension": "rimraf myextension/labextension",
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
"clean:all": "yarn run clean:lib && yarn run clean:labextension",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install:extension": "jupyter labextension develop --overwrite .",
"prepare": "jlpm run clean && jlpm run build:prod",
"prepare": "yarn run clean && yarn run build:prod",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w",
"watch:labextension": "jupyter labextension watch .",
Expand All @@ -64,7 +64,7 @@
"underscore": "^1.8.3"
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.5",
"@jupyterlab/builder": "^3.0.5 || ^4",
"@types/chai": "^4.1.4",
"@types/expect.js": "^0.3.29",
"@types/mocha": "^2.2.48",
Expand Down
94 changes: 0 additions & 94 deletions js/setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion nglview/_frontend.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__frontend_version__ = '3.0.9'
__frontend_version__ = '3.1.0'
Binary file removed nglview/static/0de3b51742ed3ac61435875bccd8973b.png
Binary file not shown.
Binary file removed nglview/static/208a290102a4ada58a04de354a1354d7.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed nglview/static/73a1fd052c9d84c0ee0bea3ee85892ed.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed nglview/static/971364734f3b603e5d363a2634898b42.png
Binary file not shown.
Binary file removed nglview/static/a4c733ec4baef9ad3896d4e34a8a5448.png
Binary file not shown.
Binary file removed nglview/static/bf27228a7d3957983584fa7698121ea1.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion nglview/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11135,7 +11135,7 @@ if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist
/* 12 */
/***/ (function(module, exports) {

module.exports = {"name":"nglview-js-widgets","version":"3.0.9","description":"nglview-js-widgets","keywords":["ipython","ipywidgets","jupyter","jupyterlab","jupyterlab-extension","molecular graphics","molecular structure","science","widgets"],"homepage":"https://github.com/nglviewer/nglview/js","bugs":{"url":"https://github.com/nglviewer/nglview/issues"},"license":"MIT","author":{"name":"Alexander Rose, Hai Nguyen","email":"[email protected], [email protected]"},"files":["dist","src","lib","style/index.js"],"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/nglviewer/nglview.git"},"scripts":{"prepublish":"jlpm build:prod && webpack && jlpm run copy:labextension","copy:labextension":"cp -r nglview-js-widgets/labextension/* ../nglview/staticlab/","build":"jlpm run build:lib && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","clean":"jlpm run clean:lib","clean:lib":"rimraf lib tsconfig.tsbuildinfo","clean:labextension":"rimraf myextension/labextension","clean:all":"jlpm run clean:lib && jlpm run clean:labextension","eslint":"eslint . --ext .ts,.tsx --fix","eslint:check":"eslint . --ext .ts,.tsx","install:extension":"jupyter labextension develop --overwrite .","prepare":"jlpm run clean && jlpm run build:prod","watch":"run-p watch:src watch:labextension","watch:src":"tsc -w","watch:labextension":"jupyter labextension watch .","test":"mocha"},"dependencies":{"@jupyter-widgets/base":"^1 || ^2.0.2 || ^3 || ^4 || ^5 || ^6","@jupyter-widgets/jupyterlab-manager":"^3.0.0","jquery":"^3.2.1","jquery-ui":"^1.12.1","lodash":"^4.17.4","ngl":"2.2.2","underscore":"^1.8.3"},"devDependencies":{"@jupyterlab/builder":"^3.0.5","@types/chai":"^4.1.4","@types/expect.js":"^0.3.29","@types/mocha":"^2.2.48","@types/node":"^16.0.0","@types/requirejs":"^2.1.31","@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","babel-register":"^6.11.6","css-loader":"^0.23.1","eslint":"^7.14.0","file-loader":"^1.1.6","json-loader":"^0.5.4","mkdirp":"^1.0.3","ngl":"2.2.2","npm-run-all":"^4.1.5","prettier":"^2.1.1","rimraf":"^3.0.2","style-loader":"^0.13.1","typescript":"~4.1.3","webpack":"^3.12.0"},"sideEffects":["style/*.css","style/index.js"],"styleModule":"style/index.js","jupyterlab":{"extension":"lib/jupyterlab-plugin","outputDir":"nglview-js-widgets/labextension","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"directories":{"test":"test"},"packageManager":"[email protected]"}
module.exports = {"name":"nglview-js-widgets","version":"3.1.0","description":"nglview-js-widgets","keywords":["ipython","ipywidgets","jupyter","jupyterlab","jupyterlab-extension","molecular graphics","molecular structure","science","widgets"],"homepage":"https://github.com/nglviewer/nglview/js","bugs":{"url":"https://github.com/nglviewer/nglview/issues"},"license":"MIT","author":{"name":"Alexander Rose, Hai Nguyen","email":"[email protected], [email protected]"},"files":["dist","src","lib","style/index.js"],"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/nglviewer/nglview.git"},"scripts":{"prepublish":"yarn build:prod && webpack && yarn run copy:labextension","copy:labextension":"cp -r nglview-js-widgets/labextension/* ../nglview/staticlab/","build":"yarn run build:lib && yarn run build:labextension:dev","build:prod":"yarn run build:lib && yarn run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","clean":"yarn run clean:lib","clean:lib":"rimraf lib tsconfig.tsbuildinfo","clean:labextension":"rimraf myextension/labextension","clean:all":"yarn run clean:lib && yarn run clean:labextension","eslint":"eslint . --ext .ts,.tsx --fix","eslint:check":"eslint . --ext .ts,.tsx","install:extension":"jupyter labextension develop --overwrite .","prepare":"yarn run clean && yarn run build:prod","watch":"run-p watch:src watch:labextension","watch:src":"tsc -w","watch:labextension":"jupyter labextension watch .","test":"mocha"},"dependencies":{"@jupyter-widgets/base":"^1 || ^2.0.2 || ^3 || ^4 || ^5 || ^6","@jupyter-widgets/jupyterlab-manager":"^3.0.0","jquery":"^3.2.1","jquery-ui":"^1.12.1","lodash":"^4.17.4","ngl":"2.2.2","underscore":"^1.8.3"},"devDependencies":{"@jupyterlab/builder":"^3.0.5 || ^4","@types/chai":"^4.1.4","@types/expect.js":"^0.3.29","@types/mocha":"^2.2.48","@types/node":"^16.0.0","@types/requirejs":"^2.1.31","@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","babel-register":"^6.11.6","css-loader":"^0.23.1","eslint":"^7.14.0","file-loader":"^1.1.6","json-loader":"^0.5.4","mkdirp":"^1.0.3","ngl":"2.2.2","npm-run-all":"^4.1.5","prettier":"^2.1.1","rimraf":"^3.0.2","style-loader":"^0.13.1","typescript":"~4.1.3","webpack":"^3.12.0"},"sideEffects":["style/*.css","style/index.js"],"styleModule":"style/index.js","jupyterlab":{"extension":"lib/jupyterlab-plugin","outputDir":"nglview-js-widgets/labextension","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"directories":{"test":"test"},"packageManager":"[email protected]"}

/***/ }),
/* 13 */
Expand Down
2 changes: 1 addition & 1 deletion nglview/static/index.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions nglview/staticlab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nglview-js-widgets",
"version": "3.0.9",
"version": "3.1.0",
"description": "nglview-js-widgets",
"keywords": [
"ipython",
Expand Down Expand Up @@ -34,21 +34,21 @@
"url": "https://github.com/nglviewer/nglview.git"
},
"scripts": {
"prepublish": "jlpm build:prod && webpack && jlpm run copy:labextension",
"prepublish": "yarn build:prod && webpack && yarn run copy:labextension",
"copy:labextension": "cp -r nglview-js-widgets/labextension/* ../nglview/staticlab/",
"build": "jlpm run build:lib && jlpm run build:labextension:dev",
"build:prod": "jlpm run build:lib && jlpm run build:labextension",
"build": "yarn run build:lib && yarn run build:labextension:dev",
"build:prod": "yarn run build:lib && yarn run build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"clean": "jlpm run clean:lib",
"clean": "yarn run clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:labextension": "rimraf myextension/labextension",
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
"clean:all": "yarn run clean:lib && yarn run clean:labextension",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install:extension": "jupyter labextension develop --overwrite .",
"prepare": "jlpm run clean && jlpm run build:prod",
"prepare": "yarn run clean && yarn run build:prod",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w",
"watch:labextension": "jupyter labextension watch .",
Expand All @@ -64,7 +64,7 @@
"underscore": "^1.8.3"
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.5",
"@jupyterlab/builder": "^3.0.5 || ^4",
"@types/chai": "^4.1.4",
"@types/expect.js": "^0.3.29",
"@types/mocha": "^2.2.48",
Expand Down Expand Up @@ -101,7 +101,7 @@
}
},
"_build": {
"load": "static/remoteEntry.17ae7a1ccd60d62c2051.js",
"load": "static/remoteEntry.21d0885d0060a84340da.js",
"extension": "./extension",
"style": "./style"
}
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions nglview/staticlab/static/116.95f9bb4b0c0412f36477.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
2 changes: 2 additions & 0 deletions nglview/staticlab/static/245.58aae65ba0df687b1f4d.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/*! https://mths.be/startswith v0.2.0 by @mathias */

/**
ColorBrewer colors for chroma.js

Expand Down Expand Up @@ -86,5 +84,3 @@
* Author: Miller Medeiros
* Version: 1.0.0 - Build: 268 (2012/11/29 05:48 PM)
*/

//!\ DECLARE ALIAS AFTER assign prototype !
2 changes: 0 additions & 2 deletions nglview/staticlab/static/325.0f8271db6262c6939811.js

This file was deleted.

2 changes: 0 additions & 2 deletions nglview/staticlab/static/421.04c3327cf7f16704c3b2.js

This file was deleted.

Binary file added nglview/staticlab/static/42f3fd7ecbd1e18e5e9c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion nglview/staticlab/static/534.eaec54f1d3737a7e98b9.js

This file was deleted.

1 change: 0 additions & 1 deletion nglview/staticlab/static/568.bafd4ba9bc687cad6615.js

This file was deleted.

2 changes: 2 additions & 0 deletions nglview/staticlab/static/660.e35e251399e6abef24b5.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3ba0309

Please sign in to comment.