diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1974f49..c74e0e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,10 @@ name: Build - on: push: jobs: build: runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v3 diff --git a/package.json b/package.json index df9689d..219c27b 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,12 @@ ], "private": true, "scripts": { - "build": "turbo build", + "build": "turbo build --concurrency=2", "watch": "tsc --pretty -w", - "lint": "turbo run lint", + "lint": "turbo run lint --concurrency=2", "prepare": "husky install", - "pretty": "turbo pretty", - "clean-install": "turbo run clean-install", - "install": "turbo run install" + "pretty": "turbo pretty --concurrency=2", + "clean-install": "turbo run clean-install" }, "keywords": [ "whatsapp-cloud-api", diff --git a/packages/component-generator/package.json b/packages/component-generator/package.json index 8ddf97c..64151f0 100644 --- a/packages/component-generator/package.json +++ b/packages/component-generator/package.json @@ -5,11 +5,10 @@ "main": "index.js", "scripts": { "test": "vitest run", - "build": "tsc --pretty", + "build": "yarn tsc --pretty", "lint": "yarn eslint . --max-warnings=0", "pretty": "prettier --config ../../.prettierrc.js --write ./src/**/**/**/**/**/**/**/**/**/**/**/**/**/*.{ts}", - "clean-install": "rm -rf ./node_modules && yarn --frozen-lockfile", - "install": "yarn install --frozen-lockfile" + "clean-install": "rm -rf ./node_modules && yarn install --frozen-lockfile" }, "keywords": [], "author": "", diff --git a/turbo.json b/turbo.json index 8576287..fbd9a4a 100644 --- a/turbo.json +++ b/turbo.json @@ -1,10 +1,6 @@ { "$schema": "https://turbo.build/schema.json", "pipeline": { - "install": { - "cache": false, - "outputMode": "errors-only" - }, "build": { "cache": false, "dependsOn": [ @@ -45,10 +41,6 @@ ], "outputMode": "errors-only" }, - "clean-install": { - "cache": false, - "outputMode": "errors-only" - }, "dev": { "cache": false, "persistent": true