-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor prettier formatting to run from root (#2959)
- Loading branch information
1 parent
a418b58
commit f0a2df9
Showing
35 changed files
with
13 additions
and
978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,9 @@ | |
}, | ||
"homepage": "https://commerce.nearform.com/open-source/victory", | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"clsx": "^2.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "7.23.9", | ||
"@babel/core": "7.23.9", | ||
|
@@ -143,10 +146,6 @@ | |
"build:docs": "wireit", | ||
"format": "wireit", | ||
"format:fix": "wireit", | ||
"format:root": "wireit", | ||
"format:root:fix": "wireit", | ||
"format:pkgs": "wireit", | ||
"format:pkgs:fix": "wireit", | ||
"lint": "wireit", | ||
"lint:fix": "wireit", | ||
"lint:root": "wireit", | ||
|
@@ -266,86 +265,10 @@ | |
] | ||
}, | ||
"format": { | ||
"dependencies": [ | ||
"format:root", | ||
"format:pkgs" | ||
] | ||
"command": "prettier --config .prettierrc.json --ignore-path .prettierignore --check \"./**/*.{js,jsx,json,ts,tsx}\"" | ||
}, | ||
"format:fix": { | ||
"dependencies": [ | ||
"format:root:fix", | ||
"format:pkgs:fix" | ||
] | ||
}, | ||
"format:root": { | ||
"command": "nps format:root", | ||
"files": [ | ||
"*.js", | ||
"*.json", | ||
"scripts", | ||
"config", | ||
"demo", | ||
"docs", | ||
"stories", | ||
"test", | ||
"!**/node_modules/**" | ||
], | ||
"output": [], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"format:root:fix": { | ||
"command": "pnpm run format:root || nps format:root:fix", | ||
"files": [ | ||
"*.js", | ||
"*.json", | ||
"scripts", | ||
"config", | ||
"demo", | ||
"docs", | ||
"stories", | ||
"test", | ||
"!**/node_modules/**" | ||
], | ||
"output": [], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"format:pkgs": { | ||
"dependencies": [ | ||
"./packages/victory-native:format", | ||
"./packages/victory-vendor:format", | ||
"./packages/victory:format", | ||
"./packages/victory-area:format", | ||
"./packages/victory-axis:format", | ||
"./packages/victory-bar:format", | ||
"./packages/victory-box-plot:format", | ||
"./packages/victory-brush-container:format", | ||
"./packages/victory-brush-line:format", | ||
"./packages/victory-candlestick:format", | ||
"./packages/victory-canvas:format", | ||
"./packages/victory-chart:format", | ||
"./packages/victory-core:format", | ||
"./packages/victory-create-container:format", | ||
"./packages/victory-cursor-container:format", | ||
"./packages/victory-errorbar:format", | ||
"./packages/victory-group:format", | ||
"./packages/victory-histogram:format", | ||
"./packages/victory-legend:format", | ||
"./packages/victory-line:format", | ||
"./packages/victory-pie:format", | ||
"./packages/victory-polar-axis:format", | ||
"./packages/victory-scatter:format", | ||
"./packages/victory-selection-container:format", | ||
"./packages/victory-shared-events:format", | ||
"./packages/victory-stack:format", | ||
"./packages/victory-tooltip:format", | ||
"./packages/victory-voronoi:format", | ||
"./packages/victory-voronoi-container:format", | ||
"./packages/victory-zoom-container:format" | ||
] | ||
"command": "prettier --config .prettierrc.json --ignore-path .prettierignore --write \"./**/*.{js,jsx,json,ts,tsx}\"" | ||
}, | ||
"lint": { | ||
"dependencies": [ | ||
|
@@ -540,48 +463,11 @@ | |
"./packages/victory-zoom-container:types:create" | ||
] | ||
}, | ||
"format:pkgs:fix": { | ||
"dependencies": [ | ||
"./packages/victory-native:format:fix", | ||
"./packages/victory-vendor:format:fix", | ||
"./packages/victory:format:fix", | ||
"./packages/victory-area:format:fix", | ||
"./packages/victory-axis:format:fix", | ||
"./packages/victory-bar:format:fix", | ||
"./packages/victory-box-plot:format:fix", | ||
"./packages/victory-brush-container:format:fix", | ||
"./packages/victory-brush-line:format:fix", | ||
"./packages/victory-candlestick:format:fix", | ||
"./packages/victory-canvas:format:fix", | ||
"./packages/victory-chart:format:fix", | ||
"./packages/victory-core:format:fix", | ||
"./packages/victory-create-container:format:fix", | ||
"./packages/victory-cursor-container:format:fix", | ||
"./packages/victory-errorbar:format:fix", | ||
"./packages/victory-group:format:fix", | ||
"./packages/victory-histogram:format:fix", | ||
"./packages/victory-legend:format:fix", | ||
"./packages/victory-line:format:fix", | ||
"./packages/victory-pie:format:fix", | ||
"./packages/victory-polar-axis:format:fix", | ||
"./packages/victory-scatter:format:fix", | ||
"./packages/victory-selection-container:format:fix", | ||
"./packages/victory-shared-events:format:fix", | ||
"./packages/victory-stack:format:fix", | ||
"./packages/victory-tooltip:format:fix", | ||
"./packages/victory-voronoi:format:fix", | ||
"./packages/victory-voronoi-container:format:fix", | ||
"./packages/victory-zoom-container:format:fix" | ||
] | ||
}, | ||
"start:docs": { | ||
"command": "pnpm run --filter victory-docs start", | ||
"dependencies": [ | ||
"build:lib:esm" | ||
] | ||
} | ||
}, | ||
"dependencies": { | ||
"clsx": "^2.1.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.