mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
4466ba436b
## Description This PR ensures that the default prettier config is used for examples and templates. This config is compatible with `prettier@3` as well (upgrading prettier is bigger change that can be a future PR). ## Changes - Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will be needed upgrading to prettier@3) - Added `examples/.prettierrc.json` with default config (this will change every example) - Added `packages/create-next-app/templates/.prettierrc.json` with default config (this will change every template) ## Related - Fixes #54402 - Closes #54409
11 lines
653 B
JavaScript
11 lines
653 B
JavaScript
export const EXAMPLE_PATH = "cms-builder-io";
|
|
export const CMS_NAME = "Builder.io";
|
|
export const CMS_URL = "https://builder.io/";
|
|
export const HOME_OG_IMAGE_URL =
|
|
"https://og-image.vercel.app/Next.js%20Blog%20example%20with%20**Builder.io**.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg&images=https%3A%2F%2Fcdn.builder.io%2Fapi%2Fv1%2Fimage%2Fassets%252FYJIGb4i01jvw0SRdL5Bt%252F79c8b61740bc41d5ae722c000ddb5915";
|
|
export const BUILDER_CONFIG = {
|
|
apiKey: process.env.NEXT_PUBLIC_BUILDER_API_KEY,
|
|
postsModel: "post",
|
|
previewSecret: "micky-mouse",
|
|
};
|