Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Jun 19, 2024
1 parent df48bfb commit b9c7409
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions js/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = {
files: ["**/*.ts"],
languageOptions: {
parser: require('@typescript-eslint/parser'), // Specifies the ESLint parser
}
};
6 changes: 3 additions & 3 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@
"@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",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"babel-register": "^6.11.6",
"css-loader": "^0.23.1",
"eslint": "^9.5",
"eslint": "^8.5.6",
"file-loader": "^1.1.6",
"json-loader": "^0.5.4",
"mkdirp": "^1.0.3",
Expand Down
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.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":"^9.5","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":"~5.4.5","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 '**/*.ts' --fix","eslint:check":"eslint '**/*.ts'","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":"^7.13.1","@typescript-eslint/parser":"^7.13.1","babel-register":"^6.11.6","css-loader":"^0.23.1","eslint":"^8.5.6","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":"~5.4.5","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.

12 changes: 6 additions & 6 deletions nglview/staticlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"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",
"eslint": "eslint '**/*.ts' --fix",
"eslint:check": "eslint '**/*.ts'",
"install:extension": "jupyter labextension develop --overwrite .",
"prepare": "yarn run clean && yarn run build:prod",
"watch": "run-p watch:src watch:labextension",
Expand All @@ -70,11 +70,11 @@
"@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",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"babel-register": "^6.11.6",
"css-loader": "^0.23.1",
"eslint": "^9.5",
"eslint": "^8.5.6",
"file-loader": "^1.1.6",
"json-loader": "^0.5.4",
"mkdirp": "^1.0.3",
Expand All @@ -101,7 +101,7 @@
}
},
"_build": {
"load": "static/remoteEntry.f4db6c940369d14cf844.js",
"load": "static/remoteEntry.4aa080b2a45dbecd0a13.js",
"extension": "./extension",
"style": "./style"
}
Expand Down

0 comments on commit b9c7409

Please sign in to comment.