1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/tests/specs/run/workspaces/wildcard/main.out
Bartek Iwańczuk 051552172c
fix(workspace): support wildcard packages (#26568)
This commit adds support for wildcard packages in `workspace`
configuration option in `deno.json`. This is now supported:
```
{
  "workspace": [
    "./packages/*"
  ]
}
```

Closes https://github.com/denoland/deno/issues/25783
2024-11-05 00:42:18 +01:00

22 lines
No EOL
454 B
Text

[WILDCARD]Workspace config generated this import map {
"imports": {
"chalk": "npm:chalk",
"chalk/": "npm:/chalk/"
},
"scopes": {
"./packages/bar/": {
"@/": "./packages/bar/",
"secret_mod/": "./packages/bar/some_mod/"
},
"./packages/foo/": {
"~/": "./packages/foo/",
"foo/": "./packages/foo/bar/"
}
}
}
[WILDCARD]
hello from foo
buzz from foo
hello from bar
buzz from bar
[Function: chalk][WILDCARD]