This revision was automatically updated to reflect the committed changes. Closed by commit rL372980: [clangd][vscode] Add npm helper commands to package/release the extension. (authored by hokein, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D68080?vs=221921&id=221938#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68080/new/ https://reviews.llvm.org/D68080 Files: clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json Index: clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json =================================================================== --- clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json +++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json @@ -33,7 +33,9 @@ "compile": "tsc -watch -p ./", "postinstall": "node ./node_modules/vscode/bin/install", "format": "clang-format --style=LLVM -i --glob=\"{src,test}/*.ts\"", - "test": "node ./node_modules/vscode/bin/test" + "test": "node ./node_modules/vscode/bin/test", + "package": "vsce package --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/", + "publish": "vsce publish --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/" }, "dependencies": { "jsonc-parser": "^2.1.0", Index: clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md =================================================================== --- clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md +++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md @@ -48,6 +48,6 @@ # For the first time, you need to login in the account. vsce will ask you for the Personal Access Token, and remember it for future commands. $ vsce login llvm-vs-code-extensions - # Make sure the screenshots in the readme are rendered in VSCode marketplace. - $ vsce publish --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/ + # Publish the extension to the VSCode marketplace. + $ npm run publish ```
Index: clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json =================================================================== --- clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json +++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json @@ -33,7 +33,9 @@ "compile": "tsc -watch -p ./", "postinstall": "node ./node_modules/vscode/bin/install", "format": "clang-format --style=LLVM -i --glob=\"{src,test}/*.ts\"", - "test": "node ./node_modules/vscode/bin/test" + "test": "node ./node_modules/vscode/bin/test", + "package": "vsce package --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/", + "publish": "vsce publish --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/" }, "dependencies": { "jsonc-parser": "^2.1.0", Index: clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md =================================================================== --- clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md +++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md @@ -48,6 +48,6 @@ # For the first time, you need to login in the account. vsce will ask you for the Personal Access Token, and remember it for future commands. $ vsce login llvm-vs-code-extensions - # Make sure the screenshots in the readme are rendered in VSCode marketplace. - $ vsce publish --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/ + # Publish the extension to the VSCode marketplace. + $ npm run publish ```
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits