Skip to content

Commit

Permalink
Rename the NPM package of the extension
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Mar 26, 2024
1 parent 66a5cb3 commit 7b16afa
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ used by a jupyterlab extension.
The Jupyterlab extension is located in *packages/jupyter-chat-extension*.

It is composed of a Python package named `jupyter_chat_extension`
for the server side and a NPM package named `@jupyter/chat-extension`.
for the server side and a NPM package named `jupyter-chat-extension`.

This extension is an implementation of the `@jupyter/chat` package, relying on
websocket for the communication between server and front end.
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-chat-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
A chat extension for Jupyterlab

This package is composed of a Python package named `jupyter_chat_extension`
for the server side and a NPM package named `@jupyter/chat-extension`
for the server side and a NPM package named `jupyter-chat-extension`

![screenshot](screenshot.png 'chat extension')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .extension import ChatExtension

def _jupyter_labextension_paths():
return [{"src": "labextension", "dest": "@jupyter/chat-extension"}]
return [{"src": "labextension", "dest": "jupyter-chat-extension"}]


def _jupyter_server_extension_points():
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-chat-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@jupyter/chat-extension",
"name": "jupyter-chat-extension",
"version": "0.1.0",
"description": "A chat extension for Jupyterlab",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/jupyter-chat-extension/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ artifacts = ["jupyter_chat_extension/labextension"]
exclude = [".github", "binder"]

[tool.hatch.build.targets.wheel.shared-data]
"jupyter_chat_extension/labextension" = "share/jupyter/labextensions/@jupyter/chat-extension"
"install.json" = "share/jupyter/labextensions/@jupyter/chat-extension/install.json"
"jupyter_chat_extension/labextension" = "share/jupyter/labextensions/jupyter-chat-extension"
"install.json" = "share/jupyter/labextensions/jupyter-chat-extension/install.json"
"jupyter-config/server-config" = "etc/jupyter/jupyter_server_config.d"
"jupyter-config/nb-config" = "etc/jupyter/jupyter_notebook_config.d"

Expand Down
76 changes: 38 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2261,44 +2261,6 @@ __metadata:
languageName: node
linkType: hard

"@jupyter/chat-extension@workspace:packages/jupyter-chat-extension":
version: 0.0.0-use.local
resolution: "@jupyter/chat-extension@workspace:packages/jupyter-chat-extension"
dependencies:
"@jupyter/chat": ^0.1.0
"@jupyterlab/apputils": ^4.0.5
"@jupyterlab/builder": ^4.0.0
"@jupyterlab/coreutils": ^6.0.5
"@jupyterlab/rendermime": ^4.0.5
"@jupyterlab/services": ^7.0.5
"@jupyterlab/testutils": ^4.0.0
"@lumino/coreutils": ^2.1.2
"@types/json-schema": ^7.0.11
"@types/react": ^18.2.0
"@types/react-addons-linked-state-mixin": ^0.14.22
"@types/react-dom": ^18.2.0
"@typescript-eslint/eslint-plugin": ^6.1.0
"@typescript-eslint/parser": ^6.1.0
css-loader: ^6.7.1
eslint: ^8.36.0
eslint-config-prettier: ^8.8.0
eslint-plugin-prettier: ^5.0.0
mkdirp: ^1.0.3
npm-run-all: ^4.1.5
prettier: ^3.0.0
rimraf: ^5.0.1
source-map-loader: ^1.0.2
style-loader: ^3.3.1
stylelint: ^15.10.1
stylelint-config-recommended: ^13.0.0
stylelint-config-standard: ^34.0.0
stylelint-csstree-validator: ^3.0.0
stylelint-prettier: ^4.0.0
typescript: ~5.0.2
yjs: ^13.5.0
languageName: unknown
linkType: soft

"@jupyter/chat-root@workspace:.":
version: 0.0.0-use.local
resolution: "@jupyter/chat-root@workspace:."
Expand Down Expand Up @@ -9728,6 +9690,44 @@ __metadata:
languageName: node
linkType: hard

"jupyter-chat-extension@workspace:packages/jupyter-chat-extension":
version: 0.0.0-use.local
resolution: "jupyter-chat-extension@workspace:packages/jupyter-chat-extension"
dependencies:
"@jupyter/chat": ^0.1.0
"@jupyterlab/apputils": ^4.0.5
"@jupyterlab/builder": ^4.0.0
"@jupyterlab/coreutils": ^6.0.5
"@jupyterlab/rendermime": ^4.0.5
"@jupyterlab/services": ^7.0.5
"@jupyterlab/testutils": ^4.0.0
"@lumino/coreutils": ^2.1.2
"@types/json-schema": ^7.0.11
"@types/react": ^18.2.0
"@types/react-addons-linked-state-mixin": ^0.14.22
"@types/react-dom": ^18.2.0
"@typescript-eslint/eslint-plugin": ^6.1.0
"@typescript-eslint/parser": ^6.1.0
css-loader: ^6.7.1
eslint: ^8.36.0
eslint-config-prettier: ^8.8.0
eslint-plugin-prettier: ^5.0.0
mkdirp: ^1.0.3
npm-run-all: ^4.1.5
prettier: ^3.0.0
rimraf: ^5.0.1
source-map-loader: ^1.0.2
style-loader: ^3.3.1
stylelint: ^15.10.1
stylelint-config-recommended: ^13.0.0
stylelint-config-standard: ^34.0.0
stylelint-csstree-validator: ^3.0.0
stylelint-prettier: ^4.0.0
typescript: ~5.0.2
yjs: ^13.5.0
languageName: unknown
linkType: soft

"just-diff-apply@npm:^5.2.0":
version: 5.5.0
resolution: "just-diff-apply@npm:5.5.0"
Expand Down

0 comments on commit 7b16afa

Please sign in to comment.