Skip to content

Commit

Permalink
Fix: build (#19)
Browse files Browse the repository at this point in the history
* chore: don't log

* fix: build

* version: bump
  • Loading branch information
echarles authored Aug 12, 2024
1 parent d86f5d7 commit d140612
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion datalayer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
try:
from .lab import DatalayerLabApp
except ModuleNotFoundError as e:
print("No jupyterlab available here...")
# print("No jupyterlab available here...")
pass


def _jupyter_server_extension_points() -> List[Dict[str, Any]]:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datalayer/core",
"version": "1.1.1",
"version": "1.1.2",
"description": "Ξ Datalayer Core.",
"keywords": [
"datalayer",
Expand Down Expand Up @@ -65,7 +65,7 @@
"watch:src": "tsc -w"
},
"dependencies": {
"@datalayer/run": "^0.1.12"
"@datalayer/run": "^0.1.14"
},
"devDependencies": {
"@babel/core": "^7.21.0",
Expand Down
4 changes: 2 additions & 2 deletions src/DatalayerApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import "./../style/index.css";
const div = document.createElement('div');
document.body.appendChild(div);
const root = createRoot(div);

/*
if (module.hot) {
module.hot.accept('./CoreExample', () => {
const CoreExample = require('./CoreExample').default;
root.render(<CoreExample/>);
})
}

*/
root.render(<CoreExample/>);
2 changes: 1 addition & 1 deletion src/jupyterlab/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { activatorPlugin, datalayerCorePlugin } from '@datalayer/run';
import { activatorPlugin, datalayerCorePlugin } from '@datalayer/run/lib/plugins/core';

export default [activatorPlugin, datalayerCorePlugin];

0 comments on commit d140612

Please sign in to comment.