frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

Add m2e support for npm, npx and yarn goals

Open zraexy opened this issue 4 years ago • 2 comments
trafficstars

Summary

Adds support for running scripts when source files change without having to bump the package.json

My specific use case is automatically rebuilding an Angular frontend when its source is modified.

Theoretically the common functionality between EmberMojo, GruntMojo, GulpMojo, NpmMojo, NpxMojo, WebpackMojo, and YarnMojo could be factored out into a new class, but for now I've only endeavored to make their behavior consistent.

Resolves #932 Fixes #329, Closes #682 (included)

Tests and Documentation

Tests passed. (Not that there is coverage anyway.)

Updated CHANGELOG.md and README.md I can update the Wiki on merge.

zraexy avatar Feb 01 '21 03:02 zraexy

@zraexy thanks for providing this PR. What about the failed check?

OLibutzki avatar Feb 11 '21 15:02 OLibutzki

@zraexy thanks for providing this PR. What about the failed check?

It is a known issue with maven-plugin-plugin 3.2 which was fixed in 3.2.2. For whatever reason 3.2.2 doesn't appear to be in Maven Central. I'm not sure why this is only now presenting. I've made a few tweaks and added a commit bumping it to 3.3.

zraexy avatar Feb 12 '21 19:02 zraexy