Skip to content

xmenbteam/pg-yarn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yarn Project Generator

  • Initialises a Yarn repository with jest installed.

Version 3.0.0

  • Now with option to install Typescript!

  • Need to have Typescript globally installed - npm install -g typescript

Version 2.0.0

brew install gh
  • Need to authorise GH CLI.

  • Can also create a repo and add URL.

< version 2.0.0

  • Install:
npm install -g pg-yarn
  • Run:
npm run pgyarn <project-name> [<github-url>]
  • URL is optional.
  • If URL is supplid and is a valid Github repo, the project will add, commmit, and push an original commit to the repo.
  • If URL is not a valid Github repo, the project will be created without a remote.

To install globally:

  • Create update:
npm pack
  • Install:
npm install -g ./pgyarn-<version number>.tgz

NB - if installing more than once, --force tag is useful. Can change version and install that instead.

  • Then, in the folder you want to create your repo in:
pgyarn <project-name> <valid-empty-github-url>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors