Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate off of grunt #836

Closed
aciccarello opened this issue Aug 14, 2018 · 3 comments
Closed

Migrate off of grunt #836

aciccarello opened this issue Aug 14, 2018 · 3 comments

Comments

@aciccarello
Copy link
Collaborator

aciccarello commented Aug 14, 2018

I imagine that build and configuration will be clearer/easier using npm scripts and js task files. Tests could also be executed using ts-node.

@demurgos
Copy link

I had good experience using the Typescript, Mocha and ts-node, especially with Typescript 3 and project references.

Looking at your grunt file, you still have some use cases that may be hard to implement manually: text replacement in a watch task, some manual file updates, and some file copies. These are harder to migrate, but possible.
I still think it's good to have a proper task manager for more complex projects. In practice I find Gulp easier to configure so it may be worth a try (disclaimer: I'm a Gulp maintainer). The main issue I had with Grunt is that you lack flexibility if you cannot express your needs declaratively in their config object.

@blink1073
Copy link

nb about TypeScript 3 project references, there is currently no output in watch mode.

@aciccarello
Copy link
Collaborator Author

Yeah, the replacement plugin will need some exploration. There isn't really a watch mode set up right now so that isn't a problem

Gerrit0 added a commit that referenced this issue Nov 11, 2018
@Gerrit0 Gerrit0 mentioned this issue Dec 31, 2018
aciccarello pushed a commit that referenced this issue Mar 22, 2019
* Avoid documenting excluded files.

Fixes #319
Fixes #839

* Remove grunt

Closes #836

* Add script to test with ts-node

* Correct handling of declaration files

* Delete __events.ts

Unused file

* Update updating instructions

* Correct build & test instructions

* Correct grammar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants