Skip to content

Commit fff9c52

Browse files
committed
fix(spire): change tooling and build system to spire
1 parent da47573 commit fff9c52

34 files changed

+4501
-2609
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["@researchgate/babel-preset-rg"]
2+
"presets": ["@researchgate/babel-preset"]
33
}

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
lib
3+
.docs

.eslintrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Keep this file for editor support
2+
module.exports = require('@researchgate/spire-config/eslint');

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
node_modules
21
npm-debug.log*
32
yarn-error.log
4-
lib
5-
coverage
3+
/node_modules
4+
/lib
5+
/src/coverage
6+
/.docs

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
yarn.lock

.prettierrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"spire-plugin-prettier/config"

.storybook/config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import * as storybook from '@storybook/react';
1+
import { configure } from '@storybook/react';
22
import { setOptions } from '@storybook/addon-options';
33

44
setOptions({
5-
name: 'React Intersection Observer',
6-
url: 'https://github.com/researchgate/react-intersection-observer',
7-
downPanelInRight: true,
5+
name: 'React Intersection Observer',
6+
url: 'https://github.com/researchgate/react-intersection-observer',
7+
downPanelInRight: true,
88
});
99

10-
storybook.configure(() => require('../docs/docs/index.js'), module);
10+
configure(() => require('../docs/docs/index.js'), module);

.storybook/preview-head.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
<link href="//fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
1+
<link
2+
href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
3+
rel="stylesheet"
4+
/>

0 commit comments

Comments
 (0)