2024-09-18 16:40:10 +08:00
|
|
|
export default {
|
|
|
|
|
workspaces: {
|
|
|
|
|
".": {
|
2025-02-19 00:37:58 +08:00
|
|
|
entry: [
|
|
|
|
|
"src/plugins/*",
|
|
|
|
|
"scripts/**",
|
|
|
|
|
// We use `new Function()` to create `import()` in our `bin` file (bin/prettier.cjs)
|
|
|
|
|
// so there is no actual use of the CLI files
|
|
|
|
|
"src/cli/index.js",
|
2025-05-06 10:34:05 +08:00
|
|
|
"src/experimental-cli/index.js",
|
2025-05-27 09:35:31 +08:00
|
|
|
"packages/plugin-oxc/index.js",
|
2025-05-29 15:30:45 +08:00
|
|
|
"packages/plugin-hermes/index.js",
|
2025-02-19 00:37:58 +08:00
|
|
|
],
|
2024-09-18 16:40:10 +08:00
|
|
|
project: ["src/**", "scripts/**"],
|
|
|
|
|
ignore: [
|
|
|
|
|
"scripts/build/config.js",
|
|
|
|
|
"scripts/build/build-javascript-module.js",
|
|
|
|
|
"scripts/tools/**",
|
2025-05-06 10:34:05 +08:00
|
|
|
"src/experimental-cli/**",
|
2024-09-18 16:40:10 +08:00
|
|
|
],
|
2025-05-29 15:30:45 +08:00
|
|
|
ignoreDependencies: ["eslint-formatter-friendly", "ts-expect", "buffer"],
|
2024-12-06 16:12:08 +08:00
|
|
|
ignoreBinaries: [
|
|
|
|
|
"test-coverage",
|
|
|
|
|
"renovate-config-validator",
|
|
|
|
|
"pkg-pr-new",
|
|
|
|
|
],
|
2024-09-18 16:40:10 +08:00
|
|
|
},
|
2024-12-16 13:47:10 +08:00
|
|
|
// TODO: Enable this after we fix https://github.com/prettier/prettier/issues/11409
|
2024-09-18 16:40:10 +08:00
|
|
|
website: {
|
2024-12-16 13:47:10 +08:00
|
|
|
ignore: ["**/*"],
|
2024-09-18 16:40:10 +08:00
|
|
|
},
|
|
|
|
|
"scripts/tools/bundle-test": {},
|
|
|
|
|
"scripts/tools/eslint-plugin-prettier-internal-rules": {},
|
|
|
|
|
"scripts/release": {
|
|
|
|
|
entry: ["release.js"],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|