From 46433747a26dd35d5907c5449f673fd8513160a0 Mon Sep 17 00:00:00 2001 From: Vladimir Reznichenko Date: Wed, 16 Oct 2024 12:02:31 +0200 Subject: [PATCH] [dev] CI: liverage composer packages cache in pr-lint-monorepo workflow (#52054) --- .../actions/setup-woocommerce-monorepo/action.yml | 13 ++++++++----- .github/workflows/pr-lint-monorepo.yml | 11 ++++++++++- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/admin-e2e-tests/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/admin-layout/package.json | 2 +- .../js/ai/changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/ai/package.json | 2 +- .../api/changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/api/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/block-templates/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/components/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ .../js/create-product-editor-block/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/create-woo-extension/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/csv-export/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/currency/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/customer-effort-score/package.json | 2 +- .../data/changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/data/package.json | 2 +- .../date/changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/date/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ .../package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/eslint-plugin/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/experimental/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/explat/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/expression-evaluation/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/extend-cart-checkout-block/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/integrate-plugin/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/internal-js-tests/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/navigation/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/notices/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/number/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/onboarding/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/product-editor/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/remote-logging/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/js/tracks/package.json | 2 +- .../changelog/dev-ci-lint-monorepo-job-update | 4 ++++ packages/php/remote-specs-validation/package.json | 2 +- 60 files changed, 163 insertions(+), 35 deletions(-) create mode 100644 packages/js/admin-e2e-tests/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/admin-layout/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/ai/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/api/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/block-templates/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/components/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/create-product-editor-block/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/create-woo-extension/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/csv-export/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/currency/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/customer-effort-score/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/data/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/date/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/dependency-extraction-webpack-plugin/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/eslint-plugin/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/experimental/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/explat/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/expression-evaluation/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/extend-cart-checkout-block/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/integrate-plugin/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/internal-js-tests/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/navigation/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/notices/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/number/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/onboarding/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/product-editor/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/remote-logging/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/js/tracks/changelog/dev-ci-lint-monorepo-job-update create mode 100644 packages/php/remote-specs-validation/changelog/dev-ci-lint-monorepo-job-update diff --git a/.github/actions/setup-woocommerce-monorepo/action.yml b/.github/actions/setup-woocommerce-monorepo/action.yml index c6a7031c7af..3309cbfdfc4 100644 --- a/.github/actions/setup-woocommerce-monorepo/action.yml +++ b/.github/actions/setup-woocommerce-monorepo/action.yml @@ -13,11 +13,14 @@ inputs: build-type: description: 'Given "full" or "backend" will perform optimized build steps.' default: 'full' + pull-package-deps: + description: 'Given a string value, will pull the package specific dependencies cache.' + default: false pull-playwright-cache: description: 'Given a boolean value, invokes Playwright dependencies caching.' default: false - pull-package-deps: - description: 'Given a string value, will pull the package specific dependencies cache.' + pull-package-composer-deps: + description: 'Given a string value, will pull the package specific dependencies cache. Not necessary if pull-package-deps is specified.' default: false runs: using: 'composite' @@ -62,12 +65,12 @@ runs: key: "${{ runner.os }}-node-cache-${{ inputs.pull-package-deps }}-${{ hashFiles( 'pnpm-lock.yaml' ) }}" restore-keys: '${{ runner.os }}-node-cache-${{ inputs.pull-package-deps }}-' - name: 'Cache Composer Dependencies' - if: ${{ inputs.pull-package-deps != 'false' }} + if: ${{ inputs.pull-package-deps != 'false' || inputs.pull-package-composer-deps != 'false' }} uses: 'actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319' with: path: '~/.cache/composer/files' - key: "${{ runner.os }}-composer-${{ inputs.pull-package-deps }}-${{ hashFiles( 'packages/*/*/composer.lock', 'plugins/*/composer.lock' ) }}" - restore-keys: '${{ runner.os }}-composer-${{ inputs.pull-package-deps }}-' + key: "${{ runner.os }}-composer-${{ ( inputs.pull-package-deps != 'false' && inputs.pull-package-deps ) || inputs.pull-package-composer-deps }}-${{ hashFiles( 'packages/*/*/composer.lock', 'plugins/*/composer.lock' ) }}" + restore-keys: "${{ runner.os }}-composer-${{ ( inputs.pull-package-deps != 'false' && inputs.pull-package-deps ) || inputs.pull-package-composer-deps }}-" - name: 'Cache: playwright downloads' if: ${{ inputs.pull-playwright-cache != 'false' }} uses: 'actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319' diff --git a/.github/workflows/pr-lint-monorepo.yml b/.github/workflows/pr-lint-monorepo.yml index 9a03021dc60..43cd13fda28 100644 --- a/.github/workflows/pr-lint-monorepo.yml +++ b/.github/workflows/pr-lint-monorepo.yml @@ -1,14 +1,20 @@ name: Run lint checks potentially affecting projects across the monorepo on: pull_request: + paths-ignore: + - '**/changelog/**' branches: - 'trunk' + concurrency: group: changelogger-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true permissions: {} +env: + FORCE_COLOR: 1 + jobs: changelogger_used: name: Changelogger use @@ -24,6 +30,9 @@ jobs: - name: Setup WooCommerce Monorepo uses: ./.github/actions/setup-woocommerce-monorepo + with: + # The package has majority of composer-deps, therefore referencing it + pull-package-composer-deps: '@woocommerce/plugin-woocommerce' - name: Check change files are touched for touched projects env: @@ -32,4 +41,4 @@ jobs: run: php tools/monorepo/check-changelogger-use.php --debug "$BASE" "$HEAD" - name: Run changelog validation - run: pnpm -r changelog validate + run: pnpm --recursive --parallel --stream changelog validate diff --git a/packages/js/admin-e2e-tests/changelog/dev-ci-lint-monorepo-job-update b/packages/js/admin-e2e-tests/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/admin-e2e-tests/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/admin-e2e-tests/package.json b/packages/js/admin-e2e-tests/package.json index 18d8502666d..0ff71a716e0 100644 --- a/packages/js/admin-e2e-tests/package.json +++ b/packages/js/admin-e2e-tests/package.json @@ -29,7 +29,7 @@ "build": "pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name...\" '/^build:project:.*$/'", "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:typescript": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/admin-layout/changelog/dev-ci-lint-monorepo-job-update b/packages/js/admin-layout/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/admin-layout/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/admin-layout/package.json b/packages/js/admin-layout/package.json index 9d0333a07eb..a6fecfba800 100644 --- a/packages/js/admin-layout/package.json +++ b/packages/js/admin-layout/package.json @@ -39,7 +39,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/ai/changelog/dev-ci-lint-monorepo-job-update b/packages/js/ai/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/ai/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/ai/package.json b/packages/js/ai/package.json index ceac0c5bc53..eb98973b8cc 100644 --- a/packages/js/ai/package.json +++ b/packages/js/ai/package.json @@ -37,7 +37,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/api/changelog/dev-ci-lint-monorepo-job-update b/packages/js/api/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/api/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/api/package.json b/packages/js/api/package.json index 452a3df0c21..1b04bdd76b6 100644 --- a/packages/js/api/package.json +++ b/packages/js/api/package.json @@ -33,7 +33,7 @@ "build": "pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name...\" '/^build:project:.*$/'", "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:typescript": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/block-templates/changelog/dev-ci-lint-monorepo-job-update b/packages/js/block-templates/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/block-templates/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/block-templates/package.json b/packages/js/block-templates/package.json index 1dcceef9060..8d3b4936264 100644 --- a/packages/js/block-templates/package.json +++ b/packages/js/block-templates/package.json @@ -36,7 +36,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/components/changelog/dev-ci-lint-monorepo-job-update b/packages/js/components/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/components/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/components/package.json b/packages/js/components/package.json index 2f5966f185c..8be28647979 100644 --- a/packages/js/components/package.json +++ b/packages/js/components/package.json @@ -41,7 +41,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint --ext=js,ts,tsx src --fix", diff --git a/packages/js/create-product-editor-block/changelog/dev-ci-lint-monorepo-job-update b/packages/js/create-product-editor-block/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/create-product-editor-block/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/create-product-editor-block/package.json b/packages/js/create-product-editor-block/package.json index 0e69b805f17..6c579397c28 100644 --- a/packages/js/create-product-editor-block/package.json +++ b/packages/js/create-product-editor-block/package.json @@ -10,7 +10,7 @@ "pnpm": "9.1.3" }, "scripts": { - "changelog": "composer install && composer exec -- changelogger" + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger" }, "repository": { "type": "git", diff --git a/packages/js/create-woo-extension/changelog/dev-ci-lint-monorepo-job-update b/packages/js/create-woo-extension/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/create-woo-extension/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/create-woo-extension/package.json b/packages/js/create-woo-extension/package.json index 6f5a61495b7..b4bb2e3dbfc 100644 --- a/packages/js/create-woo-extension/package.json +++ b/packages/js/create-woo-extension/package.json @@ -18,7 +18,7 @@ "url": "https://github.com/woocommerce/woocommerce/issues" }, "scripts": { - "changelog": "composer install && composer exec -- changelogger" + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger" }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/create-woo-extension#readme", "devDependencies": { diff --git a/packages/js/csv-export/changelog/dev-ci-lint-monorepo-job-update b/packages/js/csv-export/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/csv-export/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/csv-export/package.json b/packages/js/csv-export/package.json index 076f163c302..03f4f1c11d1 100644 --- a/packages/js/csv-export/package.json +++ b/packages/js/csv-export/package.json @@ -35,7 +35,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/currency/changelog/dev-ci-lint-monorepo-job-update b/packages/js/currency/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/currency/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/currency/package.json b/packages/js/currency/package.json index fe0874a6bd5..22a5bdae400 100644 --- a/packages/js/currency/package.json +++ b/packages/js/currency/package.json @@ -35,7 +35,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/customer-effort-score/changelog/dev-ci-lint-monorepo-job-update b/packages/js/customer-effort-score/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/customer-effort-score/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/customer-effort-score/package.json b/packages/js/customer-effort-score/package.json index efb271df4dd..352d311134a 100644 --- a/packages/js/customer-effort-score/package.json +++ b/packages/js/customer-effort-score/package.json @@ -36,7 +36,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/data/changelog/dev-ci-lint-monorepo-job-update b/packages/js/data/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/data/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/data/package.json b/packages/js/data/package.json index b1a54d8219d..0b3eb644e12 100644 --- a/packages/js/data/package.json +++ b/packages/js/data/package.json @@ -34,7 +34,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/date/changelog/dev-ci-lint-monorepo-job-update b/packages/js/date/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/date/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/date/package.json b/packages/js/date/package.json index 3f86481a1da..0e2247685bc 100644 --- a/packages/js/date/package.json +++ b/packages/js/date/package.json @@ -67,7 +67,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/dependency-extraction-webpack-plugin/changelog/dev-ci-lint-monorepo-job-update b/packages/js/dependency-extraction-webpack-plugin/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/dependency-extraction-webpack-plugin/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/dependency-extraction-webpack-plugin/package.json b/packages/js/dependency-extraction-webpack-plugin/package.json index e6a01b8ad48..fa034702fe3 100644 --- a/packages/js/dependency-extraction-webpack-plugin/package.json +++ b/packages/js/dependency-extraction-webpack-plugin/package.json @@ -45,7 +45,7 @@ "wireit": "0.14.3" }, "scripts": { - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/eslint-plugin/changelog/dev-ci-lint-monorepo-job-update b/packages/js/eslint-plugin/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/eslint-plugin/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/eslint-plugin/package.json b/packages/js/eslint-plugin/package.json index 7874193e8fc..93ae3c2f9bd 100644 --- a/packages/js/eslint-plugin/package.json +++ b/packages/js/eslint-plugin/package.json @@ -41,7 +41,7 @@ "access": "public" }, "scripts": { - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint ./rules ./configs --fix", diff --git a/packages/js/experimental/changelog/dev-ci-lint-monorepo-job-update b/packages/js/experimental/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/experimental/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/experimental/package.json b/packages/js/experimental/package.json index af476377454..93a15fdab36 100644 --- a/packages/js/experimental/package.json +++ b/packages/js/experimental/package.json @@ -95,7 +95,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/explat/changelog/dev-ci-lint-monorepo-job-update b/packages/js/explat/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/explat/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/explat/package.json b/packages/js/explat/package.json index f52e12af0e4..a9cca8c9b8b 100644 --- a/packages/js/explat/package.json +++ b/packages/js/explat/package.json @@ -35,7 +35,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/expression-evaluation/changelog/dev-ci-lint-monorepo-job-update b/packages/js/expression-evaluation/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/expression-evaluation/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/expression-evaluation/package.json b/packages/js/expression-evaluation/package.json index ece53920de6..179697fe1dc 100644 --- a/packages/js/expression-evaluation/package.json +++ b/packages/js/expression-evaluation/package.json @@ -43,7 +43,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/extend-cart-checkout-block/changelog/dev-ci-lint-monorepo-job-update b/packages/js/extend-cart-checkout-block/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/extend-cart-checkout-block/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/extend-cart-checkout-block/package.json b/packages/js/extend-cart-checkout-block/package.json index 0e032c37149..e71ed533848 100644 --- a/packages/js/extend-cart-checkout-block/package.json +++ b/packages/js/extend-cart-checkout-block/package.json @@ -18,7 +18,7 @@ "url": "https://github.com/woocommerce/woocommerce/issues" }, "scripts": { - "changelog": "composer install && composer exec -- changelogger" + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger" }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/extend-cart-checkout-block#readme", "devDependencies": { diff --git a/packages/js/integrate-plugin/changelog/dev-ci-lint-monorepo-job-update b/packages/js/integrate-plugin/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/integrate-plugin/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/integrate-plugin/package.json b/packages/js/integrate-plugin/package.json index fe52901e056..9a18482e61b 100644 --- a/packages/js/integrate-plugin/package.json +++ b/packages/js/integrate-plugin/package.json @@ -32,7 +32,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/internal-js-tests/changelog/dev-ci-lint-monorepo-job-update b/packages/js/internal-js-tests/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/internal-js-tests/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/internal-js-tests/package.json b/packages/js/internal-js-tests/package.json index f5bc1d9226a..59fabd531f3 100644 --- a/packages/js/internal-js-tests/package.json +++ b/packages/js/internal-js-tests/package.json @@ -30,7 +30,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/navigation/changelog/dev-ci-lint-monorepo-job-update b/packages/js/navigation/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/navigation/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/navigation/package.json b/packages/js/navigation/package.json index 6227afcb54a..68450aea04c 100644 --- a/packages/js/navigation/package.json +++ b/packages/js/navigation/package.json @@ -35,7 +35,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/notices/changelog/dev-ci-lint-monorepo-job-update b/packages/js/notices/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/notices/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/notices/package.json b/packages/js/notices/package.json index 6e5ed96bd95..c7cad092a0a 100644 --- a/packages/js/notices/package.json +++ b/packages/js/notices/package.json @@ -36,7 +36,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/number/changelog/dev-ci-lint-monorepo-job-update b/packages/js/number/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/number/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/number/package.json b/packages/js/number/package.json index 131f4068837..9994d6c43f4 100644 --- a/packages/js/number/package.json +++ b/packages/js/number/package.json @@ -40,7 +40,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/onboarding/changelog/dev-ci-lint-monorepo-job-update b/packages/js/onboarding/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/onboarding/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/onboarding/package.json b/packages/js/onboarding/package.json index e3e7c9b5906..c1829437e68 100644 --- a/packages/js/onboarding/package.json +++ b/packages/js/onboarding/package.json @@ -37,7 +37,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/product-editor/changelog/dev-ci-lint-monorepo-job-update b/packages/js/product-editor/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/product-editor/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/product-editor/package.json b/packages/js/product-editor/package.json index da0ae1d2540..3655d438559 100644 --- a/packages/js/product-editor/package.json +++ b/packages/js/product-editor/package.json @@ -137,7 +137,7 @@ "build:project:bundle": "wireit", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/remote-logging/changelog/dev-ci-lint-monorepo-job-update b/packages/js/remote-logging/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/remote-logging/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/remote-logging/package.json b/packages/js/remote-logging/package.json index cd7e3bad87b..173461744e5 100644 --- a/packages/js/remote-logging/package.json +++ b/packages/js/remote-logging/package.json @@ -34,7 +34,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/js/tracks/changelog/dev-ci-lint-monorepo-job-update b/packages/js/tracks/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/js/tracks/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/js/tracks/package.json b/packages/js/tracks/package.json index 6fb3f735cc1..088c64c6109 100644 --- a/packages/js/tracks/package.json +++ b/packages/js/tracks/package.json @@ -41,7 +41,7 @@ "build:project": "pnpm --if-present '/^build:project:.*$/'", "build:project:cjs": "wireit", "build:project:esm": "wireit", - "changelog": "composer install && composer exec -- changelogger", + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger", "lint": "pnpm --if-present '/^lint:lang:.*$/'", "lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'", "lint:fix:lang:js": "eslint src --fix", diff --git a/packages/php/remote-specs-validation/changelog/dev-ci-lint-monorepo-job-update b/packages/php/remote-specs-validation/changelog/dev-ci-lint-monorepo-job-update new file mode 100644 index 00000000000..4def83412ad --- /dev/null +++ b/packages/php/remote-specs-validation/changelog/dev-ci-lint-monorepo-job-update @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +CI: liverage composer packages cache in lint monorepo job diff --git a/packages/php/remote-specs-validation/package.json b/packages/php/remote-specs-validation/package.json index 0fd3efe5df4..249e16674a5 100644 --- a/packages/php/remote-specs-validation/package.json +++ b/packages/php/remote-specs-validation/package.json @@ -3,7 +3,7 @@ "description": "Remote specs testing suite", "main": "index.js", "scripts": { - "changelog": "composer install && composer exec -- changelogger" + "changelog": "XDEBUG_MODE=off composer install --quiet && composer exec -- changelogger" }, "license": "GPL-3.0-or-later", "dependencies": {