From 38477bf5f5c6025ae14294b2d189bf18bae8ee7d Mon Sep 17 00:00:00 2001 From: Michael Lively Date: Tue, 9 Aug 2022 11:00:24 -0700 Subject: [PATCH] change dir of cellAttachmentRenderer (#157671) * change dir of cellAttachmentRenderer * add new directories to `.vscodeignore` * add the .js directories back in... * hopefully now understanding `.vscodeignore` --- extensions/ipynb/.vscodeignore | 1 + extensions/ipynb/esbuild.js | 2 +- .../ipynb/{src => notebook-src}/cellAttachmentRenderer.ts | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename extensions/ipynb/{src => notebook-src}/cellAttachmentRenderer.ts (100%) diff --git a/extensions/ipynb/.vscodeignore b/extensions/ipynb/.vscodeignore index f45314d0c1e..69a1b29e0ce 100644 --- a/extensions/ipynb/.vscodeignore +++ b/extensions/ipynb/.vscodeignore @@ -1,5 +1,6 @@ .vscode/** src/** +notebook-src/** out/** tsconfig.json extension.webpack.config.js diff --git a/extensions/ipynb/esbuild.js b/extensions/ipynb/esbuild.js index 973d26faf26..4128889bf76 100644 --- a/extensions/ipynb/esbuild.js +++ b/extensions/ipynb/esbuild.js @@ -18,7 +18,7 @@ if (outputRootIndex >= 0) { outputRoot = args[outputRootIndex + 1]; } -const srcDir = path.join(__dirname, 'src'); +const srcDir = path.join(__dirname, 'notebook-src'); const outDir = path.join(outputRoot, 'notebook-out'); async function build() { diff --git a/extensions/ipynb/src/cellAttachmentRenderer.ts b/extensions/ipynb/notebook-src/cellAttachmentRenderer.ts similarity index 100% rename from extensions/ipynb/src/cellAttachmentRenderer.ts rename to extensions/ipynb/notebook-src/cellAttachmentRenderer.ts