Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed May 4, 2020
1 parent aeeadad commit d3ad700
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 42 deletions.
9 changes: 5 additions & 4 deletions check-upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ async function checkFile(file) {
upgrade => {
Object.keys(upgrade).forEach(name => {
const version = upgrade[name];
const major = semver.minVersion(version).major;
if (major > semver.minVersion(deps[name]).major) {
// const major = semver.minVersion(version).major;
console.log(`${name} ${deps[name]} ==> ${version}`);
// if (major > semver.minVersion(deps[name]).major) {
// Only highlight major upgrade
console.log(`${name} ${deps[name]} ==> ^${major}.0.0 (latest is ${version})`);
}
// console.log(`${name} ${deps[name]} ==> ^${major}.0.0 (latest is ${version})`);
// }
});
resolve();
},
Expand Down
6 changes: 3 additions & 3 deletions cli-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"requirejs": "^2.3.6",
// @endif
// @if alameda
"alameda": "^1.2.1",
"alameda": "^1.4.0",
// @endif
// @if requirejs || alameda
"text": "requirejs/text",
Expand All @@ -29,15 +29,15 @@

// @if postcss-basic || postcss-typical
"gulp-postcss": "^8.0.0",
"autoprefixer": "^9.7.4",
"autoprefixer": "^9.7.6",
// @endif
// @if postcss-typical
"cssnano": "^4.1.10",
"postcss-url": "^8.0.0",
// @endif

// @if sass
"gulp-dart-sass": "^1.0.0",
"gulp-dart-sass": "^1.0.2",
// @endif

// @if stylus
Expand Down
14 changes: 7 additions & 7 deletions common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
// @endif
"aurelia-cli": "^1.3.1",
"aurelia-testing": "^1.0.0",
"gulp": "^4.0.0",
"gulp": "^4.0.2",
"minimatch": "^3.0.4",
"promise-polyfill": "^8.1.3",

// @if babel
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/register": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/core": "^7.9.6",
"@babel/register": "^7.9.0",
"regenerator-runtime": "^0.13.5",
// @endif

// @if typescript
"typescript": "^3.8.2",
"@types/node": "^13.7.6",
"typescript": "^3.8.3",
"@types/node": "^13.13.4",
"@typescript-eslint/eslint-plugin": "",
"@typescript-eslint/parser": "^2.30.0",
// @endif
Expand All @@ -53,6 +53,6 @@
"start": "au run"
},
"engines": {
"node": ">=8.9.0"
"node": ">=10.12.0"
}
}
6 changes: 3 additions & 3 deletions jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"aurelia-pal-nodejs": "^2.0.0",

// @if babel
"babel-jest": "^25.1.0",
"babel-jest": "^25.5.1",
// @endif

// @if typescript
"ts-jest": "^25.2.1",
"@types/jest": "^25.1.3",
"ts-jest": "^25.4.0",
"@types/jest": "^25.2.1",
// @endif
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion karma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

// @if typescript
"karma-typescript-preprocessor": "^0.4.0",
"@types/jasmine": "^3.5.7",
"@types/jasmine": "^3.5.10",
// @endif
},

Expand Down
8 changes: 4 additions & 4 deletions protractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
},
"devDependencies": {
// @if typescript
"ts-node": "^8.6.2",
"@types/jasmine": "^3.5.7",
"ts-node": "^8.10.1",
"@types/jasmine": "^3.5.10",
// @endif
"aurelia-protractor-plugin": "^1.0.6",
"protractor": "^5.4.3",
"protractor": "^5.4.4",
"gulp-protractor": "^4.1.1",
"wait-on": "^4.0.0"
"wait-on": "^4.0.2"
}
}
6 changes: 3 additions & 3 deletions scaffold-navigation/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"dependencies": {
"whatwg-fetch": "^3.0.0",
"aurelia-fetch-client": "^1.0.0",
"aurelia-fetch-client": "^1.8.2",
"bootstrap": "^4.4.1",
"popper.js": "^1.16.1",
"@fortawesome/fontawesome-free": "^5.12.1",
"jquery": "^3.3.1"
"@fortawesome/fontawesome-free": "^5.13.0",
"jquery": "^3.5.0"
}
}
34 changes: 17 additions & 17 deletions webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,58 +6,58 @@
// @endif

// @if babel
"babel-loader": "^8.0.6",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
// @endif

// @if typescript
"ts-loader": "^6.2.1",
"@types/webpack": "^4.41.6",
"ts-loader": "^7.0.2",
"@types/webpack": "^4.41.12",
// @endif

// @if less
"less-loader": "^5.0.0",
"less-loader": "^6.0.0",
"less": "^3.11.1",
// @endif

// @if postcss-basic || postcss-typical
"postcss-loader": "",
"autoprefixer": "",
"postcss-loader": "^3.0.0",
"autoprefixer": "^9.7.6",
// @endif
// @if postcss-typical
"cssnano": "",
// @endif

// @if sass
"sass-loader": "^8.0.2",
"sass": "^1.26.3",
"sass": "^1.26.5",
// @endif

// @if stylus
"stylus-loader": "^3.0.2",
"stylus": "^0.54.7",
// @endif

"html-webpack-plugin": "^3.2.0",
"html-webpack-plugin": "^4.3.0",
"copy-webpack-plugin": "^5.1.1",
"mini-css-extract-plugin": "^0.9.0",
"aurelia-webpack-plugin": "^4.0.0",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"clean-webpack-plugin": "^3.0.0",
"webpack": "^4.41.6",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"expose-loader": "^0.7.5",
"style-loader": "^1.1.3",
"url-loader": "^3.0.0",
"css-loader": "^3.4.2",
"file-loader": "^5.1.0",
"app-settings-loader": "^1.0.3",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"css-loader": "^3.5.3",
"file-loader": "^6.0.0",
"app-settings-loader": "^1.0.5",
"json-loader": "^0.5.7",
"html-loader": "^0.5.5",
"html-loader": "^1.1.0",
"istanbul-instrumenter-loader": "^3.0.1",
"webpack-bundle-analyzer": "^3.6.0",
"tree-kill": "^1.2.1"
"webpack-bundle-analyzer": "^3.7.0",
"tree-kill": "^1.2.2"
},
"scripts": {
"build": "webpack --env.production --extractCss",
Expand Down

0 comments on commit d3ad700

Please sign in to comment.