diff --git a/.commitlintrc.json b/.commitlintrc.json index 94cc32357e..11287fcbdf 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -17,7 +17,7 @@ "hooks", "i18n", "jotai", - "octobase-node", + "native", "templates", "y-indexeddb", "debug", diff --git a/packages/octobase-node/.gitignore b/packages/native/.gitignore similarity index 100% rename from packages/octobase-node/.gitignore rename to packages/native/.gitignore diff --git a/packages/octobase-node/Cargo.toml b/packages/native/Cargo.toml similarity index 100% rename from packages/octobase-node/Cargo.toml rename to packages/native/Cargo.toml diff --git a/packages/octobase-node/build.rs b/packages/native/build.rs similarity index 100% rename from packages/octobase-node/build.rs rename to packages/native/build.rs diff --git a/packages/octobase-node/index.d.ts b/packages/native/index.d.ts similarity index 100% rename from packages/octobase-node/index.d.ts rename to packages/native/index.d.ts diff --git a/packages/octobase-node/index.js b/packages/native/index.js similarity index 100% rename from packages/octobase-node/index.js rename to packages/native/index.js diff --git a/packages/octobase-node/package.json b/packages/native/package.json similarity index 100% rename from packages/octobase-node/package.json rename to packages/native/package.json diff --git a/packages/octobase-node/src/block.rs b/packages/native/src/block.rs similarity index 100% rename from packages/octobase-node/src/block.rs rename to packages/native/src/block.rs diff --git a/packages/octobase-node/src/dynamic_value.rs b/packages/native/src/dynamic_value.rs similarity index 100% rename from packages/octobase-node/src/dynamic_value.rs rename to packages/native/src/dynamic_value.rs diff --git a/packages/octobase-node/src/lib.rs b/packages/native/src/lib.rs similarity index 100% rename from packages/octobase-node/src/lib.rs rename to packages/native/src/lib.rs diff --git a/packages/octobase-node/src/storage.rs b/packages/native/src/storage.rs similarity index 100% rename from packages/octobase-node/src/storage.rs rename to packages/native/src/storage.rs diff --git a/packages/octobase-node/src/workspace.rs b/packages/native/src/workspace.rs similarity index 100% rename from packages/octobase-node/src/workspace.rs rename to packages/native/src/workspace.rs diff --git a/yarn.lock b/yarn.lock index 280024f3ea..5c7cc985ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -232,9 +232,9 @@ __metadata: languageName: unknown linkType: soft -"@affine/octobase-node@workspace:packages/octobase-node": +"@affine/octobase-node@workspace:packages/native": version: 0.0.0-use.local - resolution: "@affine/octobase-node@workspace:packages/octobase-node" + resolution: "@affine/octobase-node@workspace:packages/native" dependencies: "@napi-rs/cli": ^2.15.2 "@types/node": ^18.16.7