Skip to content

Commit 1c7241f

Browse files
authored
Fix package sync (#1649)
* fix package sync * run script * fix
1 parent 368daa8 commit 1c7241f

File tree

108 files changed

+203
-194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+203
-194
lines changed

apps/svelte.dev/scripts/sync-packages/index.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,20 @@ async function getNpmAndGitHubData(pkg: string): Promise<PackageKey & PackageNpm
123123

124124
const npm_description = npmInfo.description;
125125
const raw_repo_url = npmInfo.repository?.url ?? '';
126-
const repo_url = raw_repo_url?.replace(/^git\+/, '').replace(/\.git$/, '');
126+
let repo_url = raw_repo_url
127+
?.replace(/^git\+/, '')
128+
.replace(/\.git$/, '')
129+
.replace(/ssh:\/\/git@github.com\/(.+)/, (_, m) => `https://github.com/${m}`);
130+
127131
if (!repo_url) {
128132
// console.error(`repo_url not found for ${pkg}`);
129133
logsAtTheEnd.push({ type: 'no_repo_url', pkg, extra: `not found` });
130134
}
135+
136+
if (repo_url.startsWith('github.com')) {
137+
repo_url = 'https://' + repo_url;
138+
}
139+
131140
const git_org = repo_url?.split('/')[3];
132141
const git_repo = repo_url?.split('/')[4];
133142

apps/svelte.dev/src/lib/server/generated/registry/ai-sdk-svelte.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"repo_url": "https://github.com/vercel/ai",
55
"authors": ["vercel-release-bot", "matheuss", "matt.straka"],
66
"homepage": "https://ai-sdk.dev/docs",
7-
"version": "3.0.79",
8-
"downloads": 308705,
9-
"github_stars": 18803,
10-
"updated": "2025-10-25T19:30:51.328Z",
7+
"version": "3.0.82",
8+
"downloads": 322602,
9+
"github_stars": 18952,
10+
"updated": "2025-10-29T10:20:42.747Z",
1111
"svelte_range": "^5.31.0",
1212
"typescript": true,
1313
"runes": true,

apps/svelte.dev/src/lib/server/generated/registry/altcha.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["ovx"],
66
"homepage": "https://altcha.org",
77
"version": "2.2.4",
8-
"downloads": 17259,
9-
"github_stars": 1620,
8+
"downloads": 20901,
9+
"github_stars": 1632,
1010
"updated": "2025-09-27T22:35:07.312Z",
1111
"svelte_range": "^5.28.6",
1212
"typescript": true,

apps/svelte.dev/src/lib/server/generated/registry/amplify-adapter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authors": ["zimbronapps"],
66
"homepage": "https://github.com/gzimbron/amplify-adapter#readme",
77
"version": "1.2.3",
8-
"downloads": 1686,
8+
"downloads": 1633,
99
"github_stars": 32,
1010
"updated": "2025-09-11T19:17:42.448Z",
1111
"kit_range": "^2.4.0",

apps/svelte.dev/src/lib/server/generated/registry/ark-ui-svelte.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["segunadebayo", "schroetier"],
66
"homepage": "https://ark-ui.com",
77
"version": "5.11.2",
8-
"downloads": 454,
9-
"github_stars": 4734,
8+
"downloads": 317,
9+
"github_stars": 4755,
1010
"updated": "2025-10-18T20:55:41.236Z",
1111
"svelte_range": ">=5.20.0",
1212
"kit_range": "2.46.5",

apps/svelte.dev/src/lib/server/generated/registry/better-auth.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"npm_description": "The most comprehensive authentication framework for TypeScript.",
44
"repo_url": "https://github.com/better-auth/better-auth",
55
"authors": ["bekacru"],
6-
"homepage": "https://github.com/better-auth/better-auth#readme",
7-
"version": "1.3.32",
8-
"downloads": 366398,
9-
"github_stars": 22242,
10-
"updated": "2025-10-25T22:36:12.432Z",
6+
"homepage": "https://better-auth.com",
7+
"version": "1.3.34",
8+
"downloads": 427213,
9+
"github_stars": 22412,
10+
"updated": "2025-10-29T07:11:14.084Z",
1111
"svelte_range": "^4.0.0 || ^5.0.0",
1212
"kit_range": "^2.37.1",
1313
"typescript": true,

apps/svelte.dev/src/lib/server/generated/registry/bits-ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["huntabyte"],
66
"homepage": "https://github.com/huntabyte/bits-ui#readme",
77
"version": "2.14.1",
8-
"downloads": 270576,
9-
"github_stars": 2716,
8+
"downloads": 274966,
9+
"github_stars": 2732,
1010
"updated": "2025-10-23T22:48:06.448Z",
1111
"svelte_range": "^5.33.0",
1212
"kit_range": "^2.42.0",

apps/svelte.dev/src/lib/server/generated/registry/carbon-components-svelte.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"repo_url": "https://github.com/carbon-design-system/carbon-components-svelte",
55
"authors": ["metonym"],
66
"homepage": "https://svelte.carbondesignsystem.com/",
7-
"version": "0.90.0",
8-
"downloads": 16040,
9-
"github_stars": 2843,
10-
"updated": "2025-10-23T14:24:40.719Z",
7+
"version": "0.90.1",
8+
"downloads": 15476,
9+
"github_stars": 2846,
10+
"updated": "2025-10-26T20:19:23.762Z",
1111
"typescript": true,
1212
"runes": false,
1313
"last_rune_check_version": "0.88.4"

apps/svelte.dev/src/lib/server/generated/registry/carta-md.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["astrobear"],
66
"homepage": "https://github.com/BearToCode/carta#readme",
77
"version": "4.11.1",
8-
"downloads": 4608,
9-
"github_stars": 676,
8+
"downloads": 4219,
9+
"github_stars": 680,
1010
"updated": "2025-06-13T20:58:58.615Z",
1111
"svelte_range": "^5.0.0",
1212
"kit_range": "catalog:",

apps/svelte.dev/src/lib/server/generated/registry/content-collections-core.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authors": ["sdorra"],
66
"homepage": "https://content-collections.dev",
77
"version": "0.11.1",
8-
"downloads": 31293,
8+
"downloads": 29096,
99
"github_stars": 939,
1010
"updated": "2025-08-30T07:41:29.913Z",
1111
"svelte_range": "^3.0.0 || ^4.0.0 || ^5.0.0",

0 commit comments

Comments
 (0)