- Support for npm 3.x, which puts all node modules at the top-level if it can. In case the user has installed their own, incompatible version of the dependency, we still check our own version of it first. Also removed dedupe hints from dependency list, vastly simplifying it.
- Minor version updates:
grunt-jscs,grunt-mocha-cli,grunt-mocha-istanbul,mocha - Patch updates:
grunt-contrib-jshint,istanbul,time-grunt - Update dependencies included for de-duping. This set of dependencies, which includes manually breaking conflicts ‘npm dedupe' doesn’t help with, saves about 9MB.
- Update dev dependencies
-
grocupdated to0.8.0- easier to set up and faster! No longer requires Python Pygments module, and does work to determine what documentation should be generated before running. -
Fix:
env:defaultandenv-js:defaultare now run before all the test-related aliases, instead of justenvandenv-js. This allows you to createenv/env-jssub tasks in your gruntfile and use them in other contexts. -
Minor version updates:
grunt-complexity,grunt-contrib-copy,grunt-contrib-jshint,grunt-mocha-istanbul,time-grunt -
Patch updates:
istanbul,grunt-env,grunt-mocha-cli,grunt-shell -
Tested against node
0.12.0and io.js1.4.3and above - five total platforms are now included in all Travis CI runs -
Did some work to de-duplicate dependencies. node_modules directory was at 52MB before the work, at 46MB after.
-
Tuned the npm package a little
options.staticAnalsis.excludescan now hold an array of file paths to be excluded from the jscomplexity step. Some files (especially configuration) just aren't worth the work to take the complexity down.
- Fix bug: pass
options.jsonLinttoregisterJsonLint()instead ofoptions.env - New:
env-jstask loading environment variables from 'env.js' by default, run before all test tasks, afterenvtask --coverageoption now usesgrunt-mocha-istanbulinstead of locally-installedblanketand htmlcovmochareporter. Far easier to use.test-alltask now includes only unit, integration and manual tests. Cleaner than previous implementation, which would load any files matching 'test/**/.js', excluding only 'test/.js' or 'test/unit/*.js'.- Custom options can now be supplied to
registerTest()or astestkey provided tostandardSetup()- includingexcludeskey to customize which files and folders are instrumented for code coverage. - Major version update:
grunt-jscs - Minor version updates:
grunt-contrib-copy,grunt-mocha-cli,grunt-shell - Patch update:
grunt-env - Update dev dependencies
- Note:
grockept back for now, despite available updates
- Update
grocto version that doesn't fall prey to breaking changes inunderscore1.7 - Major version updates:
grunt-shell,time-grunt(strange; these don't seem to introduce breaking changes) - Minor version updates:
grunt-mocha-cli
jsonlinttask added to default - verifies that *.json files in root dir are well-formed- Minor version updates:
grunt-contrib-clean,time-grunt - Patch updates:
grunt-jscs(moving to new name; previouslygrunt-jscs-checker) - Update dev dependencies
doccommand can now take a truthygithubkey or '--publish-docs' command-line option to publish docs to github pages- Upgrade to a newer version of
grocfork, and remove 'fix-groc-stylesheet' task, since the vertical space tweaks are ingroc's stylesheet. This was needed for github pages publish. - TravisCI support
- '.md' files in the root directory now processed to 'docs/*.html' by doc task
- Patch updates:
time-grunt - Minor version updates:
grunt-complexity,grunt-jscs-checker,grunt-mocha-cli - Remove docs directory from repo
- Add high-level stuff to readme
- Every
registerXXX()method now takes one options parameter, looking for keys on it, instead of direct parameters. standardSetup()now takes anoptionsparameter, allowing for full customization without callingregisterXXX()methods directly.options.watchis passed toregisterWatch(), for example.grunt interactiveis nowgrunt manual(still excluded fromgrunt testand included ingrunt test-all)- Overhaul of all documentation
- All client-side development task configuration removed, to be released in a forthcoming
thehelp-client-project:registerConnect(),registerMocha(),registerOptimize(),registerCopyFromBower()andregisterCopyFromDist() - Update to latest version of my
grocfork - Update dev dependencies
- Pare down what's in npm package
- Turn off
jscsoption 'requireCamelCaseOrUpperCaseIdentifiers' since there's no mechanism for exceptions, and we do need to interact with external services whose parameters are often not in camelcase.jshintalready covers this anyway.
- add new 'style' task based on the style checking capabilities of
jscs. Take a look at.jscsrcin the root directory for the default set of rules. You can supply a path to the second parameter ofregisterStyleto provide your own config file, and you might want to, since it's pretty opinionated. - Update some dev dependencies
-
split 'jshint:all' task into 'test' and 'src' tasks. 'test' task has one warning turned off:
- -W030: Expected an assignment or function call and instead saw an expression
- task 'mochacli:all' properly excludes javascript files in the root test folder
- Minor version updates:
grunt-shell - Patch updates:
grunt-requirejs
- Updated minor versions:
grunt-contrib-jshint,grunt-mocha-cli - Updated patch versions:
grunt-complexity
- Added 'sa' alias for the combined jshint/complexity 'staticanalysis' task
- Patch versions: groc (actually a no-op change; fixing tag version to match package.json)
- Minor versions: grunt-contrib-jshint (better error output! woo!), grunt-contrib-watch, grunt-mocha-cli, time-grunt (color!)
- Dev dependencies: chai, grunt
- Upgrading to groc@0.6.4 (from my branch). Pulls in
jade1.x, something that the maingrocproject has resisted doing. But it didn't even change the generated documentation.
registerOptimize()now turns on source map generation unless it's been explicitly configured.
- Patch updates: grunt-complexity, grunt-groc, grunt-mocha, grunt-requirejs, grunt-shell, time-grunt, grunt
- Minor version updates: chai, sinon
- Minor version below v1 (could be breaking changes): grunt-contrib-connect, grunt-contrib-connect, grunt-contrib-jshint
- Turn on 90-character limit per line
- Update to my fork of
grocwhich prevents it from being broken afterjade1.0.0 release
- Fix crash if 'bower_components' folder doesn't exist
- updating minor version:
grunt-mocha-cli(now at mocha 1.15, also has my pull request) - updating patch version:
grunt-env,grunt-mocha,time-grunt(time grunt update actually brings its output back undergrunt0.4.2)
- adding
asynctobowerSpecialCases
- new: task 'test-all' for easy code coverage testing
registerCopy()now takes options param, not filesregisterCopyFromDist()now creates just one target- new:
registerInstall()for 'npm/bower install' - new: 'setup' task for installing dependencies
- can use
bowerSpecialCasesto customize the behavior ofregisterCopyFromBower(). two special-cases are included by default: lodash (dist/lodash.compat.js) and requirejs (require.js)
- new method:
registerCopyFromBower()- pulls javascript files installed by bower into your lib/vendor directory registerCopy()can be called more than once; also called byregisterCopyFromBower()andregisterCopyFromDistto ensuregrunt-contrib-copytask is ready for use- dependency update: latest versions of lodash, grunt-contrib-jshint, grunt-mocha, time-grunt, and grunt
- registerTest: now allows customization of source files to ensure that your 'run-on-change' task behaves properly
- Re-ordering parameters in registerStaticAnalysis (now it's files first, then jshintrc path)
- Fix to registerOptimize: fix task name collision for multiple libraries based off of the same root javascript file
- Fix to registerOptimize: allow multiple libraries based off of the same root javascript file (take name for task from the output file, not the input file)
- new method:
registerCopyFromDist()- pulls files out ofdist/folders of installed node modules registerCopy()files parameter now optional
- new method:
registerCopy()- pulls ingrunt-contrib-copytask, passesfilesparameter to it - new method:
registerConnect()- sets up two targets: test (port 3001) and keepalive (port 3000) - new method:
registerOptimize()- usesgrunt-requirejsto optimize and concatenate AMD files, producing unoptimized and, if requested, standalone files based on almond.js - new method:
registerMocha()- running phantomjs-based in-browser unit tests. Works well withregisterConnect()
- adding 'dist' target to
registerClean()
registerStaticAnalysis()uses .jshintrc file inside this project by default, to make it that much easier to set up a new project.
- new:
loadLocalNpm()loads tasks from node modules installed as dependencies of this library, not from the project which is using this library.
- Initial release
- time-grunt, env, testing with mocha-cli, jshint, complexity, groc and fix-groc-stylesheet, clean, watch, filter, code coverage support in testing