-
-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from jdalrymple/next
Version 5.0.0
- Loading branch information
Showing
150 changed files
with
9,486 additions
and
6,562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,10 @@ engines: | |
|
||
ratings: | ||
paths: | ||
- "**.ts" | ||
- '**.ts' | ||
|
||
exclude_paths: | ||
- node_modules | ||
- typings | ||
- coverage | ||
- dist | ||
- dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = lf | ||
|
||
# editorconfig-tools is unable to ignore longs strings or urls | ||
max_line_length = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ node_modules | |
npm-debug.log | ||
dist | ||
coverage | ||
.rpt2_cache | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
hooks: | ||
pre-commit": 'lint-staged' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
linters: | ||
lib/*.{js, ts}: | ||
- 'npm run lint:fix' | ||
- 'git add' | ||
lib/*.{json,md,yml}: | ||
- 'prettier --write' | ||
- 'git add' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
printWidth: 100 | ||
singleQuote: true | ||
trailingComma: all | ||
tabWidth: 2 | ||
useTabs: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
tagFormat: '${version}' | ||
verifyConditions: | ||
- "@semantic-release/changelog" | ||
- "@semantic-release/npm" | ||
- "@semantic-release/git" | ||
verifyConditions: | ||
- '@semantic-release/changelog' | ||
- '@semantic-release/npm' | ||
- '@semantic-release/git' | ||
prepare: | ||
- "@semantic-release/changelog" | ||
- "@semantic-release/npm" | ||
- "@semantic-release/git" | ||
- '@semantic-release/changelog' | ||
- '@semantic-release/npm' | ||
- '@semantic-release/git' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,66 @@ | ||
language: node_js | ||
|
||
stages: | ||
- lint and build | ||
- lint | ||
- build | ||
- test | ||
- coverage | ||
- release | ||
|
||
notifications: | ||
email: false | ||
|
||
jobs: | ||
include: | ||
- stage: lint and build | ||
node_js: 10.0.0 | ||
- stage: lint | ||
node_js: 10.15.3 | ||
script: | ||
- npm run lint | ||
- prettier --check './*.json' './*.yml' './*.md' | ||
|
||
- &build | ||
stage: build | ||
node_js: 10.15.3 | ||
script: | ||
- npm run build | ||
- <<: *build | ||
node_js: 8.9.0 | ||
|
||
- &test-unit | ||
stage: test | ||
node_js: 10.15.3 | ||
name: 'Unit Tests 10.15.3' | ||
script: | ||
- npm run test:unit | ||
- <<: *test-unit | ||
name: 'Unit Tests 8.9.0' | ||
node_js: 8.9.0 | ||
|
||
- stage: test | ||
node_js: 10.0.0 | ||
- &test-integration | ||
stage: test | ||
node_js: 10.15.3 | ||
name: 'Integration Tests 10.15.3' | ||
before_script: | ||
## Spin up container | ||
- cd test/docker/ | ||
- docker-compose -f docker-compose.test.yml up -d | ||
|
||
## Test for liveness | ||
# - docker exec -it gitlab bash -lc 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost/-/readiness)" != "200" ]]; do sleep 5; done' | ||
- sleep 240 | ||
|
||
- sleep 260 | ||
- export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc 'printf "%q" "${PERSONAL_ACCESS_TOKEN}"') | ||
- export GITLAB_URL=$(docker exec -it gitlab bash -lc 'printf "%q" "${GITLAB_URL}"') | ||
- echo $GITLAB_URL | ||
- echo $PERSONAL_ACCESS_TOKEN | ||
script: | ||
- npm run test | ||
- npm run test:integration | ||
- <<: *test-integration | ||
name: 'Integration Tests 8.9.0' | ||
node_js: 8.9.0 | ||
|
||
- stage: coverage | ||
node_js: 10.15.3 | ||
script: | ||
- npm run coverage | ||
|
||
- stage: release | ||
node_js: 10.0.0 | ||
node_js: 10.15.3 | ||
script: | ||
- npm run semantic-release | ||
- npm run release |
Oops, something went wrong.