Не могу опубликовать пакет - я не могу опубликовать 2.0.0 в качестве начальной версии - PullRequest
0 голосов
/ 05 ноября 2018

Я опубликовал пакет, используя elm-0.18 после выпуска elm-0.19.

Теперь я обновил его до elm-0.19, но не могу его опубликовать:

$ ./node_modules/.bin/elm publish
This package has never been published before. Here's how things work:

  - Versions all have exactly three parts: MAJOR.MINOR.PATCH

  - All packages start with initial version 1.0.0

  - Versions are incremented based on how the API changes:

        PATCH = the API is the same, no risk of breaking code
        MINOR = values have been added, existing values are unchanged
        MAJOR = existing values have been changed or removed

  - I will bump versions for you, automatically enforcing these rules


I will now verify that everything is in order...

  + Found README.md
  + Found LICENSE
  X Version 2.0.0 is not correct!

-- INVALID VERSION -------------------------------------------------------------

I cannot publish 2.0.0 as the initial version.

Change it to 1.0.0 which is the initial version for all Elm packages.
...