diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4aa2f7..8f17e52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,8 +134,8 @@ jobs: with: path: .turbo key: turbo-${{ runner.os }}-node-${{ matrix.node-version }} - - name: Build packages - run: pnpm build:packages + - name: Build + run: pnpm build - name: Run tests run: pnpm test:ci diff --git a/package.json b/package.json index 3b57a25..088b699 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,11 @@ "version": "0.0.0", "type": "module", "scripts": { - "build": "pnpm -r build", - "test": "pnpm -r test", - "dev": "pnpm --filter demo dev", - "bump": "CI=true pnpm run test && pnpm changeset version", - "types:check": "pnpm -r types:check" + "build": "turbo build", + "lint": "pnpm -r lint:check", + "lint:fix": "pnpm -r lint:fix", + "test": "vitest", + "types:check": "turbo --concurrency=100 types:check" }, "devDependencies": { "@changesets/cli": "^2.27.7", diff --git a/turbo.json b/turbo.json index 7afa6c7..06140fc 100644 --- a/turbo.json +++ b/turbo.json @@ -1,12 +1,16 @@ { "$schema": "https://turbo.build/schema.json", "tasks": { + "lint:fix": {}, "build": { "outputs": ["dist/**"], "dependsOn": ["^build"] }, - "test": { - "dependsOn": ["build"] - } + "dev": { + "cache": false, + "persistent": true, + "dependsOn": ["^build"] + }, + "types:check": {} } }