Skip to content

Commit

Permalink
chore: rename flight-sql-client-node to flight-sql-client
Browse files Browse the repository at this point in the history
  • Loading branch information
dav1do committed Nov 14, 2024
1 parent ab08a79 commit aef1a55
Show file tree
Hide file tree
Showing 44 changed files with 31 additions and 34 deletions.
8 changes: 4 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = [
"David Estes <[email protected]>",
]
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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 {}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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__"]
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/c1-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:^",
Expand Down
2 changes: 1 addition & 1 deletion tests/c1-integration/test/flight.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit aef1a55

Please sign in to comment.