Skip to content

Commit f63cbb6

Browse files
author
Dimitri Kopriwa
committed
feat(greenkeeper): added greenkeeper and updated all deps
1 parent 0756ee9 commit f63cbb6

File tree

4 files changed

+48
-49
lines changed

4 files changed

+48
-49
lines changed

.npmignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ sonar-project.properties
33
.gitlab-ci.yml
44
internals
55
.babelrc
6-
babel.config.js
76
babel.ext.json
7+
babel.config.json
88
.editorconfig
99
.eslintignore
1010
bundle-stats.html
1111
CODE_OF_CONDUCT.md
12+
CHANGELOG.md
13+
README.md
14+
CONTRIBUTING.md
1215
declination.json
1316
rollup.config.js
1417
/styleguide.config.js
@@ -18,5 +21,3 @@ coverage/
1821
docs/
1922
reports/
2023
/styleguide
21-
lib/**/*.md
22-
src/**/*.md

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
organization: $(echo $TRAVIS_REPO_SLUG | awk -F '/' '{print $1}')
5454
script:
5555
- npm run test
56-
- sonar-scanner -Dsonar.projectVersion=${SONAR_VERSION}
56+
- if [[ "$TRAVIS_BRANCH" != greenkeeper* ]]; then sonar-scanner -Dsonar.projectVersion=${SONAR_VERSION}; fi
5757

5858
# Job: Release
5959
- stage: release

