diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 27d620f..6053989 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -30,11 +30,11 @@ "node": ">=18.0.0" }, "scripts": { - "build-tsc": "tsc", - "build": "tsup src/index.ts --format esm --dts", + "build": "tsc", + "bundle": "tsup src/index.ts --format esm --dts", "dev": "tsup src/index.ts --format esm --watch --dts", "lint": "pnpm run type-check && eslint \"src/**/*.ts*\"", - "type-check": "tsc", + "type-check": "tsc --noEmit", "format": "prettier --write .", "check-format": "prettier --check .", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", diff --git a/packages/sdk/tsconfig.json b/packages/sdk/tsconfig.json index 612f8d4..8896fd5 100644 --- a/packages/sdk/tsconfig.json +++ b/packages/sdk/tsconfig.json @@ -1,12 +1,12 @@ { "extends": "@across-toolkit/typescript-config/base.json", - "include": ["src/index.ts"], + "include": ["src"], "exclude": ["dist"], "compilerOptions": { + "outDir": "dist", "sourceMap": true, "declarationMap": true, "declaration": true, - "noEmit": true, "moduleResolution": "Bundler", "target": "es2022", "lib": ["es2022", "dom", "dom.iterable"],