avh4 / elm-upgrade

Upgrade Elm projects
https://www.npmjs.com/package/elm-upgrade
MIT License
122 stars 15 forks source link

Package renames for Elm 0.19 #33

Open avh4 opened 6 years ago

avh4 commented 6 years ago

If you know of any packages that will be renamed when publishing for Elm 0.19, comment below.

Included in elm-upgrade-0.19.0-rc2

Included in elm-upgrade-0.19.0-rc6

Included in elm-upgrade-0.19.0-rc9

Included in elm-upgrade-0.19.0

Included in elm-upgrade-0.19.2

Included in elm-upgrade-0.19.3

Included in elm-upgrade-0.19.4

More

These are planned, but aren't published under the new name yet:

BrianHicks commented 6 years ago

BrianHicks/elm-benchmark -> elm-explorations/benchmark

lukewestby commented 6 years ago

elm-community/linear-algebra -> elm-explorations/linear-algebra elm-community/webgl -> elm-explorations/webgl evancz/elm-markdown -> elm-explorations/markdown

ejames commented 6 years ago

elm-tools/parser -> elm-lang/parser

avh4 commented 6 years ago

Published more in 0.19.0-rc6, and updated the issue description; I'm not going to add ones that don't have the 0.19 package published yet--lmk as there are more updates!

ohanhi commented 6 years ago

I renamed ohanhi/keyboard-extra to ohanhi/keyboard

ryan-haskell commented 6 years ago

ryannhg/elm-date-format -> ryannhg/date-format

avh4 commented 6 years ago

Published more in 0.19.0-rc9, and updated the issue description

timjs commented 6 years ago
elm-lang/* -> elm/*

Also, versions changed!

lukewestby commented 6 years ago

@avh4 i decided not to rename http-builder after all. it's just lukewestby/elm-http-builder 6.0.0 now

w0rm commented 6 years ago

@avh4 these have been published:

elm-community/linear-algebra -> elm-explorations/linear-algebra
elm-community/webgl -> elm-explorations/webgl
Malax commented 6 years ago

rtfeldman/hex -> rtfeldman/elm-hex

dillonkearns commented 5 years ago

dillonkearns/graphqelm 11.2.0 -> dillonkearns/elm-graphql 1.1.0

This also means that all instances of Graphqelm. in people's source code should change to Graphql.. I'm not sure if there's find-and-replace magic happening for module names in source code in elm-upgrade, just thought I'd mention it in case there is!

avh4 commented 5 years ago

Published elm-upgrade@0.19.2 with the latest renames.

avh4 commented 5 years ago

elm-upgrade@0.19.5 and later will now produce a checklist of things the user needs to check after elm-upgrade is done. For example:

- NoRedInk/elm-json-decode-pipeline
  - [ ] Changes uses of Json.Decode.Pipeline.decode to Json.Decode.succeed
- dillonkearns/elm-graphql
  - [ ] Changes references to Graphqelm.* to Graphql.*
- elm/core
  - [ ] Replace uses of toString with String.fromInt, String.fromFloat, or Debug.toString as appropriate
- elm/html
  - [ ] If you used Html.program*, install elm/browser and switch to Browser.element or Browser.document
  - [ ] If you used Html.beginnerProgram, install elm/browser and switch Browser.sandbox
- elm/time
  - [ ] Read the new documentation here: https://package.elm-lang.org/packages/elm/time/latest/
  - [ ] Replace uses of Date and Time with Time.Posix
- elm/url
  - [ ] Change code using UrlParser.* to use Url.Parser.*

If there are checklist items that should be added for any of the renamed packages, please make a new issue for each package, thanks!

(If there are new package renames to add, you can still comment with them in this issue.)

1602 commented 5 years ago

Due to elm compiler bug I had to rename all my packages:

1602/json-value -> json-tools/json-value 1602/json-schema -> json-tools/json-schema 1602/elm-feather -> feathericons/elm-feather