spago icon indicating copy to clipboard operation
spago copied to clipboard

add `authors: [...]` field to spago.yaml `package.publish` ?

Open srghma opened this issue 1 year ago • 2 comments

some bower.json have authors field

{
  "name": "purescript-nullable",
  "authors": [
    "Phil Freeman <[email protected]>"
  ],
  "description": "A library for dealing with nulls",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/purescript-contrib/purescript-nullable.git"
  },
  "ignore": [
    "**/.*",
    "bower_components",
    "node_modules",
    "output",
    "bower.json",
    "package.json"
  ]
}

mabye add this field to spago.yaml too?

package:
  name: nullable
  description: A library for dealing with nulls
  authors:
    - Phil Freeman <[email protected]>
Reading Spago workspace configuration...

✘ Couldn't parse Spago config, error:


  $.package: Unknown field(s): authors

srghma avatar Oct 11 '24 00:10 srghma

There is some potential overlap with the optional “owners” field, though that requires a public key if I remember correctly.

thomashoneyman avatar Oct 11 '24 15:10 thomashoneyman

Yes, we have an upcoming (registry has it, spago is about to) owners key, which requires a public key. Is there a use case where the key is not desirable?

f-f avatar Oct 11 '24 15:10 f-f