code: function() {
  
  			var version = grunt.config(['package', 'version']);
  
  			config.libraries.forEach(function(library) {
  
  				if (library.bower === false) {
  					return;
  				}
  
  				var bowerFilename = 'tmp/packaged-' + library.name + '/bower.json';
  
  				grunt.log.subhead(library.name);
  
  				var bower = grunt.file.readJSON(bowerFilename);
  				var oldVersion = bower.version;
  
  				// update version
  				bower.version = version;
  
  				grunt.log.writeln('version: ' + oldVersion + ' => ' + version);
  
  				// check for dependency infos
  				if (bower.dependencies) {
  					Object.keys(bower.dependencies).forEach(function(dependency) {
  
  						var oldDependencyVersion = bower.dependencies[dependency];
  						var oldDependencyVersionParts = oldDependencyVersion.split('#', 1);
  						var newDependencyVersion = oldDependencyVersionParts[0] + '#' + version;
  
  						bower.dependencies[dependency] = newDependencyVersion;
  
  						grunt.log.writeln('dependencies.' + dependency + ': ' + oldDependencyVersion + ' => ' + newDependencyVersion);
  
  					});
  				}
  
  				grunt.file.write(bowerFilename, JSON.stringify(bower, null, 2));
  
  			});
  
  		}
docs: updates version infos (incl. dependency versions) of bower.json files