From 6a6ef4ceaac4743eb8c2d7bc32b34cd749ecee5c Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Wed, 19 Feb 2025 11:24:17 +0900 Subject: [PATCH] chore(package.json): update fix script to run sequentially (#3020) * chore(package.json): update fix script to run sequentially * chore(package.json): reorder the fix-related scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d585dbc9e8..9f36106a92 100644 --- a/package.json +++ b/package.json @@ -64,9 +64,9 @@ "build:react:shallow": "rollup -c --config-react_shallow", "build:traditional": "rollup -c --config-traditional", "postbuild": "pnpm run patch-d-ts && pnpm run copy && pnpm run patch-old-ts && pnpm run patch-esm-ts", - "fix": "pnpm run \"/^fix:.*/\"", - "fix:lint": "eslint . --fix", + "fix": "pnpm run fix:lint && pnpm run fix:format", "fix:format": "prettier \"*.{js,json,md}\" \"{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}\" --write", + "fix:lint": "eslint . --fix", "test": "pnpm run \"/^test:.*/\"", "test:format": "prettier \"*.{js,json,md}\" \"{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}\" --list-different", "test:types": "tsc --noEmit",