All Projects → gamunu → Vscode Yarn

gamunu / Vscode Yarn

Licence: mit
VSCode extension to manage yarn commands

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Yarn

Graphql Starter
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (+18661.11%)
Mutual labels:  vscode, yarn
Npminstall
Make `npm install` fast and easy.
Stars: ✭ 374 (+1977.78%)
Mutual labels:  npm, yarn
Fish Nvm
nvm wrapper for fish-shell
Stars: ✭ 336 (+1766.67%)
Mutual labels:  npm, yarn
Ngx Smart Modal
Modal/Dialog component crafted for Angular
Stars: ✭ 256 (+1322.22%)
Mutual labels:  npm, yarn
Salus
Security scanner coordinator
Stars: ✭ 441 (+2350%)
Mutual labels:  npm, yarn
Yvm
🧶 Manage multiple versions of Yarn
Stars: ✭ 265 (+1372.22%)
Mutual labels:  npm, yarn
Website
Yarn package manager website
Stars: ✭ 374 (+1977.78%)
Mutual labels:  npm, yarn
Generator Rn Toolbox
The React Native Generator to bootstrap your apps
Stars: ✭ 1,155 (+6316.67%)
Mutual labels:  vscode, yarn
Lockfile Lint
Lint an npm or yarn lockfile to analyze and detect security issues
Stars: ✭ 411 (+2183.33%)
Mutual labels:  npm, yarn
Benchmarks Of Javascript Package Managers
Benchmarks of JavaScript Package Managers
Stars: ✭ 388 (+2055.56%)
Mutual labels:  npm, yarn
cloud-computer
☁️ The Cloud Native Computer
Stars: ✭ 5 (-72.22%)
Mutual labels:  yarn, vscode
Synp
Convert yarn.lock to package-lock.json and vice versa
Stars: ✭ 510 (+2733.33%)
Mutual labels:  npm, yarn
Node Docker Good Defaults
sample node app for Docker examples
Stars: ✭ 1,944 (+10700%)
Mutual labels:  vscode, npm
Webpack Cdn Plugin
A webpack plugin that use externals of CDN urls for production and local node_modules for development
Stars: ✭ 306 (+1600%)
Mutual labels:  npm, yarn
Vue Admin Element
(Vue2 演示项目)物业后台管理系统 - ElementUI ( 基本结构已完成, 剩下的就是具体业务开发; 如有疑问请留言 )
Stars: ✭ 73 (+305.56%)
Mutual labels:  vscode, yarn
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (+1877.78%)
Mutual labels:  npm, yarn
Corepack
Zero-runtime-dependency package acting as bridge between Node projects and their package managers
Stars: ✭ 196 (+988.89%)
Mutual labels:  npm, yarn
Yalc
Work with yarn/npm packages locally like a boss.
Stars: ✭ 3,155 (+17427.78%)
Mutual labels:  npm, yarn
Awesome Npm
Awesome npm resources and tips
Stars: ✭ 3,894 (+21533.33%)
Mutual labels:  npm, yarn
Npm Gui
Graphic tool for managing javascript project dependencies - in a friendly way.
Stars: ✭ 454 (+2422.22%)
Mutual labels:  npm, yarn

vscode-yarn: VSCode extensions to manage yarn commands.
Releases Issues

VSCode-Yarn: VSCode extensions to manage yarn commands.

Getting started

You can install this awesome extension through the VSCode-Yarn.

Installation

Launch Quick Open

Paste the following command and press Enter:

ext install gamunu.vscode-yarn

Packaged VSIX Extension

Download the latest .vsix release file from the GitHub repository and install it from the command line

code --install-extension vscode-yarn-*.*.*.vsix

or from within VS Code by launching Quick Open and running the Install from VSIX... command.

GitHub Repository Clone

Change to your .vscode/extensions VS Code extensions directory. Depending on your platform it is located in the following folders:

  • Linux ~/.vscode/extensions
  • macOs ~/.vscode/extensions
  • Windows %USERPROFILE%\.vscode\extensions

Clone the VSCode Yarn repository as gamunu.vscode-yarn:

git clone [email protected]:gamunu/vscode-yarn.git gamunu.vscode-yarn

Features

Commands

  • yarn init
  • yarn install
  • yarn add
  • yarn add --dev
  • yarn remove <pkg>
  • yarn start
  • yarn test
  • yarn build
  • yarn publish [tag]
  • yarn run <script>

Not happy with the available commands ? No problem, raw command is also available. Enter any yarn command you want.

Explorer context menu

yarn install also available in the package.json file's explorer context menu.

Context menu

TouchBar support

Support for Macbook Pro Touch Bar. Following yarn commands are available:

  • yarn install
  • yarn start
  • yarn test
  • yarn build

touch bar support

Run last executed script

You can also run the last executed script by typing yarn run last....

Terminate a script

You can terminate a script with the terminate command. It uses the tree-kill module that you can find on yarn. It has different behaviors on Unix or Windows.

Order of execution of yarn commands

  1. If a package.json is opened as an active editor/focused tab yarn will be invoked on it.
  2. If the package.json is explicitly defined in the configuration yarn will invoke on it.
  3. If above scenarios fail to satisfy. The extension will fallback to package.json in project root folder.

Settings

  • yarn.runInTerminal Defines whether the command is run in a terminal window or whether the output form the command is shown in the Output window. The default is to show the output in the output window.
  • yarn.dontHideOutputOnSuccess Keep the output panel visible when yarn execution is successful. No effect with runInTerminal. The default is to keep output window open.
  • yarn.bin Custom yarn bin name, the default is yarn.
  • yarn.packageJson Default package json path. relative to current project root.
  • yarn.enableTouchbar Enable TouchBar support in MacOSX. TouchBar support includes:
    • yarn install
    • yarn run build
    • yarn run test
    • yarn run start
Example
{
  "yarn.runInTerminal": false,
  "yarn.dontHideOutputOnSuccess": false
  "yarn.packageJson": "src/package.json"
}

Keyboard Shortcuts

The extension defines a chording keyboard shortcut for the R key. As a consequence an existing keybinding for R is not executed immediately. If this is not desired, then please bind another key for these commands, see the customization documentation.

Contribute

Report a bug or a suggestion by posting an issue on the git repository (https://github.com/gamunu/vscode-yarn).

vscode-yarn incorporates code modified from fknop vscode-npm.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].