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

Gulp Refactor #32

Merged
merged 1 commit into from
Oct 30, 2015
Merged

Gulp Refactor #32

merged 1 commit into from
Oct 30, 2015

Conversation

jfmercer
Copy link
Contributor

Gulp Refactor

This commit adds gulp to angular-model and also adds a significant
number of tasks.

  • Uses run-sequence to manage gulp tasks
  • Fixes coveralls support
    • Removes coveralls task from karma.conf.js
    • Adds coveralls task to gulp
  • Adds jscs task and .jscsrc
  • Adds jshint task and .jshintrc
  • Adds security audit task with requireSafe
  • Adds CodeClimate coverage and .codeclimate.yml
    • N.B. CodeClimate checks only angular-model.js and
      no other files.
  • Removes previous build script, which is now superfluous.

Additional changes

  • Changes style in the following:
    • src/angular-model.js
    • spec/modelSpec.js
    • config/karma.conf.js
    • README.md
  • package.json changes
    • Updates gulpfile packages to latest versions
    • Bumps version number to 0.5.0
    • Updates Nate's and Warren's contact info
    • Updates repository location
      • Changes uor to radify
    • Adds John as a contributor
      • This is necessary to allow John to publish angular-model
        to NPM
    • Adds keywords section
  • Moves modelSpec.js from test/ to spec/
  • Deletes coveralls.yml, which is superfluous
  • Adds badges to README
    • Dependencies (david-dm.org)
    • CodeClimate score
  • Edits CHANGELOG.md

@nateabele
Copy link
Member

This looks good. Why is it NOMERGE?

@jfmercer
Copy link
Contributor Author

I'll still working on a few things.

  1. I want to get that damn coverage task/badge working. Not simply for this project, but so that I'll learn & know how to do so for other projects.
  2. Nice-to-have: Replace the karma config with gulp-jasmine & gulp-istanbul. I got stuck on this point yesterday, but moved on. "If it ain't broke, don't fix it."

Things not directly related to gulp:

  1. The CHANGELOG must be updated.

A question for you: this project currently uses angular-1.1.4 and 1.1.4's mocks. Should I experiment with updating that to Angular 1.2 or 1.3?

@nateabele
Copy link
Member

Should I experiment with updating that to Angular 1.2 or 1.3?

Yes, 1.3. Thanks.

@jfmercer jfmercer force-pushed the gulp-refactor branch 2 times, most recently from d305c9b to 9cd959c Compare October 20, 2015 20:17
@jfmercer jfmercer changed the title NOMERGE Gulp Refactor Gulp Refactor Oct 29, 2015
@jfmercer
Copy link
Contributor Author

@nateabele This is ready for review & merge. In addition to the description above, please note that neither the Coveralls nor the CodeClimate badge will work until merged into master.

This repository needs more work, but I'll file those problems under Issues.

Here are the reports:

This commit adds gulp to `angular-model` and adds a significant
number of tasks.
  * Uses `run-sequence` to manage gulp tasks
  * Fixes coveralls support
    * Removes coveralls task from karma.conf.js
    * Adds coveralls task to gulp
  * Adds jscs task and .jscsrc
  * Adds jshint task and .jshintrc
  * Adds security audit task with `requireSafe`
  * Adds CodeClimate coverage and .codeclimate.yml
    * N.B. CodeClimate checks only `angular-model.js` and
      no other files.
  * Removes previous build script, which is now superfluous.

Additional changes
  * Changes style in the following:
    * `src/angular-model.js`
    * `spec/modelSpec.js`
    * `config/karma.conf.js`
    * `README.md`
  * `package.json` changes
    * Updates gulpfile packages to latest versions
    * Bumps version number to 0.5.0
    * Updates Nate's and Warren's contact info
    * Updates repository location
      * Changes uor to radify
    * Adds John as a contributor
      * This is necessary to allow John to publish `angular-model`
        to NPM
    * Adds keywords section
  * Moves `modelSpec.js` from `test/` to `spec/`
  * Deletes `coveralls.yml`, which is superfluous
  * Adds badges to README
    * Dependencies (david-dm.org)
    * CodeClimate score
  * Edits `CHANGELOG.md`
nateabele added a commit that referenced this pull request Oct 30, 2015
@nateabele nateabele merged commit 9e669f2 into master Oct 30, 2015
@jfmercer jfmercer deleted the gulp-refactor branch October 30, 2015 14:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants