mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
rename database-core -> database-common
This commit is contained in:
8
.github/workflows/napi.yml
vendored
8
.github/workflows/napi.yml
vendored
@@ -90,8 +90,8 @@ jobs:
|
||||
shell: bash
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- name: Build core
|
||||
run: yarn workspace @tursodatabase/database-core build
|
||||
- name: Build common
|
||||
run: yarn workspace @tursodatabase/database-common build
|
||||
- name: Setup node x86
|
||||
uses: actions/setup-node@v4
|
||||
if: matrix.settings.target == 'x86_64-pc-windows-msvc'
|
||||
@@ -135,8 +135,8 @@ jobs:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- name: Build core
|
||||
run: yarn workspace @tursodatabase/database-core build
|
||||
- name: Build common
|
||||
run: yarn workspace @tursodatabase/database-common build
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
||||
16
bindings/javascript/package-lock.json
generated
16
bindings/javascript/package-lock.json
generated
@@ -5,7 +5,7 @@
|
||||
"packages": {
|
||||
"": {
|
||||
"workspaces": [
|
||||
"packages/core",
|
||||
"packages/common",
|
||||
"packages/native",
|
||||
"packages/browser"
|
||||
]
|
||||
@@ -1101,6 +1101,10 @@
|
||||
"resolved": "packages/browser",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@tursodatabase/database-common": {
|
||||
"resolved": "packages/common",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@tursodatabase/database-core": {
|
||||
"resolved": "packages/core",
|
||||
"link": true
|
||||
@@ -2497,6 +2501,14 @@
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
},
|
||||
"packages/common": {
|
||||
"name": "@tursodatabase/database-common",
|
||||
"version": "0.1.5-pre.3",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"typescript": "^5.9.2"
|
||||
}
|
||||
},
|
||||
"packages/core": {
|
||||
"name": "@tursodatabase/database-core",
|
||||
"version": "0.1.5-pre.3",
|
||||
@@ -2510,7 +2522,7 @@
|
||||
"version": "0.1.5-pre.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tursodatabase/database-core": "^0.1.5-pre.3"
|
||||
"@tursodatabase/database-common": "^0.1.5-pre.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "^3.1.5",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"test": "npm run test --workspaces"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/core",
|
||||
"packages/common",
|
||||
"packages/native",
|
||||
"packages/browser"
|
||||
]
|
||||
|
||||
@@ -39,6 +39,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@napi-rs/wasm-runtime": "^1.0.3",
|
||||
"@tursodatabase/database-core": "^0.1.5-pre.3"
|
||||
"@tursodatabase/database-common": "^0.1.5-pre.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DatabasePromise, NativeDatabase, DatabaseOpts, SqliteError } from "@tursodatabase/database-core"
|
||||
import { DatabasePromise, NativeDatabase, DatabaseOpts, SqliteError } from "@tursodatabase/database-common"
|
||||
import { connect as nativeConnect, initThreadPool, MainWorker } from "#index";
|
||||
|
||||
let workerRequestId = 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@tursodatabase/database-core",
|
||||
"name": "@tursodatabase/database-common",
|
||||
"version": "0.1.5-pre.3",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DatabaseCompat, NativeDatabase, SqliteError, DatabaseOpts } from "@tursodatabase/database-core"
|
||||
import { DatabaseCompat, NativeDatabase, SqliteError, DatabaseOpts } from "@tursodatabase/database-common"
|
||||
import { Database as NativeDB } from "#index";
|
||||
|
||||
class Database extends DatabaseCompat {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@tursodatabase/database-core": "^0.1.5-pre.3"
|
||||
"@tursodatabase/database-common": "^0.1.5-pre.3"
|
||||
},
|
||||
"imports": {
|
||||
"#index": "./index.js"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DatabasePromise, NativeDatabase, SqliteError, DatabaseOpts } from "@tursodatabase/database-core"
|
||||
import { DatabasePromise, NativeDatabase, SqliteError, DatabaseOpts } from "@tursodatabase/database-common"
|
||||
import { Database as NativeDB } from "#index";
|
||||
|
||||
class Database extends DatabasePromise {
|
||||
|
||||
2
bindings/javascript/perf/package-lock.json
generated
2
bindings/javascript/perf/package-lock.json
generated
@@ -23,7 +23,7 @@
|
||||
"version": "0.1.5-pre.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tursodatabase/database-core": "^0.1.5-pre.3"
|
||||
"@tursodatabase/database-common": "^0.1.5-pre.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "^3.1.5",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user