Skip to content

Commit

Permalink
Fix types/node version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Mar 31, 2023
1 parent 565aa71 commit ece8fc4
Show file tree
Hide file tree
Showing 4 changed files with 472 additions and 469 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build:prod": "lerna run build:prod",
"build:test": "lerna run build:test",
"clean": "lerna run clean",
"eslint": "eslint . --ext .ts,.tsx,.js,.jsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx,.js,.jsx",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install": "lerna bootstrap",
"prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/voila/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@jupyterlab/builder": "^3.0.0",
"@types/node": "^18.8.3",
"@types/node": "~18.8.3",
"babel-loader": "^8.0.5",
"css-loader": "^6.7.2",
"file-loader": "^6.2.0",
Expand Down
2 changes: 0 additions & 2 deletions voila/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ async def get_generator(self, path=None):
return

cwd = os.path.dirname(notebook_path)
print("#########", cwd)
# Adding request uri to kernel env
request_info = {}
request_info[ENV_VARIABLE.SCRIPT_NAME] = self.request.path
Expand Down Expand Up @@ -258,7 +257,6 @@ async def put_html():

@tornado.web.authenticated
async def get(self, path=None):
print("OPATH", path)
gen = self.get_generator(path=path)
async for html in gen:
self.write(html)
Expand Down
Loading

0 comments on commit ece8fc4

Please sign in to comment.