create-next-app 15.0.4 → 15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/templates/app/js/app/layout.js +6 -7
  4. package/dist/templates/app/js/eslint.config.mjs +14 -0
  5. package/dist/templates/app/js/gitignore +1 -0
  6. package/dist/templates/app/ts/app/layout.tsx +6 -7
  7. package/dist/templates/app/ts/eslint.config.mjs +16 -0
  8. package/dist/templates/app/ts/gitignore +1 -0
  9. package/dist/templates/app/ts/next-env.d.ts +1 -1
  10. package/dist/templates/app-empty/js/eslint.config.mjs +14 -0
  11. package/dist/templates/app-empty/js/gitignore +3 -2
  12. package/dist/templates/app-empty/ts/eslint.config.mjs +16 -0
  13. package/dist/templates/app-empty/ts/gitignore +3 -2
  14. package/dist/templates/app-empty/ts/next-env.d.ts +1 -1
  15. package/dist/templates/app-tw/js/app/layout.js +6 -7
  16. package/dist/templates/app-tw/js/eslint.config.mjs +14 -0
  17. package/dist/templates/app-tw/js/gitignore +1 -0
  18. package/dist/templates/app-tw/js/{tailwind.config.js → tailwind.config.mjs} +1 -1
  19. package/dist/templates/app-tw/ts/app/layout.tsx +6 -7
  20. package/dist/templates/app-tw/ts/eslint.config.mjs +16 -0
  21. package/dist/templates/app-tw/ts/gitignore +1 -0
  22. package/dist/templates/app-tw/ts/next-env.d.ts +1 -1
  23. package/dist/templates/app-tw-empty/js/eslint.config.mjs +14 -0
  24. package/dist/templates/app-tw-empty/js/gitignore +3 -2
  25. package/dist/templates/app-tw-empty/js/{tailwind.config.js → tailwind.config.mjs} +1 -1
  26. package/dist/templates/app-tw-empty/ts/eslint.config.mjs +16 -0
  27. package/dist/templates/app-tw-empty/ts/gitignore +3 -2
  28. package/dist/templates/app-tw-empty/ts/next-env.d.ts +1 -1
  29. package/dist/templates/default/js/eslint.config.mjs +14 -0
  30. package/dist/templates/default/js/gitignore +1 -0
  31. package/dist/templates/default/js/pages/index.js +6 -7
  32. package/dist/templates/default/ts/eslint.config.mjs +16 -0
  33. package/dist/templates/default/ts/gitignore +1 -0
  34. package/dist/templates/default/ts/next-env.d.ts +1 -1
  35. package/dist/templates/default/ts/pages/index.tsx +6 -7
  36. package/dist/templates/default-empty/js/eslint.config.mjs +14 -0
  37. package/dist/templates/default-empty/js/gitignore +3 -2
  38. package/dist/templates/default-empty/ts/eslint.config.mjs +16 -0
  39. package/dist/templates/default-empty/ts/gitignore +3 -2
  40. package/dist/templates/default-empty/ts/next-env.d.ts +1 -1
  41. package/dist/templates/default-tw/js/eslint.config.mjs +14 -0
  42. package/dist/templates/default-tw/js/gitignore +1 -0
  43. package/dist/templates/default-tw/js/pages/index.js +6 -7
  44. package/dist/templates/default-tw/js/{tailwind.config.js → tailwind.config.mjs} +1 -1
  45. package/dist/templates/default-tw/ts/eslint.config.mjs +16 -0
  46. package/dist/templates/default-tw/ts/gitignore +1 -0
  47. package/dist/templates/default-tw/ts/next-env.d.ts +1 -1
  48. package/dist/templates/default-tw/ts/pages/index.tsx +6 -7
  49. package/dist/templates/default-tw-empty/js/eslint.config.mjs +14 -0
  50. package/dist/templates/default-tw-empty/js/gitignore +3 -2
  51. package/dist/templates/default-tw-empty/js/{tailwind.config.js → tailwind.config.mjs} +1 -1
  52. package/dist/templates/default-tw-empty/ts/eslint.config.mjs +16 -0
  53. package/dist/templates/default-tw-empty/ts/gitignore +3 -2
  54. package/dist/templates/default-tw-empty/ts/next-env.d.ts +1 -1
  55. package/package.json +1 -1
  56. package/dist/templates/app/js/app/fonts/GeistMonoVF.woff +0 -0
  57. package/dist/templates/app/js/app/fonts/GeistVF.woff +0 -0
  58. package/dist/templates/app/js/eslintrc.json +0 -3
  59. package/dist/templates/app/ts/app/fonts/GeistMonoVF.woff +0 -0
  60. package/dist/templates/app/ts/app/fonts/GeistVF.woff +0 -0
  61. package/dist/templates/app/ts/eslintrc.json +0 -3
  62. package/dist/templates/app-empty/js/eslintrc.json +0 -3
  63. package/dist/templates/app-empty/ts/eslintrc.json +0 -3
  64. package/dist/templates/app-tw/js/app/fonts/GeistMonoVF.woff +0 -0
  65. package/dist/templates/app-tw/js/app/fonts/GeistVF.woff +0 -0
  66. package/dist/templates/app-tw/js/eslintrc.json +0 -3
  67. package/dist/templates/app-tw/ts/app/fonts/GeistMonoVF.woff +0 -0
  68. package/dist/templates/app-tw/ts/app/fonts/GeistVF.woff +0 -0
  69. package/dist/templates/app-tw/ts/eslintrc.json +0 -3
  70. package/dist/templates/app-tw-empty/js/eslintrc.json +0 -3
  71. package/dist/templates/app-tw-empty/ts/eslintrc.json +0 -3
  72. package/dist/templates/default/js/eslintrc.json +0 -3
  73. package/dist/templates/default/js/pages/fonts/GeistMonoVF.woff +0 -0
  74. package/dist/templates/default/js/pages/fonts/GeistVF.woff +0 -0
  75. package/dist/templates/default/ts/eslintrc.json +0 -3
  76. package/dist/templates/default/ts/pages/fonts/GeistMonoVF.woff +0 -0
  77. package/dist/templates/default/ts/pages/fonts/GeistVF.woff +0 -0
  78. package/dist/templates/default-empty/js/eslintrc.json +0 -3
  79. package/dist/templates/default-empty/ts/eslintrc.json +0 -3
  80. package/dist/templates/default-tw/js/eslintrc.json +0 -3
  81. package/dist/templates/default-tw/js/pages/fonts/GeistMonoVF.woff +0 -0
  82. package/dist/templates/default-tw/js/pages/fonts/GeistVF.woff +0 -0
  83. package/dist/templates/default-tw/ts/eslintrc.json +0 -3
  84. package/dist/templates/default-tw/ts/pages/fonts/GeistMonoVF.woff +0 -0
  85. package/dist/templates/default-tw/ts/pages/fonts/GeistVF.woff +0 -0
  86. package/dist/templates/default-tw-empty/js/eslintrc.json +0 -3
  87. package/dist/templates/default-tw-empty/ts/eslintrc.json +0 -3
