From fa15f9dfa046217f108d351d691a9095d51ef7c2 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Thu, 7 Nov 2024 20:32:43 +0900 Subject: [PATCH] fix(build): rename build script to sdk:build Updated README.md and package.json to reflect the new script name for building SDK. --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7824dac..11eb0da 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ To set up the project locally, `bun` is the preferred package manager. 2. Build the SDK ``` - bun build + bun sdk:build ``` 3. Link it locally to another plugin ``` @@ -39,7 +39,7 @@ To set up the project locally, `bun` is the preferred package manager. The project provides several npm scripts for various tasks: -- `bun run build`: Compiles the TypeScript code. +- `bun run sdk:build`: Compiles the TypeScript code. - `bun run test`: Runs the tests. - `bun run lint`: Runs the linter. - `bun run format`: Formats the code using Prettier. diff --git a/package.json b/package.json index e5f4d9b..fe6cacd 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dist" ], "scripts": { - "build": "tsup", + "sdk:build": "tsup", "format": "run-s format:lint format:prettier format:cspell", "format:lint": "eslint --fix .", "format:prettier": "prettier --write .",