From aef1a5572f14c88bc6c61d9f7104df0cdd47b3a6 Mon Sep 17 00:00:00 2001 From: David Estes Date: Thu, 14 Nov 2024 12:41:50 -0700 Subject: [PATCH] chore: rename flight-sql-client-node to flight-sql-client --- biome.json | 8 ++--- .../.cargo/config.toml | 0 .../Cargo.toml | 2 +- .../LICENSE | 0 .../README.md | 0 .../build.rs | 0 .../index.d.ts | 0 .../index.js | 36 +++++++++---------- .../npm/android-arm-eabi/README.md | 0 .../npm/android-arm-eabi/package.json | 0 .../npm/android-arm64/README.md | 0 .../npm/android-arm64/package.json | 0 .../npm/darwin-arm64/README.md | 0 .../npm/darwin-arm64/package.json | 0 .../npm/darwin-x64/README.md | 0 .../npm/darwin-x64/package.json | 0 .../npm/freebsd-x64/README.md | 0 .../npm/freebsd-x64/package.json | 0 .../npm/linux-arm-gnueabihf/README.md | 0 .../npm/linux-arm-gnueabihf/package.json | 0 .../npm/linux-arm64-gnu/README.md | 0 .../npm/linux-arm64-gnu/package.json | 0 .../npm/linux-arm64-musl/README.md | 0 .../npm/linux-arm64-musl/package.json | 0 .../npm/linux-x64-gnu/README.md | 0 .../npm/linux-x64-gnu/package.json | 0 .../npm/linux-x64-musl/README.md | 0 .../npm/linux-x64-musl/package.json | 0 .../npm/win32-ia32-msvc/README.md | 0 .../npm/win32-ia32-msvc/package.json | 0 .../npm/win32-x64-msvc/README.md | 0 .../npm/win32-x64-msvc/package.json | 0 .../package.json | 4 +-- .../src/conversion.rs | 0 .../src/error.rs | 0 .../src/flight_client.rs | 0 .../src/lib.rs | 0 .../test/index.spec.ts | 0 .../ts/client.ts | 0 .../ts/index.ts | 0 .../tsconfig.json | 5 +-- pnpm-lock.yaml | 6 ++-- tests/c1-integration/package.json | 2 +- tests/c1-integration/test/flight.test.ts | 2 +- 44 files changed, 31 insertions(+), 34 deletions(-) rename packages/{flight-sql-client-node => flight-sql-client}/.cargo/config.toml (100%) rename packages/{flight-sql-client-node => flight-sql-client}/Cargo.toml (95%) rename packages/{flight-sql-client-node => flight-sql-client}/LICENSE (100%) rename packages/{flight-sql-client-node => flight-sql-client}/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/build.rs (100%) rename packages/{flight-sql-client-node => flight-sql-client}/index.d.ts (100%) rename packages/{flight-sql-client-node => flight-sql-client}/index.js (95%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/android-arm-eabi/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/android-arm-eabi/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/android-arm64/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/android-arm64/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/darwin-arm64/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/darwin-arm64/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/darwin-x64/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/darwin-x64/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/freebsd-x64/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/freebsd-x64/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-arm-gnueabihf/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-arm-gnueabihf/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-arm64-gnu/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-arm64-gnu/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-arm64-musl/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-arm64-musl/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-x64-gnu/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-x64-gnu/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-x64-musl/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/linux-x64-musl/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/win32-ia32-msvc/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/win32-ia32-msvc/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/win32-x64-msvc/README.md (100%) rename packages/{flight-sql-client-node => flight-sql-client}/npm/win32-x64-msvc/package.json (100%) rename packages/{flight-sql-client-node => flight-sql-client}/package.json (94%) rename packages/{flight-sql-client-node => flight-sql-client}/src/conversion.rs (100%) rename packages/{flight-sql-client-node => flight-sql-client}/src/error.rs (100%) rename packages/{flight-sql-client-node => flight-sql-client}/src/flight_client.rs (100%) rename packages/{flight-sql-client-node => flight-sql-client}/src/lib.rs (100%) rename packages/{flight-sql-client-node => flight-sql-client}/test/index.spec.ts (100%) rename packages/{flight-sql-client-node => flight-sql-client}/ts/client.ts (100%) rename packages/{flight-sql-client-node => flight-sql-client}/ts/index.ts (100%) rename packages/{flight-sql-client-node => flight-sql-client}/tsconfig.json (71%) diff --git a/biome.json b/biome.json index d49bb9c..e8d42ce 100644 --- a/biome.json +++ b/biome.json @@ -8,8 +8,8 @@ "enabled": true, "formatWithErrors": false, "ignore": [ - "./packages/flight-sql-client-node/index.d.ts", - "./packages/flight-sql-client-node/index.js" + "./packages/flight-sql-client/index.d.ts", + "./packages/flight-sql-client/index.js" ], "indentStyle": "space", "lineWidth": 80 @@ -28,8 +28,8 @@ "enabled": true, "ignore": [ "*.gen.ts", - "./packages/flight-sql-client-node/index.d.ts", - "./packages/flight-sql-client-node/index.js" + "./packages/flight-sql-client/index.d.ts", + "./packages/flight-sql-client/index.js" ], "rules": { "recommended": true diff --git a/packages/flight-sql-client-node/.cargo/config.toml b/packages/flight-sql-client/.cargo/config.toml similarity index 100% rename from packages/flight-sql-client-node/.cargo/config.toml rename to packages/flight-sql-client/.cargo/config.toml diff --git a/packages/flight-sql-client-node/Cargo.toml b/packages/flight-sql-client/Cargo.toml similarity index 95% rename from packages/flight-sql-client-node/Cargo.toml rename to packages/flight-sql-client/Cargo.toml index ec30e9d..ebd85c3 100644 --- a/packages/flight-sql-client-node/Cargo.toml +++ b/packages/flight-sql-client/Cargo.toml @@ -4,7 +4,7 @@ authors = [ "David Estes ", ] edition = "2021" -name = "flight-sql-client-node" +name = "flight-sql-client" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/flight-sql-client-node/LICENSE b/packages/flight-sql-client/LICENSE similarity index 100% rename from packages/flight-sql-client-node/LICENSE rename to packages/flight-sql-client/LICENSE diff --git a/packages/flight-sql-client-node/README.md b/packages/flight-sql-client/README.md similarity index 100% rename from packages/flight-sql-client-node/README.md rename to packages/flight-sql-client/README.md diff --git a/packages/flight-sql-client-node/build.rs b/packages/flight-sql-client/build.rs similarity index 100% rename from packages/flight-sql-client-node/build.rs rename to packages/flight-sql-client/build.rs diff --git a/packages/flight-sql-client-node/index.d.ts b/packages/flight-sql-client/index.d.ts similarity index 100% rename from packages/flight-sql-client-node/index.d.ts rename to packages/flight-sql-client/index.d.ts diff --git a/packages/flight-sql-client-node/index.js b/packages/flight-sql-client/index.js similarity index 95% rename from packages/flight-sql-client-node/index.js rename to packages/flight-sql-client/index.js index 8ee030a..58ec154 100644 --- a/packages/flight-sql-client-node/index.js +++ b/packages/flight-sql-client/index.js @@ -37,7 +37,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.android-arm64.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-android-arm64') + nativeBinding = require('@ceramic-sdk/flight-sql-client-android-arm64') } } catch (e) { loadError = e @@ -49,7 +49,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.android-arm-eabi.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-android-arm-eabi') + nativeBinding = require('@ceramic-sdk/flight-sql-client-android-arm-eabi') } } catch (e) { loadError = e @@ -69,7 +69,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.win32-x64-msvc.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-win32-x64-msvc') + nativeBinding = require('@ceramic-sdk/flight-sql-client-win32-x64-msvc') } } catch (e) { loadError = e @@ -83,7 +83,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.win32-ia32-msvc.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-win32-ia32-msvc') + nativeBinding = require('@ceramic-sdk/flight-sql-client-win32-ia32-msvc') } } catch (e) { loadError = e @@ -97,7 +97,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.win32-arm64-msvc.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-win32-arm64-msvc') + nativeBinding = require('@ceramic-sdk/flight-sql-client-win32-arm64-msvc') } } catch (e) { loadError = e @@ -113,7 +113,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.darwin-universal.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-darwin-universal') + nativeBinding = require('@ceramic-sdk/flight-sql-client-darwin-universal') } break } catch {} @@ -124,7 +124,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.darwin-x64.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-darwin-x64') + nativeBinding = require('@ceramic-sdk/flight-sql-client-darwin-x64') } } catch (e) { loadError = e @@ -138,7 +138,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.darwin-arm64.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-darwin-arm64') + nativeBinding = require('@ceramic-sdk/flight-sql-client-darwin-arm64') } } catch (e) { loadError = e @@ -157,7 +157,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.freebsd-x64.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-freebsd-x64') + nativeBinding = require('@ceramic-sdk/flight-sql-client-freebsd-x64') } } catch (e) { loadError = e @@ -174,7 +174,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-x64-musl.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-x64-musl') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-x64-musl') } } catch (e) { loadError = e @@ -187,7 +187,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-x64-gnu.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-x64-gnu') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-x64-gnu') } } catch (e) { loadError = e @@ -203,7 +203,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-arm64-musl.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-arm64-musl') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-arm64-musl') } } catch (e) { loadError = e @@ -216,7 +216,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-arm64-gnu.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-arm64-gnu') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-arm64-gnu') } } catch (e) { loadError = e @@ -232,7 +232,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-arm-musleabihf.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-arm-musleabihf') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-arm-musleabihf') } } catch (e) { loadError = e @@ -245,7 +245,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-arm-gnueabihf.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-arm-gnueabihf') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-arm-gnueabihf') } } catch (e) { loadError = e @@ -261,7 +261,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-riscv64-musl.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-riscv64-musl') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-riscv64-musl') } } catch (e) { loadError = e @@ -274,7 +274,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-riscv64-gnu.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-riscv64-gnu') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-riscv64-gnu') } } catch (e) { loadError = e @@ -289,7 +289,7 @@ switch (platform) { if (localFileExisted) { nativeBinding = require('./flight-sql-client-node.linux-s390x-gnu.node') } else { - nativeBinding = require('@ceramic-sdk/flight-sql-client-node-linux-s390x-gnu') + nativeBinding = require('@ceramic-sdk/flight-sql-client-linux-s390x-gnu') } } catch (e) { loadError = e diff --git a/packages/flight-sql-client-node/npm/android-arm-eabi/README.md b/packages/flight-sql-client/npm/android-arm-eabi/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/android-arm-eabi/README.md rename to packages/flight-sql-client/npm/android-arm-eabi/README.md diff --git a/packages/flight-sql-client-node/npm/android-arm-eabi/package.json b/packages/flight-sql-client/npm/android-arm-eabi/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/android-arm-eabi/package.json rename to packages/flight-sql-client/npm/android-arm-eabi/package.json diff --git a/packages/flight-sql-client-node/npm/android-arm64/README.md b/packages/flight-sql-client/npm/android-arm64/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/android-arm64/README.md rename to packages/flight-sql-client/npm/android-arm64/README.md diff --git a/packages/flight-sql-client-node/npm/android-arm64/package.json b/packages/flight-sql-client/npm/android-arm64/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/android-arm64/package.json rename to packages/flight-sql-client/npm/android-arm64/package.json diff --git a/packages/flight-sql-client-node/npm/darwin-arm64/README.md b/packages/flight-sql-client/npm/darwin-arm64/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/darwin-arm64/README.md rename to packages/flight-sql-client/npm/darwin-arm64/README.md diff --git a/packages/flight-sql-client-node/npm/darwin-arm64/package.json b/packages/flight-sql-client/npm/darwin-arm64/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/darwin-arm64/package.json rename to packages/flight-sql-client/npm/darwin-arm64/package.json diff --git a/packages/flight-sql-client-node/npm/darwin-x64/README.md b/packages/flight-sql-client/npm/darwin-x64/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/darwin-x64/README.md rename to packages/flight-sql-client/npm/darwin-x64/README.md diff --git a/packages/flight-sql-client-node/npm/darwin-x64/package.json b/packages/flight-sql-client/npm/darwin-x64/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/darwin-x64/package.json rename to packages/flight-sql-client/npm/darwin-x64/package.json diff --git a/packages/flight-sql-client-node/npm/freebsd-x64/README.md b/packages/flight-sql-client/npm/freebsd-x64/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/freebsd-x64/README.md rename to packages/flight-sql-client/npm/freebsd-x64/README.md diff --git a/packages/flight-sql-client-node/npm/freebsd-x64/package.json b/packages/flight-sql-client/npm/freebsd-x64/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/freebsd-x64/package.json rename to packages/flight-sql-client/npm/freebsd-x64/package.json diff --git a/packages/flight-sql-client-node/npm/linux-arm-gnueabihf/README.md b/packages/flight-sql-client/npm/linux-arm-gnueabihf/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/linux-arm-gnueabihf/README.md rename to packages/flight-sql-client/npm/linux-arm-gnueabihf/README.md diff --git a/packages/flight-sql-client-node/npm/linux-arm-gnueabihf/package.json b/packages/flight-sql-client/npm/linux-arm-gnueabihf/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/linux-arm-gnueabihf/package.json rename to packages/flight-sql-client/npm/linux-arm-gnueabihf/package.json diff --git a/packages/flight-sql-client-node/npm/linux-arm64-gnu/README.md b/packages/flight-sql-client/npm/linux-arm64-gnu/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/linux-arm64-gnu/README.md rename to packages/flight-sql-client/npm/linux-arm64-gnu/README.md diff --git a/packages/flight-sql-client-node/npm/linux-arm64-gnu/package.json b/packages/flight-sql-client/npm/linux-arm64-gnu/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/linux-arm64-gnu/package.json rename to packages/flight-sql-client/npm/linux-arm64-gnu/package.json diff --git a/packages/flight-sql-client-node/npm/linux-arm64-musl/README.md b/packages/flight-sql-client/npm/linux-arm64-musl/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/linux-arm64-musl/README.md rename to packages/flight-sql-client/npm/linux-arm64-musl/README.md diff --git a/packages/flight-sql-client-node/npm/linux-arm64-musl/package.json b/packages/flight-sql-client/npm/linux-arm64-musl/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/linux-arm64-musl/package.json rename to packages/flight-sql-client/npm/linux-arm64-musl/package.json diff --git a/packages/flight-sql-client-node/npm/linux-x64-gnu/README.md b/packages/flight-sql-client/npm/linux-x64-gnu/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/linux-x64-gnu/README.md rename to packages/flight-sql-client/npm/linux-x64-gnu/README.md diff --git a/packages/flight-sql-client-node/npm/linux-x64-gnu/package.json b/packages/flight-sql-client/npm/linux-x64-gnu/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/linux-x64-gnu/package.json rename to packages/flight-sql-client/npm/linux-x64-gnu/package.json diff --git a/packages/flight-sql-client-node/npm/linux-x64-musl/README.md b/packages/flight-sql-client/npm/linux-x64-musl/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/linux-x64-musl/README.md rename to packages/flight-sql-client/npm/linux-x64-musl/README.md diff --git a/packages/flight-sql-client-node/npm/linux-x64-musl/package.json b/packages/flight-sql-client/npm/linux-x64-musl/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/linux-x64-musl/package.json rename to packages/flight-sql-client/npm/linux-x64-musl/package.json diff --git a/packages/flight-sql-client-node/npm/win32-ia32-msvc/README.md b/packages/flight-sql-client/npm/win32-ia32-msvc/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/win32-ia32-msvc/README.md rename to packages/flight-sql-client/npm/win32-ia32-msvc/README.md diff --git a/packages/flight-sql-client-node/npm/win32-ia32-msvc/package.json b/packages/flight-sql-client/npm/win32-ia32-msvc/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/win32-ia32-msvc/package.json rename to packages/flight-sql-client/npm/win32-ia32-msvc/package.json diff --git a/packages/flight-sql-client-node/npm/win32-x64-msvc/README.md b/packages/flight-sql-client/npm/win32-x64-msvc/README.md similarity index 100% rename from packages/flight-sql-client-node/npm/win32-x64-msvc/README.md rename to packages/flight-sql-client/npm/win32-x64-msvc/README.md diff --git a/packages/flight-sql-client-node/npm/win32-x64-msvc/package.json b/packages/flight-sql-client/npm/win32-x64-msvc/package.json similarity index 100% rename from packages/flight-sql-client-node/npm/win32-x64-msvc/package.json rename to packages/flight-sql-client/npm/win32-x64-msvc/package.json diff --git a/packages/flight-sql-client-node/package.json b/packages/flight-sql-client/package.json similarity index 94% rename from packages/flight-sql-client-node/package.json rename to packages/flight-sql-client/package.json index 9090e10..c672f69 100644 --- a/packages/flight-sql-client-node/package.json +++ b/packages/flight-sql-client/package.json @@ -1,7 +1,7 @@ { - "name": "@ceramic-sdk/flight-sql-client-node", + "name": "@ceramic-sdk/flight-sql-client", "version": "0.0.1", - "description": "A FlightSQL client for Node.js", + "description": "A FlightSQL client. Currently only supports Node.js", "main": "index.js", "license": "MIT", "keywords": [ diff --git a/packages/flight-sql-client-node/src/conversion.rs b/packages/flight-sql-client/src/conversion.rs similarity index 100% rename from packages/flight-sql-client-node/src/conversion.rs rename to packages/flight-sql-client/src/conversion.rs diff --git a/packages/flight-sql-client-node/src/error.rs b/packages/flight-sql-client/src/error.rs similarity index 100% rename from packages/flight-sql-client-node/src/error.rs rename to packages/flight-sql-client/src/error.rs diff --git a/packages/flight-sql-client-node/src/flight_client.rs b/packages/flight-sql-client/src/flight_client.rs similarity index 100% rename from packages/flight-sql-client-node/src/flight_client.rs rename to packages/flight-sql-client/src/flight_client.rs diff --git a/packages/flight-sql-client-node/src/lib.rs b/packages/flight-sql-client/src/lib.rs similarity index 100% rename from packages/flight-sql-client-node/src/lib.rs rename to packages/flight-sql-client/src/lib.rs diff --git a/packages/flight-sql-client-node/test/index.spec.ts b/packages/flight-sql-client/test/index.spec.ts similarity index 100% rename from packages/flight-sql-client-node/test/index.spec.ts rename to packages/flight-sql-client/test/index.spec.ts diff --git a/packages/flight-sql-client-node/ts/client.ts b/packages/flight-sql-client/ts/client.ts similarity index 100% rename from packages/flight-sql-client-node/ts/client.ts rename to packages/flight-sql-client/ts/client.ts diff --git a/packages/flight-sql-client-node/ts/index.ts b/packages/flight-sql-client/ts/index.ts similarity index 100% rename from packages/flight-sql-client-node/ts/index.ts rename to packages/flight-sql-client/ts/index.ts diff --git a/packages/flight-sql-client-node/tsconfig.json b/packages/flight-sql-client/tsconfig.json similarity index 71% rename from packages/flight-sql-client-node/tsconfig.json rename to packages/flight-sql-client/tsconfig.json index 9835601..b4c366e 100644 --- a/packages/flight-sql-client-node/tsconfig.json +++ b/packages/flight-sql-client/tsconfig.json @@ -8,10 +8,7 @@ "noUnusedLocals": true, "noUnusedParameters": true, "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "outDir": "./dist" + "allowSyntheticDefaultImports": true }, "include": ["."], "exclude": ["node_modules", "bench", "__test__"] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index faed810..333c368 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,7 +185,7 @@ importers: specifier: ^5.0.2 version: 5.0.2(typescript@5.6.2)(zod@3.23.8) - packages/flight-sql-client-node: + packages/flight-sql-client: dependencies: apache-arrow: specifier: ^18.0.0 @@ -555,9 +555,9 @@ importers: '@ceramic-sdk/events': specifier: workspace:^ version: link:../../packages/events - '@ceramic-sdk/flight-sql-client-node': + '@ceramic-sdk/flight-sql-client': specifier: workspace:^ - version: link:../../packages/flight-sql-client-node + version: link:../../packages/flight-sql-client '@ceramic-sdk/http-client': specifier: workspace:^ version: link:../../packages/http-client diff --git a/tests/c1-integration/package.json b/tests/c1-integration/package.json index 867ba6c..4846f39 100644 --- a/tests/c1-integration/package.json +++ b/tests/c1-integration/package.json @@ -21,7 +21,7 @@ "dependencies": { "@ceramic-sdk/events": "workspace:^", "@ceramic-sdk/identifiers": "workspace:^", - "@ceramic-sdk/flight-sql-client-node": "workspace:^", + "@ceramic-sdk/flight-sql-client": "workspace:^", "@ceramic-sdk/http-client": "workspace:^", "@ceramic-sdk/model-client": "workspace:^", "@ceramic-sdk/model-handler": "workspace:^", diff --git a/tests/c1-integration/test/flight.test.ts b/tests/c1-integration/test/flight.test.ts index 0846528..ea02ea8 100644 --- a/tests/c1-integration/test/flight.test.ts +++ b/tests/c1-integration/test/flight.test.ts @@ -2,7 +2,7 @@ import { type ClientOptions, type FlightSqlClient, createFlightSqlClient, -} from '@ceramic-sdk/flight-sql-client-node' +} from '@ceramic-sdk/flight-sql-client' import { tableFromIPC } from 'apache-arrow' import CeramicOneContainer from '../src' import type { EnvironmentOptions } from '../src'