Skip to content

Commit

Permalink
* chore(package): update videojs-standard to version 8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroneill authored Sep 21, 2018
1 parent 5271224 commit 7e09133
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 48 deletions.
8 changes: 2 additions & 6 deletions generators/app/package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const getGeneratorVersions = (pkgList) => pkgList.reduce((acc, pkgName) => {
const version = getGeneratorVersion(pkgName);

if (!version) {
throw new Error(
`Error ${pkgName} is not in dependencies for generator-videojs-plugin`
);
throw new Error(`Error ${pkgName} is not in dependencies for generator-videojs-plugin`);
}

acc[pkgName] = version;
Expand Down Expand Up @@ -74,9 +72,7 @@ const alphabetizeObject = (source) =>
*/
const alphabetizeScripts = (source) => {
const keys = Object.keys(source);
const prePost = keys.filter(
k => _.startsWith(k, 'pre') || _.startsWith(k, 'post')
);
const prePost = keys.filter(k => _.startsWith(k, 'pre') || _.startsWith(k, 'post'));
const order = _.difference(keys, prePost).sort();

// Inject the pre/post scripts into the order where they belong.
Expand Down
69 changes: 39 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"npm-run-all": "^4.1.3",
"shx": "^0.3.2",
"videojs-generator-verify": "~1.0.4",
"videojs-standard": "^7.1.0",
"videojs-standard": "^8.0.1",
"yeoman-assert": "^3.1.1",
"yeoman-test": "^2.0.0"
},
Expand Down
20 changes: 10 additions & 10 deletions plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"videojs-generate-rollup-config": "~2.2.0",
"videojs-generator-verify": "~1.0.4",
"videojs-languages": "^1.0.0",
"videojs-standard": "^7.1.0"
"videojs-standard": "^8.0.1"
}
}
1 change: 1 addition & 0 deletions scripts/run-integration-tests.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global Promise */
/* eslint-disable no-console */

const helpers = require('yeoman-test');
Expand Down

0 comments on commit 7e09133

Please sign in to comment.