-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Riley/c 2822 inbox doesnt refetch unreadmessagecount (#55)
* save * fix Co-authored-by: riley napier <[email protected]>
- Loading branch information
1 parent
8a302b4
commit 4d3eb63
Showing
13 changed files
with
184 additions
and
70 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## Contributing to `courier-react` | ||
|
||
👍🎉 First off, thanks for taking the time to contribute! 🎉👍 | ||
|
||
# Quick Start | ||
|
||
We use `yarn` here at Courier, so please use yarn aswell so we don't have to have conflicting `package.lock` and `yarn.lock` files. | ||
|
||
1. `git clone https://github.com/trycourier/courier-react.git` | ||
2. `cd courier-react` | ||
3. `yarn` | ||
4. `yarn start` | ||
|
||
After running step #4, we will start a storybook instance and this is where you will do most all of your development. | ||
|
||
# Monorepo | ||
|
||
This is a monorepo using [Lerna](https://www.lerna.com) and contains many packages that are installed separately while depending on each other. All packages are versioned together. | ||
|
||
--- | ||
|
||
### Development | ||
|
||
All commands in a monorepo are run in the `root` of the project. You should never have to navigate into any of the sub-packages to do any development. | ||
|
||
### Commands | ||
|
||
- `yarn` | ||
|
||
There is a postinstall task that will bootstrap the `lerna` project and `symlink` each package to eachother if they have dependencies to other packages in this repo. | ||
|
||
- `yarn start` | ||
|
||
This will initiate a `storybook` instance inside `packages/storybook`. THis is where all development for these packages should be done. | ||
|
||
- `yarn lerna:version` | ||
Bump the packages version, should be done before publishing. | ||
|
||
- `yarn publish` | ||
|
||
This will publish the packages to `npm` and version them together. This should only be run via `github actions`. | ||
|
||
- `yarn typecheck` | ||
|
||
Run typechecking on each package | ||
|
||
- `yarn build` | ||
|
||
Run `babel` and transpile each package to a consumable js `dist` folder. | ||
|
||
- `yarn clean` | ||
|
||
Cleans all `node_modules` from each package and deletes the root `node_modules`. Sometimes useful if packages have gotten out of date. | ||
|
||
--- |
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
Empty file.
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
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,11 @@ | ||
import React from "react"; | ||
|
||
export default { | ||
title: "Introduction", | ||
argTypes: {}, | ||
args: {}, | ||
}; | ||
|
||
export const Default = () => { | ||
return <div>hello world</div>; | ||
}; |
Oops, something went wrong.