-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(spire): change tooling and build system to spire
- Loading branch information
Showing
34 changed files
with
4,501 additions
and
2,609 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["@researchgate/babel-preset-rg"] | ||
"presets": ["@researchgate/babel-preset"] | ||
} |
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,3 @@ | ||
node_modules | ||
lib | ||
.docs |
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 @@ | ||
// Keep this file for editor support | ||
module.exports = require('@researchgate/spire-config/eslint'); |
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,5 +1,6 @@ | ||
node_modules | ||
npm-debug.log* | ||
yarn-error.log | ||
lib | ||
coverage | ||
/node_modules | ||
/lib | ||
/src/coverage | ||
/.docs |
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 @@ | ||
node_modules/ | ||
yarn.lock |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
"spire-plugin-prettier/config" |
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,10 +1,10 @@ | ||
import * as storybook from '@storybook/react'; | ||
import { configure } from '@storybook/react'; | ||
import { setOptions } from '@storybook/addon-options'; | ||
|
||
setOptions({ | ||
name: 'React Intersection Observer', | ||
url: 'https://github.com/researchgate/react-intersection-observer', | ||
downPanelInRight: true, | ||
name: 'React Intersection Observer', | ||
url: 'https://github.com/researchgate/react-intersection-observer', | ||
downPanelInRight: true, | ||
}); | ||
|
||
storybook.configure(() => require('../docs/docs/index.js'), module); | ||
configure(() => require('../docs/docs/index.js'), module); |
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 +1,4 @@ | ||
<link href="//fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> | ||
<link | ||
href="https://fonts.googleapis.com/css?family=Roboto&display=swap" | ||
rel="stylesheet" | ||
/> |
This file was deleted.
Oops, something went wrong.
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,21 +1,18 @@ | ||
language: node_js | ||
node_js: | ||
- "8" | ||
- "9" | ||
- "10" | ||
cache: yarn | ||
deploy: | ||
local_dir: docs | ||
local_dir: .docs | ||
provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN # Set on travis-ci.org dashboard | ||
on: | ||
branch: master | ||
condition: '"$TRAVIS_JOB_NUMBER" == *.1' | ||
before_script: | ||
- 'if [[ -n "$TRAVIS_TAG" ]] && [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn run create-github-release; fi' | ||
script: | ||
- yarn run lint | ||
- yarn test --ci --coverage | ||
- 'if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn run build:storybook; fi' | ||
- "(yarn lint && yarn test --ci --coverage) || travis_terminate" | ||
- 'if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn build:storybook || travis_terminate 1; fi' | ||
- yarn release | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
Oops, something went wrong.