From bea00eb1114303571b85817306a3559bb2655cef Mon Sep 17 00:00:00 2001 From: John Smith Date: Wed, 11 Dec 2024 20:16:17 +1030 Subject: [PATCH] chore: Rename connectors/ to adapters/ (#292) --- .github/workflows/build.yml | 6 +++--- .github/workflows/publish.yml | 6 +++--- {connectors => adapters}/assistant-ui/README.md | 0 {connectors => adapters}/assistant-ui/babel.config.js | 0 {connectors => adapters}/assistant-ui/demo/TestPage.jsx | 0 {connectors => adapters}/assistant-ui/demo/index.css | 0 {connectors => adapters}/assistant-ui/demo/index.html | 0 {connectors => adapters}/assistant-ui/demo/main.jsx | 0 .../assistant-ui/demo/postcss.config.js | 0 .../assistant-ui/demo/tailwind.config.js | 0 {connectors => adapters}/assistant-ui/package-lock.json | 0 {connectors => adapters}/assistant-ui/package.json | 0 {connectors => adapters}/assistant-ui/src/index.ts | 0 .../assistant-ui/src/inferable-provider-runtime.ts | 0 {connectors => adapters}/assistant-ui/tsconfig.json | 0 {connectors => adapters}/assistant-ui/vite.config.js | 0 {connectors => adapters}/trpc-adapter/.gitignore | 0 {connectors => adapters}/trpc-adapter/.npmignore | 0 {connectors => adapters}/trpc-adapter/README.md | 0 {connectors => adapters}/trpc-adapter/eslint.config.mjs | 0 {connectors => adapters}/trpc-adapter/eslintrc.json | 0 {connectors => adapters}/trpc-adapter/jest.config.js | 0 {connectors => adapters}/trpc-adapter/package-lock.json | 0 {connectors => adapters}/trpc-adapter/package.json | 0 {connectors => adapters}/trpc-adapter/src/index.ts | 0 {connectors => adapters}/trpc-adapter/src/test.ts | 0 {connectors => adapters}/trpc-adapter/tsconfig.json | 0 27 files changed, 6 insertions(+), 6 deletions(-) rename {connectors => adapters}/assistant-ui/README.md (100%) rename {connectors => adapters}/assistant-ui/babel.config.js (100%) rename {connectors => adapters}/assistant-ui/demo/TestPage.jsx (100%) rename {connectors => adapters}/assistant-ui/demo/index.css (100%) rename {connectors => adapters}/assistant-ui/demo/index.html (100%) rename {connectors => adapters}/assistant-ui/demo/main.jsx (100%) rename {connectors => adapters}/assistant-ui/demo/postcss.config.js (100%) rename {connectors => adapters}/assistant-ui/demo/tailwind.config.js (100%) rename {connectors => adapters}/assistant-ui/package-lock.json (100%) rename {connectors => adapters}/assistant-ui/package.json (100%) rename {connectors => adapters}/assistant-ui/src/index.ts (100%) rename {connectors => adapters}/assistant-ui/src/inferable-provider-runtime.ts (100%) rename {connectors => adapters}/assistant-ui/tsconfig.json (100%) rename {connectors => adapters}/assistant-ui/vite.config.js (100%) rename {connectors => adapters}/trpc-adapter/.gitignore (100%) rename {connectors => adapters}/trpc-adapter/.npmignore (100%) rename {connectors => adapters}/trpc-adapter/README.md (100%) rename {connectors => adapters}/trpc-adapter/eslint.config.mjs (100%) rename {connectors => adapters}/trpc-adapter/eslintrc.json (100%) rename {connectors => adapters}/trpc-adapter/jest.config.js (100%) rename {connectors => adapters}/trpc-adapter/package-lock.json (100%) rename {connectors => adapters}/trpc-adapter/package.json (100%) rename {connectors => adapters}/trpc-adapter/src/index.ts (100%) rename {connectors => adapters}/trpc-adapter/src/test.ts (100%) rename {connectors => adapters}/trpc-adapter/tsconfig.json (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bcf41627..8ee31ed6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: sdk_react: - 'sdk-react/**' assistant_ui: - - 'connectors/assistant-ui/**' + - 'adapters/assistant-ui/**' cli: - 'cli/**' control_plane: @@ -423,7 +423,7 @@ jobs: contents: read defaults: run: - working-directory: connectors/assistant-ui + working-directory: adapters/assistant-ui steps: - name: Checkout code uses: actions/checkout@v4 @@ -432,7 +432,7 @@ jobs: with: node-version: 20 cache: "npm" - cache-dependency-path: connectors/assistant-ui/package-lock.json + cache-dependency-path: adapters/assistant-ui/package-lock.json - name: Install dependencies run: npm ci - name: Build package diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c60c323..0e037b6c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,7 +40,7 @@ jobs: sdk_react: - 'sdk-react/**' assistant_ui: - - 'connectors/assistant-ui/**' + - 'adapters/assistant-ui/**' sdk_dotnet: - 'sdk-dotnet/**' sdk_go: @@ -176,7 +176,7 @@ jobs: packages: write defaults: run: - working-directory: connectors/assistant-ui + working-directory: adapters/assistant-ui steps: - name: Checkout code uses: actions/checkout@v4 @@ -188,7 +188,7 @@ jobs: with: node-version: 20 cache: "npm" - cache-dependency-path: connectors/assistant-ui/package-lock.json + cache-dependency-path: adapters/assistant-ui/package-lock.json - name: Install dependencies run: npm ci - name: Build package diff --git a/connectors/assistant-ui/README.md b/adapters/assistant-ui/README.md similarity index 100% rename from connectors/assistant-ui/README.md rename to adapters/assistant-ui/README.md diff --git a/connectors/assistant-ui/babel.config.js b/adapters/assistant-ui/babel.config.js similarity index 100% rename from connectors/assistant-ui/babel.config.js rename to adapters/assistant-ui/babel.config.js diff --git a/connectors/assistant-ui/demo/TestPage.jsx b/adapters/assistant-ui/demo/TestPage.jsx similarity index 100% rename from connectors/assistant-ui/demo/TestPage.jsx rename to adapters/assistant-ui/demo/TestPage.jsx diff --git a/connectors/assistant-ui/demo/index.css b/adapters/assistant-ui/demo/index.css similarity index 100% rename from connectors/assistant-ui/demo/index.css rename to adapters/assistant-ui/demo/index.css diff --git a/connectors/assistant-ui/demo/index.html b/adapters/assistant-ui/demo/index.html similarity index 100% rename from connectors/assistant-ui/demo/index.html rename to adapters/assistant-ui/demo/index.html diff --git a/connectors/assistant-ui/demo/main.jsx b/adapters/assistant-ui/demo/main.jsx similarity index 100% rename from connectors/assistant-ui/demo/main.jsx rename to adapters/assistant-ui/demo/main.jsx diff --git a/connectors/assistant-ui/demo/postcss.config.js b/adapters/assistant-ui/demo/postcss.config.js similarity index 100% rename from connectors/assistant-ui/demo/postcss.config.js rename to adapters/assistant-ui/demo/postcss.config.js diff --git a/connectors/assistant-ui/demo/tailwind.config.js b/adapters/assistant-ui/demo/tailwind.config.js similarity index 100% rename from connectors/assistant-ui/demo/tailwind.config.js rename to adapters/assistant-ui/demo/tailwind.config.js diff --git a/connectors/assistant-ui/package-lock.json b/adapters/assistant-ui/package-lock.json similarity index 100% rename from connectors/assistant-ui/package-lock.json rename to adapters/assistant-ui/package-lock.json diff --git a/connectors/assistant-ui/package.json b/adapters/assistant-ui/package.json similarity index 100% rename from connectors/assistant-ui/package.json rename to adapters/assistant-ui/package.json diff --git a/connectors/assistant-ui/src/index.ts b/adapters/assistant-ui/src/index.ts similarity index 100% rename from connectors/assistant-ui/src/index.ts rename to adapters/assistant-ui/src/index.ts diff --git a/connectors/assistant-ui/src/inferable-provider-runtime.ts b/adapters/assistant-ui/src/inferable-provider-runtime.ts similarity index 100% rename from connectors/assistant-ui/src/inferable-provider-runtime.ts rename to adapters/assistant-ui/src/inferable-provider-runtime.ts diff --git a/connectors/assistant-ui/tsconfig.json b/adapters/assistant-ui/tsconfig.json similarity index 100% rename from connectors/assistant-ui/tsconfig.json rename to adapters/assistant-ui/tsconfig.json diff --git a/connectors/assistant-ui/vite.config.js b/adapters/assistant-ui/vite.config.js similarity index 100% rename from connectors/assistant-ui/vite.config.js rename to adapters/assistant-ui/vite.config.js diff --git a/connectors/trpc-adapter/.gitignore b/adapters/trpc-adapter/.gitignore similarity index 100% rename from connectors/trpc-adapter/.gitignore rename to adapters/trpc-adapter/.gitignore diff --git a/connectors/trpc-adapter/.npmignore b/adapters/trpc-adapter/.npmignore similarity index 100% rename from connectors/trpc-adapter/.npmignore rename to adapters/trpc-adapter/.npmignore diff --git a/connectors/trpc-adapter/README.md b/adapters/trpc-adapter/README.md similarity index 100% rename from connectors/trpc-adapter/README.md rename to adapters/trpc-adapter/README.md diff --git a/connectors/trpc-adapter/eslint.config.mjs b/adapters/trpc-adapter/eslint.config.mjs similarity index 100% rename from connectors/trpc-adapter/eslint.config.mjs rename to adapters/trpc-adapter/eslint.config.mjs diff --git a/connectors/trpc-adapter/eslintrc.json b/adapters/trpc-adapter/eslintrc.json similarity index 100% rename from connectors/trpc-adapter/eslintrc.json rename to adapters/trpc-adapter/eslintrc.json diff --git a/connectors/trpc-adapter/jest.config.js b/adapters/trpc-adapter/jest.config.js similarity index 100% rename from connectors/trpc-adapter/jest.config.js rename to adapters/trpc-adapter/jest.config.js diff --git a/connectors/trpc-adapter/package-lock.json b/adapters/trpc-adapter/package-lock.json similarity index 100% rename from connectors/trpc-adapter/package-lock.json rename to adapters/trpc-adapter/package-lock.json diff --git a/connectors/trpc-adapter/package.json b/adapters/trpc-adapter/package.json similarity index 100% rename from connectors/trpc-adapter/package.json rename to adapters/trpc-adapter/package.json diff --git a/connectors/trpc-adapter/src/index.ts b/adapters/trpc-adapter/src/index.ts similarity index 100% rename from connectors/trpc-adapter/src/index.ts rename to adapters/trpc-adapter/src/index.ts diff --git a/connectors/trpc-adapter/src/test.ts b/adapters/trpc-adapter/src/test.ts similarity index 100% rename from connectors/trpc-adapter/src/test.ts rename to adapters/trpc-adapter/src/test.ts diff --git a/connectors/trpc-adapter/tsconfig.json b/adapters/trpc-adapter/tsconfig.json similarity index 100% rename from connectors/trpc-adapter/tsconfig.json rename to adapters/trpc-adapter/tsconfig.json