@atto-byte/yoga
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

Yoga 2 - Forked

npm npm GitHub last commit (branch) PRs Welcome Build Status

Install

  npm install -g @atto-byte/yoga

CLI - Commands


Commands:
  yoga new       Create new yoga project from template
  yoga start     Start the server
  yoga dev       Start the server in dev mode
  yoga scaffold  Scaffold a new GraphQL type
  yoga build     Build a yoga server
  yoga eject     Eject your project

Options:
  --env, -e  Pass a custom NODE_ENV variable
  --help     Show help
  --version  Show version number

Passing ENVs

If you have to following env file .env.staging then you can pass it to Yoga using the commands below

  • dev: yoga dev -e staging
  • start: yoga start -e staging

Roadmap

  • [ ] Remove Unnecessary Abstraction
  • [x] Add GraphQL Shield Integration
  • [x] Add Examples
    • [x] GraphQL Shield
    • [x] Express Middleware
  • [ ] Add Tests Help Wanted
  • [ ] Serverless?

Local Development

  • Warning Any changes to ./examples will not work as these are pulled from the master repo on github when running yoga new
git clone https://github.com/atto-byte/yoga2.git
npm install
npm link

Readme

Keywords

none

Package Sidebar

Install

npm i @atto-byte/yoga

Weekly Downloads

1

Version

0.7.0

License

MIT

Unpacked Size

351 kB

Total Files

158

Last publish

Collaborators

  • williamluke4