Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

chore: update all packages to latest versions #1607

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ var _ = require('lodash');
var argv = require('yargs').argv;
var env = require('gulp-env');
var Q = require("q");
// delPromise is a 'promise' version of del
var delPromise = Q.denodeify(del);
var Minimatch = require("minimatch").Minimatch;
var Dgeni = require('dgeni');
var Package = require('dgeni').Package;
Expand Down Expand Up @@ -609,14 +607,14 @@ gulp.task('_shred-clean-devguide-shared-jade', function(cb) {
// jade fragments now all go into _fragments subdirs under their source.
var newCleanPath = path.join(DOCS_PATH, '**/_fragments/*.jade');
// Much slower 8-9x then using globby first ... ???
// return delPromise([ newCleanPath, oldCleanPath]);
// return del([ newCleanPath, oldCleanPath]);
var files = globby.sync( [newCleanPath, oldCleanPath]);
return delPromise(files);
return del(files);
});

gulp.task('_shred-clean-devguide', function(cb) {
var cleanPath = path.join(_devguideShredOptions.fragmentsDir, '**/*.*')
return delPromise([ cleanPath, '!**/*.ovr.*', '!**/_api/**']);
return del([ cleanPath, '!**/*.ovr.*', '!**/_api/**']);
});

gulp.task('_shred-api-examples', ['_shred-clean-api'], function() {
Expand All @@ -626,7 +624,7 @@ gulp.task('_shred-api-examples', ['_shred-clean-api'], function() {

gulp.task('_shred-clean-api', function(cb) {
var cleanPath = path.join(_apiShredOptions.fragmentsDir, '**/*.*')
return delPromise([ cleanPath, '!**/*.ovr.*' ]);
return del([ cleanPath, '!**/*.ovr.*' ]);
});

gulp.task('_zip-examples', function() {
Expand Down Expand Up @@ -933,7 +931,7 @@ function apiExamplesWatch(postShredAction) {
gutil.log('Event type: ' + event.type); // added, changed, or deleted
gutil.log('Event path: ' + event.path); // The path of the modified file

return delPromise(cleanPath).then(function() {
return del(cleanPath).then(function() {
return docShredder.shred(_apiShredOptions);
}).then(postShredAction);
});
Expand Down
34 changes: 16 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,51 +25,49 @@
"url": ""
},
"devDependencies": {
"archiver": "^0.16.0",
"assert-plus": "^0.1.5",
"archiver": "^1.0.0",
"assert-plus": "^1.0.0",
"broken-link-checker": "0.7.1",
"browser-sync": "^2.9.3",
"canonical-path": "0.0.2",
"cross-spawn": "^2.1.0",
"codelyzer": "0.0.18",
"del": "^1.2.0",
"cross-spawn": "^4.0.0",
"codelyzer": "0.0.20",
"del": "^2.2.0",
"dgeni": "^0.4.0",
"dgeni-packages": "^0.13.0",
"diff": "^2.1.3",
"fs-extra": "^0.24.0",
"glob": "^5.0.14",
"fs-extra": "^0.30.0",
"globby": "^4.0.0",
"gulp": "^3.5.6",
"gulp-env": "0.4.0",
"gulp-task-listing": "^1.0.1",
"gulp-tslint": "^4.3.5",
"gulp-tslint": "^5.0.0",
"gulp-util": "^3.0.6",
"gulp-watch": "^4.3.4",
"harp": "^0.20.3",
"html2jade": "^0.8.4",
"indent-string": "^2.1.0",
"jasmine-core": "^2.3.4",
"jasmine-node": "^1.14.5",
"jsdom": "^7.0.2",
"jsdom": "^9.2.1",
"jsonfile": "^2.2.2",
"karma": "^0.13.10",
"karma-chrome-launcher": "^0.2.0",
"karma-jasmine": "^0.3.6",
"live-server": "^0.8.1",
"lodash": "^3.10.1",
"karma-chrome-launcher": "^1.0.1",
"karma-jasmine": "^1.0.2",
"live-server": "^1.0.0",
"lodash": "^4.13.1",
"marked": "^0.3.5",
"minimatch": "^2.0.10",
"minimatch": "^3.0.0",
"mkdirp": "^0.5.1",
"node-html-encoder": "0.0.2",
"nodegit": "0.13.0",
"path": "^0.11.14",
"prompt": "^0.2.14",
"path": "^0.12.7",
"prompt": "^1.0.0",
"protractor": "^3.0.0",
"q": "^1.4.1",
"tree-kill": "^1.0.0",
"tslint": "^3.2.2",
"typescript": "1.7.3",
"yargs": "^3.23.0"
"yargs": "^4.7.1"
},
"dependencies": {
"jstransformer-marked": "^1.0.1"
Expand Down
10 changes: 5 additions & 5 deletions public/docs/_examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
"http-server": "^0.9.0",
"jasmine-core": "^2.4.1",
"karma": "^0.13.22",
"karma-chrome-launcher": "^0.2.3",
"karma-cli": "^0.1.2",
"karma-htmlfile-reporter": "^0.2.2",
"karma-jasmine": "^0.3.8",
"karma-chrome-launcher": "^1.0.1",
"karma-cli": "^1.0.0",
"karma-htmlfile-reporter": "^0.3.1",
"karma-jasmine": "^1.0.2",
"karma-phantomjs-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.7.0",
Expand All @@ -74,7 +74,7 @@
"typings": "^1.0.4",
"webpack": "^1.13.0",
"webpack-dev-server": "^1.14.1",
"webpack-merge": "^0.12.0"
"webpack-merge": "^0.14.0"
},
"repository": {}
}
2 changes: 0 additions & 2 deletions tools/_example-zipper/exampleZipper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Canonical path provides a consistent path (i.e. always forward slashes) across different OSes
var path = require('canonical-path');
var Q = require('q');
var _ = require('lodash');
var jsonfile = require('jsonfile');
var assert = require('assert-plus');
// adm-zip does not work properly on Windows
Expand Down
5 changes: 2 additions & 3 deletions tools/_example-zipper/test/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ gulp.task('zipExamples', ['clean'], function() {
return exampleZipper.zipExamples("../../../public/docs/_examples", _outputFolder);
});

gulp.task('clean', function (cb) {
gulp.task('clean', function () {
var cleanPath = path.join(_outputFolder, '**/*.*');
del([ cleanPath, '!**/*.ovr.*'], function (err, paths) {
del([ cleanPath, '!**/*.ovr.*']).then(function (err, paths) {
console.log('Deleted files/folders:\n', paths.join('\n'));
cb();
});
});

Expand Down
1 change: 0 additions & 1 deletion tools/api-builder/content-package/readers/content.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var mockPackage = require('../mocks/mockPackage');
var Dgeni = require('dgeni');
var path = require('canonical-path');
var _ = require('lodash');

describe('contentFileReader', function() {
var dgeni, injector, fileReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var mockPackage = require('../mocks/mockPackage');
var Dgeni = require('dgeni');
var path = require('canonical-path');
var _ = require('lodash');

describe('checkUnbalancedBackTicks', function() {
var dgeni, injector, processor, log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var mockPackage = require('../mocks/mockPackage');
var Dgeni = require('dgeni');
var path = require('canonical-path');
var _ = require('lodash');

describe('convertBackticksToCodeBlocks', function() {
var dgeni, injector, processor;
Expand Down
1 change: 0 additions & 1 deletion tools/api-builder/links-package/services/getLinkInfo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
var _ = require('lodash');
var path = require('canonical-path');

/**
Expand Down
2 changes: 0 additions & 2 deletions tools/api-builder/target-package/inline-tag-defs/target.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
var _ = require('lodash');

/**
* @dgService
* @description
Expand Down
7 changes: 2 additions & 5 deletions tools/doc-shredder/_test/doc-shredder.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
var docShredder = require('../doc-shredder');
var Q = require("q");
var del = require('del')
// delPromise is a 'promise' version of del
var delPromise = Q.denodeify(del);
var del = require('del');
var globby = require('globby');
var path = require('canonical-path');
var fs = require('fs');
Expand Down Expand Up @@ -59,7 +56,7 @@ describe('doc-shredder', function() {

function clean(shredOptions) {
var cleanPath = path.join(shredOptions.fragmentsDir, '**/*.*')
return delPromise([ cleanPath, '!**/*.ovr.*']);
return del([ cleanPath, '!**/*.ovr.*']);
}

});
5 changes: 2 additions & 3 deletions tools/doc-shredder/_test/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ gulp.task('shred', ['clean'], function() {
return docShredder.shred(shredOptions);
});

gulp.task('clean', function (cb) {
gulp.task('clean', function () {
var cleanPath = path.join(shredOptions.fragmentsDir, '**/*.*')
del([ cleanPath, '!**/*.ovr.*'], function (err, paths) {
del([ cleanPath, '!**/*.ovr.*']).then(function (err, paths) {
// console.log('Deleted files/folders:\n', paths.join('\n'));
cb();
});
});

Expand Down
5 changes: 1 addition & 4 deletions tools/doc-shredder/doc-shredder.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Canonical path provides a consistent path (i.e. always forward slashes) across different OSes
var path = require('canonical-path');
var Q = require('q');
var del = require('del');
// delPromise is a 'promise' version of del
var delPromise = Q.denodeify(del);
var Dgeni = require('dgeni');
var _ = require('lodash');
var globby = require('globby');
Expand Down Expand Up @@ -37,7 +34,7 @@ var shredSingleDir = function(shredOptions, filePath) {
fragmentsDir: fragmentsDir
}
var cleanPath = path.join(fragmentsDir, '*.*')
return delPromise([ cleanPath, '!**/*.ovr.*']).then(function(paths) {
return del([ cleanPath, '!**/*.ovr.*']).then(function(paths) {
// console.log('Deleted files/folders:\n', paths.join('\n'));
return shred(options);
});
Expand Down