package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -125,74 +125,74 @@
125125
}
126126
},
127127
"devDependencies": {
128-
"@babel/cli": "^7.0.0",
129-
"@babel/core": "^7.0.0",
130-
"@babel/plugin-external-helpers": "^7.0.0",
131-
"@babel/plugin-proposal-class-properties": "^7.0.0",
132-
"@babel/plugin-proposal-decorators": "^7.0.0",
133-
"@babel/plugin-proposal-json-strings": "^7.0.0",
134-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
135-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
136-
"@babel/plugin-syntax-import-meta": "^7.0.0",
137-
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
138-
"@babel/plugin-transform-react-constant-elements": "^7.0.0",
139-
"@babel/plugin-transform-react-inline-elements": "^7.0.0",
140-
"@babel/preset-env": "^7.0.0",
128+
"@babel/cli": "^7.2.0",
129+
"@babel/core": "^7.2.2",
130+
"@babel/plugin-external-helpers": "^7.2.0",
131+
"@babel/plugin-proposal-class-properties": "^7.2.1",
132+
"@babel/plugin-proposal-decorators": "^7.2.2",
133+
"@babel/plugin-proposal-json-strings": "^7.2.0",
134+
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
135+
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
136+
"@babel/plugin-syntax-import-meta": "^7.2.0",
137+
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
138+
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
139+
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
140+
"@babel/preset-env": "^7.2.0",
141141
"@babel/preset-react": "^7.0.0",
142-
"@bootstrap-styled/documentation": "^1.0.9",
143-
"@bootstrap-styled/provider": "^1.3.0",
144-
"@bootstrap-styled/rsg-components": "^1.0.15",
145-
"@bootstrap-styled/v4": "^1.2.11",
146-
"@rollup-umd/documentation": "^1.0.21",
142+
"@bootstrap-styled/documentation": "^1.2.0",
143+
"@bootstrap-styled/provider": "^1.4.0",
144+
"@bootstrap-styled/rsg-components": "^1.1.0",
145+
"@bootstrap-styled/v4": "^1.3.0",
146+
"@rollup-umd/documentation": "^1.3.0",
147147
"@semantic-release/changelog": "^3.0.1",
148148
"@semantic-release/git": "^7.0.5",
149-
"@semantic-release/github": "^5.2.5",
150-
"@semantic-release/npm": "^5.1.1",
149+
"@semantic-release/github": "^5.2.6",
150+
"@semantic-release/npm": "^5.1.2",
151151
"babel-core": "^7.0.0-bridge.0",
152152
"babel-eslint": "^10.0.1",
153-
"babel-jest": "^23.4.2",
154-
"babel-loader": "^8.0.0",
153+
"babel-jest": "^23.6.0",
154+
"babel-loader": "^8.0.4",
155155
"babel-plugin-add-module-exports": "^1.0.0",
156156
"babel-plugin-array-includes": "^2.0.3",
157157
"babel-plugin-dynamic-import-node": "^2.2.0",
158158
"babel-plugin-react-intl": "^3.0.1",
159159
"babel-plugin-react-transform": "^3.0.0",
160-
"babel-plugin-styled-components": "^1.9.2",
161-
"babel-plugin-transform-react-remove-prop-types": "^0.4.8",
160+
"babel-plugin-styled-components": "^1.9.4",
161+
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
162162
"babel-preset-react-hmre": "^1.1.1",
163163
"cz-conventional-changelog": "^2.1.0",
164-
"enzyme": "^3.0.0",
165-
"enzyme-adapter-react-16": "^1.0.0",
164+
"enzyme": "^3.8.0",
165+
"enzyme-adapter-react-16": "^1.7.1",
166166
"eslint": "^5.10.0",
167167
"eslint-config-airbnb": "^17.1.0",
168-
"eslint-plugin-import": "^2.7.0",
168+
"eslint-plugin-import": "^2.14.0",
169169
"eslint-plugin-jsx-a11y": "^6.1.2",
170-
"eslint-plugin-react": "^7.3.0",
170+
"eslint-plugin-react": "^7.11.1",
171171
"jest-cli": "^23.6.0",
172172
"jest-sonar-reporter": "^2.0.0",
173173
"lint-staged": "^8.1.0",
174174
"lodash.camelcase": "^4.3.0",
175175
"lodash.omit": "^4.5.0",
176176
"pre-commit": "^1.2.2",
177-
"raf": "^3.3.2",
177+
"raf": "^3.4.1",
178178
"react": "^16.6.3",
179179
"react-dom": "^16.6.3",
180180
"react-styleguidist": "^8.0.6",
181-
"react-test-renderer": "^16.0.0",
181+
"react-test-renderer": "^16.6.3",
182182
"rimraf": "^2.6.2",
183183
"rollup": "^0.68.0",
184-
"rollup-plugin-babel": "^4.0.1",
184+
"rollup-plugin-babel": "^4.1.0",
185185
"rollup-plugin-cleanup": "^3.0.0",
186-
"rollup-plugin-commonjs": "^9.1.0",
187-
"rollup-plugin-inject": "^2.0.0",
186+
"rollup-plugin-commonjs": "^9.2.0",
187+
"rollup-plugin-inject": "^2.2.0",
188188
"rollup-plugin-json": "^3.1.0",
189189
"rollup-plugin-node-builtins": "^2.1.2",
190190
"rollup-plugin-node-resolve": "^4.0.0",
191-
"rollup-plugin-replace": "^2.0.0",
192-
"rollup-plugin-uglify": "^6.0.0",
191+
"rollup-plugin-replace": "^2.1.0",
192+
"rollup-plugin-terser": "^3.0.0",
193193
"rollup-plugin-visualizer": "^0.9.2",
194194
"rollup-watch": "^4.3.1",
195-
"semantic-release": "^15.9.1",
195+
"semantic-release": "^15.13.0",
196196
"sinon": "^7.2.2",
197197
"styled-components": "^4.1.2",
198198
"toctoc": "^0.3.2",
@@ -246,8 +246,8 @@
246246
"lint-staged"
247247
],
248248
"dependencies": {
249-
"@bootstrap-styled/utils": "^1.6.4",
250-
"bootstrap-styled": "^2.2.2",
249+
"@bootstrap-styled/utils": "^1.7.1",
250+
"bootstrap-styled": "^2.3.0",
251251
"classnames": "^2.2.6",
252252
"immutable": "^4.0.0-rc.12",
253253
"map-to-css-modules": "^1.0.6",

rollup.config.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import commonjs from 'rollup-plugin-commonjs';
55
import inject from 'rollup-plugin-inject';
66
import babel from 'rollup-plugin-babel';
77
import json from 'rollup-plugin-json';
8-
import uglify from 'rollup-plugin-uglify';
8+
import { terser } from 'rollup-plugin-terser';
99
import cleanup from 'rollup-plugin-cleanup';
1010
import visualizer from 'rollup-plugin-visualizer';
1111
import builtins from 'rollup-plugin-node-builtins';
@@ -83,11 +83,9 @@ const plugins = [
8383
cleanup(),
8484
];
8585

86-
if (prod) plugins.push(uglify(), visualizer({ filename: './bundle-stats.html' }));
87-
88-
export default {
86+
export default output.map((o) => ({
8987
input: 'src/index.js',
9088
external,
91-
output,
92-
plugins,
93-
};
89+
output: o,
90+
plugins: prod ? plugins.concat([terser(), visualizer({ filename: './bundle-stats.html' })]) : plugins,
91+
}));

0 commit comments

Comments
 (0)