From a92db32ca1fba751efc795623d089afa03a5572c Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 11 Jun 2021 17:10:40 -0700 Subject: [PATCH] Adding repo and license fields to samples that were missing them --- .base-sample/package.json | 6 ++++++ basic-multi-root-sample/package.json | 6 ++++++ call-hierarchy-sample/package.json | 7 ++++++- codelens-sample/package.json | 6 ++++++ comment-sample/package.json | 6 ++++++ completions-sample/package.json | 5 ++--- configuration-sample/package.json | 6 ++++++ contentprovider-sample/package.json | 5 ++--- custom-editor-sample/package.json | 10 ++++++---- diagnostic-related-information-sample/package.json | 6 ++++++ document-editing-sample/package.json | 6 ++++++ extension-terminal-sample/package.json | 6 ++++++ fsconsumer-sample/package.json | 6 ++++-- fsprovider-sample/package.json | 6 ++++-- github-authentication-sample/package.json | 6 ++++++ i18n-sample/package.json | 8 ++++++-- nodefs-provider-sample/package.json | 6 ++++++ progress-sample/package.json | 2 ++ quickinput-sample/package.json | 6 ++++++ semantic-tokens-sample/package.json | 6 ++++++ source-control-sample/package.json | 6 ++++++ statusbar-sample/package.json | 2 ++ task-provider-sample/package.json | 6 ++++++ terminal-sample/package.json | 6 ++++++ theme-sample/package.json | 6 ++++++ tree-view-sample/package.json | 6 ++++++ vim-sample/package.json | 8 +++++++- webpack-sample/package.json | 6 ++++++ webview-sample/package.json | 10 ++++++---- webview-view-sample/package.json | 10 ++++++---- 30 files changed, 161 insertions(+), 26 deletions(-) diff --git a/.base-sample/package.json b/.base-sample/package.json index 59963c8a..eceaee66 100644 --- a/.base-sample/package.json +++ b/.base-sample/package.json @@ -4,6 +4,12 @@ "description": "Base sample for other samples at Microsoft/vscode-extension-samples", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/basic-multi-root-sample/package.json b/basic-multi-root-sample/package.json index b54097b6..8ffef7fe 100644 --- a/basic-multi-root-sample/package.json +++ b/basic-multi-root-sample/package.json @@ -4,6 +4,12 @@ "description": "Samples for VSCode's multi root API", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/call-hierarchy-sample/package.json b/call-hierarchy-sample/package.json index 218977a3..655276c3 100644 --- a/call-hierarchy-sample/package.json +++ b/call-hierarchy-sample/package.json @@ -4,7 +4,12 @@ "description": "Call hierarchy provider sample", "version": "0.0.1", "publisher": "vscode-samples", - "repository": "https://github.com/Microsoft/vscode-extension-samples/call-hierarchy-sample", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.40.0" }, diff --git a/codelens-sample/package.json b/codelens-sample/package.json index 369c0d44..cdf57233 100644 --- a/codelens-sample/package.json +++ b/codelens-sample/package.json @@ -4,6 +4,12 @@ "description": "Samples for VS Code's CodeLens API", "version": "0.0.1", "publisher": "ms-vscode", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.26.0" }, diff --git a/comment-sample/package.json b/comment-sample/package.json index 3a4edc1c..03c64be9 100644 --- a/comment-sample/package.json +++ b/comment-sample/package.json @@ -4,6 +4,12 @@ "description": "Comment API Sample", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.35.0" }, diff --git a/completions-sample/package.json b/completions-sample/package.json index 955e2c97..f627e2a6 100644 --- a/completions-sample/package.json +++ b/completions-sample/package.json @@ -3,13 +3,12 @@ "displayName": "Completion Item Provider Sample", "version": "0.0.2", "publisher": "vscode-samples", + "private": true, + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-extension-samples" }, - "bugs": { - "url": "https://github.com/Microsoft/vscode-extension-samples/issues" - }, "engines": { "vscode": "^1.32.0" }, diff --git a/configuration-sample/package.json b/configuration-sample/package.json index 76a67c2b..004ee2cb 100644 --- a/configuration-sample/package.json +++ b/configuration-sample/package.json @@ -4,6 +4,12 @@ "description": "How to contribute and use configurations in VS Code", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/contentprovider-sample/package.json b/contentprovider-sample/package.json index b4ade56d..4d1098f5 100644 --- a/contentprovider-sample/package.json +++ b/contentprovider-sample/package.json @@ -4,13 +4,12 @@ "description": "Show the results of 'Find References' as formatted text in an editor", "version": "0.0.5", "publisher": "vscode-samples", + "private": true, + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-extension-samples" }, - "bugs": { - "url": "https://github.com/Microsoft/vscode-extension-samples/issues" - }, "engines": { "vscode": "^1.39.0" }, diff --git a/custom-editor-sample/package.json b/custom-editor-sample/package.json index 500d97cc..06d4e061 100644 --- a/custom-editor-sample/package.json +++ b/custom-editor-sample/package.json @@ -4,6 +4,12 @@ "description": "Custom Editor API Samples", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.52.0" }, @@ -15,10 +21,6 @@ "onCustomEditor:catCustoms.pawDraw", "onCommand:catCustoms.pawDraw.new" ], - "repository": { - "type": "git", - "url": "https://github.com/microsoft/vscode-extension-samples.git" - }, "main": "./out/extension.js", "contributes": { "customEditors": [ diff --git a/diagnostic-related-information-sample/package.json b/diagnostic-related-information-sample/package.json index af78253c..97af3d85 100644 --- a/diagnostic-related-information-sample/package.json +++ b/diagnostic-related-information-sample/package.json @@ -4,6 +4,12 @@ "description": "Diagnostic Related Information Sample", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/document-editing-sample/package.json b/document-editing-sample/package.json index ebfa6a7a..6396414c 100644 --- a/document-editing-sample/package.json +++ b/document-editing-sample/package.json @@ -4,6 +4,12 @@ "description": "Reverse a word", "version": "0.0.1", "publisher": "rebornix", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/extension-terminal-sample/package.json b/extension-terminal-sample/package.json index 3cb3e5d9..387e4094 100644 --- a/extension-terminal-sample/package.json +++ b/extension-terminal-sample/package.json @@ -4,6 +4,12 @@ "description": "An example usage of the extension terminal API", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.37.0" }, diff --git a/fsconsumer-sample/package.json b/fsconsumer-sample/package.json index a1836973..21a765ba 100644 --- a/fsconsumer-sample/package.json +++ b/fsconsumer-sample/package.json @@ -4,9 +4,11 @@ "description": "Showcase for using the workspace.fs.-API which allows reading and writing files and folder", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", "repository": { - "url": "https://github.com/Microsoft/vscode-extension-samples.git", - "type": "git" + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" }, "engines": { "vscode": "^1.37.0" diff --git a/fsprovider-sample/package.json b/fsprovider-sample/package.json index 53da8897..cb558e24 100644 --- a/fsprovider-sample/package.json +++ b/fsprovider-sample/package.json @@ -4,9 +4,11 @@ "description": "Showcase for the file system provider API, also useful for testing again document that are not on disk.", "version": "0.0.3", "publisher": "vscode-samples", + "private": true, + "license": "MIT", "repository": { - "url": "https://github.com/Microsoft/vscode-extension-samples.git", - "type": "git" + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" }, "engines": { "vscode": "^1.32.0" diff --git a/github-authentication-sample/package.json b/github-authentication-sample/package.json index d953f6f2..0a32d60c 100644 --- a/github-authentication-sample/package.json +++ b/github-authentication-sample/package.json @@ -7,6 +7,12 @@ "engines": { "vscode": "^1.48.0" }, + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "categories": [ "Other" ], diff --git a/i18n-sample/package.json b/i18n-sample/package.json index 959af35e..c97170a8 100644 --- a/i18n-sample/package.json +++ b/i18n-sample/package.json @@ -1,11 +1,15 @@ { "name": "i18n-sample", - "private": true, "displayName": "i18n-sample", "description": "Sample that shows how to localize an extension", - "repository": "https://github.com/Microsoft/vscode-extension-samples/i18n-sample", "version": "0.1.0", "publisher": "vscode-i18n-sample", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/nodefs-provider-sample/package.json b/nodefs-provider-sample/package.json index 7a54a0e0..83c8b41e 100644 --- a/nodefs-provider-sample/package.json +++ b/nodefs-provider-sample/package.json @@ -4,6 +4,12 @@ "description": "", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.30.0" }, diff --git a/progress-sample/package.json b/progress-sample/package.json index 0cbe5109..3dab34b3 100644 --- a/progress-sample/package.json +++ b/progress-sample/package.json @@ -4,6 +4,8 @@ "description": "Show a long running operation in the notification area", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-extension-samples" diff --git a/quickinput-sample/package.json b/quickinput-sample/package.json index 7e6dcae9..7532f9a6 100644 --- a/quickinput-sample/package.json +++ b/quickinput-sample/package.json @@ -4,6 +4,12 @@ "description": "Samples for VS Code's QuickInput API", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/semantic-tokens-sample/package.json b/semantic-tokens-sample/package.json index 7d686cc2..30e52f1e 100644 --- a/semantic-tokens-sample/package.json +++ b/semantic-tokens-sample/package.json @@ -4,6 +4,12 @@ "description": "Sample showing the Semantic Tokens Provider API", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.42.0" }, diff --git a/source-control-sample/package.json b/source-control-sample/package.json index 29e4aff8..42203f26 100644 --- a/source-control-sample/package.json +++ b/source-control-sample/package.json @@ -4,6 +4,12 @@ "description": "Source control VS Code extension sample", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/statusbar-sample/package.json b/statusbar-sample/package.json index 5f83585c..383162d0 100644 --- a/statusbar-sample/package.json +++ b/statusbar-sample/package.json @@ -4,6 +4,8 @@ "description": "Shows the number of selected lines in the status bar", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-extension-samples" diff --git a/task-provider-sample/package.json b/task-provider-sample/package.json index 44861875..05b55d02 100644 --- a/task-provider-sample/package.json +++ b/task-provider-sample/package.json @@ -4,6 +4,12 @@ "description": "Samples for VSCode's view API", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.45.0" }, diff --git a/terminal-sample/package.json b/terminal-sample/package.json index 0b0e632d..04a51b69 100644 --- a/terminal-sample/package.json +++ b/terminal-sample/package.json @@ -4,6 +4,12 @@ "description": "abc", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.47.0" }, diff --git a/theme-sample/package.json b/theme-sample/package.json index 3f37c643..d025f2e4 100644 --- a/theme-sample/package.json +++ b/theme-sample/package.json @@ -2,6 +2,12 @@ "name": "theme-sample", "version": "0.1.0", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "*" }, diff --git a/tree-view-sample/package.json b/tree-view-sample/package.json index 7a95c774..76e43c60 100644 --- a/tree-view-sample/package.json +++ b/tree-view-sample/package.json @@ -5,6 +5,12 @@ "version": "0.0.1", "publisher": "vscode-samples", "enableProposedApi": true, + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.52.0" }, diff --git a/vim-sample/package.json b/vim-sample/package.json index 83e105d2..65e52a91 100644 --- a/vim-sample/package.json +++ b/vim-sample/package.json @@ -4,6 +4,12 @@ "description": "vim sample extension", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, @@ -78,4 +84,4 @@ "eslint": "^7.21.0", "typescript": "^4.3.2" } -} +} \ No newline at end of file diff --git a/webpack-sample/package.json b/webpack-sample/package.json index 1ff46572..fffd97ad 100644 --- a/webpack-sample/package.json +++ b/webpack-sample/package.json @@ -4,6 +4,12 @@ "description": "", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.32.0" }, diff --git a/webview-sample/package.json b/webview-sample/package.json index 565ee02e..6c99065f 100644 --- a/webview-sample/package.json +++ b/webview-sample/package.json @@ -3,6 +3,12 @@ "description": "Cat Coding - A Webview API Sample", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.47.0" }, @@ -14,10 +20,6 @@ "onCommand:catCoding.doRefactor", "onWebviewPanel:catCoding" ], - "repository": { - "type": "git", - "url": "https://github.com/microsoft/vscode-extension-samples.git" - }, "main": "./out/extension.js", "contributes": { "commands": [ diff --git a/webview-view-sample/package.json b/webview-view-sample/package.json index b6b1d69c..1144baf5 100644 --- a/webview-view-sample/package.json +++ b/webview-view-sample/package.json @@ -3,6 +3,12 @@ "description": "Calico Colors - A Webview View API Sample", "version": "0.0.1", "publisher": "vscode-samples", + "private": true, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-extension-samples" + }, "engines": { "vscode": "^1.50.0" }, @@ -18,10 +24,6 @@ "onCommand:calicoColors.addColor", "onCommand:calicoColors.clearColors" ], - "repository": { - "type": "git", - "url": "https://github.com/microsoft/vscode-extension-samples.git" - }, "main": "./out/extension.js", "contributes": { "views": {