test: add bun workspace tests

This commit is contained in:
Eric
2026-03-04 09:53:19 +01:00
parent 799fe61c56
commit 07210d89d2
10 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { workspaceMessage } from "../pkg-a/index";
console.log(`hello-${workspaceMessage()}`);

View File

@@ -0,0 +1,8 @@
{
"name": "@workspace/pkg-b",
"version": "1.0.0",
"dependencies": {
"@workspace/pkg-a": "workspace:*",
"lodash": "catalog:"
}
}