You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# @sa-community/addons-data
2
2
3
-
This repository contains [the script](.github/workflows/update.yml)that generates[@sa-community/addons-data](https://npmjs.com/package/@sa-community/addons-data).
3
+
This repository contains [the script](.github/workflows/update.yml)used to auto-generate[@sa-community/addons-data](https://npmjs.com/package/@sa-community/addons-data).
The package, including addon manifests, is fully typed.
25
+
The package is fully typed, including all addon manifests.
25
26
The [addon manifest typedef](types.d.ts) is based off [manifest-schema](https://github.com/ScratchAddons/manifest-schema), and I try to keep them as similar as possible.
26
27
27
28
All [addon manifests on Scratch Addons's `master` branch](https://github.com/ScratchAddons/ScratchAddons/tree/master/addons) are typechecked against that typedef every 12 hours.
@@ -40,8 +41,8 @@ Everything the typedef checks is also checked by the JSON Schema, but there are
40
41
- No extraneous properties
41
42
- Every addon having one of the "main" tags (community, editor, player, popup)
42
43
43
-
The main advantage of using the typedefover the schema for manifest verification is ease of maintainability.
44
-
TypeScript typedefs are also more portable and can be used in more contexts than a JSON schema could be.
44
+
Ease of maintenance is the typedef's main advantage over the schema for manifest verification.
45
+
TypeScript typedefs are also more portable and could be used in more contexts than a JSON schema could be.
0 commit comments