blob: 58a21fdbe44d0f6ed22634be818c210c14ca3e23 [file] [log] [blame]
load("//infra-sk:index.bzl", "nodejs_test", "ts_library")
ts_library(
name = "mcp-client_ts_lib",
srcs = ["mcp-client.ts"],
visibility = ["//visibility:public"],
deps = [
":settings_ts_lib",
"//:node_modules/@google/generative-ai",
"//:node_modules/@modelcontextprotocol/sdk",
"//:node_modules/google-auth-library",
],
)
nodejs_test(
name = "mcp-client_nodejs_test",
src = "mcp-client_nodejs_test.ts",
tags = ["local"],
deps = [
":mcp-client_ts_lib",
"//:node_modules/@modelcontextprotocol/sdk",
"//:node_modules/@types/chai",
"//:node_modules/@types/mocha",
"//:node_modules/@types/sinon",
"//:node_modules/chai",
"//:node_modules/mocha",
"//:node_modules/sinon",
],
)
ts_library(
name = "settings_ts_lib",
srcs = ["settings.ts"],
visibility = ["//visibility:public"],
)
nodejs_test(
name = "settings_nodejs_test",
src = "settings_nodejs_test.ts",
deps = [
":settings_ts_lib",
"//:node_modules/@types/chai",
"//:node_modules/@types/mocha",
"//:node_modules/@types/sinon",
"//:node_modules/chai",
"//:node_modules/mocha",
"//:node_modules/sinon",
],
)