Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

Commit

Permalink
Updating some dependencies (#182)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Update axios

* Update resolve

* Update jest

* Update lodash

* Update autoprefixer

* Update chalk

* Update fs-extra

* Update promise

* Update postcss settings

* Remove postcss-flexbugs-fixes

* Remove digital climate strike widget
  • Loading branch information
marians authored Jan 6, 2021
1 parent 822a8fc commit 0e25194
Show file tree
Hide file tree
Showing 6 changed files with 892 additions and 784 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10-slim AS builder
FROM node:12-slim AS builder

WORKDIR /

Expand All @@ -14,7 +14,7 @@ ADD src /src

RUN yarn build

FROM nginx:1.17-alpine
FROM nginx:1.18-alpine

# move this file, as /etc/nginx/ will be masked by a volume
RUN cp /etc/nginx/mime.types /mime.types
Expand Down
18 changes: 2 additions & 16 deletions config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,22 +167,8 @@ module.exports = {
{
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebookincubator/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
],
flexbox: 'no-2009',
}),
],
},
options: {}
}
},
],
},
Expand Down
18 changes: 2 additions & 16 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,22 +187,8 @@ module.exports = {
{
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebookincubator/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
],
flexbox: 'no-2009',
}),
],
},
options: {}
}
},
],
},
Expand Down
25 changes: 15 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"private": true,
"homepage": "https://green-spider.netzbegruenung.de",
"dependencies": {
"axios": "^0.19.2",
"axios": "^0.21.1",
"bootstrap": ">=4.4.1",
"chalk": "^3.0.0",
"chalk": "^4.1.0",
"chroma-js": "^2.1.0",
"css-loader": "0.28.11",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"fs-extra": "8.1.0",
"fs-extra": "9.0.1",
"history": "^4.10.1",
"jest": "25.5.4",
"lodash": "^4.17.13",
"jest": "26.6.3",
"lodash": "^4.17.20",
"merge": "1.2.1",
"object-assign": "4.1.1",
"promise": "^8.0.3",
"promise": "^8.1.0",
"prop-types": "^15.7.2",
"punycode": "^2.1.1",
"raf": "^3.4.1",
Expand All @@ -27,14 +27,14 @@
"react-infinite-scroller": "^1.2.4",
"react-router-dom": "^5.1.2",
"react-transition-group": "^4.3.0",
"resolve": "^1.15.1",
"resolve": "^1.19.0",
"style-loader": "^0.23.1",
"sw-precache-webpack-plugin": "^0.11.5",
"underscore": "^1.10.2",
"whatwg-fetch": "3.0.0"
},
"devDependencies": {
"autoprefixer": "^9.7.5",
"autoprefixer": "^10.1.0",
"babel-core": "^6.26.3",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
Expand All @@ -53,7 +53,6 @@
"file-loader": "2.0.0",
"html-webpack-plugin": "3.2.0",
"js-yaml": "^3.13.1",
"postcss-flexbugs-fixes": "4.2.0",
"postcss-loader": "3.0.0",
"url-loader": "1.1.2",
"webpack": "3.8.1",
Expand Down Expand Up @@ -106,5 +105,11 @@
},
"eslintConfig": {
"extends": "react-app"
}
},
"browserslist": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 9"
]
}
9 changes: 0 additions & 9 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,5 @@
</noscript>

<div id="root"></div>

<script type="text/javascript">
var DIGITAL_CLIMATE_STRIKE_OPTIONS = {
language: 'de',
disableGoogleAnalytics: true,
showCloseButtonOnFullPageWidget: true
};
</script>
<script src="https://assets.digitalclimatestrike.net/widget.js" async></script>
</body>
</html>
Loading

0 comments on commit 0e25194

Please sign in to comment.