Skip to content

jrr/typescript-workspaces-example

Repository files navigation

TypeScript Yarn 2 Workspace Example

This combines Yarn Workspaces with TypeScript Project References to organize a project into separate modules, like you find in other language ecosystems.

Read more in this blog post.

Directories:

hello-lib	shared library
hello-lib-test	test suite for it
hello-cli	command-line executable using the library

To Use:

Start with a single yarn install at the top level.

To run the tests (from the hello-lib-test/ directory):

  • yarn build
  • yarn test

To run the CLI tool (from the hello-cli/ directory):

  • yarn build
  • yarn go

About

TypeScript Yarn 2 Workspace Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published