Skip to content

Commit

Permalink
fix(dependencies): upgrade all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Kopriwa committed Mar 11, 2019
1 parent 3cc4118 commit c1ae668
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 45 deletions.
38 changes: 17 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ branches:
except:
- gh-pages # will be deployed to, no need to build it

cache:
directories:
- node_modules
#cache:
# directories:
# - node_modules

before_install:
- npm install -g npm
# const
- export PACKAGE_NAME=$(node -p "require('./package.json').name")
- export PACKAGE_VERSION=$(node -p "require('./package.json').version")
- export SONAR_VERSION=${PACKAGE_VERSION}-b${TRAVIS_BUILD_ID}-${TRAVIS_BRANCH}
- export NODE_VERSION=$(node --version)
- export NPM_VERSION=$(npm --version)
- npm install -g npm
# const
- export PACKAGE_NAME=$(node -p "require('./package.json').name")
- export PACKAGE_VERSION=$(node -p "require('./package.json').version")
- export SONAR_VERSION=${PACKAGE_VERSION}-b${TRAVIS_BUILD_ID}-${TRAVIS_BRANCH}
- export NODE_VERSION=$(node --version)
- export NPM_VERSION=$(npm --version)

# logging
- npm --version || echo npm not installed
- node --version || echo node not installed
- echo "package version $PACKAGE_VERSION"
# logging
- npm --version || echo npm not installed
- node --version || echo node not installed
- echo "package version $PACKAGE_VERSION"

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

# Job: Release
- stage: release
Expand All @@ -70,12 +70,8 @@ jobs:
node_js:
- 'lts/*'
script:
- git fetch --tags
- git checkout refs/tags/$(git describe --tags `git rev-list --tags --max-count=1`)
- npm install
- chmod +x styleguide/prepare.sh
- styleguide/prepare.sh
- npm run styleguide:build
- targetVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
- npx @rollup-umd/deploy --target-version "${targetVersion}"
deploy:
- provider: pages
skip_cleanup: true
Expand Down
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ module.exports = merge({
],
plugins: [
'babel-plugin-array-includes',
'babel-plugin-inline-react-svg',
'@babel/plugin-transform-runtime',
'@babel/plugin-transform-async-to-generator',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-syntax-import-meta',
'@babel/plugin-proposal-json-strings',
[
[
'@babel/plugin-proposal-decorators',
{
legacy: true,
Expand Down
6 changes: 0 additions & 6 deletions babel.ext.json

This file was deleted.

33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,17 @@
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@bootstrap-styled/documentation": "^1.2.4",
"@bootstrap-styled/ra-ui": "^1.0.16",
"@rollup-umd/documentation": "^1.3.16",
"@rollup-umd/ncu": "^1.0.3",
"@bootstrap-styled/documentation": "^2.0.0",
"@bootstrap-styled/ra-ui": "^1.0.17",
"@rollup-umd/documentation": "^2.0.1",
"@rollup-umd/ncu": "^1.0.8",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"@semantic-release/github": "^5.2.10",
"@semantic-release/npm": "^5.1.4",
"@yeutech-lab/test-polyfill": "^1.1.4",
"@yeutech-lab/test-polyfill": "^1.1.5",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-jest": "^24.3.1",
"babel-loader": "^8.0.5",
"babel-merge": "^2.0.1",
"babel-plugin-add-module-exports": "^1.0.0",
Expand All @@ -203,24 +203,23 @@
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"es6-promise": "^4.2.6",
"eslint": "^5.15.0",
"eslint": "^5.15.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"exports-loader": "^0.7.0",
"istanbul-api": "^2.1.0",
"istanbul-reports": "^2.1.0",
"jest-cli": "^24.1.0",
"istanbul-api": "^2.1.1",
"istanbul-reports": "^2.1.1",
"jest-cli": "^24.3.1",
"jest-sonar-reporter": "^2.0.0",
"lint-staged": "^8.1.5",
"pre-commit": "^1.2.2",
"ra-core": "^2.6.4",
"raf": "^3.4.1",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-styleguidist": "^8.0.6",
"react-test-renderer": "^16.8.1",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-test-renderer": "^16.8.4",
"semantic-release": "^15.13.3",
"toctoc": "^0.3.2",
"webpack": "^4.29.6"
Expand All @@ -229,10 +228,10 @@
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"ra-core": "^2.6.4",
"@bootstrap-styled/ra-ui": "^1.0.16"
"@bootstrap-styled/ra-ui": "^1.0.17"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
Expand Down

0 comments on commit c1ae668

Please sign in to comment.