Skip to content

Commit 57f702b

Browse files
committed
adding a readme
1 parent 4673561 commit 57f702b

File tree

1 file changed

+19
-0
lines changed
  • apps/svelte.dev/scripts/sync-packages

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# sync-packages
2+
3+
This script syncs the packages metadata from NPM & GitHub.
4+
5+
## Usage
6+
7+
```bash
8+
pnpm sync-packages
9+
```
10+
11+
## Notes
12+
13+
- All packages `names` are in `FEATURED` and `SV_ADD` of [packages-meta.ts](apps/svelte.dev/src/lib/packages-meta.ts) file.
14+
15+
If you want to add or remove a package, you need to update these 2 objects and run the script again (it will update the json files in the `src/lib/server/generated/registry` directory).
16+
17+
- [sync-packages.yml](/.github/workflows/sync-packages.yml) is responsible for running the script regularly and update all metadata (it can also be triggered manually).
18+
19+
- Ambassadors and maintainers are curating the list of packages.

0 commit comments

Comments
 (0)