Skip to content

mike-north/js-ts-monorepos

Repository files navigation

JS/TS Monorepos

Node.js CI (solution) TypeScript@Next tests (solution)

What's this course about?

This course is intended teach those already somewhat familiar with modern JavaScript and TypeScript about monorepos, their use cases and related tools. Mike shares some of the experience he's had as LinkedIn's TypeScript infrastructure lead, so you don't have to learn things "the hard way" like he did.

Project setup

First, you should ensure you have your ssh keys working with GitHub. You can verify this by running

ssh git@github.com

and getting a response like

Hi mike-north! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.

Tools

Next, make sure you have installed volta which ensures you have the right version of node and yarn for this project. You can run:

volta install node

and then:

volta install yarn

To get the right versions for this workshop.

We also strongly recommend the use of Visual Studio Code as an authoring tool. If you use something else, you're on your own.

Clone

Next, checkout a working copy of this project

git clone git@github.com:mike-north/js-ts-monorepos

enter the directory you just created

cd js-ts-monorepos

Install dependencies

yarn is the recommended package manager to use with this project. Please use it instead of npm.

Install dependencies with yarn by running

yarn

Starting the project

Start up the project in development mode by running

yarn dev

Changing any files in the src folder will result in an incremental rebuild, and a refresh of the screen.

By default, the app is served on https://localhost:1234.

Legal

© 2020 LinkedIn, All Rights Reserved

Licensing

The code in this project is licensed as BSD-2-Clause license, and the written content in the ./notes folder is licensed under CC BY-NC-SA 4.0