diff --git a/.vscodeignore b/.vscodeignore index 8b61bdbe..a3b8b812 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -47,10 +47,11 @@ webpack.prod.js # Ignore all webview-ui files except the build directory webview-ui/src/** -webview-ui/public/** +#webview-ui/public/** webview-ui/scripts/** webview-ui/index.html webview-ui/README.md webview-ui/package.json webview-ui/package-lock.json +webview-ui/rollup.config.js webview-ui/node_modules/** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7183b278..a86f7597 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -109,3 +109,9 @@ A script is ran during the release process to ensure that - the `package.json` and `package-lock.json` has the same version number as the tagged version You can update the `package-lock.json` version with `npm i --package-lock-only`. + +## Other notes + +Running the extension produces the following superfluous warnings: +- `An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.`: https://github.com/microsoft/vscode/issues/192853 +- `[Violation] Avoid using document.write(). `: https://github.com/microsoft/vscode/issues/156147 diff --git a/package.json b/package.json index 800eb58e..2fc71591 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "test-my-code", "displayName": "TestMyCode", - "version": "2.2.4", + "version": "3.0.0", "description": "TestMyCode extension for Visual Studio Code", "categories": [ "Other" diff --git a/src/panels/TmcPanel.ts b/src/panels/TmcPanel.ts index 12391eef..d993fb4a 100644 --- a/src/panels/TmcPanel.ts +++ b/src/panels/TmcPanel.ts @@ -217,7 +217,8 @@ export class TmcPanel { img-src ${webview.cspSource} https:;; style-src 'nonce-${nonce}'; script-src 'nonce-${nonce}';" - > + /> +