Skip to content

Extract features from grunt-ts to own modules #80

Open
@Bartvds

Description

@Bartvds

For a next level version:

We could think about extracting the enhanced features to their own packages and decouple them from grunt (and each other), so they can be reused more easily.

It is a next step after extracting them to the module style.

For example at some point I'd see a semi-persistent compiler server that does the watch and dependency map and then recompiles (or tracks changes for bigger recompile, or even a pull-style compile). It can manage a worker pool, give info of APIs etc.

It would import the other features like we have in grunt-ts (html wrapper, amd loader etc etc) that all don't really have to depend on grunt (or each other). Then we wrap that in grunt, gulp, brocolli etc. It would also make it easier to composite more functionality.

That is a bit far view, but we can move ahead by starting to modularise more TypeScript helpers. I'm doing it for TSD (as side-side project), also first restructuring to modules, then trying to move feature to own packages (in future).

It is for longer term oc and we still have the ts-npm-export codeplex thing open before that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions