File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ const ProjectInfo = ({ pkg }: { pkg: JSONSchemaForNPMPackageJsonFiles }) => (
3131 { pkg . version && < DetailItem label = "🔖 Version" > { pkg . version } </ DetailItem > }
3232 { pkg . author ?. name && (
3333 < DetailItem label = "👤 Author" >
34- < Link url = { pkg . author ?. url || '' } > { pkg . author . name } </ Link >
34+ { pkg . author . name }
35+ { pkg . author . url && ` (${ pkg . author . url } )` }
3536 </ DetailItem >
3637 ) }
3738 { pkg . license && < DetailItem label = "📄 License" > { pkg . license } </ DetailItem > }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ exports[`just works 1`] = `
77│ 🎲 A randomly generated dummy package for testing purposes │
88│ \x1B [90m──────────────────────────────────────────────────────────\x1B [39m │
99│ \x1B [1m\x1B [32m🔖 Version\x1B [39m\x1B [22m: 1.2.3 │
10- │ \x1B [1m\x1B [32m👤 Author\x1B [39m\x1B [22m: \x1B ]8;; https://example.com\x07 Test Developer \x1B ]8;; \x07 │
10+ │ \x1B [1m\x1B [32m👤 Author\x1B [39m\x1B [22m: Test Developer ( https://example.com) │
1111│ \x1B [1m\x1B [32m📄 License\x1B [39m\x1B [22m: Apache-2.0 │
1212│ \x1B [1m\x1B [32m🏠 Homepage\x1B [39m\x1B [22m: https://github.com/test/dummy-package │
1313│ \x1B [1m\x1B [32m🐛 Bugs\x1B [39m\x1B [22m: https://github.com/test/dummy-package/issues │
You can’t perform that action at this time.
0 commit comments