Skip to content

Commit b3e4b8a

Browse files
authored
Merge pull request #27 from BBVAEngineering/feature-decorator-position
Feature decorator position
2 parents 8aa09d9 + 440fef1 commit b3e4b8a

File tree

9 files changed

+7835
-10929
lines changed

9 files changed

+7835
-10929
lines changed

.huskyrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
module.exports = {
44
hooks: {
55
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
6-
'pre-push': 'npm run lint && npm test'
6+
'pre-push': 'yarn lint && yarn test'
77
}
88
};

.travis.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,33 @@
11
---
22
language: node_js
3-
node_js: stable
4-
sudo: false
5-
dist: trusty
3+
node_js: "10"
4+
dist: xenial
65

76
addons:
87
chrome: stable
98

10-
cache:
11-
directories:
12-
- $HOME/.npm
9+
cache: yarn
1310

1411
env:
1512
global:
1613
- JOBS=1
1714

18-
jobs:
19-
fail_fast: true
15+
branches:
16+
only:
17+
- master
18+
- /^release/\d+\.\d+/
2019

20+
jobs:
2121
include:
2222
- stage: "Tests"
2323
before_install:
24-
- npm config set spin false
25-
- npm install -g npm@6
2624
- npm install -g codecov
27-
- npm install -g greenkeeper-lockfile@1
2825
- npm install -g @commitlint/travis-cli
29-
- npm --version
30-
install:
31-
- if [[ $TRAVIS_BRANCH =~ greenkeeper || $TRAVIS_PULL_REQUEST_BRANCH =~ greenkeeper ]]; then npx lerna bootstrap --no-ci; else npx lerna bootstrap --ci; fi
32-
before_script:
33-
- greenkeeper-lockfile-update
26+
- yarn --version
3427
script:
3528
- commitlint-travis
36-
- npm run lint
37-
- npm test
38-
after_script:
39-
- greenkeeper-lockfile-upload
29+
- yarn lint
30+
- yarn test
4031
after_success:
4132
- npm run codecov
4233

lerna.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
2-
"packages": [
3-
"packages/*"
4-
],
5-
"version": "independent",
6-
"command": {
7-
"version": {
8-
"allowBranch": "master",
9-
"message": "chore(release): publish [skip ci]"
10-
}
11-
}
2+
"command": {
3+
"version": {
4+
"allowBranch": "master",
5+
"message": "chore(release): publish [skip ci]"
6+
}
7+
},
8+
"npmClient": "yarn",
9+
"packages": [
10+
"packages/*"
11+
],
12+
"useWorkspaces": true,
13+
"version": "independent"
1214
}

0 commit comments

Comments
 (0)