/yarn-workface

EmberConf 2019 Lightning Talk: How I Learned to Stop Worrying and Love the Mono Repo

Primary LanguageJavaScript

yarn-workface

Yarn Work Face, literally

This repo is part of the 2019 EmberConf talk, "How I Learned to Stop Worrying and Love the Mono Repo". This repo demonstrates how to convert an Ember app that uses an in-repo addon to a mono repo using yarn workspaces with addons that are fully-formed. I have created a git tag in-repo-addons that is an Ember app with a versy simple in-repo addon, and a git tag mono-repo in which I convereted the Ember app into a mono repo that uses yarn workspaces and a fully formed version of the in-repo addon.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd yarn-workface
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links