Просмотр исходного кода

prepares vscode extension for open-vsx (#6834)

We'd like to add the Carbon vscode extension to open-vsx.org so it's
available on vscode-compatible projects (see #6766). This commit
updates documentation so that we're recommending the correct package,
and updates our dependencies to ensure users have the latest security
patches.

---------

Co-authored-by: Carbon Infra Bot <carbon-external-infra@google.com>
Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
Christopher Di Bella 1 месяц назад
Родитель
Сommit
a345a74145
3 измененных файлов с 167 добавлено и 599 удалено
  1. 9 5
      utils/vscode/development.md
  2. 157 593
      utils/vscode/package-lock.json
  3. 1 1
      utils/vscode/package.json

+ 9 - 5
utils/vscode/development.md

@@ -8,14 +8,15 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 ## Tool setup
 
-NodeJS is required to build the extension. You will also need to install `vsce`:
+NodeJS is required to build the extension. You will also need to install `vsce`
+and `ovsx`:
 
 ```
-npm install -g vsce
+npm install -g @vscode/vsce ovsx
 ```
 
-This installs `vsce` to `/usr/local/bin/vsce`. Ensure that `/usr/local/bin` is
-in your `$PATH` environment variable to use it.
+This installs `vsce` and `ovsx` to `/usr/local/bin`. Ensure that
+`/usr/local/bin` is in your `$PATH` environment variable to use it.
 
 ## Common operations
 
@@ -43,13 +44,16 @@ in your `$PATH` environment variable to use it.
            and select "Extensions: Install from VSIX...".
         3. Enter the path printed by the above command.
 
--   Build and publish the release using the website:
+-   Build and publish the release to the VSCode Marketplace using the website:
 
     1. `npm install && vsce package -o carbon.vsix && realpath carbon.vsix`
     2. Go to https://marketplace.visualstudio.com/manage/publishers/carbon-lang
     3. Next to the extension name, click the "..." and select "Update".
     4. Select the `carbon.vsix` file.
 
+-   Build and publish the release to the Open VSX Registry by following the
+    [Open VSX documentation for publishing extensions](https://github.com/EclipseFdn/open-vsx.org/wiki/Publishing-Extensions).
+
 ## Development
 
 1.  `bazel build //toolchain` in project root.

Разница между файлами не показана из-за своего большого размера
+ 157 - 593
utils/vscode/package-lock.json


+ 1 - 1
utils/vscode/package.json

@@ -3,7 +3,7 @@
   "displayName": "Carbon Language",
   "version": "0.0.7",
   "publisher": "carbon-lang",
-  "description": "Carbon language support for Visual Studio Code.",
+  "description": "Carbon language support for the 'Code - OSS' family of editors.",
   "repository": {
     "url": "https://github.com/carbon-language/carbon-lang"
   },

Некоторые файлы не были показаны из-за большого количества измененных файлов