Skip to content

Commit

Permalink
Split jupyter_collaborative_chat fontend package and python extension
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Sep 11, 2024
1 parent 4839eda commit cd6641a
Show file tree
Hide file tree
Showing 60 changed files with 1,188 additions and 703 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
"url": "https://github.com/jupyterlab/jupyter-chat.git"
},
"workspaces": [
"packages/*"
"packages/*",
"python/jupyterlab-collaborative-chat"
],
"scripts": {
"build": "lerna run build --stream",
"build:core": "lerna run build --stream --scope \"@jupyter/chat\"",
"build:collaborative": "lerna run build --scope=jupyterlab-collaborative-chat --include-filtered-dependencies",
"build:collaborative": "lerna run build --scope=jupyterlab-collaborative-chat-extension --include-filtered-dependencies",
"build:ws": "lerna run build --scope=jupyterlab-ws-chat --include-filtered-dependencies",
"build:prod": "lerna run build:prod --stream",
"clean": "lerna run clean",
Expand Down
14 changes: 0 additions & 14 deletions packages/jupyter-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,6 @@
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"discovery": {
"server": {
"managers": [
"pip"
],
"base": {
"name": "jupyter_chat"
}
}
},
"extension": false,
"schemaDir": "schema"
},
"eslintIgnore": [
"node_modules",
"dist",
Expand Down
41 changes: 6 additions & 35 deletions packages/jupyterlab-collaborative-chat/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jupyterlab-collaborative-chat",
"version": "0.3.1",
"description": "A chat extension based on shared documents",
"description": "The library to build a chat based on shared document",
"keywords": [
"jupyter",
"jupyterlab",
Expand All @@ -19,8 +19,7 @@
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"src/**/*.{ts,tsx}",
"schema/*.json"
"src/**/*.{ts,tsx}"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -30,17 +29,14 @@
"url": "https://github.com/jupyterlab/jupyter-chat.git"
},
"scripts": {
"build": "jlpm build:lib && jlpm build:labextension:dev",
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build": "jlpm build:lib",
"build:prod": "jlpm clean && jlpm build:lib:prod",
"build:lib": "tsc --sourceMap",
"build:lib:prod": "tsc",
"clean": "jlpm clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
"clean:labextension": "rimraf jupyterlab_collaborative_chat/labextension jupyterlab_collaborative_chat/_version.py",
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
"clean:all": "jlpm clean:lib && jlpm clean:lintcache",
"eslint": "jlpm eslint:check --fix",
"eslint:check": "eslint . --cache --ext .ts,.tsx",
"install:extension": "jlpm build",
Expand All @@ -52,9 +48,7 @@
"stylelint": "jlpm stylelint:check --fix",
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
"test": "jest --coverage",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w --sourceMap",
"watch:labextension": "jupyter labextension watch ."
"watch:src": "tsc -w --sourceMap"
},
"dependencies": {
"@jupyter/chat": "^0.3.1",
Expand All @@ -81,8 +75,6 @@
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/builder": "^4.2.0",
"@jupyterlab/testutils": "^4.2.0",
"@types/jest": "^29.2.0",
"@types/json-schema": "^7.0.11",
"@types/react": "^18.2.0",
Expand Down Expand Up @@ -116,27 +108,6 @@
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"discovery": {
"server": {
"managers": [
"pip"
],
"base": {
"name": "jupyterlab_collaborative_chat"
}
}
},
"extension": true,
"outputDir": "jupyterlab_collaborative_chat/labextension",
"schemaDir": "schema",
"sharedPackages": {
"@jupyter/docprovider": {
"bundled": true,
"singleton": true
}
}
},
"eslintIgnore": [
"node_modules",
"dist",
Expand Down
Loading

0 comments on commit cd6641a

Please sign in to comment.