diff --git a/src/lib/components/site/docs/badges-jsrepo/badges-table-dynamic.svelte b/src/lib/components/site/docs/badges-jsrepo/badges-table-dynamic.svelte new file mode 100644 index 0000000..07c4993 --- /dev/null +++ b/src/lib/components/site/docs/badges-jsrepo/badges-table-dynamic.svelte @@ -0,0 +1,134 @@ + + + + + + Badge + + + + + {#each dynamicBadges as { alt, href }, i (i)} + + +
+ + +
+
+ + + + {#snippet child({ props })} + + {/snippet} + + +
+
+ + +
+
+ +
+ {#if registry !== ''} + {#key debounced.current} + + {/key} + {/if} +
+
+ + {#snippet child({ status })} + {#if status === 'success'} +
+ + Copied +
+ {:else} +
+ + Copy Url + Copy +
+ {/if} + {/snippet} +
+ + {#snippet child({ status })} + {#if status === 'success'} +
+ + Copied +
+ {:else} +
+ + Copy Markdown + Copy +
+ {/if} + {/snippet} +
+
+
+
+
+
+ {/each} +
+
diff --git a/src/lib/components/site/docs/badges-jsrepo/index.ts b/src/lib/components/site/docs/badges-jsrepo/index.ts new file mode 100644 index 0000000..a9b5004 --- /dev/null +++ b/src/lib/components/site/docs/badges-jsrepo/index.ts @@ -0,0 +1,3 @@ +import TableDynamic from './badges-table-dynamic.svelte'; + +export { TableDynamic }; diff --git a/src/lib/docs/registry/providers/jsrepo.md b/src/lib/docs/registry/providers/jsrepo.md index ffd7112..46e55bf 100644 --- a/src/lib/docs/registry/providers/jsrepo.md +++ b/src/lib/docs/registry/providers/jsrepo.md @@ -4,6 +4,10 @@ description: How to publish your registry to jsrepo.com. lastUpdated: 5-7-2025 --- + + [jsrepo.com](https://jsrepo.com) is the best way to host your registry. Here's a few of the key advantages over other providers: - 🔒 First class support for private registries with the `jsrepo auth` command @@ -224,3 +228,7 @@ jsrepo init @ieedan/std@latest **jsrepo.com** also has first class support for private registries. It's easier than ever to share code with your entire team using **jsrepo.com**. Once you have invited your team to an organization on **jsrepo.com** they will be able to access any public or private registries in the scopes owned by that organization with their own PAT. + +## Badges + +