Skip to content

Commit

Permalink
Updated packages and configuration files. (#527)
Browse files Browse the repository at this point in the history
* Updated packages and configuration files.
  • Loading branch information
sherakama authored Oct 28, 2019
1 parent 51c0b4f commit 058a44d
Show file tree
Hide file tree
Showing 7 changed files with 954 additions and 586 deletions.
9 changes: 8 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
version: "2"
engines:
checks:
method-complexity:
config:
threshold: 10
method-lines:
config:
threshold: 40
plugins:
# https://docs.codeclimate.com/docs/eslint
# ES Linting requires an .eslintrc file to tweak checks.
eslint:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.15.1
11.14.0
4 changes: 3 additions & 1 deletion .sass-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ files:
- node_modules/**/*.scss
- kss/builder/decanter/**/*.scss
include: "**/*.s+(a|c)ss"
options:
formatter: stylish
rules:
brace-style:
- 1
Expand All @@ -30,7 +32,7 @@ rules:
leading-zero:
- 1
- include: true
max-line-length: 120
max-line-length: 0
mixins-before-declarations: 0
name-format: 0
nesting-depth:
Expand Down
40 changes: 22 additions & 18 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
services:
# What to call the service hosting the site. Because there is only
# one service, it is automatically set as the default service, which
# does a few things
# 1. Clones the git repository into the service container
# 2. Exposes port 80 to the Tugboat HTTP proxy
# 3. Routes requests to the preview URL to this service
apache:

# Use the available version of Apache by not specifying a version
image: tugboatqa/httpd

# A set of commands to run while building this service
commands:

# Commands that set up the basic preview infrastructure
# Used in the base image as setup.
init:
- |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 10.15.1
nvm install 11.14.0
nvm use
npm install
npm run build
npm run styleguide
- rm -R node_modules
- ln -snf "${TUGBOAT_ROOT}/styleguide" "${DOCROOT}"
# Used in each of the preview builds.
build:
- |
NVM_DIR="$HOME/.nvm"
Expand All @@ -30,13 +25,20 @@ services:
npm run build
npm run styleguide
- rm -R node_modules
- ln -snf "${TUGBOAT_ROOT}/styleguide" "${DOCROOT}"

# Collection of urls to compare visual results.
visualdiffs:
- /
- /section-core.html
- /section-elements.html
# Core
- /item-core-colors.html
- /item-core-flexgrid.html
- /item-core-fonts.html
- /item-core-helpers-aspect-ratio.html
# Elements
- /item-elements-embedcontainer.html
- /item-elements-image.html
- /item-elements-list.html
- /item-elements-typography.html
# Components
- /item-components-alert.html
- /item-components-brand-bar.html
- /item-components-button.html
Expand All @@ -46,10 +48,12 @@ services:
- /item-components-global-footer.html
- /item-components-hero.html
- /item-components-link.html
- /item-components-local-footer.html
- /item-components-lockup.html
- /item-components-logo.html
- /item-components-main-navigation.html
- /item-components-masthead.html
- /item-components-quote.html
- /item-components-signup-form.html
- /item-components-site-search.html
- /item-components-skiplinks.html
Loading

0 comments on commit 058a44d

Please sign in to comment.