pulsar-edit/package-frontend

Support Partial Shorthand Author Assignment in `package.json`

Closed this issue · 0 comments

Have you checked for existing feature requests?

  • Completed

Summary

This is mostly a note to self, but we currently don't have any support for partial shorthand author assignment in package.json resulting in empty author fields.

We only support author object destructuring, bland author assignment, or full shorthand assignment.

For reference look at reg.js matches.author.compact this should likely have a companion under the same top level key for partial to support named extractions against an author field containing only or some of name, email, website instead of only all three.

Extra bonus points if we don't care about order, but pretty sure that's against spec so likely not a high priority

What benefits does this feature provide?

Better Author support

Any alternatives?

Worse author support

Other examples:

No response