From ee1e50f391b83083b235a8df3ffe9172809b42ec Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 9 May 2023 18:05:52 +0800 Subject: [PATCH] refactor(native): rename folder name --- .commitlintrc.json | 2 +- packages/{octobase-node => native}/.gitignore | 0 packages/{octobase-node => native}/Cargo.toml | 0 packages/{octobase-node => native}/build.rs | 0 packages/{octobase-node => native}/index.d.ts | 0 packages/{octobase-node => native}/index.js | 0 packages/{octobase-node => native}/package.json | 0 packages/{octobase-node => native}/src/block.rs | 0 packages/{octobase-node => native}/src/dynamic_value.rs | 0 packages/{octobase-node => native}/src/lib.rs | 0 packages/{octobase-node => native}/src/storage.rs | 0 packages/{octobase-node => native}/src/workspace.rs | 0 yarn.lock | 4 ++-- 13 files changed, 3 insertions(+), 3 deletions(-) rename packages/{octobase-node => native}/.gitignore (100%) rename packages/{octobase-node => native}/Cargo.toml (100%) rename packages/{octobase-node => native}/build.rs (100%) rename packages/{octobase-node => native}/index.d.ts (100%) rename packages/{octobase-node => native}/index.js (100%) rename packages/{octobase-node => native}/package.json (100%) rename packages/{octobase-node => native}/src/block.rs (100%) rename packages/{octobase-node => native}/src/dynamic_value.rs (100%) rename packages/{octobase-node => native}/src/lib.rs (100%) rename packages/{octobase-node => native}/src/storage.rs (100%) rename packages/{octobase-node => native}/src/workspace.rs (100%) 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