Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit b21ac84

Browse files
authored
Merge pull request #5 from fcollonval/jlab-2.0
update for Jlab 2.0
2 parents ef39507 + 1a53fc3 commit b21ac84

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: '*'
6+
schedule:
7+
- cron: '0 0 1 * *'
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v1
17+
- name: Install node
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: '10.x'
21+
- name: Install Python
22+
uses: actions/setup-python@v1
23+
with:
24+
python-version: '3.7'
25+
architecture: 'x64'
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install jupyterlab
29+
- name: Run tests
30+
run: |
31+
jlpm && jlpm run build
32+
jupyter labextension install .
33+
python -m jupyterlab.browser_check
34+
35+
jupyter lab clean
36+
37+
jupyter labextension link .
38+
python -m jupyterlab.browser_check

LICENSE.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Copyright (c) 2019, Frederic Collonval
2-
All rights reserved.
1+
Copyright (c) 2020, Frederic Collonval All rights reserved.
32

43
Redistribution and use in source and binary forms, with or without
54
modification, are permitted provided that the following conditions are met:
@@ -8,14 +7,14 @@ modification, are permitted provided that the following conditions are met:
87
* Redistributions in binary form must reproduce the above copyright
98
notice, this list of conditions and the following disclaimer in the
109
documentation and/or other materials provided with the distribution.
11-
* Neither the name of the Frederic Collonval nor the
10+
* Neither the name of the copyright holder nor the
1211
names of its contributors may be used to endorse or promote products
1312
derived from this software without specific prior written permission.
1413

1514
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1615
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1716
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18-
DISCLAIMED. IN NO EVENT SHALL Frederic Collonval BE LIABLE FOR ANY
17+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
1918
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2019
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2120
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab_toastify",
3-
"version": "2.3.2",
3+
"version": "3.0.0",
44
"description": "Integrate 'react-toastify' nicely in JupyterLab.",
55
"keywords": [
66
"jupyter",
@@ -32,7 +32,7 @@
3232
"prepare": "jlpm run clean && jlpm run build"
3333
},
3434
"dependencies": {
35-
"@jupyterlab/application": "^1.0.0",
35+
"@jupyterlab/application": "^2.0.0",
3636
"react-toastify": "^4.4.3"
3737
},
3838
"peerDependencies": {
@@ -48,7 +48,7 @@
4848
"react": "^16.0.0",
4949
"react-dom": "^16.0.0",
5050
"rimraf": "~2.6.1",
51-
"typescript": "~3.5.2"
51+
"typescript": "~3.7.0"
5252
},
5353
"sideEffects": [
5454
"style/*.css"

0 commit comments

Comments
 (0)