diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90c6f6bdb..549443ba2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: run: yarn verify - name: Run build - run: yarn turbo build --color --concurrency=5 + run: yarn turbo build --concurrency=5 - name: Upload Artifacts uses: actions/upload-artifact@v4 diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 0018cc0ad..1fbbed3af 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -26,4 +26,4 @@ jobs: with: repo-token: "${{ secrets.GITHUB_TOKEN }}" minimum-change-threshold: 10000 # 10 KB - build-script: "turbo run build --color" + build-script: "turbo build" diff --git a/package.json b/package.json index d8e96e126..350a73896 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "MIT", "homepage": "https://github.com/openmrs/openmrs-form-engine-lib#readme", "scripts": { - "lint": "TIMING=1 eslint src --ext .ts,.tsx --fix", + "lint": "eslint src --ext .ts,.tsx --fix", "verify": "turbo lint typescript test", "test": "jest --config ./jest.config.js --passWithNoTests", "build": "webpack --mode production", @@ -86,7 +86,7 @@ "sass": "^1.54.3", "swc-loader": "^0.2.3", "swr": "^2.2.4", - "turbo": "^1.8.5", + "turbo": "^1.13.2", "typescript": "^4.0.3", "webpack": "^5.76.2", "webpack-cli": "^5.0.1", diff --git a/turbo.json b/turbo.json index 69747d8ef..9b7acc6ad 100644 --- a/turbo.json +++ b/turbo.json @@ -4,10 +4,7 @@ "build": { "outputs": ["dist/**"] }, - "test": { - "dependsOn": ["build"], - "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] - }, + "test": {}, "lint": {}, "typescript": {} } diff --git a/yarn.lock b/yarn.lock index ae449d6e3..7f6c84655 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3376,7 +3376,7 @@ __metadata: semver: "npm:^7.3.5" swc-loader: "npm:^0.2.3" swr: "npm:^2.2.4" - turbo: "npm:^1.8.5" + turbo: "npm:^1.13.2" typescript: "npm:^4.0.3" webpack: "npm:^5.76.2" webpack-cli: "npm:^5.0.1" @@ -16843,7 +16843,7 @@ __metadata: languageName: node linkType: hard -"turbo@npm:^1.8.5": +"turbo@npm:^1.13.2": version: 1.13.2 resolution: "turbo@npm:1.13.2" dependencies: