mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
147411e64b
Adds much better support for the unstable Deno workspaces as well as support for npm workspaces. npm workspaces is still lacking in that we only install packages into the root node_modules folder. We'll make it smarter over time in order for it to figure out when to add node_modules folders within packages. This includes a breaking change in config file resolution where we stop searching for config files on the first found package.json unless it's in a workspace. For the previous behaviour, the root deno.json needs to be updated to be a workspace by adding `"workspace": ["./path-to-pkg-json-folder-goes-here"]`. See details in https://github.com/denoland/deno_config/pull/66 Closes #24340 Closes #24159 Closes #24161 Closes #22020 Closes #18546 Closes #16106 Closes #24160
23 lines
535 B
Text
23 lines
535 B
Text
Check file:///[WILDLINE]/package-a/mod.test.ts
|
|
Check file:///[WILDLINE]/package-b/mod.test.ts
|
|
running 1 test from ./package-a/mod.test.ts
|
|
add ... ok ([WILDLINE])
|
|
running 2 tests from ./package-b/mod.test.ts
|
|
addOne ... ok ([WILDLINE])
|
|
fail ... FAILED ([WILDLINE])
|
|
|
|
ERRORS
|
|
|
|
fail => ./package-b/mod.test.ts:9:6
|
|
error: Error: failed
|
|
throw new Error("failed");
|
|
^
|
|
at file:///[WILDLINE]/package-b/mod.test.ts:10:9
|
|
|
|
FAILURES
|
|
|
|
fail => ./package-b/mod.test.ts:9:6
|
|
|
|
FAILED | 2 passed | 1 failed ([WILDLINE])
|
|
|
|
error: Test failed
|