From 2ddb2c5501db52cd66bddede9d69d477363a1c63 Mon Sep 17 00:00:00 2001 From: Tom Lanser Date: Wed, 30 Oct 2024 15:07:03 +0100 Subject: [PATCH] build: omit src in build folder Signed-off-by: Tom Lanser --- .github/workflows/pipeline.yaml | 4 ++-- package.json | 6 +++--- packages/core/tsconfig.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index b8933b9..ac18e5a 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -37,13 +37,13 @@ jobs: run: pnpm install - name: Check formatting - run: pnpm check:style + run: pnpm style:fix - name: Build run: pnpm build - name: Check types - run: pnpm check:types + run: pnpm types:check - name: Test run: pnpm test diff --git a/package.json b/package.json index 9f92f4c..fc0505e 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ "clean": "rimraf **/build", "clean:deps ": "pnpm clean && rimraf node_modules", "build": "pnpm -r build", - "check:style": "pnpm biome check .", - "check:types": "pnpm build --noEmit", - "format": "pnpm check:style --write --unsafe", + "style:check": "pnpm biome check .", + "style:fix": "pnpm style:check --write --unsafe", + "types:check": "pnpm build --noEmit", "test": "pnpm -r test", "release": "lerna publish" }, diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 6dbc485..8d48fb2 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": ".", - "outDir": "build" + "rootDir": "./src", + "outDir": "./build" } }