endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
804 stars 71 forks source link

Links are broken in npm package pages #1754

Closed gibson042 closed 7 months ago

gibson042 commented 1 year ago

Describe the bug

For example, the types.js link at the bottom of https://www.npmjs.com/package/@endo/patterns should point at https://github.com/endojs/endo/blob/master/packages/patterns/src/types.js like the one in its source at https://github.com/endojs/endo/blob/master/packages/patterns/README.md , but instead points at the nonexistent https://github.com/endojs/endo/blob/HEAD/src/types.js .

We can probably address this in the publication process.

kriskowal commented 8 months ago

We need to add a directory entry to the repository in package.json. That should fix the npm rendering of relative links.