modfile  example.com@v0.0.1 example.com_v0.0.1/cue.mod/module.cue
modfile foo.com/bar/hello@v0.2.3 foo.com_bar_hello_v0.2.3/cue.mod/module.cue

-- example.com_v0.0.1/cue.mod/module.cue --
module: "example.com@v0"
language: version: "v0.8.0"
deps: {
	"foo.com/bar/hello@v0": v: "v0.2.3"
	"bar.com@v0": v: "v0.5.0"
}
-- example.com_v0.0.1/top.cue --
package main

import a "foo.com/bar/hello"
a
main: "main"
-- foo.com_bar_hello_v0.2.3/cue.mod/module.cue --
module: "foo.com/bar/hello@v0"
language: version: "v0.8.0"

deps: {
	"bar.com@v0": v: "v0.0.2"
	"baz.org@v0": v: "v0.10.1"
}
-- foo.com_bar_hello_v0.2.3/x.cue --
package hello
import (
	a "bar.com"
	b "baz.org"
)
"foo.com/bar/hello": "v0.2.3"
a
b
-- bar.com_v0.0.2/cue.mod/module.cue --
module: "bar.com@v0"
language: version: "v0.8.0"

deps: "baz.org@v0": v: "v0.1.2"
-- bar.com_v0.0.2/bar/x.cue --
package bar

import a "baz.org/baz"

"bar.com": "v0.0.2"
a
-- baz.org_v0.10.1/cue.mod/module.cue --
module: "baz.org@v0"
language: version: "v0.8.0"
-- baz.org_v0.10.1/baz.cue --
"baz.org@v0": "v0.10.1"

-- baz.org_v0.1.2/cue.mod/module.cue --
module: "baz.org@v0"
language: version: "v0.8.0"

-- bar.com_v0.5.0/cue.mod/module.cue --
module: "bar.com@v0"
language: version: "v0.8.0"
-- bar.com_v0.5.0/bar.cue --
"bar.com@v0": "v0.5.0"
