Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thdk/ts3-projects-references-example
A small example for 'Project References'. A typescript feature introduced in version 3.0.
https://github.com/thdk/ts3-projects-references-example
Last synced: about 18 hours ago
JSON representation
A small example for 'Project References'. A typescript feature introduced in version 3.0.
- Host: GitHub
- URL: https://github.com/thdk/ts3-projects-references-example
- Owner: thdk
- License: mit
- Created: 2019-02-19T18:03:55.000Z (over 5 years ago)
- Default Branch: es
- Last Pushed: 2019-02-23T08:53:18.000Z (over 5 years ago)
- Last Synced: 2023-07-02T16:40:32.115Z (over 1 year ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 42
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Typescript 3.0+ feature 'Project references'
A small example for 'Project References'. A typescript feature introduced in version 3.0.
This repo has two branches:
- es
- commonjsThe project structure exists of three projects.
- common
- project-a
- project-bEach having their own tsconfig file.
**project-a** and **project-b** both have a reference in tsconfig to the **common** project.
To build both **project-a** and **project-b** run
`tsc -b project-a project-b` or `npm run buildAll`
The lib project will be automatically build as it is listed as a reference.