This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into danger-edit-pr
- Loading branch information
Showing
61 changed files
with
5,359 additions
and
806 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,17 +1,30 @@ | ||
const path = require("path"); | ||
const webpack = require("webpack"); | ||
|
||
const { | ||
OccurenceOrderPlugin, | ||
includePaths, | ||
excludePaths | ||
} = require("@storybook/react-native/dist/server/config/utils"); | ||
|
||
module.exports = { | ||
devtool: "#inline-source-map", // Otherwise getting errors about e.g. `Relay` not being defined. | ||
resolve: { | ||
extensions: ["", ".js", ".jsx", ".ts", ".tsx"], | ||
extensions: [".js", ".jsx", ".ts", ".tsx"] | ||
}, | ||
module: { | ||
loaders: [ | ||
{ | ||
test: /\.tsx?$/, | ||
exclude: /node_modules/, | ||
loaders: ["awesome-typescript-loader?configFileName=./tsconfig.json&silent=true&transpileOnly=true&target=es6&useBabel=true&useCache=true"], | ||
}, | ||
], | ||
loaders: [ | ||
"awesome-typescript-loader?configFileName=./tsconfig.json&silent=true&transpileOnly=true&target=es6&useBabel=true&useCache=true" | ||
] | ||
} | ||
] | ||
}, | ||
} | ||
plugins: [ | ||
new OccurenceOrderPlugin(), | ||
new webpack.HotModuleReplacementPlugin() | ||
] | ||
}; |
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
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 { AppRegistry } from 'react-native'; | ||
import { getStorybookUI, configure } from '@kadira/react-native-storybook'; | ||
import { AppRegistry } from "react-native"; | ||
import { getStorybookUI, configure } from "@storybook/react-native"; | ||
|
||
// import your stories | ||
configure(() => { | ||
require("../../src/storiesRoot") | ||
require("../../src/storiesRegistry"); | ||
}, module); | ||
|
||
const StorybookUI = getStorybookUI({port: 9001, host: 'localhost'}); | ||
AppRegistry.registerComponent('Storybook', () => StorybookUI); | ||
const StorybookUI = getStorybookUI({ port: 9001, host: "localhost" }); | ||
AppRegistry.registerComponent("Storybook", () => StorybookUI); |
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
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 @@ | ||
// In TypeScript 2.4 this can turn into an Enum | ||
// https://github.com/Microsoft/TypeScript/pull/15486 | ||
|
||
export default { | ||
"garamond-regular": "AGaramondPro-Regular", | ||
"garamond-italic": "AGaramondPro-Italic", | ||
"avant-garde-regular": "Avant Garde Gothic ITCW01Dm", | ||
} |
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
2 changes: 1 addition & 1 deletion
2
src/lib/components/artist/__stories__/artist_articles.story.tsx
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
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.