feat(client): add root promise entrypoint
This commit is contained in:
parent
fbb0fdf88a
commit
6a85f0d3db
4 changed files with 156 additions and 56 deletions
|
|
@ -16,6 +16,7 @@
|
|||
"dist"
|
||||
],
|
||||
"exports": {
|
||||
".": "./src/promise/index.ts",
|
||||
"./promise": "./src/promise/index.ts",
|
||||
"./promise/api": "./src/promise/api.ts",
|
||||
"./effect": "./src/effect/index.ts",
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ const server = resolve(import.meta.dir, "../../server")
|
|||
|
||||
describe("public import boundaries", () => {
|
||||
test("isolates each public entrypoint", async () => {
|
||||
const root = await bundleInputs("@opencode-ai/client/promise", "browser")
|
||||
const root = await bundleInputs("@opencode-ai/client", "browser")
|
||||
|
||||
expect(within(root, effect)).toEqual([])
|
||||
expect(within(root, schema)).toEqual([])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue