diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-04-23 16:21:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-23 17:21:06 +0200 |
| commit | 35220f0069931c6c4b9023c2d123f3b37f7e9c56 (patch) | |
| tree | d8efdc6a83a99f94dd8989c98ff62f78a0bc319e /tests/specs/run/workspaces/basic/deno.json | |
| parent | b0d3b20f2319ad346fe70b1114f492f852689435 (diff) | |
fix(workspace): provide workspace members as 'imports' in import map (#23492)
This commit changes the workspace support to provide all workspace
members to be available as imports based on their names and versions.
Closes https://github.com/denoland/deno/issues/23343
Diffstat (limited to 'tests/specs/run/workspaces/basic/deno.json')
| -rw-r--r-- | tests/specs/run/workspaces/basic/deno.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/specs/run/workspaces/basic/deno.json b/tests/specs/run/workspaces/basic/deno.json new file mode 100644 index 000000000..b971c4f3d --- /dev/null +++ b/tests/specs/run/workspaces/basic/deno.json @@ -0,0 +1,9 @@ +{ + "workspaces": [ + "foo", + "bar" + ], + "imports": { + "chalk": "npm:chalk" + } +} |
