Skip to content

Commit d966e8d

Browse files
echarlesgithub-actions[bot]Copilot
authored
bump jupyter-react (#14)
* bump: version * fix: build * bump: version * bump: version * bump: jupyter-react * fix: build * Automatic application of license header * Update docs/docusaurus.config.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update docs/Makefile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .licenserc.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Automatic application of license header * Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update docs/Makefile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update Makefile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update docs/docs/index.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * makefile --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e7e4f79 commit d966e8d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+768
-186
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [datalayer]

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
1919

2020
- name: Install dependencies
21-
run: python -m pip install -U jupyterlab==4.1.0b0
21+
run: python -m pip install -U jupyterlab==4.1.0
2222

2323
- name: Lint the extension
2424
run: |
@@ -81,7 +81,7 @@ jobs:
8181
sudo rm -rf $(which node)
8282
sudo rm -rf $(which node)
8383
84-
pip install "jupyterlab==4.1.0b0" jupyter_viewer*.whl
84+
pip install "jupyterlab==4.1.0" jupyter_viewer*.whl
8585
8686
8787
jupyter server extension list
@@ -114,7 +114,7 @@ jobs:
114114
- name: Install the extension
115115
run: |
116116
set -eux
117-
python -m pip install "jupyterlab==4.1.0b0" jupyter_viewer*.whl
117+
python -m pip install "jupyterlab==4.1.0" jupyter_viewer*.whl
118118
119119
- name: Install dependencies
120120
working-directory: ui-tests

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,4 @@ dmypy.json
139139
!**/.env
140140
!.github
141141
!.devcontainer
142+
!.licenserc.yaml

.licenserc.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
header:
2+
license:
3+
spdx-id: Datalayer
4+
copyright-owner: Datalayer, Inc.
5+
copyright-year: 2021-2025
6+
content: |
7+
Copyright (c) [year] [owner]
8+
Distributed under the terms of the Modified BSD License.
9+
10+
paths-ignore:
11+
- '**/*.ipynb'
12+
- '**/*.json'
13+
- '**/*.txt'
14+
- '**/*.md'
15+
- '**/*.svg'
16+
- '**/*.tsbuildinfo'
17+
- '**/*.yml'
18+
- '**/*.yaml'
19+
- '**/build'
20+
- '**/lib'
21+
- '**/node_modules'
22+
- '**/MANIFEST.in'
23+
- '**/static'
24+
- '**/typings'
25+
- '**/schemas'
26+
- '**/themes'
27+
- '*.map.js'
28+
- '*.bundle.js'
29+
- '**/.*'
30+
- 'LICENSE'
31+
- '.devcontainer/resources/'
32+
- '**/LICENSE.txt'
33+
- '**/*.nblink'
34+
- 'docs/docs'
35+
- 'patches/'
36+
37+
comment: on-failure

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2021-2025 Datalayer, Inc.
2+
# Distributed under the terms of the Modified BSD License.
3+
4+
# Copyright (c) 2021-2024 Datalayer, Inc.
5+
# Distributed under the terms of the Modified BSD License.
6+
17
# Copyright (c) Datalayer, Inc. https://datalayer.io
28
# Distributed under the terms of the MIT License.
39

Makefile

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2021-2025 Datalayer, Inc.
2+
# Distributed under the terms of the Modified BSD License.
3+
4+
# Copyright (c) 2021-2024 Datalayer, Inc.
5+
# Distributed under the terms of the Modified BSD License.
6+
17
# Copyright (c) Datalayer, Inc. https://datalayer.io
28
# Distributed under the terms of the MIT License.
39

@@ -15,33 +21,33 @@ help: ## display this help
1521
default: help ## default target is help
1622

1723
env: warning ## env
18-
micromamba env create -y -n ${ENV_NAME} -f environment.yml
24+
conda env create -y -n ${ENV_NAME} -f environment.yml
1925
@exec echo "-------------------------------------------------------"
20-
@exec echo "micromamba activate ${ENV_NAME}"
26+
@exec echo "conda activate ${ENV_NAME}"
2127
@exec echo "-------------------------------------------------------"
2228

2329
env-rm: warning ## env-rm
24-
micromamba deactivate && \
25-
micromamba remove -y --name ${ENV_NAME} --all || true
30+
conda deactivate && \
31+
conda remove -y --name ${ENV_NAME} --all || true
2632

2733
kill:
28-
yarn kill
34+
npm run kill
2935

3036
warning:
3137
echo "\x1b[34m\x1b[43mEnsure you have run \x1b[1;37m\x1b[41m conda deactivate \x1b[22m\x1b[34m\x1b[43m before invoking this.\x1b[0m"
3238

3339
clean: ## clean
34-
yarn clean
40+
npm clean
3541

3642
build: ## build
37-
yarn build
43+
npm run build
3844

3945
build-webpack: ## build-webpack
40-
yarn build:webpack
46+
npm run build:webpack
4147

4248
build-webpack-prod: ## build-webpack-prod
4349
rm -fr ./dist
44-
yarn build:webpack:prod
50+
npm run build:webpack:prod
4551

4652
build-prod: ## build-prod
4753
git clean -fdx
@@ -98,3 +104,10 @@ publish: build-webpack-prod ## publish
98104
--paths "/*" \
99105
--profile datalayer && \
100106
echo open ✨ https://viewer.datalayer.tech )
107+
108+
clean-npm: ## clean-npm
109+
npm run clean
110+
111+
publish-npm: clean-npm build ## publish-npm
112+
npm publish
113+
echo open https://www.npmjs.com/package/@datalayer/jupyter-viewer

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ open http://localhost:8888/jupyter_viewer/github/datalayer/examples/main/pytorch
4343
Develop the Web application.
4444

4545
```bash
46-
yarn
47-
yarn start
46+
npm i
47+
npm run start
4848
```
4949

5050
```bash
@@ -74,7 +74,7 @@ pip install -e .[test]
7474
jupyter labextension develop . --overwrite
7575
jupyter labextension list
7676
jupyter server extension list
77-
yarn jupyterlab
77+
npm run jupyterlab
7878
```
7979

8080
```bash

babel.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
/*
2+
* Copyright (c) 2021-2025 Datalayer, Inc.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
/*
7+
* Copyright (c) 2021-2024 Datalayer, Inc.
8+
* Distributed under the terms of the Modified BSD License.
9+
*/
10+
111
module.exports = require('@jupyterlab/testutils/lib/babel.config');

conftest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2021-2025 Datalayer, Inc.
2+
# Distributed under the terms of the Modified BSD License.
3+
4+
# Copyright (c) 2021-2024 Datalayer, Inc.
5+
# Distributed under the terms of the Modified BSD License.
6+
17
import pytest
28

39
pytest_plugins = ("jupyter_server.pytest_plugin", )

dev/config/jupyter_server_config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2021-2025 Datalayer, Inc.
2+
# Distributed under the terms of the Modified BSD License.
3+
4+
# Copyright (c) 2021-2024 Datalayer, Inc.
5+
# Distributed under the terms of the Modified BSD License.
6+
17
"""Configuration for the Jupyter development server."""
28

39
import os

0 commit comments

Comments
 (0)