0.0.9 • Published 12 months ago

@hanspoo/global-types v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

global-types for nx

This is an nx plugin that add some kind of global *.d.ts files.

Usage

Create a top level folder called types. Put some *.d.ts files there.

npm i @hanspoo/global-types
nx g @hanspoo/global-types:add-lib

Run this generator and the types defined in the files will be available for all the projects and libs.

How

It augments every "tsconfig.json" file under "apps" or "libs" with an includes entry: ../../types/.d.ts (any dots as needed).

Caveats:

  • It doesn't create the types folder, nor the files that should be within it.
  • Actually it's focused on integrated monorepos.
  • Work only on *nix operating systems like Linux and MacOS.
0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago