From a78872dbff6c875daf115cab6cc98e27d0388675 Mon Sep 17 00:00:00 2001 From: officeyutong Date: Tue, 24 Dec 2024 17:40:39 +0800 Subject: [PATCH] add workspace --- .gitignore | 3 +++ light-client-js/package.json | 7 +++++++ package.json | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 package.json diff --git a/.gitignore b/.gitignore index 1d86b4e..f5e062d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ **/node_modules/** **/pkg/** /test +/node_modules +/yarn.lock +/package-lock.json diff --git a/light-client-js/package.json b/light-client-js/package.json index 1fc6154..88a7ad1 100644 --- a/light-client-js/package.json +++ b/light-client-js/package.json @@ -28,5 +28,12 @@ }, "exports": { ".": "./dist/index.js" + }, + "publishConfig": { + "registry": "https://npm.pkg.github.com/@Officeyutong" + }, + "repository": { + "type": "git", + "url": "https://github.com/officeyutong/ckb-light-client.git" } } diff --git a/package.json b/package.json new file mode 100644 index 0000000..c1a291e --- /dev/null +++ b/package.json @@ -0,0 +1,9 @@ +{ + "private": true, + "name": "ckb-light-client", + "workspaces": [ + "./light-client-db-worker", + "./light-client-wasm", + "./light-client-js" + ] +}