@@ -1,15 +1,14 @@
1
- import localFont from "next/font/local";
1
+ import { Geist, Geist_Mono } from "next/font/google";
2
2
  import "./globals.css";
3
3
 
4
- const geistSans = localFont({
5
- src: "./fonts/GeistVF.woff",
4
+ const geistSans = Geist({
6
5
  variable: "--font-geist-sans",
7
- weight: "100 900",
6
+ subsets: ["latin"],
8
7
  });
9
- const geistMono = localFont({
10
- src: "./fonts/GeistMonoVF.woff",
8
+
9
+ const geistMono = Geist_Mono({
11
10
  variable: "--font-geist-mono",
12
- weight: "100 900",
11
+ subsets: ["latin"],
13
12
  });
14
13
 
15
14
  export const metadata = {
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -1,16 +1,15 @@
1
1
  import type { Metadata } from "next";
2
- import localFont from "next/font/local";
2
+ import { Geist, Geist_Mono } from "next/font/google";
3
3
  import "./globals.css";
4
4
 
5
- const geistSans = localFont({
6
- src: "./fonts/GeistVF.woff",
5
+ const geistSans = Geist({
7
6
  variable: "--font-geist-sans",
8
- weight: "100 900",
7
+ subsets: ["latin"],
9
8
  });
10
- const geistMono = localFont({
11
- src: "./fonts/GeistMonoVF.woff",
9
+
10
+ const geistMono = Geist_Mono({
12
11
  variable: "--font-geist-mono",
13
- weight: "100 900",
12
+ subsets: ["latin"],
14
13
  });
15
14
 
16
15
  export const metadata: Metadata = {
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,9 +28,10 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
- # local env files
33
- .env*.local
33
+ # env files (can opt-in for committing if needed)
34
+ .env*
34
35
 
35
36
  # vercel
36
37
  .vercel
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,9 +28,10 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
- # local env files
33
- .env*.local
33
+ # env files (can opt-in for committing if needed)
34
+ .env*
34
35
 
35
36
  # vercel
36
37
  .vercel
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -1,15 +1,14 @@
1
- import localFont from "next/font/local";
1
+ import { Geist, Geist_Mono } from "next/font/google";
2
2
  import "./globals.css";
3
3
 
4
- const geistSans = localFont({
5
- src: "./fonts/GeistVF.woff",
4
+ const geistSans = Geist({
6
5
  variable: "--font-geist-sans",
7
- weight: "100 900",
6
+ subsets: ["latin"],
8
7
  });
9
- const geistMono = localFont({
10
- src: "./fonts/GeistMonoVF.woff",
8
+
9
+ const geistMono = Geist_Mono({
11
10
  variable: "--font-geist-mono",
12
- weight: "100 900",
11
+ subsets: ["latin"],
13
12
  });
14
13
 
15
14
  export const metadata = {
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -1,5 +1,5 @@
1
1
  /** @type {import('tailwindcss').Config} */
2
- module.exports = {
2
+ export default {
3
3
  content: [
4
4
  "./pages/**/*.{js,ts,jsx,tsx,mdx}",
5
5
  "./components/**/*.{js,ts,jsx,tsx,mdx}",
@@ -1,16 +1,15 @@
1
1
  import type { Metadata } from "next";
2
- import localFont from "next/font/local";
2
+ import { Geist, Geist_Mono } from "next/font/google";
3
3
  import "./globals.css";
4
4
 
5
- const geistSans = localFont({
6
- src: "./fonts/GeistVF.woff",
5
+ const geistSans = Geist({
7
6
  variable: "--font-geist-sans",
8
- weight: "100 900",
7
+ subsets: ["latin"],
9
8
  });
10
- const geistMono = localFont({
11
- src: "./fonts/GeistMonoVF.woff",
9
+
10
+ const geistMono = Geist_Mono({
12
11
  variable: "--font-geist-mono",
13
- weight: "100 900",
12
+ subsets: ["latin"],
14
13
  });
15
14
 
16
15
  export const metadata: Metadata = {
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,9 +28,10 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
- # local env files
33
- .env*.local
33
+ # env files (can opt-in for committing if needed)
34
+ .env*
34
35
 
35
36
  # vercel
36
37
  .vercel
@@ -1,5 +1,5 @@
1
1
  /** @type {import('tailwindcss').Config} */
2
- module.exports = {
2
+ export default {
3
3
  content: ["./app/**/*.{js,ts,jsx,tsx,mdx}"],
4
4
  theme: {},
5
5
  plugins: [],
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,9 +28,10 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
- # local env files
33
- .env*.local
33
+ # env files (can opt-in for committing if needed)
34
+ .env*
34
35
 
35
36
  # vercel
36
37
  .vercel
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -1,17 +1,16 @@
1
1
  import Head from "next/head";
2
2
  import Image from "next/image";
3
- import localFont from "next/font/local";
3
+ import { Geist, Geist_Mono } from "next/font/google";
4
4
  import styles from "@/styles/Home.module.css";
5
5
 
6
- const geistSans = localFont({
7
- src: "./fonts/GeistVF.woff",
6
+ const geistSans = Geist({
8
7
  variable: "--font-geist-sans",
9
- weight: "100 900",
8
+ subsets: ["latin"],
10
9
  });
11
- const geistMono = localFont({
12
- src: "./fonts/GeistMonoVF.woff",
10
+
11
+ const geistMono = Geist_Mono({
13
12
  variable: "--font-geist-mono",
14
- weight: "100 900",
13
+ subsets: ["latin"],
15
14
  });
16
15
 
17
16
  export default function Home() {
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
@@ -1,17 +1,16 @@
1
1
  import Head from "next/head";
2
2
  import Image from "next/image";
3
- import localFont from "next/font/local";
3
+ import { Geist, Geist_Mono } from "next/font/google";
4
4
  import styles from "@/styles/Home.module.css";
5
5
 
6
- const geistSans = localFont({
7
- src: "./fonts/GeistVF.woff",
6
+ const geistSans = Geist({
8
7
  variable: "--font-geist-sans",
9
- weight: "100 900",
8
+ subsets: ["latin"],
10
9
  });
11
- const geistMono = localFont({
12
- src: "./fonts/GeistMonoVF.woff",
10
+
11
+ const geistMono = Geist_Mono({
13
12
  variable: "--font-geist-mono",
14
- weight: "100 900",
13
+ subsets: ["latin"],
15
14
  });
16
15
 
17
16
  export default function Home() {
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,9 +28,10 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
- # local env files
33
- .env*.local
33
+ # env files (can opt-in for committing if needed)
34
+ .env*
34
35
 
35
36
  # vercel
36
37
  .vercel
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,9 +28,10 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
- # local env files
33
- .env*.local
33
+ # env files (can opt-in for committing if needed)
34
+ .env*
34
35
 
35
36
  # vercel
36
37
  .vercel
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
@@ -0,0 +1,14 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [...compat.extends("next/core-web-vitals")];
13
+
14
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -1,15 +1,14 @@
1
1
  import Image from "next/image";
2
- import localFont from "next/font/local";
2
+ import { Geist, Geist_Mono } from "next/font/google";
3
3
 
4
- const geistSans = localFont({
5
- src: "./fonts/GeistVF.woff",
4
+ const geistSans = Geist({
6
5
  variable: "--font-geist-sans",
7
- weight: "100 900",
6
+ subsets: ["latin"],
8
7
  });
9
- const geistMono = localFont({
10
- src: "./fonts/GeistMonoVF.woff",
8
+
9
+ const geistMono = Geist_Mono({
11
10
  variable: "--font-geist-mono",
12
- weight: "100 900",
11
+ subsets: ["latin"],
13
12
  });
14
13
 
15
14
  export default function Home() {
@@ -1,5 +1,5 @@
1
1
  /** @type {import('tailwindcss').Config} */
2
- module.exports = {
2
+ export default {
3
3
  content: [
4
4
  "./pages/**/*.{js,ts,jsx,tsx,mdx}",
5
5
  "./components/**/*.{js,ts,jsx,tsx,mdx}",
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -28,6 +28,7 @@
28
28
  npm-debug.log*
29
29
  yarn-debug.log*
30
30
  yarn-error.log*
31
+ .pnpm-debug.log*
31
32
 
32
33
  # env files (can opt-in for committing if needed)
33
34
  .env*
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5
+ // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.