- 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
-
groc
updated 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:default
andenv-js:default
are now run before all the test-related aliases, instead of justenv
andenv-js
. This allows you to createenv
/env-js
sub 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.0
and io.js1.4.3
and 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.excludes
can 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.jsonLint
toregisterJsonLint()
instead ofoptions.env
- New:
env-js
task loading environment variables from 'env.js' by default, run before all test tasks, afterenv
task --coverage
option now usesgrunt-mocha-istanbul
instead of locally-installedblanket
and htmlcovmocha
reporter. Far easier to use.test-all
task 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 astest
key provided tostandardSetup()
- includingexcludes
key 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:
groc
kept back for now, despite available updates
- Update
groc
to version that doesn't fall prey to breaking changes inunderscore
1.7 - Major version updates:
grunt-shell
,time-grunt
(strange; these don't seem to introduce breaking changes) - Minor version updates:
grunt-mocha-cli
jsonlint
task 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
doc
command can now take a truthygithub
key or '--publish-docs' command-line option to publish docs to github pages- Upgrade to a newer version of
groc
fork, 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 anoptions
parameter, allowing for full customization without callingregisterXXX()
methods directly.options.watch
is passed toregisterWatch()
, for example.grunt interactive
is nowgrunt manual
(still excluded fromgrunt test
and 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
groc
fork - Update dev dependencies
- Pare down what's in npm package
- Turn off
jscs
option 'requireCamelCaseOrUpperCaseIdentifiers' since there's no mechanism for exceptions, and we do need to interact with external services whose parameters are often not in camelcase.jshint
already covers this anyway.
- add new 'style' task based on the style checking capabilities of
jscs
. Take a look at.jscsrc
in the root directory for the default set of rules. You can supply a path to the second parameter ofregisterStyle
to 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 [email protected] (from my branch). Pulls in
jade
1.x, something that the maingroc
project 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
groc
which prevents it from being broken afterjade
1.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 undergrunt
0.4.2)
- adding
async
tobowerSpecialCases
- 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
bowerSpecialCases
to 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()
andregisterCopyFromDist
to ensuregrunt-contrib-copy
task 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-copy
task, passesfiles
parameter to it - new method:
registerConnect()
- sets up two targets: test (port 3001) and keepalive (port 3000) - new method:
registerOptimize()
- usesgrunt-requirejs
to 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