3.0.0 • Published 5 years ago

@gongt/export-all-in-one v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

export-all-in-one

yarn global add @gongt/export-all-in-one
## or
npm -g install @gongt/export-all-in-one
export-all-in-one ./path/to/tsconfig.json
  1. Resolve ALL files from given tsconfig.json
  2. Collect ALL exported thing from these files
  3. Join ALL of them into a single _export_all_in_once_index.ts (place next to tsconfig.json)
  4. (You can) Setup rollup _export_all_in_once_index.ts as entry

  5. BOOM, everything exported. everyone can import {anything, they, want} from '@your/package'.

PS: Of course, all your file can not export two same named symbol....
But you have no reason to do that, except you want to fool your IDE.

PS2: default export is exported as it's file name. (unstable)

PS3: Remember to use /** @internal */ :D

3.0.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago