From df7bcb89dfe4e414dd7481c903a0684d1a84221a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 16:34:56 +0000 Subject: [PATCH 1/2] Initial plan From 3a35b597f38be2a40247ebf300e92b24a17ede18 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 16:42:46 +0000 Subject: [PATCH 2/2] Update prettier npm scripts to use .prettierignore file The format:pkg-json and check:pkg-json commands now use --ignore-path to reference the root .prettierignore file, which already contains rules to ignore package.json and package-lock.json files. This removes the need for manual exclusion patterns in the npm scripts and ensures consistency with the project's ignore configuration. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- actions/setup/js/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/setup/js/package.json b/actions/setup/js/package.json index ec5d511c95..ed305cf065 100644 --- a/actions/setup/js/package.json +++ b/actions/setup/js/package.json @@ -25,7 +25,7 @@ "format:cjs": "npx prettier --write '**/*.cjs' '**/*.ts' '**/*.json'", "lint:cjs": "npx prettier --check '**/*.cjs' '**/*.ts' '**/*.json'", "format:schema": "npx prettier --write ../../../pkg/workflow/schemas/github-workflow.json --ignore-path /dev/null", - "format:pkg-json": "npx prettier --write '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' '!../../../**/package.json' '!../../../**/package-lock.json'", - "check:pkg-json": "npx prettier --check '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' '!../../../**/package.json' '!../../../**/package-lock.json'" + "format:pkg-json": "npx prettier --write '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierignore", + "check:pkg-json": "npx prettier --check '../../../**/*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path ../../../.prettierignore" } }