diff --git a/.changeset/config.json b/.changeset/config.json index 1c420bd..e8cb430 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,5 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["@examples/*", "@mi8y/cds-langgraph-integration-tests"] + "ignore": ["@examples/*", "@mi8y/integration-tests"] } diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 191875c..34bc409 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -151,7 +151,7 @@ jobs: - name: "Integration tests: Install test dependencies" shell: bash run: | - cd packages/cds-langgraph-integration-tests + cd packages/integration-tests pnpm add @sap/cds@${{ matrix.cap-version[0] }} pnpm add -D @cap-js/sqlite@${{ matrix.cap-version[1] }} @cap-js/cds-test@${{ matrix.cap-version[2] }} @sap/cds-dk@${{ matrix.cap-version[0] }} pnpm exec cds version --info @@ -159,8 +159,8 @@ jobs: - name: "Integration tests:Run LangGraph persistence add commands" shell: bash run: | - cd packages/cds-langgraph-integration-tests - export CDS_ROOT="$GITHUB_WORKSPACE/packages/cds-langgraph-integration-tests" + cd packages/integration-tests + export CDS_ROOT="$GITHUB_WORKSPACE/packages/integration-tests" pnpm exec cds add langgraph-checkpointer pnpm exec cds add langgraph-memorystore diff --git a/AGENTS.md b/AGENTS.md index c7a0ecb..5b1f536 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,7 +11,7 @@ This is a turbo-based monorepo containing CDS plugins for building production-re │ ├── cds-agent-utils │ │ ├── AGENTS.md <- Read this for common utils │ │ └── ... -│ ├── cds-langgraph-integration-tests +│ ├── integration-tests │ │ ├── AGENTS.md <- Read this for integration test setup │ │ └── ... │ ├── cds-langgraph-persistence diff --git a/package.json b/package.json index 3b6f1fe..75303a1 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "scripts": { "build": "turbo run build", "test": "vitest run --coverage", - "test:unit": "vitest run --coverage --project='!cds-langgraph-integration-tests'", - "test:integration": "pnpm --filter @mi8y/cds-langgraph-integration-tests start", + "test:unit": "vitest run --coverage --project='!integration-tests'", + "test:integration": "pnpm --filter @mi8y/integration-tests start", "lint": "turbo run lint", "lint:check": "turbo run lint:check", "clean": "turbo run clean && rm -rf node_modules coverage .turbo", diff --git a/packages/cds-langgraph-integration-tests/package.json b/packages/integration-tests/package.json similarity index 90% rename from packages/cds-langgraph-integration-tests/package.json rename to packages/integration-tests/package.json index 82c7eec..abdfb13 100644 --- a/packages/cds-langgraph-integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,5 +1,5 @@ { - "name": "@mi8y/cds-langgraph-integration-tests", + "name": "@mi8y/integration-tests", "version": "1.0.0", "type": "module", "private": true, diff --git a/packages/cds-langgraph-integration-tests/run.sh b/packages/integration-tests/run.sh similarity index 100% rename from packages/cds-langgraph-integration-tests/run.sh rename to packages/integration-tests/run.sh diff --git a/packages/cds-langgraph-integration-tests/tests/cds-langgraph-persistence/cds-langgraph-checkpointer.test.ts b/packages/integration-tests/tests/cds-langgraph-persistence/cds-langgraph-checkpointer.test.ts similarity index 99% rename from packages/cds-langgraph-integration-tests/tests/cds-langgraph-persistence/cds-langgraph-checkpointer.test.ts rename to packages/integration-tests/tests/cds-langgraph-persistence/cds-langgraph-checkpointer.test.ts index 3fffc69..d69f1fd 100644 --- a/packages/cds-langgraph-integration-tests/tests/cds-langgraph-persistence/cds-langgraph-checkpointer.test.ts +++ b/packages/integration-tests/tests/cds-langgraph-persistence/cds-langgraph-checkpointer.test.ts @@ -54,7 +54,7 @@ async function cleanup() { describe("CDS Plugin Integration", () => { cds.root = path.join(import.meta.dirname, "../"); - const { expect } = cds.test("@mi8y/cds-langgraph-integration-tests"); + const { expect } = cds.test("@mi8y/integration-tests"); // ── CDS Plugin — Model Loading ────────────────────────────────────── diff --git a/packages/cds-langgraph-integration-tests/tsconfig.json b/packages/integration-tests/tsconfig.json similarity index 100% rename from packages/cds-langgraph-integration-tests/tsconfig.json rename to packages/integration-tests/tsconfig.json diff --git a/packages/cds-langgraph-integration-tests/vite.config.ts b/packages/integration-tests/vite.config.ts similarity index 87% rename from packages/cds-langgraph-integration-tests/vite.config.ts rename to packages/integration-tests/vite.config.ts index 13ba0c7..6dfff3d 100644 --- a/packages/cds-langgraph-integration-tests/vite.config.ts +++ b/packages/integration-tests/vite.config.ts @@ -4,7 +4,7 @@ import { defineConfig } from "vite"; export default defineConfig({ // Testing Configuration (Vitest) test: { - name: "cds-langgraph-integration-tests", + name: "integration-tests", globals: true, root: import.meta.dirname, environment: "node", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f962e39..e1d7dc0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,7 +134,7 @@ importers: specifier: ^8.65.0 version: 8.65.0(eslint@10.6.0)(typescript@6.0.3) - packages/cds-langgraph-integration-tests: + packages/integration-tests: dependencies: '@mi8y/cds-langgraph-persistence': specifier: workspace:*