Skip to content

Commit

Permalink
Update dependencies (#245)
Browse files Browse the repository at this point in the history
* Update Sass deps

* Update Jest

* Minor version bumps

* Update linting deps

* Update gulp-count to 1.0

* Minor version bumps

* Major bumps for vinyl and yargs

* Update to Webpack 4

* Update webpack-hot-middleware

* Core: Update core-js and downshift

* Docs: Minor dep bumps

* Docs: Update yarn.lock

* Update eslint-jest and yeoman
  • Loading branch information
sawyerh authored Feb 28, 2018
1 parent b714a44 commit 670ec7c
Show file tree
Hide file tree
Showing 14 changed files with 901 additions and 623 deletions.
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"devDependencies": {
"@cmsgov/eslint-config-design-system": "file:./packages/eslint-config-design-system",
"@cmsgov/stylelint-config-design-system": "file:./packages/stylelint-config-design-system",
"autoprefixer": "^7.2.3",
"autoprefixer": "^8.0.0",
"babel-core": "^6.26.0",
"babel-jest": "^22.0.3",
"babel-loader": "^7.1.2",
"babel-jest": "^22.4.1",
"babel-loader": "^7.1.3",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
Expand All @@ -43,7 +43,7 @@
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.0",
"eslint": "^4.13.1",
"eslint": "^4.18.1",
"eslint-config-nava": "^2.1.0",
"front-matter": "^2.3.0",
"generator-cmsgov": "file:./packages/generator-cmsgov",
Expand All @@ -53,45 +53,45 @@
"gulp-babel": "^7.0.0",
"gulp-changed": "^3.1.1",
"gulp-changed-in-place": "^2.3.0",
"gulp-count": "^0.3.0",
"gulp-count": "^1.0.0",
"gulp-if": "^2.0.2",
"gulp-merge-json": "^1.2.0",
"gulp-postcss": "^7.0.0",
"gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^2.6.1",
"gulp-stylelint": "^5.0.0",
"gulp-stylelint": "^6.0.0",
"gulp-util": "^3.0.8",
"husky": "^0.14.3",
"jest": "^22.0.3",
"jest": "^22.4.2",
"kss": "^3.0.0-beta.18",
"lerna": "^2.5.1",
"lint-staged": "^6.0.0",
"lodash": "^4.17.4",
"marked": "^0.3.7",
"lint-staged": "^7.0.0",
"lodash": "^4.17.5",
"marked": "^0.3.17",
"memory-fs": "^0.4.1",
"mkdir-recursive": "^0.3.0",
"mkdir-recursive": "^0.4.0",
"mz": "^2.7.0",
"node-notifier": "^5.1.2",
"postcss-image-inliner": "^1.0.6",
"postcss-import": "^11.0.0",
"postcss-url": "^7.3.0",
"prettier": "^1.9.2",
"prismjs": "^1.9.0",
"postcss-import": "^11.1.0",
"postcss-url": "^7.3.1",
"prettier": "^1.11.0",
"prismjs": "^1.11.0",
"react": "^16.2.0",
"react-docgen": "^2.20.0",
"react-docgen": "^2.20.1",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"recast": "^0.13.0",
"recast": "^0.14.4",
"run-sequence": "^2.2.0",
"stylelint": "^8.4.0",
"stylelint-config-prettier": "^2.0.0",
"stylelint": "^9.1.1",
"stylelint-config-prettier": "^2.1.0",
"through2": "^2.0.3",
"tota11y": "^0.1.6",
"vinyl-source-stream": "^1.1.0",
"webpack": "^3.10.0",
"webpack-dev-middleware": "^2.0.2",
"webpack-hot-middleware": "^2.21.0",
"yargs": "^10.0.3",
"vinyl-source-stream": "^2.0.0",
"webpack": "^4.0.1",
"webpack-dev-middleware": "^2.0.6",
"webpack-hot-middleware": "^2.21.1",
"yargs": "^11.0.0",
"yo": "^2.0.0"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"@cmsgov/design-system-support": "^1.15.0",
"classnames": "^2.2.5",
"core-js": "^2.5.1",
"downshift": "^1.22.5",
"core-js": "^2.5.3",
"downshift": "^1.28.2",
"ev-emitter": "^1.1.1",
"lodash.uniqueid": "^4.0.1",
"prop-types": "^15.0.0 || ^16.0.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/core/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ core-js@^1.0.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"

core-js@^2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b"
core-js@^2.5.3:
version "2.5.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"

downshift@^1.22.5:
version "1.22.5"
resolved "https://registry.yarnpkg.com/downshift/-/downshift-1.22.5.tgz#48103b2f80259157b01b96d6bdc344c51ce0743e"
downshift@^1.28.2:
version "1.28.2"
resolved "https://registry.yarnpkg.com/downshift/-/downshift-1.28.2.tgz#ff5b4e89ff439943a8e58890993015199604e1e6"

encoding@^0.1.11:
version "0.1.12"
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"@cmsgov/design-system-support": "^1.15.0",
"classnames": "^2.2.5",
"core-js": "^2.5.3",
"lodash": "^4.17.4",
"prismjs": "^1.9.0",
"prop-types": "^15.6.0",
"lodash": "^4.17.5",
"prismjs": "^1.11.0",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-hot-loader": "^3.1.3"
Expand Down
23 changes: 10 additions & 13 deletions packages/docs/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function createConfig(docsPath, rootPath = '', packages, hotReload = true) {
);

const config = {
mode: process.env.NODE_ENV,
context: __dirname,
entry: {
index: ['./src/scripts/helpers/polyfills.js', './src/scripts/index.jsx'],
Expand All @@ -31,10 +32,10 @@ function createConfig(docsPath, rootPath = '', packages, hotReload = true) {
filename: '[name].js'
},
module: {
loaders: [
rules: [
{
test: /\.(js|jsx)$/,
loader: ['babel-loader'],
use: [{ loader: 'babel-loader' }],
include: [path.resolve(__dirname, 'src')].concat(packagePaths)
}
]
Expand All @@ -45,25 +46,21 @@ function createConfig(docsPath, rootPath = '', packages, hotReload = true) {
root: JSON.stringify(rootPath),
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
}
}),
new webpack.optimize.ModuleConcatenationPlugin()
})
],
resolve: {
extensions: ['.js', '.jsx', '.json'],
modules: ['../', 'node_modules']
},
performance: {
hints: false
}
};

