Skip to content

Commit

Permalink
chore: update prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksii-suprun-github committed Jul 20, 2024
1 parent 905057f commit 9f44b03
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 36 deletions.
52 changes: 26 additions & 26 deletions app/__tests__/__mocks__/heroContentMock.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"homepageHeroBannerCollection": {
"items": [
{
"homepageHeadline": "AI-Powered Mood Analysis",
"homepageDescription": {
"json": {
"nodeType": "document",
"data": {},
"content": [
{
"nodeType": "paragraph",
"data": {},
"content": [
{
"nodeType": "text",
"value": "This demo application, built with NextJS, TypeScript, Tailwind, Clerk, Prisma, and OpenAI, allows users to analyze their mood based on journal entries. The AI interprets users’ thoughts and generates mood statistics, displayed in detailed charts.",
"marks": [],
"data": {}
}
]
}
]
}
"homepageHeroBannerCollection": {
"items": [
{
"homepageHeadline": "AI-Powered Mood Analysis",
"homepageDescription": {
"json": {
"nodeType": "document",
"data": {},
"content": [
{
"nodeType": "paragraph",
"data": {},
"content": [
{
"nodeType": "text",
"value": "This demo application, built with NextJS, TypeScript, Tailwind, Clerk, Prisma, and OpenAI, allows users to analyze their mood based on journal entries. The AI interprets users’ thoughts and generates mood statistics, displayed in detailed charts.",
"marks": [],
"data": {}
}
]
}
]
}
}
]
}
}
}
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint",
"test": "vitest --u",
"test:coverage": "vitest --coverage",
"format": "prettier --write \"app/**/*.{js,jsx,tsx,ts}\"",
"format": "prettier --write '**/*.{js,jsx,tsx,ts,json}' --ignore-path .prettierignore",
"type-check": "tsc --noEmit",
"db:push": "npx prisma db push",
"db:format": "npx prisma format",
Expand Down
21 changes: 19 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"types": ["@testing-library/jest-dom", "vite/client", "vitest/globals", "@contentful/rich-text-types"],
"types": [
"@testing-library/jest-dom",
"vite/client",
"vitest/globals",
"@contentful/rich-text-types"
],
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
Expand All @@ -22,6 +27,18 @@
"@/*": ["./*"]
}
},
"include": ["./app/**/*", "./middlewares/**/*", "./components/**/*", "./content/**/*", "./utils/**/*", "./hooks/**/*", "./contexts/**/*", "./ui-lib/**/*", ".next/types/**/*.ts", "config/**/*", "types.d.ts"],
"include": [
"./app/**/*",
"./middlewares/**/*",
"./components/**/*",
"./content/**/*",
"./utils/**/*",
"./hooks/**/*",
"./contexts/**/*",
"./ui-lib/**/*",
".next/types/**/*.ts",
"config/**/*",
"types.d.ts"
],
"exclude": ["node_modules"]
}
14 changes: 7 additions & 7 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"crons": [
{
"path": "/api/user-limits-renewal",
"schedule": "0 0 * * *"
}
]
}
"crons": [
{
"path": "/api/user-limits-renewal",
"schedule": "0 0 * * *"
}
]
}

0 comments on commit 9f44b03

Please sign in to comment.