Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies - utilities #810

Merged
merged 7 commits into from
Jun 28, 2021
Merged
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
2 changes: 1 addition & 1 deletion config/release-it/branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const config = require('./common');
module.exports = merge({}, config, {
git: {
// eslint-disable-next-line no-template-curly-in-string
commitMessage: 'DROP - release ${version}\n[ci skip]'
commitMessage: 'DROP - release ${version}'
}
});
2 changes: 1 addition & 1 deletion config/release-it/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const config = require('./common');
module.exports = merge({}, config, {
git: {
// eslint-disable-next-line no-template-curly-in-string
commitMessage: ':package: release ${version}\n[ci skip]'
commitMessage: ':package: release ${version}'
},
github: {
release: true
Expand Down
2 changes: 0 additions & 2 deletions configs/babelrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"@babel/preset-react"
],
"plugins": [
["@babel/plugin-proposal-class-properties", { "loose": true }],
[
"@babel/plugin-transform-runtime",
{
Expand All @@ -31,7 +30,6 @@
"test": {
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
Expand Down
81 changes: 40 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,71 +17,70 @@
"release": "./scripts/release.sh"
},
"dependencies": {
"@babel/core": "7.11.4",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-export-namespace-from": "7.10.4",
"@babel/plugin-proposal-function-sent": "7.10.4",
"@babel/plugin-proposal-throw-expressions": "7.10.4",
"@babel/core": "7.14.6",
"@babel/plugin-proposal-export-namespace-from": "7.14.5",
"@babel/plugin-proposal-function-sent": "7.14.5",
"@babel/plugin-proposal-throw-expressions": "7.14.5",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-runtime": "7.11.0",
"@babel/preset-env": "7.11.0",
"@babel/preset-react": "7.10.4",
"@moonwalker/pre-flight-check": "1.0.32",
"assets-webpack-plugin": "5.1.1",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "7.14.7",
"@babel/preset-react": "7.14.5",
"@moonwalker/pre-flight-check": "1.3.5",
"assets-webpack-plugin": "5.1.2",
"async": "3.2.0",
"autoprefixer": "9.8.6",
"babel-jest": "26.3.0",
"babel-loader": "8.1.0",
"babel-plugin-graphql-tag": "3.0.0",
"autoprefixer": "10.2.6",
"babel-jest": "27.0.5",
"babel-loader": "8.2.2",
"babel-plugin-graphql-tag": "3.3.0",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-react-docgen": "4.1.0",
"babel-plugin-react-docgen": "4.2.1",
"babel-plugin-react-require": "3.1.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"bundle-stats-webpack-plugin": "2.2.0",
"bundle-stats-webpack-plugin": "3.0.1",
"clean-webpack-plugin": "3.0.0",
"copy-webpack-plugin": "6.0.3",
"css-loader": "3.6.0",
"cssnano": "4.1.10",
"debug": "4.1.1",
"dotenv": "8.2.0",
"copy-webpack-plugin": "6.4.0",
"css-loader": "5.2.6",
"cssnano": "5.0.6",
"debug": "4.3.1",
"dotenv": "10.0.0",
"fetch-cached": "2.0.3",
"file-loader": "6.0.0",
"file-loader": "6.2.0",
"friendly-errors-webpack-plugin": "1.7.0",
"fs-extra": "9.0.1",
"fs-extra": "10.0.0",
"generate-json-webpack-plugin": "1.0.0",
"graphql": "^15.3.0",
"graphql-tag": "^2.11.0",
"graphql": "15.5.1",
"graphql-tag": "2.12.4",
"html-minifier": "4.0.0",
"html-webpack-plugin": "4.3.0",
"isomorphic-fetch": "2.2.1",
"jest": "26.4.2",
"html-webpack-plugin": "4.5.2",
"jest": "27.0.5",
"json-stringify-safe": "5.0.1",
"lodash": "4.17.20",
"mini-css-extract-plugin": "0.10.0",
"node-fetch": "2.6.0",
"postcss-loader": "3.0.0",
"postcss-reporter": "6.0.1",
"lodash": "4.17.21",
"mini-css-extract-plugin": "1.6.0",
"node-fetch": "2.6.1",
"postcss": "8.3.5",
"postcss-loader": "4.3.0",
"postcss-reporter": "7.0.2",
"promise-retry": "2.0.1",
"react-svg-loader": "3.0.3",
"source-map-loader": "^1.1.2",
"stats-webpack-plugin": "0.7.0",
"style-loader": "1.2.1",
"stylelint": "13.6.1",
"style-loader": "2.0.0",
"stylelint": "13.13.1",
"stylus": "0.54.8",
"stylus-loader": "3.0.2",
"terser-webpack-plugin": "4.1.0",
"terser-webpack-plugin": "4.2.3",
"webpack": "4.44.1",
"webpack-bundle-analyzer": "3.8.0",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0",
"webpack-bundle-analyzer": "4.4.2",
"webpack-cli": "4.7.2",
"webpack-dev-server": "3.11.2",
"webpack-merge": "4.2.2",
"workbox-webpack-plugin": "4.3.1",
"worker-farm": "1.7.0",
"xmlbuilder": "15.1.1"
},
"devDependencies": {
"@release-it/conventional-changelog": "1.1.4",
"release-it": "13.6.9"
"@release-it/conventional-changelog": "2.0.1",
"release-it": "14.6.2"
}
}
39 changes: 16 additions & 23 deletions src/webpack/config/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,31 @@ module.exports = (options, env) => {
{
loader: 'css-loader',
options: {
sourceMap: true,
onlyLocals: node,
modules: {
context: paths.src,
exportOnlyLocals: node,
localIdentContext: paths.src,
localIdentName: isDevelopment ? '[path][name]__[local]' : '[hash:base64:5]'
}
}
},
{
loader: 'postcss-loader',
options: {
sourceMap: true,
plugins: [
...(lint ? [stylelint()] : []),
autoprefixer(),
...(isDevelopment
? []
: [
cssnano({
postcssOptions: {
plugins: [
...(lint ? [stylelint()] : []),
autoprefixer(),
...(isDevelopment
? []
: [
// Avoid removing the relative (`./`) notation, webpack needs it
preset: [
'default',
{
normalizeUrl: false
}
]
})
]),
postcssReporter({
clearAllMessages: true
})
]
cssnano({ preset: ['default', { normalizeUrl: false }] })
]),
postcssReporter({
clearAllMessages: true
})
]
}
}
}
]
Expand Down
3 changes: 1 addition & 2 deletions src/webpack/config/stylus.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ module.exports = (options = {}) => {
enforce: 'pre',
loader: 'stylus-loader',
options: {
paths: include,
sourceMap: true
paths: include
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/webpack/getRoutes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const async = require('async');
const fetch = require('isomorphic-fetch');
const fetch = require('node-fetch');

const { ENV } = require('../constants');
const { debug } = require('../utils');
Expand Down
Loading