-
Notifications
You must be signed in to change notification settings - Fork 12
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 #290 from insitu-project/release-apiv3
Release apiv3
- Loading branch information
Showing
552 changed files
with
8,859 additions
and
23,859 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,4 +1,11 @@ | ||
{ | ||
"presets": [["@babel/preset-env", { "useBuiltIns": "entry" }], "@babel/preset-react"], | ||
"plugins": ["add-module-exports", "babel-plugin-styled-components", "@babel/plugin-proposal-class-properties"] | ||
"plugins": [ | ||
"add-module-exports", | ||
"babel-plugin-styled-components", | ||
["babel-plugin-module-resolver", { | ||
"root": ["./src"] | ||
}], | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
} |
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
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 @@ | ||
src/lib/heap.ts |
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 @@ | ||
{ | ||
"singleQuote": true | ||
} |
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,2 @@ | ||
import '@storybook/addon-actions/register' | ||
import '@storybook/addon-actions/register'; | ||
import '@storybook/addon-knobs/register'; |
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,31 @@ | ||
import { configure, addDecorator } from "@storybook/react"; | ||
import React from "react"; | ||
import { createGlobalStyle, ThemeProvider } from "styled-components"; | ||
import theme from "../src/app/theme"; | ||
import "typeface-lato"; | ||
import "typeface-sedgwick-ave"; | ||
import NotificationContainer from "components/organisms/Notification/Container"; | ||
|
||
const Global = createGlobalStyle` | ||
body { | ||
background-color: grey; | ||
} | ||
`; | ||
|
||
addDecorator(getStory => ( | ||
<div> | ||
<Global /> | ||
<ThemeProvider theme={theme}> | ||
<NotificationContainer>{getStory()}</NotificationContainer> | ||
</ThemeProvider> | ||
</div> | ||
)); | ||
|
||
// automatically import all files ending in *.stories.js | ||
const req = require.context("../src", true, /stories.tsx?$/); | ||
|
||
function loadStories() { | ||
req.keys().forEach((filename: string) => req(filename)); | ||
} | ||
|
||
configure(loadStories, 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const path = require("path"); | ||
const rules = require("../webpack/config.rules"); | ||
|
||
const env = { build: 'dev'}; | ||
|
||
module.exports = storybookBaseConfig => { | ||
storybookBaseConfig.module.rules = rules(env, 'development'); | ||
storybookBaseConfig.resolve.extensions.push(".ts", ".tsx"); | ||
storybookBaseConfig.resolve.modules.push( | ||
path.resolve(__dirname, "..", "src") | ||
); | ||
storybookBaseConfig.stats = require("../webpack/config.stats"); | ||
return storybookBaseConfig; | ||
}; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.