diff --git a/package.json b/package.json index 5e5a9ee..628b243 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@iconify-json/lucide": "^1.2.106", "@iconify/tailwind4": "^1.2.3", "@tailwindcss/vite": "^4.3.0", - "@types/node": "^25.3.4", + "@types/node": "^25.7.0", "esbuild": "^0.28.0", "prettier": "^3.8.3", "prettier-plugin-organize-imports": "^4.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a99f769..e30ba11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -119,10 +119,10 @@ importers: version: 1.2.3(tailwindcss@4.3.0) '@tailwindcss/vite': specifier: ^4.3.0 - version: 4.3.0(vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)) + version: 4.3.0(vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)) '@types/node': - specifier: ^25.3.4 - version: 25.3.4 + specifier: ^25.7.0 + version: 25.7.0 esbuild: specifier: ^0.28.0 version: 0.28.0 @@ -143,10 +143,10 @@ importers: version: 6.0.3 vite: specifier: ^8.0.12 - version: 8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) + version: 8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) vite-plugin-solid: specifier: ^2.11.12 - version: 2.11.12(solid-js@1.9.12)(vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)) + version: 2.11.12(solid-js@1.9.12)(vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)) packages: @@ -1085,8 +1085,8 @@ packages: '@types/babel__traverse@7.28.0': resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==} - '@types/node@25.3.4': - resolution: {integrity: sha512-NB1qVMIPsjfYtrY+9cCTj2VqLBh/TIDmsZXtmM2Xsn+W2yMlkA9Q1Okpr9W3f1fyGgvelw8ojumDsv8Vc0xufQ==} + '@types/node@25.7.0': + resolution: {integrity: sha512-z+pdZyxE+RTQE9AcboAZCb4otwcrvgHD+GlBpPgn0emDVt0ohrTMhAwlr2Wd9nZ+nihhYFxO2pThz3C5qSu2Eg==} babel-plugin-jsx-dom-expressions@0.40.6: resolution: {integrity: sha512-v3P1MW46Lm7VMpAkq0QfyzLWWkC8fh+0aE5Km4msIgDx5kjenHU0pF2s+4/NH8CQn/kla6+Hvws+2AF7bfV5qQ==} @@ -1553,8 +1553,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - undici-types@7.18.2: - resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} + undici-types@7.21.0: + resolution: {integrity: sha512-w9IMgQrz4O0YN1LtB7K5P63vhlIOvC7opSmouCJ+ZywlPAlO9gIkJ+otk6LvGpAs2wg4econaCz3TvQ9xPoyuQ==} unicode-segmenter@0.14.5: resolution: {integrity: sha512-jHGmj2LUuqDcX3hqY12Ql+uhUTn8huuxNZGq7GvtF6bSybzH3aFgedYu/KTzQStEgt1Ra2F3HxadNXsNjb3m3g==} @@ -2405,12 +2405,12 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.3.0 '@tailwindcss/oxide-win32-x64-msvc': 4.3.0 - '@tailwindcss/vite@4.3.0(vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2))': + '@tailwindcss/vite@4.3.0(vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2))': dependencies: '@tailwindcss/node': 4.3.0 '@tailwindcss/oxide': 4.3.0 tailwindcss: 4.3.0 - vite: 8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) + vite: 8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) '@takumi-rs/core-darwin-arm64@1.1.2': optional: true @@ -2503,10 +2503,9 @@ snapshots: dependencies: '@babel/types': 7.29.0 - '@types/node@25.3.4': + '@types/node@25.7.0': dependencies: - undici-types: 7.18.2 - optional: true + undici-types: 7.21.0 babel-plugin-jsx-dom-expressions@0.40.6(@babel/core@7.29.0): dependencies: @@ -2919,8 +2918,7 @@ snapshots: typescript@6.0.3: {} - undici-types@7.18.2: - optional: true + undici-types@7.21.0: {} unicode-segmenter@0.14.5: {} @@ -2934,7 +2932,7 @@ snapshots: optionalDependencies: typescript: 6.0.3 - vite-plugin-solid@2.11.12(solid-js@1.9.12)(vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)): + vite-plugin-solid@2.11.12(solid-js@1.9.12)(vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)): dependencies: '@babel/core': 7.29.0 '@types/babel__core': 7.20.5 @@ -2942,12 +2940,12 @@ snapshots: merge-anything: 5.1.7 solid-js: 1.9.12 solid-refresh: 0.6.3(solid-js@1.9.12) - vite: 8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) - vitefu: 1.1.3(vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)) + vite: 8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) + vitefu: 1.1.3(vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)) transitivePeerDependencies: - supports-color - vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2): + vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2): dependencies: lightningcss: 1.32.0 picomatch: 4.0.4 @@ -2955,15 +2953,15 @@ snapshots: rolldown: 1.0.0 tinyglobby: 0.2.16 optionalDependencies: - '@types/node': 25.3.4 + '@types/node': 25.7.0 esbuild: 0.28.0 fsevents: 2.3.3 jiti: 2.7.0 tsx: 4.19.2 - vitefu@1.1.3(vite@8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)): + vitefu@1.1.3(vite@8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2)): optionalDependencies: - vite: 8.0.12(@types/node@25.3.4)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) + vite: 8.0.12(@types/node@25.7.0)(esbuild@0.28.0)(jiti@2.7.0)(tsx@4.19.2) w3c-keyname@2.2.8: {} diff --git a/src/components/search.tsx b/src/components/search.tsx index adb1dfd..decd10d 100644 --- a/src/components/search.tsx +++ b/src/components/search.tsx @@ -58,21 +58,21 @@ const EXAMPLES: (RecentSearch & { prefix: string })[] = [ prefix: "@", }, { - path: "/at://did:plc:uu5axsmbm2or2dngy4gwchec/sh.tangled.repo/3m2skfgqpvn22", - label: "futur.blue/sh.tangled.repo/3m2skfgqpvn22", + path: "/at://did:plc:uu5axsmbm2or2dngy4gwchec/app.bsky.actor.profile/self", + label: "futur.blue/app.bsky.actor.profile/self", type: "at-uri", prefix: "at://", }, - { path: "/npmx.social", label: "npmx.social", type: "pds", prefix: "pds:" }, + { path: "/pds.witchcraft.systems", label: "pds.witchcraft.systems", type: "pds", prefix: "pds:" }, { - path: "/at://did:web:iame.li/com.atproto.lexicon.schema/place.stream.chat.message#schema", - label: "place.stream.chat.message", + path: "/at://did:plc:re3ebnp5v7ffagz6rb6xfei4/com.atproto.lexicon.schema/site.standard.document#schema", + label: "site.standard.document", type: "lexicon", prefix: "lex:", }, { - path: "/at://did:plc:oisofpd7lj26yvgiivf3lxsi/app.bsky.feed.post/3mfflamxxvk2t", - label: "bsky.app/profile/hailey.at/post/3mfflamxxvk2t", + path: "/at://did:plc:ia76kvnndjutgedggx2ibrem/sh.tangled.repo/3lwaqf3fxhz22", + label: "tangled.org/mary.my.id/3lwaqf3fxhz22", type: "at-uri", prefix: "https://", }, diff --git a/src/lib/app-urls.ts b/src/lib/app-urls.ts index d8d7afc..1bf56dd 100644 --- a/src/lib/app-urls.ts +++ b/src/lib/app-urls.ts @@ -90,9 +90,7 @@ export const appHandleLink: Record string> = { return `at://${user}/sh.tangled.string`; } } else if (path.length === 2) { - // no way to convert the repo name to an rkey afaik - // same reason why there's nothing related to issues in here - return `at://${user}/sh.tangled.repo`; + return `at://${user}/sh.tangled.repo/${path[1]}`; } return `at://${user}`;