Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jsrepo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/jsrepo@1.47.0/schemas/project-config.json",
"repos": ["github/ieedan/std", "github/ieedan/shadcn-svelte-extras"],
"repos": ["@ieedan/std", "@ieedan/shadcn-svelte-extras"],
"includeTests": false,
"watermark": true,
"formatter": "prettier",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"flexsearch": "^0.7.43",
"globals": "^16.0.0",
"isomorphic-dompurify": "^2.23.0",
"jsrepo": "^1.47.0",
"jsrepo": "^2.0.0",
"markdown-it": "^14.1.0",
"markdown-it-table": "^4.1.1",
"mdsx": "^0.0.6",
Expand Down
494 changes: 376 additions & 118 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/lib/backend/db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ export const registries = pgTable('registries', {
});

export type Registry = typeof registries.$inferSelect;

export const featuredRegistries = pgTable('featured_registries', {
url: text().notNull(),
created_at: timestamp()
});
2 changes: 2 additions & 0 deletions src/lib/components/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import React from './react.svelte';
import JavaScript from './javascript.svelte';
import Vue from './vue.svelte';
import Jsrepo from './jsrepo.svelte';
import JsrepoWordmark from './jsrepo-wordmark.svelte';
import GitLab from './gitlab.svelte';
import BitBucket from './bitbucket.svelte';
import Yaml from './yaml.svelte';
Expand All @@ -32,6 +33,7 @@ export {
JavaScript,
Vue,
Jsrepo,
JsrepoWordmark,
GitLab,
BitBucket,
Yaml,
Expand Down
53 changes: 53 additions & 0 deletions src/lib/components/icons/jsrepo-wordmark.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<script lang="ts">
import type { Props } from '.';
import { cn } from '$lib/utils/utils';

let { class: className, ...rest }: Props = $props();
</script>

<svg
class={cn('h-4', className)}
viewBox="0 0 6303 2541"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<g clip-path="url(#clip0_393_47)">
<path
d="M6081 40H235C131.17 40 47 124.17 47 228V2301C47 2404.83 131.17 2489 235 2489H6081C6184.83 2489 6269 2404.83 6269 2301V228C6269 124.17 6184.83 40 6081 40Z"
fill="#F7DD1D"
stroke="black"
stroke-width="6.94488"
/>
<path
d="M495 614.001C477 638.001 468 666.001 468 694.001C468 734.001 486 774.001 521 800.001C521 800.001 794 1006 955 1127C795 1248 521 1454 521 1454C486 1480 468 1520 468 1560C468 1588 477 1616 495 1640C539 1699 623 1710 681 1666L1255 1233C1288 1208 1308 1169 1308 1127C1308 1085 1288 1046 1255 1021L681 588.001C622 544.001 539 555.001 495 614.001Z"
fill="black"
/>
<path
d="M5648 1237C5648 1288 5635 1327 5611 1351C5586 1376 5551 1388 5504 1388C5458 1388 5423 1376 5397 1351C5372 1326 5359 1288 5359 1237V1033C5359 982 5372 944 5397 919C5423 894 5458 882 5504 882C5551 882 5586 894 5611 919C5636 944 5648 982 5648 1033V1237ZM5793 860C5765 811 5726 773 5676 747C5627 722 5569 709 5503 709C5437 709 5378 722 5330 747C5280 773 5241 811 5213 860C5186 908 5172 966 5172 1033V1237C5172 1303 5186 1361 5213 1409C5241 1458 5280 1497 5330 1523C5379 1548 5437 1561 5503 1561C5569 1561 5628 1548 5676 1523C5726 1497 5765 1459 5793 1410C5820 1361 5834 1303 5834 1238V1032C5834 966 5820 909 5793 860ZM4864 1240C4864 1291 4852 1330 4827 1356C4802 1382 4769 1394 4724 1394C4681 1394 4648 1381 4623 1355C4597 1328 4585 1290 4585 1240V1030C4585 980 4597 942 4623 915C4648 888 4681 876 4724 876C4769 876 4803 889 4827 914C4852 940 4864 979 4864 1030V1240ZM4766 706C4695 706 4637 726 4593 765C4590 768 4588 771 4585 774C4585 768 4585 721 4585 721H4399V1803H4585V1549C4585 1549 4585 1518 4584 1496C4587 1499 4590 1503 4593 1506C4638 1545 4696 1565 4765 1565C4823 1565 4873 1552 4916 1526C4959 1500 4992 1462 5015 1414C5038 1367 5050 1311 5050 1248V1023C5050 927 5024 850 4973 794C4921 737 4851 708 4765 708L4766 706ZM3789 1030C3789 978 3802 938 3827 911C3852 884 3888 872 3937 872C3986 872 4022 885 4047 911C4072 938 4084 978 4084 1030C4084 1030 4084 1037 4084 1040H3789C3789 1036 3789 1030 3789 1030ZM4079 1318C4074 1344 4061 1362 4039 1375C4014 1389 3980 1397 3937 1397C3888 1397 3852 1384 3827 1358C3802 1332 3789 1292 3789 1240C3789 1240 3789 1217 3789 1196C3842 1196 4267 1196 4267 1196V1030C4267 965 4253 908 4226 860C4199 811 4159 773 4109 746C4060 719 4001 706 3936 706C3871 706 3812 719 3763 746C3713 773 3674 811 3646 860C3619 908 3605 965 3605 1030V1240C3605 1304 3619 1361 3646 1409C3673 1458 3713 1497 3763 1524C3812 1551 3871 1564 3936 1564C4023 1564 4097 1543 4157 1502C4219 1459 4255 1401 4264 1328L4268 1294H4083L4078 1319L4079 1318ZM3187 706C3113 706 3056 728 3014 771C3014 766 3014 720 3014 720H2830V1550H3016V1030C3016 978 3029 939 3053 912C3078 886 3111 873 3156 873C3202 873 3235 886 3259 911C3283 937 3295 977 3295 1030V1095H3481V1019C3481 925 3454 848 3401 792C3347 735 3275 706 3185 706H3187ZM2417 1046L2314 1029C2271 1022 2250 1011 2240 1003C2236 1000 2223 990 2223 957C2223 931 2230 913 2245 901C2261 888 2291 881 2330 881H2383C2415 881 2440 887 2458 898C2474 908 2483 921 2487 937L2492 960H2677L2671 925C2660 859 2629 805 2578 766C2528 727 2462 708 2382 708H2329C2234 708 2161 730 2112 772C2061 816 2036 877 2036 955C2036 1029 2058 1086 2101 1126C2142 1164 2204 1190 2285 1204L2389 1221C2426 1227 2454 1237 2471 1252C2486 1265 2493 1283 2493 1307C2493 1332 2485 1350 2468 1364C2449 1379 2419 1387 2377 1387H2318C2283 1387 2255 1381 2236 1368C2218 1356 2208 1342 2204 1323L2199 1299H2015L2019 1333C2024 1379 2040 1420 2066 1454C2092 1488 2127 1514 2171 1533C2213 1551 2263 1560 2319 1560H2378C2477 1560 2552 1537 2603 1491C2655 1445 2681 1381 2681 1301C2681 1225 2659 1166 2615 1125C2572 1085 2508 1059 2418 1044L2417 1046ZM1762 402C1724 402 1692 413 1669 434C1645 456 1633 486 1633 523C1633 559 1645 588 1670 610C1693 631 1725 641 1763 641C1801 641 1833 630 1856 610C1880 588 1893 559 1893 523C1893 486 1881 456 1857 434C1834 412 1802 402 1764 402H1762ZM1353 895C1353 895 1625 895 1675 895C1675 950 1675 1476 1675 1476C1675 1525 1662 1561 1636 1587C1609 1613 1572 1625 1522 1625H1311V1802H1522C1624 1802 1707 1772 1768 1714C1830 1655 1861 1575 1861 1477V721H1353V896V895Z"
fill="black"
/>
<g clip-path="url(#clip1_393_47)">
<path
d="M574 1975C542 1975 516 2001 516 2033C516 2065 542 2091 574 2091H5719C5751 2091 5777 2065 5777 2033C5777 2001 5751 1975 5719 1975H574Z"
fill="black"
/>
</g>
<path
d="M565 2033C565 2028 569 2024 574 2024H5719C5724 2024 5728 2028 5728 2033C5728 2038 5724 2042 5719 2042H574C569 2042 565 2038 565 2033ZM574 1927C515 1927 468 1975 468 2033C468 2092 516 2139 574 2139H5719C5778 2139 5825 2091 5825 2033C5825 1974 5777 1927 5719 1927H574Z"
fill="black"
/>
<path
d="M97 2303V238C97 160 160 97 238 97H6065C6143 97 6206 160 6206 238V2303C6206 2381 6143 2444 6065 2444H238C160 2444 97 2381 97 2303ZM238 0C107 0 0 107 0 238V2303C0 2434 107 2541 238 2541H6065C6196 2541 6303 2434 6303 2303V238C6303 107 6196 0 6065 0H238Z"
fill="#F7DD1D"
/>
</g>
<defs>
<clipPath id="clip0_393_47">
<rect width="6303" height="2541" fill="white" />
</clipPath>
<clipPath id="clip1_393_47">
<rect width="5260" height="116" fill="white" transform="translate(517 1975)" />
</clipPath>
</defs>
</svg>
29 changes: 21 additions & 8 deletions src/lib/components/icons/jsrepo.svelte
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
<script lang="ts">
import type { Props } from '.';
import { cn } from '$lib/utils';
import { cn } from '$lib/utils/utils';

let { class: className, ...rest }: Props = $props();
</script>

<svg
class={cn('h-4', className)}
viewBox="0 0 80 30"
class={cn('size-4', className)}
width="3153"
height="3153"
viewBox="0 0 3153 3153"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<g clip-path="url(#clip0_373_27)">
<path d="M0 0H80V30H0V0Z" fill="#F7DF1E" />
<g clip-path="url(#clip0_393_3)">
<path
d="M12.312 23.88V22.024H14.664C15.1973 22.024 15.608 21.88 15.896 21.592C16.184 21.304 16.328 20.8987 16.328 20.376V14.056H12.792V12.2H18.328V20.424C18.328 21.4907 18.008 22.3333 17.368 22.952C16.728 23.5707 15.864 23.88 14.776 23.88H12.312ZM17.256 10.728C16.8507 10.728 16.5307 10.6267 16.296 10.424C16.0613 10.2107 15.944 9.928 15.944 9.576C15.944 9.224 16.0613 8.94667 16.296 8.744C16.5307 8.53067 16.8507 8.424 17.256 8.424C17.6613 8.424 17.9813 8.53067 18.216 8.744C18.4507 8.94667 18.568 9.224 18.568 9.576C18.568 9.928 18.4507 10.2107 18.216 10.424C17.9813 10.6267 17.6613 10.728 17.256 10.728ZM25.0578 21.144C24.3858 21.144 23.7991 21.0373 23.2978 20.824C22.7964 20.6107 22.4018 20.3173 22.1138 19.944C21.8364 19.56 21.6871 19.112 21.6658 18.6H23.6658C23.6871 18.8773 23.8204 19.1013 24.0658 19.272C24.3218 19.4427 24.6524 19.528 25.0578 19.528H25.7618C26.2524 19.528 26.6204 19.432 26.8658 19.24C27.1111 19.048 27.2338 18.7867 27.2338 18.456C27.2338 18.1467 27.1218 17.9067 26.8978 17.736C26.6844 17.5547 26.3484 17.4373 25.8898 17.384L24.8018 17.224C23.7991 17.0853 23.0631 16.8187 22.5938 16.424C22.1244 16.0293 21.8898 15.4373 21.8898 14.648C21.8898 13.8267 22.1671 13.192 22.7218 12.744C23.2764 12.2853 24.0924 12.056 25.1698 12.056H25.7778C26.7591 12.056 27.5431 12.2747 28.1298 12.712C28.7164 13.1493 29.0311 13.736 29.0738 14.472H27.0738C27.0418 14.2373 26.9084 14.0453 26.6738 13.896C26.4498 13.7467 26.1511 13.672 25.7778 13.672H25.1698C24.7111 13.672 24.3751 13.7573 24.1618 13.928C23.9591 14.088 23.8578 14.328 23.8578 14.648C23.8578 14.9467 23.9484 15.1707 24.1298 15.32C24.3111 15.4587 24.6044 15.56 25.0098 15.624L26.1458 15.784C27.1911 15.9333 27.9591 16.216 28.4498 16.632C28.9511 17.0373 29.2018 17.64 29.2018 18.44C29.2018 19.2933 28.9084 19.96 28.3218 20.44C27.7458 20.9093 26.8924 21.144 25.7618 21.144H25.0578ZM31.6915 21V12.2H33.5795V13.88H34.0755L33.4835 14.904C33.4835 13.9547 33.6968 13.24 34.1235 12.76C34.5502 12.28 35.1795 12.04 36.0115 12.04C36.9608 12.04 37.7075 12.3333 38.2515 12.92C38.7955 13.5067 39.0675 14.3173 39.0675 15.352V15.992H36.9715V15.496C36.9715 14.9307 36.8222 14.4933 36.5235 14.184C36.2355 13.8747 35.8355 13.72 35.3235 13.72C34.8008 13.72 34.3955 13.8747 34.1075 14.184C33.8302 14.4933 33.6915 14.9307 33.6915 15.496V21H31.6915ZM44.5973 21.16C43.8506 21.16 43.1999 21.016 42.6453 20.728C42.0906 20.44 41.6586 20.04 41.3493 19.528C41.0506 19.0053 40.9013 18.3973 40.9013 17.704V15.496C40.9013 14.8027 41.0506 14.2 41.3493 13.688C41.6586 13.1653 42.0906 12.76 42.6453 12.472C43.1999 12.184 43.8506 12.04 44.5973 12.04C45.3333 12.04 45.9733 12.184 46.5173 12.472C47.0719 12.76 47.4986 13.1653 47.7973 13.688C48.1066 14.2 48.2613 14.8027 48.2613 15.496V17.08H42.8373V17.704C42.8373 18.3227 42.9866 18.792 43.2853 19.112C43.5839 19.4213 44.0266 19.576 44.6133 19.576C45.0613 19.576 45.4239 19.5013 45.7013 19.352C45.9786 19.192 46.1546 18.9627 46.2293 18.664H48.1973C48.0479 19.4213 47.6426 20.0293 46.9813 20.488C46.3306 20.936 45.5359 21.16 44.5973 21.16ZM46.3253 15.96V15.48C46.3253 14.872 46.1813 14.408 45.8933 14.088C45.6053 13.7573 45.1733 13.592 44.5973 13.592C44.0213 13.592 43.5839 13.7573 43.2853 14.088C42.9866 14.4187 42.8373 14.888 42.8373 15.496V15.832L46.4693 15.8L46.3253 15.96ZM50.607 23.88V12.2H52.559V13.88H53.007L52.559 14.344C52.559 13.6293 52.7723 13.0693 53.199 12.664C53.6257 12.248 54.2017 12.04 54.927 12.04C55.8123 12.04 56.5217 12.344 57.055 12.952C57.5883 13.56 57.855 14.376 57.855 15.4V17.784C57.855 18.4667 57.7323 19.064 57.487 19.576C57.2523 20.0773 56.9163 20.4667 56.479 20.744C56.0417 21.0213 55.5243 21.16 54.927 21.16C54.2017 21.16 53.6257 20.9573 53.199 20.552C52.7723 20.136 52.559 19.5707 52.559 18.856L53.007 19.32H52.543L52.607 21.416V23.88H50.607ZM54.223 19.432C54.735 19.432 55.135 19.2827 55.423 18.984C55.711 18.6853 55.855 18.2587 55.855 17.704V15.496C55.855 14.9413 55.711 14.5147 55.423 14.216C55.135 13.9173 54.735 13.768 54.223 13.768C53.7217 13.768 53.327 13.9227 53.039 14.232C52.751 14.5307 52.607 14.952 52.607 15.496V17.704C52.607 18.248 52.751 18.6747 53.039 18.984C53.327 19.2827 53.7217 19.432 54.223 19.432ZM63.7688 21.144C63.0221 21.144 62.3714 21.0053 61.8168 20.728C61.2728 20.44 60.8461 20.04 60.5368 19.528C60.2381 19.0053 60.0888 18.392 60.0888 17.688V15.512C60.0888 14.808 60.2381 14.2 60.5368 13.688C60.8461 13.1653 61.2728 12.7653 61.8168 12.488C62.3714 12.2 63.0221 12.056 63.7688 12.056C64.5261 12.056 65.1768 12.2 65.7208 12.488C66.2648 12.7653 66.6861 13.1653 66.9848 13.688C67.2941 14.2 67.4488 14.8027 67.4488 15.496V17.688C67.4488 18.392 67.2941 19.0053 66.9848 19.528C66.6861 20.04 66.2648 20.44 65.7208 20.728C65.1768 21.0053 64.5261 21.144 63.7688 21.144ZM63.7688 19.4C64.3021 19.4 64.7128 19.256 65.0008 18.968C65.2994 18.6693 65.4488 18.2427 65.4488 17.688V15.512C65.4488 14.9467 65.2994 14.52 65.0008 14.232C64.7128 13.944 64.3021 13.8 63.7688 13.8C63.2461 13.8 62.8354 13.944 62.5368 14.232C62.2381 14.52 62.0888 14.9467 62.0888 15.512V17.688C62.0888 18.2427 62.2381 18.6693 62.5368 18.968C62.8354 19.256 63.2461 19.4 63.7688 19.4Z"
fill-rule="evenodd"
clip-rule="evenodd"
d="M2861 72C2982 72 3080 170 3080 291V2860C3080 2981 2982 3079 2861 3079H292C171 3079 73 2981 73 2860V291C73 170 171 72 292 72H2861ZM1362 983V1107H1731V1813C1731 1871 1717 1926 1674 1968C1631 2010 1574 2023 1516 2023H1313V2148H1516C1611 2148 1702 2124 1772 2058C1841 1993 1867 1907 1867 1814V985H1361L1362 983ZM429 2368C383 2368 346 2405 346 2451C346 2497 383 2534 429 2534H2723C2769 2534 2806 2497 2806 2451C2806 2405 2769 2368 2723 2368H429ZM1682 719C1682 747 1690 771 1711 790C1733 810 1763 816 1792 816C1821 816 1851 810 1873 790C1894 771 1902 747 1902 719C1902 690 1894 665 1873 646C1851 626 1822 619 1792 619C1763 619 1733 626 1711 646C1690 666 1682 691 1682 719ZM2262 1650H2125C2130 1692 2145 1732 2171 1766C2198 1802 2234 1827 2275 1844C2324 1864 2378 1872 2430 1872H2497C2576 1872 2668 1858 2730 1803C2785 1753 2807 1687 2807 1614C2807 1550 2792 1486 2743 1440C2690 1390 2607 1369 2537 1358L2418 1339C2384 1334 2342 1323 2315 1301C2289 1280 2281 1249 2281 1218C2281 1182 2291 1147 2320 1123C2352 1097 2402 1092 2442 1092H2503C2539 1092 2579 1098 2610 1118C2635 1134 2652 1156 2659 1184H2796C2785 1122 2756 1070 2705 1031C2648 987 2575 972 2504 972H2443C2367 972 2279 985 2219 1036C2165 1083 2145 1147 2145 1217C2145 1279 2160 1341 2207 1385C2257 1431 2333 1454 2398 1465L2517 1484C2557 1490 2600 1502 2631 1529C2659 1553 2670 1585 2670 1621C2670 1659 2657 1692 2627 1716C2592 1745 2541 1751 2498 1751H2431C2392 1751 2349 1745 2316 1723C2288 1705 2270 1681 2263 1650H2262ZM529 824C479 786 408 796 370 846C355 866 347 890 347 914C347 950 364 983 392 1005L931 1412L392 1819C363 1841 347 1874 347 1910C347 1935 355 1959 370 1978C408 2028 479 2038 529 2000L1188 1503C1216 1482 1233 1448 1233 1412C1233 1376 1216 1343 1188 1321L529 824Z"
fill="#F7DD1D"
stroke="#373435"
stroke-width="6.94488"
/>
<path
d="M2723 2329H429C362 2329 307 2384 307 2451C307 2518 362 2573 429 2573H2723C2790 2573 2845 2518 2845 2451C2845 2384 2790 2329 2723 2329ZM2603 1685C2582 1703 2546 1712 2498 1712H2431C2391 1712 2359 1705 2337 1690C2316 1677 2305 1660 2300 1638L2294 1610H2082L2086 1649C2092 1702 2110 1749 2140 1788C2170 1827 2210 1857 2260 1878C2309 1898 2366 1909 2430 1909H2497C2610 1909 2697 1883 2755 1830C2814 1777 2844 1704 2844 1612C2844 1525 2818 1457 2768 1410C2719 1364 2645 1334 2542 1318L2423 1299C2373 1291 2349 1278 2338 1269C2333 1265 2319 1254 2319 1216C2319 1186 2327 1165 2344 1151C2362 1136 2396 1128 2442 1128H2503C2540 1128 2569 1135 2589 1147C2607 1159 2618 1173 2622 1192L2628 1219H2841L2835 1179C2823 1103 2787 1041 2729 996C2672 952 2596 929 2504 929H2443C2334 929 2250 954 2194 1002C2136 1052 2106 1123 2106 1212C2106 1297 2131 1363 2181 1409C2228 1453 2299 1483 2392 1499L2511 1518C2554 1524 2585 1537 2605 1554C2623 1569 2631 1589 2631 1617C2631 1645 2622 1666 2602 1683L2603 1685ZM1686 818C1713 842 1749 854 1793 854C1837 854 1873 842 1900 818C1928 793 1942 759 1942 718C1942 676 1928 642 1900 616C1873 591 1837 579 1793 579C1749 579 1713 592 1686 616C1658 642 1644 676 1644 718C1644 759 1658 793 1686 818ZM1800 2084C1871 2016 1907 1925 1907 1812V944H1324V1145C1324 1145 1636 1145 1693 1145C1693 1208 1693 1812 1693 1812C1693 1868 1678 1910 1648 1939C1618 1969 1575 1983 1517 1983H1275V2186H1517C1634 2186 1729 2152 1799 2085L1800 2084ZM308 1909C308 1941 318 1973 339 2001C390 2068 485 2082 553 2031L1212 1534C1250 1505 1273 1460 1273 1412C1273 1364 1251 1319 1212 1290L553 793C486 742 390 756 339 823C318 851 308 883 308 915C308 961 329 1007 369 1037C369 1037 683 1274 867 1413C683 1552 369 1789 369 1789C329 1819 308 1865 308 1911V1909Z"
fill="black"
/>
<path
d="M111 2861V292C111 192 192 111 292 111H2861C2961 111 3042 192 3042 292V2861C3042 2961 2961 3042 2861 3042H292C192 3042 111 2961 111 2861ZM292 0C131 0 0 131 0 292V2861C0 3022 131 3153 292 3153H2861C3022 3153 3153 3022 3153 2861V292C3153 131 3022 0 2861 0H292Z"
fill="#F7DD1D"
/>
</g>
<defs>
<clipPath id="clip0_373_27">
<rect width="80" height="30" fill="white" />
<clipPath id="clip0_393_3">
<rect width="3153" height="3153" fill="white" />
</clipPath>
</defs>
</svg>
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<Table.Cell>
<div class="flex place-items-center gap-2">
<!-- we slice off the domain so we just serve directly from static -->
<img src={href.slice(18) + 'github/ieedan/std'} {alt} />
<img src={href.slice(18) + '@ieedan/std'} {alt} />
</div>
</Table.Cell>
<Table.Cell>
Expand All @@ -58,7 +58,7 @@
<div class="flex flex-col gap-2">
<div>
<Label>Registry Url</Label>
<Input bind:value={registry} placeholder="i.e. github/ieedan/std" />
<Input bind:value={registry} placeholder="i.e. @ieedan/std" />
</div>
<div>
<Label>Preview</Label>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/site/docs/nav-menu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<LightSwitch class="size-9" />
<Button
target="_blank"
href="https://github.com/ieedan/jsrepo"
href="https://github.com/jsrepojs/jsrepo"
variant="outline"
class="size-9 px-2"
>
Expand Down
5 changes: 5 additions & 0 deletions src/lib/components/site/docs/provider-cards.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
import { Server } from '@lucide/svelte';

const providers = [
{
name: 'jsrepo.com',
icon: Icons.JsrepoWordmark,
href: '/docs/registry/providers/jsrepo'
},
{
name: 'GitHub',
icon: Icons.GitHub,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/site/footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
{
title: 'GitHub',
href: 'https://github.com/ieedan/jsrepo'
href: 'https://github.com/jsrepojs/jsrepo'
}
];
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/site/star-button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<Button
target="_blank"
href="https://github.com/ieedan/jsrepo"
href="https://github.com/jsrepojs/jsrepo"
variant="outline"
class="h-9 px-2"
{...rest}
Expand Down
8 changes: 4 additions & 4 deletions src/lib/docs/cli/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jsrepo add utils/math
Add a fully qualified block:

```sh
jsrepo add github/ieedan/std/utils/math
jsrepo add @ieedan/std/utils/math
```

Include another registry in the blocks list:

```sh
jsrepo add --repo github/ieedan/std
jsrepo add --repo @ieedan/std
```

## Options
Expand Down Expand Up @@ -103,7 +103,7 @@ The repository to download the blocks from.
#### Usage

```sh
jsrepo add --repo github/ieedan/std
jsrepo add --repo @ieedan/std
```

### `-A, --allow`
Expand All @@ -113,7 +113,7 @@ Allow jsrepo to download code from the provided repo. This skips the initial con
#### Usage

```sh
jsrepo add github/ieedan/std/utils/math --allow
jsrepo add @ieedan/std/utils/math --allow
```

### `-y, --yes`
Expand Down
4 changes: 2 additions & 2 deletions src/lib/docs/cli/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jsrepo init --registry
Initialize a project with registries:

```sh
jsrepo init github/ieedan/std
jsrepo init @ieedan/std
```

## Options
Expand All @@ -44,7 +44,7 @@ The repositories to install the blocks from. (For project setup)
#### Usage

```sh
jsrepo init --repos github/ieedan/std github/ieedan/shadcn-svelte-extras
jsrepo init --repos @ieedan/std @ieedan/shadcn-svelte-extras
```

### `--no-watermark`
Expand Down
Loading
Loading