-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ac32fb
commit ceb4951
Showing
10 changed files
with
11,456 additions
and
6,309 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
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 @@ | ||
pnpm lint-staged | ||
npx lint-staged |
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,14 +1,5 @@ | ||
# Local SDK development | ||
|
||
We have two example projects, which can be used to test the latest SDK release, as well as new changes to the SDK. | ||
When developing the SDK locally, you can enable the SDK to rebuild "on save" by running `npm run dev`. | ||
|
||
- [discord-activity-starter](https://github.com/discord/embedded-app-sdk/blob/main/examples/discord-activity-starter) is a minimal application example | ||
- [sdk-playground](https://github.com/discord/embedded-app-sdk/blob/main/examples/sdk-playground) is a playground for testing any SDK functionality | ||
|
||
These projects consume this repo's root `@discord/embedded-app-sdk` directly via [pnpm workspaces](https://pnpm.io/workspaces) | ||
|
||
To test changes to the SDK, locally, with either of these projects, you must do the following: | ||
|
||
1. From terminal, navigate to the root of either project's directory, (i.e. examples/discord-application-start or examples/sdk-playground) | ||
2. Start up the example's web server with `pnpm dev`. | ||
3. In another terminal, start up the SDK's development pipeline with `pnpm dev` from the root of the repository. | ||
We recommend testing changes to the SDK against the SDK-Playground example, which can be found [here](https://github.com/discord/embedded-app-sdk-examples/tree/main/sdk-playground#testing-sdk-changes-locally). |
Oops, something went wrong.