Skip to content

jrr/typescript-workspaces-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6289d18 · Jul 28, 2022

History

12 Commits
Jul 28, 2022
Jul 28, 2022
Jan 20, 2022
Jan 20, 2022
Jan 20, 2022
Jan 20, 2022
Jan 20, 2022
Jul 28, 2022
Feb 7, 2022
Jul 28, 2022
Jan 20, 2022
Jul 28, 2022

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