Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #52 from inthepocket/develop
Browse files Browse the repository at this point in the history
4.2.0
  • Loading branch information
thibmaek authored Aug 20, 2019
2 parents 1013523 + a3d8dcc commit 8cfc7dc
Show file tree
Hide file tree
Showing 39 changed files with 732 additions and 166 deletions.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ jobs:
steps:
- checkout
- <<: *install_node_modules
- run: bash generate_mocks.sh
- run:
name: Generate Mocks
command: |
bash generate_mocks.sh
test $(find __mocks__/figma/assets -type f -name "*.png" | wc -l | sed -e 's/^[ \t]*//') -eq 6
test $(find __mocks__/figma/assets -type f -name "*.svg" | wc -l | sed -e 's/^[ \t]*//') -eq 3
unit_tests_node_lts:
executor: node
Expand All @@ -71,6 +76,9 @@ jobs:
- <<: *install_node_modules
- run: ./node_modules/.bin/pkg cli.js -t node8-linux-x64 --output ./bin/hubble-cli
- run: ./bin/hubble-cli --version
- run:
command: |
[ $(npx -c 'echo "$npm_package_version"') = $(./bin/hubble-cli --version) ]
workflows:
version: 2
Expand Down
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged",
}
}
10 changes: 10 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"**/*.js": [
"itp-react-scripts lint -- --fix",
"itp-react-scripts format",
"git add"
],
"**/*.sh": [
"command -v shellcheck && shellcheck"
]
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
__mocks__
__tests__

*.test.js

jest.config.js
9 changes: 9 additions & 0 deletions __mocks__/figma/assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __mocks__/figma/assets/icons/hubble/plain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions __mocks__/figma/assets/icons/hubble/plain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions __mocks__/figma/assets/illustrations/hubble/telescope.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions __mocks__/figma/sample_dump.json
Original file line number Diff line number Diff line change
Expand Up @@ -6009,7 +6009,7 @@
"schemaVersion": 0,
"styles": {},
"name": "Hubble Figma Sample",
"lastModified": "2019-08-01T11:26:57.968542Z",
"thumbnailUrl": "https://s3-alpha-sig.figma.com/thumbnails/4f30cf1c-16d2-49bd-b66b-d44f1ab41059?Expires=1565568000&Signature=djcdoXbZFjHr9SnEl7ynKGKATgiUj3Zp2jTYliAIF6vLo02xtiVYCk7cWhuQTj1-owQ~cUzQltZsY259V1J3hsFUGTumr3cKez5Xj04zPZ2XSpBTJfe3unxZ1h~HV1yaetpTpRcwK891hBI6HAyZBViAUcWb7kys2za9zpYR32D6UvQEZy-FeOUz3iKotpw84Y1bLiBXdZRsAbL8kSDW5M822jhZ2Lx10lY9ZK8duZFxuL61Q0viYJ8kfWxUUmCUMEvaLWY6KYTwHrdTBka8vadT1N~mPKiYZoUMiJsJCtRofM-wwFZjZKvmJ6WJRfVA31LCNyfzMhvfHorhUGbcQQ__&Key-Pair-Id=APKAINTVSUGEWH5XD5UA",
"version": "156404211"
"lastModified": "2019-08-20T13:09:14.221958Z",
"thumbnailUrl": "https://s3-alpha-sig.figma.com/thumbnails/4d046bc9-07c5-4043-82e3-28b4808d2947?Expires=1567382400&Signature=Ac5jWhR-MSNBZvuNpBP~G5NbPulj1XHGvYcV5W9SZ3VX8KAfrC8x3GA9LmnEQ8SqIWw8PqyDWGid7gqIbRVyuIXNP1DvmwaCbJL7ykXvif0fyzabeq3ERyCaxWynY-lrLgLH~L3PL9Iro7y2oAY5sDmXCqYp0hoqdhnEQw1GeUWk4g1HflFTvgy0yJWmJ7xgHsvReZMUl1e3N~Ka7I0qdGrwCtXgI3hhJJu~VTkVQFWo9osU6GdIRgcb19h-qPtbpIw8dVvhMG~3Zf8TEiQvXh2jwUILZ96loh65AHBwBZRJMEuzG4IGquIlBRJe5wjCKTKcS8p0lZ0IfvpwxwQgnQ__&Key-Pair-Id=APKAINTVSUGEWH5XD5UA",
"version": "163204485"
}
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions __mocks__/sketch/exported_assets/icons/hubble/plain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8cfc7dc

Please sign in to comment.