After changing my GitHub username, it was still possible for me to publish a new package with my old username.
SSCCE
Have a GitHub account (let's say with username A)
Change your GitHub username to B
Publish a package with A/some-package as the name in elm.json
See that it succeeds
Elm: 0.19.1
Browser: N/A
Operating System: macOS Ventura 13.0
Additional Details
I was writing a package, and before publishing it, I changed my username from NeoVier to henriquecbuss. I forgot to change the name of the package in elm.json, and when I ran elm publish, it published NeoVier/elm-eos.
It should probably warn me that the username is incorrect, and only let me publish it as henriquecbuss/elm-eos.
Quick Summary:
After changing my GitHub username, it was still possible for me to publish a new package with my old username.
SSCCE
A
)B
A/some-package
as thename
inelm.json
Additional Details
I was writing a package, and before publishing it, I changed my username from
NeoVier
tohenriquecbuss
. I forgot to change the name of the package inelm.json
, and when I ranelm publish
, it published NeoVier/elm-eos.It should probably warn me that the username is incorrect, and only let me publish it as henriquecbuss/elm-eos.