Skip to content

Commit 1b38bfe

Browse files
committed
Update manifest schema
1 parent acb3673 commit 1b38bfe

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

public/manifest.schema.json

+4
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@
101101
"description": "A longer description that can use Markdown.",
102102
"type": "string"
103103
},
104+
"donate": {
105+
"description": "A donation link (or other method of support). If you don't want financial contributions, consider putting your favorite charity here!",
106+
"type": "string"
107+
},
104108
"name": {
105109
"description": "A human friendly name for your extension as a proper noun.",
106110
"type": "string"

src/content/docs/dev/publishing.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ moonlight CI builds the `develop` branch automatically. This section is for publ
4848
- Remember to `git pull` and `pnpm i` beforehand so you are up to date.
4949
- Commit and push to the sample extension.
5050
- Update [create-extension](https://github.com/moonlight-mod/create-extension) following [these instructions](#publishing-other-libraries).
51+
- If the manifest type was updated, regenerate the schema: `pnpx ts-json-schema-generator --path './packages/types/src/*.ts' --type ExtensionManifest -f ./tsconfig.json > ../moonlight-mod.github.io/public/manifest.schema.json`
5152

5253
## Publishing other libraries
5354

0 commit comments

Comments
 (0)