Coder Social home page Coder Social logo

felipecrs / vscode-vsce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/vscode-vsce

0.0 0.0 0.0 2.28 MB

VS Code Extension Manager

Home Page: https://code.visualstudio.com/

License: Other

JavaScript 0.03% TypeScript 99.74% Dockerfile 0.15% Shell 0.08%

vscode-vsce's Introduction

vsce

The Visual Studio Code Extension Manager

ci Version Conventional Commits

Requirements

Or simply Docker.

Linux

In order to save credentials safely, this project uses keytar which uses libsecret, which you may need to install before publishing extensions. Setting the VSCE_STORE=file environment variable will revert back to the file credential store. Using the VSCE_PAT environment variable will also avoid using keytar.

Depending on your distribution, you will need to run the following command:

  • Debian/Ubuntu: sudo apt-get install libsecret-1-dev
  • Alpine: apk add libsecret
  • Red Hat-based: sudo yum install libsecret-devel
  • Arch Linux: sudo pacman -S libsecret

Usage

Install vsce globally:

npm install -g vsce

Verify the installation:

vsce --version

vsce is meant to be mainly used as a command line tool. It can also be used a library since it exposes a small API. When using vsce as a library be sure to sanitize any user input used in API calls, as a security measurement.

Usage via Docker

You can also build a container for running vsce:

git clone https://github.com/microsoft/vscode-vsce
cd vscode-vsce
docker build -t vsce .

Validate the container:

docker run -it vsce --version

Publish your local extension:

docker run -it -v $(pwd):/workspace vsce publish

Development

First clone this repository, then:

npm i
npm run watch:build # or `watch:test` to also build tests

Once the watcher is up and running, you can run out of sources with:

node vsce

This project uses semantic-release and commit messages must follow the Conventional Commits spec. This allows us to effortlessly automate releases.

About

This tool assists in packaging and publishing Visual Studio Code extensions.

Read the Documentation on the VS Code website.

vscode-vsce's People

Contributors

aeschli avatar alefragnani avatar chrisdias avatar connor4312 avatar dependabot[bot] avatar felipecrs avatar fmeum avatar gregvanl avatar isidorn avatar itsmajestix avatar jamesgeorge007 avatar jeffreyca avatar jimic avatar joaomoreno avatar jrieken avatar kieferrm avatar kobelobster avatar mjbvz avatar octref avatar ramya-rao-a avatar rbuckton avatar rid9 avatar ritwickdey avatar robertohuertasm avatar sandy081 avatar srtobi avatar tylerleonhardt avatar viktomas avatar wangweixuan avatar xontab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.