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

Frontend: automate front-end build, test, and deploy tasks #5

Open
1 of 12 tasks
gregswindle opened this issue Nov 15, 2017 · 0 comments
Open
1 of 12 tasks

Frontend: automate front-end build, test, and deploy tasks #5

gregswindle opened this issue Nov 15, 2017 · 0 comments

Comments

@gregswindle
Copy link
Owner

gregswindle commented Nov 15, 2017

1. Issue type

  • Other: Rename the repository in order to differentiate it from spring-boot-starter-thymeleaf, which mvn-spring-boot-thymeleaf-nodejs extends.

2. User story summary

As a frontend engineer,
I need NPM and SASS build, test, and deploy tasks to synchronized with Maven goals
In order to share a common vocabulary with the team and make product delivery more efficient.

3. Acceptance criteria

  • 1. mvnw install triggers npm install and gem install sass.
  • 2. Projects share the same mvnw, Node.js version, npm version, and SASS versions locally.
  • 3. mvnw package triggers npm build and sass convert.
  • 4. npm build bundles (concatenates) JavaScript files and minifies them.
  • 5. npm build minifies Thymeleaf templates and partials into valid XHTML.
  • 6. npm build minifies CSS templates.
  • 7. npm build minifies images.
  • 8. npm test ensures that all tests/specs pass that all branches, functions, lines, and statements meet the minimum 90% coverage threshold.
  • 9. If a JavaScript test fails or code coverage is below the minimum threshold, the build with halt.
  • 10. mvnw site generates detailed coverage, ESLint, and test result reports in the /target/site directory.
  • 11. GitHub Enterprise PULL_REQUEST_TEMPLATE.md files display badges that pull status from Verizon's internal OneSonar.
@gregswindle gregswindle self-assigned this Nov 15, 2017
@gregswindle gregswindle added this to the Reference sample milestone Nov 15, 2017
@gregswindle gregswindle changed the title Refactor: rename repository and update product manifests Frontend: automate front-end build, test, and deploy tasks Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment