-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storybook and yarn updates for v4 (#719)
* Merge pull request #696 from teamsnap/update-storybook-6 Update storybook 6 * add netlify toml Co-authored-by: Sara Lohr <sara.lohr@teamsnap.com>
- Loading branch information
1 parent
d7525c2
commit 4e7e1c8
Showing
48 changed files
with
31,291 additions
and
13,593 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
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,12 @@ | ||
dist | ||
node_modules | ||
.DS_Store | ||
storybook-static | ||
|
||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/releases | ||
!.yarn/plugins | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.pnp.* |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
module.exports = { | ||
stories: [ | ||
'../src/**/*.stories.@(tsx|js)', | ||
], | ||
addons: [ | ||
'@storybook/addon-actions', | ||
'@storybook/addon-docs', | ||
'@storybook/addon-knobs', | ||
'@whitespace/storybook-addon-html', | ||
] | ||
}; |
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,7 @@ | ||
// Import css | ||
import "!style-loader!css-loader!sass-loader!../src/css/teamsnap-ui.scss"; | ||
import "!style-loader!css-loader!sass-loader!./storybook.scss"; | ||
|
||
export const parameters = { | ||
viewMode: 'docs' | ||
} |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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,3 @@ | ||
yarnPath: ".yarn/releases/yarn-berry.cjs" | ||
nodeLinker: node-modules | ||
enableGlobalCache: 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
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,20 @@ | ||
# netlify.toml -> https://www.netlify.com/docs/netlify-toml-reference/ | ||
|
||
# Settings in build context are global and applied to all unless otherwise overridden by other contextx | ||
[build] | ||
# Directory to change to before starting a build, location of package.json | ||
base = "/" | ||
|
||
# Specific branch context, all deploys from this specific branch will inherit these settings. | ||
|
||
# Production context: all deploys from the Production branch set in your site's | ||
# deploy contexts will inherit these settings. | ||
[context.v4] | ||
publish = "dist/" | ||
command = "yarn deploy" | ||
|
||
# Route redirects for Netlify | ||
[[redirects]] | ||
from = "/*" | ||
to = "/index.html" | ||
status = 200 |
Oops, something went wrong.