-
Notifications
You must be signed in to change notification settings - Fork 2
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 #7 from social-native/develop
v1.0.0 release
- Loading branch information
Showing
41 changed files
with
14,528 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,121 @@ | ||
defaults: &defaults | ||
working_directory: ~/snpkg-snapi-connections | ||
|
||
save-cache: &save-cache | ||
save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
restore-cache: &restore-cache | ||
restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
version: 2 | ||
jobs: | ||
test: | ||
<<: *defaults | ||
docker: | ||
- image: circleci/node:8.11.4-jessie | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- run: npm install | ||
- *save-cache | ||
- run: NODE_ENV=test NODE_ENV=test npm run migrate:latest | ||
- run: NODE_ENV=test npm run seed:run | ||
- run: npm run test | ||
|
||
build-verification: | ||
<<: *defaults | ||
docker: | ||
- image: circleci/node:8.11.4-jessie | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- run: npm install | ||
- run: npm run build | ||
|
||
type-check: | ||
<<: *defaults | ||
docker: | ||
- image: circleci/node:8.11.4-jessie | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- run: npm install | ||
- *save-cache | ||
- run: npm run type-check | ||
|
||
lint-check: | ||
<<: *defaults | ||
docker: | ||
- image: circleci/node:8.11.4-jessie | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- run: npm install | ||
- *save-cache | ||
- run: npm run lint | ||
|
||
beauty-check: | ||
<<: *defaults | ||
docker: | ||
- image: circleci/node:8.11.4-jessie | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- run: npm install | ||
- *save-cache | ||
- run: npm run prettier -- --check | ||
|
||
dependency-check: | ||
<<: *defaults | ||
docker: | ||
- image: circleci/node:8.11.4-jessie | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- run: npm install | ||
- *save-cache | ||
- run: npm run dep-check | ||
- store_artifacts: | ||
path: /tmp/dependency-check-output.json | ||
|
||
workflows: | ||
version: 2 | ||
test-build-deploy: | ||
jobs: | ||
- test: | ||
filters: | ||
tags: # run for every branch | ||
only: /^[0-9]+(\.[0-9]+)*$/ | ||
|
||
- build-verification: | ||
filters: | ||
tags: # run for every branch | ||
only: /^[0-9]+(\.[0-9]+)*$/ | ||
|
||
- type-check: | ||
filters: | ||
tags: # run for every branch | ||
only: /^[0-9]+(\.[0-9]+)*$/ | ||
|
||
- lint-check: | ||
filters: | ||
tags: # run for every branch | ||
only: /^[0-9]+(\.[0-9]+)*$/ | ||
|
||
- beauty-check: | ||
filters: | ||
tags: # run for every branch | ||
only: /^[0-9]+(\.[0-9]+)*$/ | ||
|
||
- dependency-check: | ||
filters: | ||
tags: # run for every branch | ||
only: /^[0-9]+(\.[0-9]+)*$/ | ||
|
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 |
---|---|---|
|
@@ -59,3 +59,12 @@ typings/ | |
|
||
# next.js build output | ||
.next | ||
|
||
# rollup | ||
.rpt2_cache | ||
|
||
# sqllite | ||
*.sqlite3 | ||
|
||
# dependency check | ||
tmp |
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,8 @@ | ||
{ | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"bracketSpacing": false, | ||
"printWidth": 100 | ||
} |
Oops, something went wrong.