Skip to content

Commit 9382604

Browse files
authored
Rename package to @jupyterlite/terminal (#7)
* Rename package to `@jupyterlite/terminal` * More renaming * more updates * update to `@jupyterlite/cockle` * update to new package name
1 parent cbc8b84 commit 9382604

File tree

9 files changed

+71
-70
lines changed

9 files changed

+71
-70
lines changed

.copier-answers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
22
_commit: v4.3.0
33
_src_path: https://github.com/jupyterlab/extension-template
4-
author_email: [email protected]
5-
author_name: Ian Thomas
4+
author_email:
5+
author_name: JupyterLite Contributors
66
has_binder: false
77
has_settings: false
88
kind: frontend
9-
labextension_name: jupyterlite-terminal
9+
labextension_name: "@jupyterlite/terminal"
1010
project_short_description: A terminal for JupyterLite
1111
python_name: jupyterlite_terminal
12-
repository: https://github.com/ianthomas23/jupyterlite-terminal
12+
repository: https://github.com/jupyterlite/terminal
1313
test: true
1414

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python -m pip install .[test]
4242
4343
jupyter labextension list
44-
jupyter labextension list 2>&1 | grep -ie "jupyterlite-terminal.*OK"
44+
jupyter labextension list 2>&1 | grep -ie "@jupyterlite/terminal.*OK"
4545
4646
- name: Package the extension
4747
run: |
@@ -81,7 +81,7 @@ jobs:
8181
pip install "jupyterlab>=4.0.0,<5" jupyterlite_terminal*.whl
8282
8383
jupyter labextension list
84-
jupyter labextension list 2>&1 | grep -ie "jupyterlite-terminal.*OK"
84+
jupyter labextension list 2>&1 | grep -ie "@jupyterlite/terminal.*OK"
8585
8686
integration-tests:
8787
name: Integration tests

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2024, Ian Thomas
3+
Copyright (c), Ian Thomas
4+
Copyright (c), JupyterLite Contributors
45
All rights reserved.
56

67
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# jupyterlite_terminal
22

3-
[![Github Actions Status](https://github.com/ianthomas23/jupyterlite-terminal/workflows/Build/badge.svg)](https://github.com/ianthomas23/jupyterlite-terminal/actions/workflows/build.yml)
3+
[![Github Actions Status](https://github.com/jupyterlite/terminal/workflows/Build/badge.svg)](https://github.com/jupyterlite/terminal/actions/workflows/build.yml)
44

55
A terminal for JupyterLite.
66

77
⚠️ This extension is still in development and not yet ready for general use. ⚠️
88

9-
![a screenshot showing a terminal running in JupyterLite](https://github.com/ianthomas23/jupyterlite-terminal/assets/591645/1b4ff620-e8f2-4abf-b608-6badd66370ac)
9+
![a screenshot showing a terminal running in JupyterLite](https://github.com/jupyterlite/terminal/assets/591645/1b4ff620-e8f2-4abf-b608-6badd66370ac)
1010

1111
## Requirements
1212

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "jupyterlite-terminal",
2+
"name": "@jupyterlite/terminal",
33
"version": "0.1.0",
44
"description": "A terminal for JupyterLite",
55
"keywords": [
@@ -8,14 +8,14 @@
88
"jupyterlite",
99
"jupyterlite-extension"
1010
],
11-
"homepage": "https://github.com/ianthomas23/jupyterlite-terminal",
11+
"homepage": "https://github.com/jupyterlite/terminal",
1212
"bugs": {
13-
"url": "https://github.com/ianthomas23/jupyterlite-terminal/issues"
13+
"url": "https://github.com/jupyterlite/terminal/issues"
1414
},
1515
"license": "BSD-3-Clause",
1616
"author": {
17-
"name": "Ian Thomas",
18-
"email": "[email protected]"
17+
"name": "JupyterLite Contributors",
18+
"email": ""
1919
},
2020
"files": [
2121
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
@@ -27,7 +27,7 @@
2727
"style": "style/index.css",
2828
"repository": {
2929
"type": "git",
30-
"url": "https://github.com/ianthomas23/jupyterlite-terminal.git"
30+
"url": "https://github.com/jupyterlite/terminal.git"
3131
},
3232
"scripts": {
3333
"build": "jlpm build:lib && jlpm build:labextension:dev",
@@ -57,10 +57,10 @@
5757
"watch:labextension": "jupyter labextension watch ."
5858
},
5959
"dependencies": {
60-
"@ianthomas23/cockle": "^0.0.2",
6160
"@jupyterlab/services": "^7.2.0",
6261
"@jupyterlab/terminal": "^4.2.0",
6362
"@jupyterlab/terminal-extension": "^4.2.0",
63+
"@jupyterlite/cockle": "^0.0.3",
6464
"@jupyterlite/server": "^0.3.0",
6565
"@lumino/coreutils": "^2.1.2",
6666
"mock-socket": "^9.3.1"

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ import { Terminals } from './terminals';
1414
* The terminals service plugin.
1515
*/
1616
const terminalsPlugin: JupyterLiteServerPlugin<ITerminals> = {
17-
id: 'jupyterlite-terminal:plugin',
17+
id: '@jupyterlite/terminal:plugin',
1818
description: 'A terminal for JupyterLite',
1919
autoStart: true,
2020
provides: ITerminals,
2121
activate: async (app: JupyterLiteServer) => {
2222
console.log(
23-
'JupyterLab extension jupyterlite-terminal:plugin is activated!'
23+
'JupyterLab extension @jupyterlite/terminal:plugin is activated!'
2424
);
2525

2626
const { serviceManager } = app;
@@ -41,12 +41,12 @@ const terminalsPlugin: JupyterLiteServerPlugin<ITerminals> = {
4141
* A plugin providing the routes for the terminals service
4242
*/
4343
const terminalsRoutesPlugin: JupyterLiteServerPlugin<void> = {
44-
id: 'jupyterlite-terminal:routes-plugin',
44+
id: '@jupyterlite/terminal:routes-plugin',
4545
autoStart: true,
4646
requires: [ITerminals],
4747
activate: (app: JupyterLiteServer, terminals: ITerminals) => {
4848
console.log(
49-
'JupyterLab extension jupyterlite-terminal:routes-plugin is activated!',
49+
'JupyterLab extension @jupyterlite/terminal:routes-plugin is activated!',
5050
terminals
5151
);
5252

src/terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Jupyter Development Team.
22
// Distributed under the terms of the Modified BSD License.
33

4-
import { JupyterFileSystem, Shell, IFileSystem } from '@ianthomas23/cockle';
4+
import { JupyterFileSystem, Shell, IFileSystem } from '@jupyterlite/cockle';
55

66
import { JSONPrimitive } from '@lumino/coreutils';
77

ui-tests/tests/jupyterlite_terminal.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test.skip('should emit an activation console message', async ({ page }) => {
1818

1919
expect(
2020
logs.filter(
21-
s => s === 'JupyterLab extension jupyterlite-terminal is activated!'
21+
s => s === 'JupyterLab extension @jupyterlite/terminal is activated!'
2222
)
2323
).toHaveLength(1);
2424
});

yarn.lock

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,15 +1746,6 @@ __metadata:
17461746
languageName: node
17471747
linkType: hard
17481748

1749-
"@ianthomas23/cockle@npm:^0.0.2":
1750-
version: 0.0.2
1751-
resolution: "@ianthomas23/cockle@npm:0.0.2"
1752-
dependencies:
1753-
"@jupyterlab/services": ^7.1.6
1754-
checksum: 7426122ce9e05cebf6db3c88a06b068eafa65dc8a6ba72384c6a9a62f95d13ebc3a3cb865ecaa6989a8809d0a0fc17155689be7d6067d5f3ffb4e0dbb0a32d33
1755-
languageName: node
1756-
linkType: hard
1757-
17581749
"@isaacs/cliui@npm:^8.0.2":
17591750
version: 8.0.2
17601751
resolution: "@isaacs/cliui@npm:8.0.2"
@@ -3004,6 +2995,15 @@ __metadata:
30042995
languageName: node
30052996
linkType: hard
30062997

2998+
"@jupyterlite/cockle@npm:^0.0.3":
2999+
version: 0.0.3
3000+
resolution: "@jupyterlite/cockle@npm:0.0.3"
3001+
dependencies:
3002+
"@jupyterlab/services": ^7.1.6
3003+
checksum: 78451875892662175ba5f7bfac36ba97f6a1d2335ec8d801d39fd2dcd7f2996af08c0b5d76d67921843e888d7a94a70f43a24ade7d476c8b7556e775d1a8002f
3004+
languageName: node
3005+
linkType: hard
3006+
30073007
"@jupyterlite/contents@npm:^0.3.0":
30083008
version: 0.3.0
30093009
resolution: "@jupyterlite/contents@npm:0.3.0"
@@ -3098,6 +3098,45 @@ __metadata:
30983098
languageName: node
30993099
linkType: hard
31003100

3101+
"@jupyterlite/terminal@workspace:.":
3102+
version: 0.0.0-use.local
3103+
resolution: "@jupyterlite/terminal@workspace:."
3104+
dependencies:
3105+
"@jupyterlab/builder": ^4.0.0
3106+
"@jupyterlab/services": ^7.2.0
3107+
"@jupyterlab/terminal": ^4.2.0
3108+
"@jupyterlab/terminal-extension": ^4.2.0
3109+
"@jupyterlab/testutils": ^4.0.0
3110+
"@jupyterlite/cockle": ^0.0.3
3111+
"@jupyterlite/server": ^0.3.0
3112+
"@lumino/coreutils": ^2.1.2
3113+
"@types/jest": ^29.2.0
3114+
"@types/json-schema": ^7.0.11
3115+
"@types/react": ^18.0.26
3116+
"@types/react-addons-linked-state-mixin": ^0.14.22
3117+
"@typescript-eslint/eslint-plugin": ^6.1.0
3118+
"@typescript-eslint/parser": ^6.1.0
3119+
css-loader: ^6.7.1
3120+
eslint: ^8.36.0
3121+
eslint-config-prettier: ^8.8.0
3122+
eslint-plugin-prettier: ^5.0.0
3123+
jest: ^29.2.0
3124+
mock-socket: ^9.3.1
3125+
npm-run-all: ^4.1.5
3126+
prettier: ^3.0.0
3127+
rimraf: ^5.0.1
3128+
source-map-loader: ^1.0.2
3129+
style-loader: ^3.3.1
3130+
stylelint: ^15.10.1
3131+
stylelint-config-recommended: ^13.0.0
3132+
stylelint-config-standard: ^34.0.0
3133+
stylelint-csstree-validator: ^3.0.0
3134+
stylelint-prettier: ^4.0.0
3135+
typescript: ~5.0.2
3136+
yjs: ^13.5.0
3137+
languageName: unknown
3138+
linkType: soft
3139+
31013140
"@jupyterlite/translation@npm:^0.3.0":
31023141
version: 0.3.0
31033142
resolution: "@jupyterlite/translation@npm:0.3.0"
@@ -7691,45 +7730,6 @@ __metadata:
76917730
languageName: node
76927731
linkType: hard
76937732

7694-
"jupyterlite-terminal@workspace:.":
7695-
version: 0.0.0-use.local
7696-
resolution: "jupyterlite-terminal@workspace:."
7697-
dependencies:
7698-
"@ianthomas23/cockle": ^0.0.2
7699-
"@jupyterlab/builder": ^4.0.0
7700-
"@jupyterlab/services": ^7.2.0
7701-
"@jupyterlab/terminal": ^4.2.0
7702-
"@jupyterlab/terminal-extension": ^4.2.0
7703-
"@jupyterlab/testutils": ^4.0.0
7704-
"@jupyterlite/server": ^0.3.0
7705-
"@lumino/coreutils": ^2.1.2
7706-
"@types/jest": ^29.2.0
7707-
"@types/json-schema": ^7.0.11
7708-
"@types/react": ^18.0.26
7709-
"@types/react-addons-linked-state-mixin": ^0.14.22
7710-
"@typescript-eslint/eslint-plugin": ^6.1.0
7711-
"@typescript-eslint/parser": ^6.1.0
7712-
css-loader: ^6.7.1
7713-
eslint: ^8.36.0
7714-
eslint-config-prettier: ^8.8.0
7715-
eslint-plugin-prettier: ^5.0.0
7716-
jest: ^29.2.0
7717-
mock-socket: ^9.3.1
7718-
npm-run-all: ^4.1.5
7719-
prettier: ^3.0.0
7720-
rimraf: ^5.0.1
7721-
source-map-loader: ^1.0.2
7722-
style-loader: ^3.3.1
7723-
stylelint: ^15.10.1
7724-
stylelint-config-recommended: ^13.0.0
7725-
stylelint-config-standard: ^34.0.0
7726-
stylelint-csstree-validator: ^3.0.0
7727-
stylelint-prettier: ^4.0.0
7728-
typescript: ~5.0.2
7729-
yjs: ^13.5.0
7730-
languageName: unknown
7731-
linkType: soft
7732-
77337733
"keyv@npm:^4.5.3":
77347734
version: 4.5.4
77357735
resolution: "keyv@npm:4.5.4"

0 commit comments

Comments
 (0)