Skip to content

Commit

Permalink
Update greenkeeper to current epic/v10 state
Browse files Browse the repository at this point in the history
  • Loading branch information
illepic committed Dec 29, 2017
2 parents 18fcc13 + ed75943 commit 8c0582c
Show file tree
Hide file tree
Showing 350 changed files with 27,644 additions and 10,741 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015"]
}
"presets": ["env"]
}
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@
[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[composer.{json,lock}]
indent_size = 4
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Ignore any path/file using .gitignore syntax, ie:
# js/vendor

dist/
apps/pl/pattern-lab
# Ignore yeoman new-component for now
tools/new-component
23 changes: 15 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
// rule reference: http://eslint.org/docs/rules
// individual rule reference: http://eslint.org/docs/rules/NAME-OF-RULE
// Rule reference: http://eslint.org/docs/rules
// Individual rule reference: http://eslint.org/docs/rules/NAME-OF-RULE
module.exports = {
extends: "airbnb",
globals: {
Drupal: true,
jQuery: true,
_: true,
domready: true,
BUILD_TARGET: true,
},
env: {
"browser": true,
},
rules: {
'no-comma-dangle': [0],
'strict': [0],
'no-param-reassign': [1, {
props: false,
}],
'no-console': [0], // turned off for now while we are console.logging everywhere.
'react/require-extension': [0],
'import/no-extraneous-dependencies': ["error", {"devDependencies": true}],
},
settings: {
'import/resolver': {
webpack: {
config: 'webpack.shared.config.js'
}
}
}
};
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
# Compiled files
dest/
source/_patterns/01-atoms/images/_icons-settings.scss
dist/
source/_patterns/01-atoms/icon/font/
source/_patterns/01-atoms/icon/scss/_icon-map-generated.scss

# OS generated files
.DS_Store
.DS_Store?
._.DS_Store
._.DS_Store?

# Dependencies
bower_components
node_modules
vendor

# Generated files
*.sass-cache/
.eslintcache
*unison.*

#IDE plugins
.idea
Expand Down
2 changes: 0 additions & 2 deletions .stylelintignore

This file was deleted.

22 changes: 10 additions & 12 deletions .stylelintrc.js → .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
'use strict';
// Docs: http://stylelint.io
// Style lint rule detail: https://github.com/stylelint/stylelint/tree/master/src/rules/RULE-NAME

module.exports = {
plugins: [
{
"plugins": [
"stylelint-scss",
],
ignoreFiles: [],
rules: {
"ignoreFiles": [
"apps/pl/pattern-lab/**/*"
],
"rules": {
"declaration-colon-space-after": "always",
"declaration-no-important": true,
"indentation": 2,
"max-nesting-depth": 3,
"selector-max-specificity": "0,3,3",
"selector-no-id": true,
"selector-max-id": 0,
"scss/at-extend-no-missing-placeholder": true,
"scss/selector-no-redundant-nesting-selector": true,
"at-rule-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
},
};
"value-no-vendor-prefix": true
}
}
40 changes: 25 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
language: php
# Tests will be for each version in `php` combined with each node version in `env`
php:
- 5.5
- 7.0
- 5.6
- 7.1
env:
- TRAVIS_NODE_VERSION="4"
- TRAVIS_NODE_VERSION="6"
matrix:
- CXX=g++-4.8 TRAVIS_NODE_VERSION="8"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
# - composer clear-cache
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- composer self-update
- . $HOME/.nvm/nvm.sh
- nvm install $TRAVIS_NODE_VERSION
- nvm use $TRAVIS_NODE_VERSION
- npm install -g npm5
install:
- npm install
- npm run setup
- composer clear-cache
- npm install
- npm run setup
before_script:
- php --version
- node --version
- npm --version
script: 'npm run compile && npm test'
- php --version
- composer --version
- node --version
- npm --version
script: npm run lint && npm run compile:pl
notifications:
email:
on_success: never
on_success: always
on_failure: always
flowdock:
secure: RBLFcGBNV8iBA3pBGqGzq5o2Kt+X0IESDtuWnamGurhXItdd0Qh8LZwGmbcZdBuncJQ/WvC5/umCZykf0BeMOiu5TnhJKH3ett0qQT8dxJI9aykwbk/+xyCX09tQJ6jejhcDmu394SUlXYb8DBPnlmE345EVbtjFt9Wxo+ZskCo=
secure: dE853wBiC+WZkrB1IWks/pALiBu/CjCVgulay9A7ptW2uWuv2Y4Wr+pLcELVUl0AYBMTBc20mwWilDO0nf0vnwBrX7oXkCRkAwlDcNt+u/ZR3dykCaDlUq88+2XBBFLBDGriCI1bZ2eTS14ED7QbfnHf71caYKJjrUa2nXwBGc0=
Loading

0 comments on commit 8c0582c

Please sign in to comment.