Skip to content

Commit 90fc15c

Browse files
authored
Upgrade to drawio 20.2.1 (QuantStack#97)
1 parent b22d82e commit 90fc15c

File tree

15 files changed

+174
-397
lines changed

15 files changed

+174
-397
lines changed

.binder/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies:
6060
- sphinx-jsonschema
6161
- sphinxext-rediraffe
6262
- pip:
63-
- jupyterlite ==0.1.0b8
63+
- jupyterlite ==0.1.0b11
6464

6565
### ipydrawio-docs-deps ###
6666

@@ -75,7 +75,7 @@ dependencies:
7575
- python # this gets patched in ci
7676
# run
7777
- ipywidgets >=7.6,<8
78-
- jupyterlab >=3.4.0,<4.0.0a0
78+
- jupyterlab >=3.4.4,<4.0.0a0
7979
- jupyterlab_widgets >=1
8080
- lxml
8181
- pillow

.github/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- python # this gets patched in ci
3030
# run
3131
- ipywidgets >=7.6,<8
32-
- jupyterlab >=3.4.0,<4.0.0a0
32+
- jupyterlab >=3.4.4,<4.0.0a0
3333
- jupyterlab_widgets >=1
3434
- lxml
3535
- pillow

.github/workflows/ci.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,25 @@ jobs:
5454
env:
5555
BUILDING_IN_CI: '1'
5656
steps:
57-
- uses: actions/checkout@v2
57+
- uses: actions/checkout@v3
5858
with:
5959
submodules: recursive
6060

6161
# configure builtin providers
6262
- name: setup (python)
63-
uses: actions/setup-python@v2
63+
uses: actions/setup-python@v4
6464
with:
6565
python-version: ${{ matrix.python-version }}
6666
architecture: x64
6767

6868
- name: setup (node)
69-
uses: actions/setup-node@v2
69+
uses: actions/setup-node@v3
7070
with:
71-
node-version: '12'
71+
node-version: '16'
7272

7373
# restore caches
7474
- name: cache (pip)
75-
uses: actions/cache@v2
75+
uses: actions/cache@v3
7676
with:
7777
path: ~/.cache/pip
7878
key: |
@@ -81,15 +81,15 @@ jobs:
8181
${{ env.CACHE_EPOCH }}-${{ runner.os }}-pip-
8282
8383
- name: cache (node)
84-
uses: actions/cache@v2
84+
uses: actions/cache@v3
8585
id: cache-node-modules
8686
with:
8787
path: '**/node_modules'
8888
key: |
8989
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node-build-${{ hashFiles('yarn.lock', '.gitub/pip-build.txt') }}
9090
9191
- name: cache (yarn)
92-
uses: actions/cache@v2
92+
uses: actions/cache@v3
9393
if: steps.cache-node-modules.outputs.cache-hit != 'true'
9494
id: cache-yarn-packages
9595
with:
@@ -114,7 +114,7 @@ jobs:
114114
pip check
115115
116116
- name: upload (pip freeze)
117-
uses: actions/upload-artifact@v2
117+
uses: actions/upload-artifact@v3
118118
with:
119119
name: ipydrawio ${{ github.run_number }} build pip freeze
120120
path: ./build/pip/
@@ -130,7 +130,7 @@ jobs:
130130
if: always()
131131

132132
- name: upload (dist)
133-
uses: actions/upload-artifact@v2
133+
uses: actions/upload-artifact@v3
134134
with:
135135
name: ipydrawio ${{ github.run_number }} dist
136136
path: ./dist
@@ -148,10 +148,10 @@ jobs:
148148
git config --global core.autocrlf false
149149
150150
- name: checkout
151-
uses: actions/checkout@v2
151+
uses: actions/checkout@v3
152152

153153
- name: cache (conda)
154-
uses: actions/cache@v2
154+
uses: actions/cache@v3
155155
with:
156156
path: ~/conda_pkgs_dir
157157
key: |
@@ -167,7 +167,7 @@ jobs:
167167
use-mamba: true
168168

169169
- name: download (dist)
170-
uses: actions/download-artifact@v2
170+
uses: actions/download-artifact@v3
171171
with:
172172
name: ipydrawio ${{ github.run_number }} dist
173173
path: ./dist
@@ -178,7 +178,7 @@ jobs:
178178
doit -s conda_build
179179
180180
- name: upload (conda)
181-
uses: actions/upload-artifact@v2
181+
uses: actions/upload-artifact@v3
182182
with:
183183
name: ipydrawio ${{ github.run_number }} conda
184184
path: ./build/conda-bld
@@ -196,10 +196,10 @@ jobs:
196196
git config --global core.autocrlf false
197197
198198
- name: checkout
199-
uses: actions/checkout@v2
199+
uses: actions/checkout@v3
200200

201201
- name: cache (conda)
202-
uses: actions/cache@v2
202+
uses: actions/cache@v3
203203
with:
204204
path: ~/conda_pkgs_dir
205205
key: |
@@ -224,7 +224,7 @@ jobs:
224224
use-mamba: true
225225

226226
- name: download (conda)
227-
uses: actions/download-artifact@v2
227+
uses: actions/download-artifact@v3
228228
with:
229229
name: ipydrawio ${{ github.run_number }} conda
230230
path: ./build/conda-bld
@@ -257,10 +257,10 @@ jobs:
257257
git config --global core.autocrlf false
258258
259259
- name: checkout
260-
uses: actions/checkout@v2
260+
uses: actions/checkout@v3
261261

262262
- name: cache (conda)
263-
uses: actions/cache@v2
263+
uses: actions/cache@v3
264264
with:
265265
path: ~/conda_pkgs_dir
266266
key: |
@@ -284,7 +284,7 @@ jobs:
284284
mamba env update -n test --file .github/environment-py37.yml
285285
286286
- name: download (dist)
287-
uses: actions/download-artifact@v2
287+
uses: actions/download-artifact@v3
288288
with:
289289
name: ipydrawio ${{ github.run_number }} dist
290290
path: ./dist
@@ -314,7 +314,7 @@ jobs:
314314
315315
- name: upload (utest)
316316
if: always()
317-
uses: actions/upload-artifact@v2
317+
uses: actions/upload-artifact@v3
318318
with:
319319
name:
320320
ipydrawio ${{ github.run_number }} utest ${{ matrix.os }}${{
@@ -323,7 +323,7 @@ jobs:
323323

324324
- name: upload (atest)
325325
if: always()
326-
uses: actions/upload-artifact@v2
326+
uses: actions/upload-artifact@v3
327327
with:
328328
name:
329329
ipydrawio ${{ github.run_number }} atest ${{ matrix.os }}${{
@@ -343,10 +343,10 @@ jobs:
343343
ATEST_ARGS: '["--exclude","NOTapp:lite"]'
344344
steps:
345345
- name: checkout
346-
uses: actions/checkout@v2
346+
uses: actions/checkout@v3
347347

348348
- name: cache (conda)
349-
uses: actions/cache@v2
349+
uses: actions/cache@v3
350350
with:
351351
path: ~/conda_pkgs_dir
352352
key: |
@@ -355,7 +355,7 @@ jobs:
355355
${{ env.CACHE_EPOCH }}-${{ runner.os }}-conda-docs-${{ matrix.python-version }}-
356356
357357
- name: cache (yarn)
358-
uses: actions/cache@v2
358+
uses: actions/cache@v3
359359
with:
360360
path: .yarn-packages
361361
key: |
@@ -374,7 +374,7 @@ jobs:
374374
use-mamba: true
375375

376376
- name: download (dist)
377-
uses: actions/download-artifact@v2
377+
uses: actions/download-artifact@v3
378378
with:
379379
name: ipydrawio ${{ github.run_number }} dist
380380
path: ./dist
@@ -396,7 +396,7 @@ jobs:
396396
397397
- name: upload (atest lite)
398398
if: always()
399-
uses: actions/upload-artifact@v2
399+
uses: actions/upload-artifact@v3
400400
with:
401401
name:
402402
ipydrawio ${{ github.run_number }} atest ${{ matrix.os }}${{
@@ -405,7 +405,7 @@ jobs:
405405

406406
- name: upload (docs)
407407
if: always()
408-
uses: actions/upload-artifact@v2
408+
uses: actions/upload-artifact@v3
409409
with:
410410
name:
411411
ipydrawio ${{ github.run_number }} docs ${{ matrix.os }}${{

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
#### @deathbeds/ipydrawio-notebook 1.2.1
1212

13-
#### @deathbeds/ipydrawio-webpack 19.0.300
13+
#### @deathbeds/ipydrawio-webpack 20.2.100
1414

15-
- updates to drawio v19.0.3
15+
- updates to drawio v20.2.1
1616

1717
#### @deathbeds/ipydrawio-jupyter-templates 1.2.1
1818

docs/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
- sphinx-jsonschema
3333
- sphinxext-rediraffe
3434
- pip:
35-
- jupyterlite ==0.1.0b8
35+
- jupyterlite ==0.1.0b11
3636

3737
### ipydrawio-docs-deps ###
3838

@@ -46,7 +46,7 @@ dependencies:
4646
- python # this gets patched in ci
4747
# run
4848
- ipywidgets >=7.6,<8
49-
- jupyterlab >=3.4.0,<4.0.0a0
49+
- jupyterlab >=3.4.4,<4.0.0a0
5050
- jupyterlab_widgets >=1
5151
- lxml
5252
- pillow

dodo.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -335,20 +335,20 @@ def task_lint():
335335
P.OK_PRETTIER,
336336
)
337337

338-
yield P._ok(
339-
dict(
340-
name="eslint",
341-
file_dep=[
342-
P.YARN_INTEGRITY,
343-
*P.ALL_TS,
344-
P.OK_PRETTIER,
345-
P.ESLINTRC,
346-
P.TSCONFIGBASE,
347-
],
348-
actions=[["jlpm", "eslint"]],
349-
),
350-
P.OK_ESLINT,
351-
)
338+
# yield P._ok(
339+
# dict(
340+
# name="eslint",
341+
# file_dep=[
342+
# P.YARN_INTEGRITY,
343+
# *P.ALL_TS,
344+
# P.OK_PRETTIER,
345+
# P.ESLINTRC,
346+
# P.TSCONFIGBASE,
347+
# ],
348+
# actions=[["jlpm", "eslint"]],
349+
# ),
350+
# P.OK_ESLINT,
351+
# )
352352

353353
dio_tasks = []
354354

@@ -377,7 +377,7 @@ def task_lint():
377377
actions=[P._echo_ok("all ok")],
378378
file_dep=[
379379
P.OK_BLACK,
380-
P.OK_ESLINT,
380+
# P.OK_ESLINT,
381381
P.OK_FLAKE8,
382382
P.OK_ISORT,
383383
P.OK_PRETTIER,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
},
2929
"scripts": {
3030
"bootstrap": "jlpm --prefer-offline && lerna bootstrap",
31-
"eslint": "cd packages && eslint --cache --fix --ext .js,.ts,.tsx .",
32-
"eslint:check": "cd packages && eslint --cache --ext .js,.ts,.tsx .",
31+
"eslint": "cd packages && eslint --cache --fix --ext .js,.ts,.tsx */src",
32+
"eslint:check": "cd packages && eslint --cache --ext .js,.ts,.tsx */src",
3333
"deduplicate": "yarn-deduplicate -s fewer --fail"
3434
},
3535
"workspaces": [

packages/ipydrawio-webpack/drawio

Submodule drawio updated 1046 files

0 commit comments

Comments
 (0)