From eda2e0db3a8b0630e8802524dd3c95ac7db54526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Mon, 20 May 2024 16:28:27 +0200 Subject: [PATCH] Fix linting issue (#73) Fixes #72 --- template/package.json.jinja | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/template/package.json.jinja b/template/package.json.jinja index b70769a..922462f 100644 --- a/template/package.json.jinja +++ b/template/package.json.jinja @@ -58,10 +58,10 @@ }, "dependencies": { {% if kind.lower() != 'mimerenderer' %}"@jupyterlab/application": "^4.0.0"{% if kind.lower() == 'theme' %}, - "@jupyterlab/apputils": "^4.0.0"{% endif %}{% if has_settings %}, - "@jupyterlab/settingregistry": "^4.0.0"{% endif %}{% if kind.lower() == 'server' %}, + "@jupyterlab/apputils": "^4.0.0"{% endif %}{% if kind.lower() == 'server' %}, "@jupyterlab/coreutils": "^6.0.0", - "@jupyterlab/services": "^7.0.0"{% endif %}{% else %}"@jupyterlab/rendermime-interfaces": "^3.8.0", + "@jupyterlab/services": "^7.0.0"{% endif %}{% if has_settings %}, + "@jupyterlab/settingregistry": "^4.0.0"{% endif %}{% else %}"@jupyterlab/rendermime-interfaces": "^3.8.0", "@lumino/widgets": "^2.1.0"{% endif %} }, "devDependencies": { @@ -103,14 +103,14 @@ }, "jupyterlab": { {%- if kind.lower() == 'server' %} "discovery": { - "server": { - "managers": [ - "pip" - ], - "base": { - "name": "{{ python_name }}" + "server": { + "managers": [ + "pip" + ], + "base": { + "name": "{{ python_name }}" + } } - } },{% endif %}{% if kind.lower() == 'mimerenderer' %} "mimeExtension": true,{% else %} "extension": true,{% endif %}