1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-18 13:22:55 -05:00
denoland-deno/tests/specs/info/workspace_member/__test__.jsonc
Nathan Whitaker 76daa03aa9
fix(info): resolve bare specifier pointing to workspace member (#27020)
Fixes https://github.com/denoland/deno/issues/26721

Previously, we were applying only the import map, which would result in
`@scope/foo` expanding to (e.g.) `jsr:@scope/foo@1.0.0`. Since that
didn't exist it would error and fail to resolve.
2024-11-27 13:54:26 -08:00

28 lines
811 B
Text

{
"tests": {
"member_folder": {
"args": "info --quiet foo",
"cwd": "member",
"output": "info_workspace_member.out",
"exitCode": 0
},
"member_folder_sub": {
"args": "info --quiet foo",
"cwd": "member/sub",
"output": "info_workspace_member_sub.out",
"exitCode": 0
},
"member_bare_specifier": {
"args": "info @denotest/workspace-member",
"output": "info_bare_specifier.out"
},
"member_package_json_specifier": {
"args": "info @denotest/workspace-member-package-json",
"output": "info_bare_specifier_package_json.out"
},
"member_package_json_specifier_subpath": {
"args": "info @denotest/workspace-member-package-json/foo",
"output": "info_bare_specifier_package_json_subpath.out"
}
}
}