From 77c2e51acabf942e00acdc6137a6f26cc3017bc5 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Sat, 18 Jun 2022 21:39:23 +0300 Subject: [PATCH] vscode ext 0.0.2, minor tweaks --- packages/vscode-ext/LICENSE | 22 ++++++++++++++++++++++ packages/vscode-ext/package.json | 8 +++++++- packages/vscode-ext/src/squiggleEditor.ts | 6 +++--- 3 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 packages/vscode-ext/LICENSE diff --git a/packages/vscode-ext/LICENSE b/packages/vscode-ext/LICENSE new file mode 100644 index 00000000..fb0c468f --- /dev/null +++ b/packages/vscode-ext/LICENSE @@ -0,0 +1,22 @@ + +MIT License + +Copyright (c) 2020 Foretold + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/vscode-ext/package.json b/packages/vscode-ext/package.json index a39258ed..abedf5b1 100644 --- a/packages/vscode-ext/package.json +++ b/packages/vscode-ext/package.json @@ -2,7 +2,13 @@ "name": "vscode-squiggle", "displayName": "Squiggle", "description": "Squiggle language support", - "version": "0.0.1", + "license": "MIT", + "version": "0.0.2", + "publisher": "berekuk", + "repository": { + "type": "git", + "url": "git+https://github.com/quantified-uncertainty/squiggle.git" + }, "engines": { "vscode": "^1.68.0" }, diff --git a/packages/vscode-ext/src/squiggleEditor.ts b/packages/vscode-ext/src/squiggleEditor.ts index f4fd7a8d..3e3d9f2c 100644 --- a/packages/vscode-ext/src/squiggleEditor.ts +++ b/packages/vscode-ext/src/squiggleEditor.ts @@ -123,9 +123,9 @@ export class SquiggleEditorProvider implements vscode.CustomTextEditorProvider {
- ${scriptUris.map( - (uri) => `` - )} + ${scriptUris + .map((uri) => ``) + .join("")} `; }