Recommended way to migrate an existing package to Pkg3

Thanks for your reply. Unfortunately, your suggestions are relevant only for newly generated or already migrated projects, not the ones that you migrate from Julia 0.6 where there’s just no Project.toml.

I’ve found a relevant thread here, especially this and this comments. In particular, they state that one should not create their own Project.toml and still add dependencies to REQUIRE for now. But here’s a problem: my package Espresso.jl depends on (now external) LinearAlgebra module. I’ve added it to REQUIRE, but when testing the package fails with:

ERROR: The following package names could not be resolved:

  • LinearAlgebra (37e2e46d-f89d-539d-b4ee-838fcccc9c8e in manifest but not in project)
    Please specify by known name=uuid.

If I manually create Project.toml and run add LinearAlgebra, tests run fine. So either I do something that isn’t recommended at the moment (adding Project.toml), or my package gets broken.