if (process.env.NODE_ENV === 'production') {
const uglifyPlugin = new webpack.optimize.UglifyJsPlugin({
uglifyOptions: {
compress: {
drop_console: true
}
}
});

config.plugins.push(uglifyPlugin);
config.optimization = {
minimize: true
};
} else if (hotReload) {
const keys = ['index']; // Object.keys(config.entry);

Expand Down
41 changes: 15 additions & 26 deletions packages/docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ fbjs@^0.8.16:
setimmediate "^1.0.5"
ua-parser-js "^0.7.9"

fbjs@^0.8.9:
version "0.8.9"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.9.tgz#180247fbd347dcc9004517b904f865400a0c8f14"
dependencies:
core-js "^1.0.0"
isomorphic-fetch "^2.1.1"
loose-envify "^1.0.0"
object-assign "^4.1.0"
promise "^7.1.1"
setimmediate "^1.0.5"
ua-parser-js "^0.7.9"

global@^4.3.0:
version "4.3.2"
resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f"
Expand Down Expand Up @@ -102,9 +90,9 @@ js-tokens@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7"

lodash@^4.17.4, lodash@^4.6.1:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
lodash@^4.17.5, lodash@^4.6.1:
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"

loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1:
version "1.3.1"
Expand All @@ -129,9 +117,9 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"

prismjs@^1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.9.0.tgz#fa3e2d9edc3c3887c1f1f3095d41f1f9b4200f0f"
prismjs@^1.11.0:
version "1.11.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.11.0.tgz#297aef33eb79421bfdb19273a5092ca515970d29"
optionalDependencies:
clipboard "^1.7.1"

Expand All @@ -145,12 +133,13 @@ promise@^7.1.1:
dependencies:
asap "~2.0.3"

prop-types@^15.5.4:
version "15.5.10"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
prop-types@^15.5.4, prop-types@^15.6.1:
version "15.6.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.1.tgz#36644453564255ddda391191fb3a125cbdf654ca"
dependencies:
fbjs "^0.8.9"
fbjs "^0.8.16"
loose-envify "^1.3.1"
object-assign "^4.1.1"

prop-types@^15.6.0:
version "15.6.0"
Expand Down Expand Up @@ -199,8 +188,8 @@ react@^16.2.0:
prop-types "^15.6.0"

redbox-react@^1.3.6:
version "1.4.2"
resolved "https://registry.yarnpkg.com/redbox-react/-/redbox-react-1.4.2.tgz#7fe35d3c567301e97938cc7fd6a10918f424c6b4"
version "1.5.0"
resolved "https://registry.yarnpkg.com/redbox-react/-/redbox-react-1.5.0.tgz#04dab11557d26651bf3562a67c22ace56c5d3967"
dependencies:
error-stack-parser "^1.3.6"
object-assign "^4.0.1"
Expand All @@ -224,8 +213,8 @@ source-map@^0.6.1:
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"

sourcemapped-stacktrace@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.6.tgz#112d8749c942c3cd3b630dfac9514577b86a3a51"
version "1.1.8"
resolved "https://registry.yarnpkg.com/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.8.tgz#6b7a3f1a6fb15f6d40e701e23ce404553480d688"
dependencies:
source-map "0.5.6"

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"files": ["index.js"],
"dependencies": {
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-jest": "^21.5.0",
"eslint-plugin-jest": "^21.12.2",
"eslint-plugin-jsx-a11y": "^6.0.3"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config-design-system/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ eslint-plugin-filenames@^1.2.0:
lodash.snakecase "4.1.1"
lodash.upperfirst "4.3.1"

eslint-plugin-jest@^21.5.0:
version "21.5.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.5.0.tgz#c7a3bd2ee9d1c832b4e31dec89f6ad93e08d4853"
eslint-plugin-jest@^21.12.2:
version "21.12.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.12.2.tgz#325f7c6a5078aed51ea087c33c26792337b5ba37"

eslint-plugin-jsx-a11y@^6.0.3:
version "6.0.3"
Expand Down
13 changes: 5 additions & 8 deletions packages/generator-cmsgov/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
"name": "generator-cmsgov",
"private": true,
"version": "2.0.0",
"description": "Yeoman generator for automating the creation of a new design system component",
"files": [
"generators"
],
"keywords": [
"yeoman-generator"
],
"description":
"Yeoman generator for automating the creation of a new design system component",
"files": ["generators"],
"keywords": ["yeoman-generator"],
"dependencies": {
"yeoman-generator": "^2.0.1"
"yeoman-generator": "^2.0.3"
}
}
Loading

0 comments on commit 670ec7c

Please sign in to comment.