Skip to content

Conversation

@danielroe
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Jan 29, 2026 2:06pm
npmx.dev Ready Ready Preview, Comment Jan 29, 2026 2:06pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
npmx-lunaria Ignored Ignored Jan 29, 2026 2:06pm

Request Review

Copy link
Collaborator

@serhalp serhalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!

Comment on lines 20 to 25
path: '/:org(@[^/]+/)?:name([^@/]+):version()?',
alias: [
'/:org(@[^/]+/)?:name([^@/]+)/v/:version()?',
'/package/:org(@[^/]+/)?:name([^@/]+):version()?',
'/package/:org(@[^/]+/)?:name([^@/]+)/v/:version()?',
],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm learning so much!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not quite working - I want to render the version conditionally, and only if there is one 😞 - optionality of version is killing me here....

I'll have to implement slightly differently I fear.

in the next vue-router version we'll get proper matching

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@serhalp serhalp marked this pull request as draft January 28, 2026 00:50
@serhalp serhalp requested review from serhalp and removed request for serhalp January 28, 2026 00:51
Resolved conflicts in:
- app/composables/usePackageRoute.ts: Combined getPackageRoute() helper with usePackageRoute() composable
- app/components/PackageDependencies.vue: Kept vulnerability display with getPackageRoute() helper
- app/pages/[[org]]/[name].vue: Used usePackageRoute() composable for route parsing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants