Skip to content

Commit

Permalink
Fix READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Oct 28, 2024
1 parent ef83572 commit bdf6733
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
12 changes: 4 additions & 8 deletions examples/react-vite-browser-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Use this React Vite example app as a tool to start building an app with XMTP. This basic messaging app has an intentionally unopinionated UI to help make it easier for you to build with.

The app is built using the [React XMTP client SDK](/packages/react-sdk/README.md), [React](https://react.dev/), [Vite](https://vitejs.dev/), and [RainbowKit](https://www.rainbowkit.com/).
The app is built using the [XMTP client SDK for browsers](/sdks/browser-sdk/README.md), [React](https://react.dev/), and [Vite](https://vitejs.dev/).

To keep up with the latest example app developments, see the [Issues tab](https://github.com/xmtp/xmtp-web/issues) in this repo.
To keep up with the latest example app developments, see the [Issues tab](https://github.com/xmtp/xmtp-js/issues) in this repo.

To learn more about XMTP and get answers to frequently asked questions, see the [XMTP documentation](https://xmtp.org/docs).

Expand All @@ -14,15 +14,11 @@ This example app isn't a complete solution. For example, the list of conversatio

## Developing

1. In `packages/react-sdk`, run `yarn build` to build the React SDK.
2. In `examples/react-vite`, run `yarn dev` to start the development server.
1. In `sdks/browser-sdk`, run `yarn build` to build the browser SDK.
2. In `examples/react-vite-browser-sdk`, run `yarn dev` to start the development server.

## Useful commands

- `yarn build`: Builds the example app
- `yarn clean`: Removes `node_modules`, `dist`, and `.turbo` folders
- `yarn dev`: Launches the example app and watches for changes, which will trigger a rebuild
- `yarn format`: Runs prettier format and write changes
- `yarn format:check`: Runs prettier format check
- `yarn lint`: Runs ESLint
- `yarn typecheck`: Runs `tsc`
1 change: 0 additions & 1 deletion examples/react-vite-browser-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"clean": "rm -rf .turbo && rm -rf node_modules && yarn clean:dist",
"clean:dist": "rm -rf dist",
"dev": "vite",
"quickstart": "yarn dev",
"typecheck": "tsc"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sdks/browser-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The following table provides the deprecation schedule.
| -------------------------------------------------------------- | --------- | --------------- | --------- |
| There are no deprecations scheduled for this SDK at this time. | | | |

Bug reports, feature requests, and PRs are welcome in accordance with these [contribution guidelines](https://github.com/xmtp/xmtp-web/blob/main/CONTRIBUTING.md).
Bug reports, feature requests, and PRs are welcome in accordance with these [contribution guidelines](https://github.com/xmtp/xmtp-js/blob/main/CONTRIBUTING.md).

## Developing

Expand Down

0 comments on commit bdf6733

Please sign in to comment.