All Projects → egoist → yarn-global

egoist / yarn-global

Licence: MIT license
A set of useful methods for @yarnpkg

Programming Languages

javascript
152645 projects - #8 most used programming language

Projects that are alternatives of or similar to yarn-global

Verdaccio
📦🔐 A lightweight Node.js private proxy registry
Stars: ✭ 12,667 (+105458.33%)
Mutual labels:  yarn, yarnpkg
gulp-yarn
Automatically install node modules using Yarn. 😻
Stars: ✭ 22 (+83.33%)
Mutual labels:  yarn, yarn-packages
yarn-outdated-formatter
yarn outdated --json formatter
Stars: ✭ 31 (+158.33%)
Mutual labels:  yarn
spotify-vibe-check
Spotify Vibe Checker Web App to vibe check your Spotify Playlists! (currently broken due to CORS)
Stars: ✭ 24 (+100%)
Mutual labels:  yarn
ra-input-markdown
A markdown editor for react-admin
Stars: ✭ 22 (+83.33%)
Mutual labels:  yarn
docker-rails-demo
Demo app for Rails, Docker and Webpack
Stars: ✭ 29 (+141.67%)
Mutual labels:  yarn
eslint-config-with-prettier
Eslint config with prettier
Stars: ✭ 39 (+225%)
Mutual labels:  yarn
cruise
A Continuous Integration (CI) management system homework from Thought Works
Stars: ✭ 13 (+8.33%)
Mutual labels:  yarn
angularjs-es6-starter-kit
Basic AngularJS, ES6, Webpack Starter Kit Project which includes Bootstrap 4 also. This is a boilerplate for AngularJS SPA with Bootstrap 4.
Stars: ✭ 28 (+133.33%)
Mutual labels:  yarn
parcel-typescript-react
📦 Typescriot react perttier example using parcel bundler
Stars: ✭ 15 (+25%)
Mutual labels:  yarn
abilitysheet
This app is ability sheet for beatmania iidx music of level 12.
Stars: ✭ 38 (+216.67%)
Mutual labels:  yarn
react-native-surrender
CLI script that clears Watchman, removes node_modules and cleans cache using npm or yarn
Stars: ✭ 53 (+341.67%)
Mutual labels:  yarn
asdf-yarn
asdf plugin for Yarn.
Stars: ✭ 111 (+825%)
Mutual labels:  yarn
protractor-starter
#archived: protractor-starter end-to-end tests setup also for non angular application
Stars: ✭ 37 (+208.33%)
Mutual labels:  yarn
js-stack-from-scratch
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
Stars: ✭ 394 (+3183.33%)
Mutual labels:  yarn
postcss-prefixwrap
A PostCSS plugin that is used to wrap css styles with a css selector to constrain their affect on parent elements in a page.
Stars: ✭ 54 (+350%)
Mutual labels:  yarn
awesome-app-js
This document list all the javascript libs used at Soixante circuits. They are compatible with Webpack and run in the browser and / or node only.
Stars: ✭ 16 (+33.33%)
Mutual labels:  yarn
react-webpack2-skeleton
Get started with React with Webpack2, React-Router, Redux, Code Splitting and Server Rendering
Stars: ✭ 59 (+391.67%)
Mutual labels:  yarn
react-typescript
React16 + HMR + typescript + webpack + tslint + tests
Stars: ✭ 21 (+75%)
Mutual labels:  yarn
meta-package-manager
🎁 a wrapper around all package managers
Stars: ✭ 277 (+2208.33%)
Mutual labels:  yarn

yarn-global

NPM version NPM downloads Build Status

Install

yarn add yarn-global

Usage

const yarnGlobal = require('yarn-global')

yarnGlobal.getDirectory()
//=> /Users/name/.config/yarn/global/node_modules

yarnGlobal.inDirectory(process.cwd())
// Check if a path is a child path of the value of `yarnGlobal.getDirectory()`

yarnGlobal.getDependencies()
// An array of denpendencies installed by `yarn global add`

yarnGlobal.hasDependency('create-react-app')
// Check if you have installed it via `yarn global add`
//=> true

yarnGlobal.hasPackage('minimist')
// Check if `/Users/name/.config/yarn/global/node_modules/minimist` exists
// you may not have installed it by `yarn global add`
//=> true

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT © EGOIST

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]