Skip to content

Commit c1ae668

Browse files
author
Dimitri Kopriwa
committed
fix(dependencies): upgrade all dependencies
1 parent 3cc4118 commit c1ae668

File tree

4 files changed

+35
-45
lines changed

4 files changed

+35
-45
lines changed

.travis.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ branches:
77
except:
88
- gh-pages # will be deployed to, no need to build it
99

10-
cache:
11-
directories:
12-
- node_modules
10+
#cache:
11+
# directories:
12+
# - node_modules
1313

1414
before_install:
15-
- npm install -g npm
16-
# const
17-
- export PACKAGE_NAME=$(node -p "require('./package.json').name")
18-
- export PACKAGE_VERSION=$(node -p "require('./package.json').version")
19-
- export SONAR_VERSION=${PACKAGE_VERSION}-b${TRAVIS_BUILD_ID}-${TRAVIS_BRANCH}
20-
- export NODE_VERSION=$(node --version)
21-
- export NPM_VERSION=$(npm --version)
15+
- npm install -g npm
16+
# const
17+
- export PACKAGE_NAME=$(node -p "require('./package.json').name")
18+
- export PACKAGE_VERSION=$(node -p "require('./package.json').version")
19+
- export SONAR_VERSION=${PACKAGE_VERSION}-b${TRAVIS_BUILD_ID}-${TRAVIS_BRANCH}
20+
- export NODE_VERSION=$(node --version)
21+
- export NPM_VERSION=$(npm --version)
2222

23-
# logging
24-
- npm --version || echo npm not installed
25-
- node --version || echo node not installed
26-
- echo "package version $PACKAGE_VERSION"
23+
# logging
24+
- npm --version || echo npm not installed
25+
- node --version || echo node not installed
26+
- echo "package version $PACKAGE_VERSION"
2727

2828
stages:
2929
- build
@@ -53,7 +53,7 @@ jobs:
5353
organization: $(echo $TRAVIS_REPO_SLUG | awk -F '/' '{print $1}')
5454
script:
5555
- npm run test
56-
- if [[ "$TRAVIS_BRANCH" != greenkeeper* ]]; then sonar-scanner -Dsonar.projectVersion=${SONAR_VERSION}; fi
56+
- if [[ "$TRAVIS_BRANCH" != greenkeeper* && -n "$SONAR_TOKEN" ]]; then sonar-scanner -Dsonar.projectVersion=${SONAR_VERSION}; fi
5757

5858
# Job: Release
5959
- stage: release
@@ -70,12 +70,8 @@ jobs:
7070
node_js:
7171
- 'lts/*'
7272
script:
73-
- git fetch --tags
74-
- git checkout refs/tags/$(git describe --tags `git rev-list --tags --max-count=1`)
75-
- npm install
76-
- chmod +x styleguide/prepare.sh
77-
- styleguide/prepare.sh
78-
- npm run styleguide:build
73+
- targetVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
74+
- npx @rollup-umd/deploy --target-version "${targetVersion}"
7975
deploy:
8076
- provider: pages
8177
skip_cleanup: true

babel.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ module.exports = merge({
1919
],
2020
plugins: [
2121
'babel-plugin-array-includes',
22+
'babel-plugin-inline-react-svg',
2223
'@babel/plugin-transform-runtime',
2324
'@babel/plugin-transform-async-to-generator',
2425
'@babel/plugin-proposal-class-properties',
2526
'@babel/plugin-syntax-dynamic-import',
2627
'@babel/plugin-syntax-import-meta',
2728
'@babel/plugin-proposal-json-strings',
28-
[
29+
[
2930
'@babel/plugin-proposal-decorators',
3031
{
3132
legacy: true,

babel.ext.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,17 @@
180180
"@babel/polyfill": "^7.2.5",
181181
"@babel/preset-env": "^7.3.4",
182182
"@babel/preset-react": "^7.0.0",
183-
"@bootstrap-styled/documentation": "^1.2.4",
184-
"@bootstrap-styled/ra-ui": "^1.0.16",
185-
"@rollup-umd/documentation": "^1.3.16",
186-
"@rollup-umd/ncu": "^1.0.3",
183+
"@bootstrap-styled/documentation": "^2.0.0",
184+
"@bootstrap-styled/ra-ui": "^1.0.17",
185+
"@rollup-umd/documentation": "^2.0.1",
186+
"@rollup-umd/ncu": "^1.0.8",
187187
"@semantic-release/changelog": "^3.0.2",
188188
"@semantic-release/git": "^7.0.8",
189189
"@semantic-release/github": "^5.2.10",
190190
"@semantic-release/npm": "^5.1.4",
191-
"@yeutech-lab/test-polyfill": "^1.1.4",
191+
"@yeutech-lab/test-polyfill": "^1.1.5",
192192
"babel-eslint": "^10.0.1",
193-
"babel-jest": "^24.1.0",
193+
"babel-jest": "^24.3.1",
194194
"babel-loader": "^8.0.5",
195195
"babel-merge": "^2.0.1",
196196
"babel-plugin-add-module-exports": "^1.0.0",
@@ -203,24 +203,23 @@
203203
"enzyme": "^3.9.0",
204204
"enzyme-adapter-react-16": "^1.10.0",
205205
"es6-promise": "^4.2.6",
206-
"eslint": "^5.15.0",
206+
"eslint": "^5.15.1",
207207
"eslint-config-airbnb": "^17.1.0",
208208
"eslint-plugin-import": "^2.16.0",
209209
"eslint-plugin-jsx-a11y": "^6.2.1",
210210
"eslint-plugin-react": "^7.12.4",
211211
"exports-loader": "^0.7.0",
212-
"istanbul-api": "^2.1.0",
213-
"istanbul-reports": "^2.1.0",
214-
"jest-cli": "^24.1.0",
212+
"istanbul-api": "^2.1.1",
213+
"istanbul-reports": "^2.1.1",
214+
"jest-cli": "^24.3.1",
215215
"jest-sonar-reporter": "^2.0.0",
216216
"lint-staged": "^8.1.5",
217217
"pre-commit": "^1.2.2",
218218
"ra-core": "^2.6.4",
219219
"raf": "^3.4.1",
220-
"react": "^16.8.3",
221-
"react-dom": "^16.8.3",
222-
"react-styleguidist": "^8.0.6",
223-
"react-test-renderer": "^16.8.1",
220+
"react": "^16.8.4",
221+
"react-dom": "^16.8.4",
222+
"react-test-renderer": "^16.8.4",
224223
"semantic-release": "^15.13.3",
225224
"toctoc": "^0.3.2",
226225
"webpack": "^4.29.6"
@@ -229,10 +228,10 @@
229228
"prop-types": "^15.7.2"
230229
},
231230
"peerDependencies": {
232-
"react": "^16.8.3",
233-
"react-dom": "^16.8.3",
231+
"react": "^16.8.4",
232+
"react-dom": "^16.8.4",
234233
"ra-core": "^2.6.4",
235-
"@bootstrap-styled/ra-ui": "^1.0.16"
234+
"@bootstrap-styled/ra-ui": "^1.0.17"
236235
},
237236
"publishConfig": {
238237
"registry": "https://registry.npmjs.org",

0 commit comments

Comments
 (0)