From 48f03e77a977e350fe23285a311bc6353101f08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Wed, 2 Mar 2022 22:40:59 +0000 Subject: [PATCH 1/4] Add Jupyter extensions --- extensions.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extensions.json b/extensions.json index 6d5db1b33..a68937686 100644 --- a/extensions.json +++ b/extensions.json @@ -819,6 +819,12 @@ "extensionFile": "ms-toolsai-jupyter-insiders.vsix", "timeout": 30 }, + "ms-toolsai.jupyter-keymap": { + "repository": "https://github.com/microsoft/vscode-jupyter-keymap" + }, + "ms-toolsai.jupyter-renderers": { + "repository": "https://github.com/Microsoft/vscode-notebook-renderers" + }, "ms-vscode.atom-keybindings": { "repository": "https://github.com/Microsoft/vscode-atom-keybindings" }, From 35514468490f96f63d3de5e34fd47581214107eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Wed, 2 Mar 2022 22:53:30 +0000 Subject: [PATCH 2/4] Try clean install --- publish-extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish-extension.js b/publish-extension.js index 768979479..3236f3e79 100644 --- a/publish-extension.js +++ b/publish-extension.js @@ -43,7 +43,7 @@ const { createVSIX } = require('vsce'); fs.access(path.join(context.repo, 'yarn.lock'), error => resolve(!error)); }); try { - await exec(`${yarn ? 'yarn' : 'npm'} install`, { cwd: packagePath }); + await exec(`${yarn ? 'yarn' : 'npm ci'}`, { cwd: packagePath }); } catch (e) { const pck = JSON.parse(await fs.promises.readFile(path.join(packagePath, 'package.json'), 'utf-8')); // try to auto migrate from vscode: https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode From 48df47aac36eb8d5c9f7f3c7b7de59f016260555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Wed, 2 Mar 2022 23:09:24 +0000 Subject: [PATCH 3/4] Revert "Try clean install" This reverts commit 35514468490f96f63d3de5e34fd47581214107eb. --- publish-extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish-extension.js b/publish-extension.js index 3236f3e79..768979479 100644 --- a/publish-extension.js +++ b/publish-extension.js @@ -43,7 +43,7 @@ const { createVSIX } = require('vsce'); fs.access(path.join(context.repo, 'yarn.lock'), error => resolve(!error)); }); try { - await exec(`${yarn ? 'yarn' : 'npm ci'}`, { cwd: packagePath }); + await exec(`${yarn ? 'yarn' : 'npm'} install`, { cwd: packagePath }); } catch (e) { const pck = JSON.parse(await fs.promises.readFile(path.join(packagePath, 'package.json'), 'utf-8')); // try to auto migrate from vscode: https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode From cad0bbf81f3b552248a6540d0b14af878c54bf6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Tue, 5 Apr 2022 12:05:51 +0000 Subject: [PATCH 4/4] Add more props to rerenders --- extensions.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/extensions.json b/extensions.json index 2ea83ef13..ab911638d 100644 --- a/extensions.json +++ b/extensions.json @@ -785,7 +785,13 @@ "repository": "https://github.com/microsoft/vscode-jupyter-keymap" }, "ms-toolsai.jupyter-renderers": { - "repository": "https://github.com/Microsoft/vscode-notebook-renderers" + "repository": "https://github.com/Microsoft/vscode-notebook-renderers", + "custom": [ + "npm ci", + "npm run package", + "mv *.vsix extension.vsix" + ], + "timeout": 30 }, "ms-vscode.atom-keybindings": { "repository": "https://github.com/Microsoft/vscode-atom-keybindings"