exceptionless / Exceptionless.JavaScript

Exceptionless JavaScript client
http://exceptionless.com
Apache License 2.0
59 stars 24 forks source link

Feature/refactoring #36

Closed frankebersoll closed 8 years ago

frankebersoll commented 8 years ago

This does three things:

  1. Prohibit any unused imports. This makes it easier to identify the actual dependencies of a module. Currently, we're using all classes ourselves, why everything is being exported automatically. As from now, any additional components must be explicitly re-exported by the root component:

    export * from './otherwiseUnusedModule';
  2. Add a manual gulp task gulp format that uses the typescript-formatter. It uses our linter settings and the typescript-integrated code formatter to beautify all TS files. Should be executed from time to time in order to make merging easier.
  3. Tried to improve performance of non-build-tasks by moving some imports closer to their usage. We don't need to load all dependencies for all tasks.