@hutusi/amytis 1.5.5
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.
- package/.github/workflows/ci.yml +33 -0
- package/.github/workflows/publish.yml +53 -0
- package/AGENTS.md +41 -0
- package/CLAUDE.md +200 -0
- package/GEMINI.md +84 -0
- package/README.md +172 -0
- package/TODO.md +76 -0
- package/bun.lock +1530 -0
- package/content/about.mdx +23 -0
- package/content/books/sample-book/index.mdx +24 -0
- package/content/books/sample-book/introduction.mdx +34 -0
- package/content/books/sample-book/setup.mdx +48 -0
- package/content/books/sample-book/writing-content.mdx +49 -0
- package/content/flows/2026/02/05.md +8 -0
- package/content/flows/2026/02/10.mdx +8 -0
- package/content/flows/2026/02/15.md +8 -0
- package/content/flows/2026/02/18.mdx +14 -0
- package/content/posts/2026-01-12-the-art-of-algorithms.mdx +49 -0
- package/content/posts/2026-01-15-nested-image-test/images/test.svg +5 -0
- package/content/posts/2026-01-15-nested-image-test/index.mdx +27 -0
- package/content/posts/2026-01-21-kitchen-sink/assets/test.svg +5 -0
- package/content/posts/2026-01-21-kitchen-sink/index.mdx +169 -0
- package/content/posts/asynchronous-javascript.mdx +49 -0
- package/content/posts/draft-post.mdx +13 -0
- package/content/posts/future-post.mdx +12 -0
- package/content/posts/legacy-markdown.md +60 -0
- package/content/posts/markdown-features.mdx +78 -0
- package/content/posts/modern-css-layouts.mdx +45 -0
- package/content/posts/multilingual-test.mdx +124 -0
- package/content/posts/syntax-highlighting-showcase.mdx +528 -0
- package/content/posts/understanding-react-hooks.mdx +48 -0
- package/content/posts/welcome-to-amytis.mdx +21 -0
- package/content/posts//344/270/255/346/226/207/346/265/213/350/257/225/346/226/207/347/253/240.mdx +54 -0
- package/content/series/ai-nexus-weekly/index.mdx +10 -0
- package/content/series/ai-nexus-weekly/week-1.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-10.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-11.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-12.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-2.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-3.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-4.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-5.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-6.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-7.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-8.mdx +20 -0
- package/content/series/ai-nexus-weekly/week-9.mdx +20 -0
- package/content/series/digital-garden/01-philosophy/index.mdx +23 -0
- package/content/series/digital-garden/01-philosophy.mdx +30 -0
- package/content/series/digital-garden/02-architecture.mdx +19 -0
- package/content/series/digital-garden/index.mdx +11 -0
- package/content/series/markdown-showcase/index.mdx +11 -0
- package/content/series/markdown-showcase/mathematical-notation.mdx +32 -0
- package/content/series/markdown-showcase/syntax-highlighting.mdx +119 -0
- package/content/series/markdown-showcase/visuals-and-diagrams.mdx +27 -0
- package/content/series/nextjs-deep-dive/01-getting-started.mdx +66 -0
- package/content/series/nextjs-deep-dive/02-routing-mastery/assets/diagram.svg +8 -0
- package/content/series/nextjs-deep-dive/02-routing-mastery/assets/m-p-model.png +0 -0
- package/content/series/nextjs-deep-dive/02-routing-mastery/index.mdx +138 -0
- package/content/series/nextjs-deep-dive/index.mdx +12 -0
- package/docs/ARCHITECTURE.md +103 -0
- package/docs/CONTRIBUTING.md +86 -0
- package/docs/deployment.md +319 -0
- package/eslint.config.mjs +18 -0
- package/next.config.ts +25 -0
- package/package.json +81 -0
- package/postcss.config.mjs +7 -0
- package/public/file.svg +1 -0
- package/public/globe.svg +1 -0
- package/public/icon.svg +9 -0
- package/public/logo.svg +11 -0
- package/public/next-image-export-optimizer-hashes.json +7 -0
- package/public/next.svg +1 -0
- package/public/screenshot.png +0 -0
- package/public/vercel.svg +1 -0
- package/public/window.svg +1 -0
- package/scripts/copy-assets.ts +211 -0
- package/scripts/new-flow.ts +47 -0
- package/scripts/new-from-images.ts +141 -0
- package/scripts/new-from-pdf.ts +105 -0
- package/scripts/new-post.ts +98 -0
- package/scripts/new-series.ts +40 -0
- package/scripts/series-draft.ts +136 -0
- package/site.config.ts +91 -0
- package/src/app/[slug]/page.tsx +67 -0
- package/src/app/archive/page.tsx +147 -0
- package/src/app/authors/[author]/page.tsx +210 -0
- package/src/app/books/[slug]/[chapter]/page.tsx +54 -0
- package/src/app/books/[slug]/page.tsx +156 -0
- package/src/app/books/page.tsx +63 -0
- package/src/app/favicon.ico +0 -0
- package/src/app/feed.xml/route.ts +44 -0
- package/src/app/flows/[year]/[month]/[day]/page.tsx +105 -0
- package/src/app/flows/[year]/[month]/page.tsx +72 -0
- package/src/app/flows/[year]/page.tsx +82 -0
- package/src/app/flows/page/[page]/page.tsx +63 -0
- package/src/app/flows/page.tsx +38 -0
- package/src/app/globals.css +406 -0
- package/src/app/layout.tsx +114 -0
- package/src/app/page/[page]/page.tsx +60 -0
- package/src/app/page.tsx +110 -0
- package/src/app/posts/[slug]/page.tsx +119 -0
- package/src/app/posts/page/[page]/page.tsx +58 -0
- package/src/app/posts/page.tsx +40 -0
- package/src/app/search.json/route.ts +49 -0
- package/src/app/series/[slug]/page/[page]/page.tsx +141 -0
- package/src/app/series/[slug]/page.tsx +139 -0
- package/src/app/series/page.tsx +96 -0
- package/src/app/sitemap.ts +112 -0
- package/src/app/tags/[tag]/page.tsx +76 -0
- package/src/app/tags/page.tsx +37 -0
- package/src/components/Analytics.tsx +49 -0
- package/src/components/AuthorStats.tsx +34 -0
- package/src/components/BookMobileNav.tsx +171 -0
- package/src/components/BookSidebar.tsx +275 -0
- package/src/components/CodeBlock.tsx +110 -0
- package/src/components/Comments.tsx +63 -0
- package/src/components/CoverImage.tsx +93 -0
- package/src/components/CuratedSeriesSection.tsx +124 -0
- package/src/components/ExternalLinks.tsx +45 -0
- package/src/components/FeaturedStoriesSection.tsx +106 -0
- package/src/components/FlowCalendarSidebar.tsx +249 -0
- package/src/components/FlowContent.tsx +96 -0
- package/src/components/FlowTimelineEntry.tsx +34 -0
- package/src/components/Footer.tsx +104 -0
- package/src/components/Hero.tsx +126 -0
- package/src/components/HorizontalScroll.tsx +128 -0
- package/src/components/LanguageProvider.tsx +80 -0
- package/src/components/LanguageSwitch.tsx +17 -0
- package/src/components/LatestWritingSection.tsx +45 -0
- package/src/components/MarkdownRenderer.tsx +135 -0
- package/src/components/Mermaid.tsx +89 -0
- package/src/components/Navbar.tsx +243 -0
- package/src/components/PageHeader.tsx +39 -0
- package/src/components/Pagination.tsx +120 -0
- package/src/components/PostCard.tsx +30 -0
- package/src/components/PostList.tsx +104 -0
- package/src/components/PostSidebar.tsx +225 -0
- package/src/components/ReadingProgressBar.tsx +37 -0
- package/src/components/RecentNotesSection.tsx +56 -0
- package/src/components/RelatedPosts.tsx +34 -0
- package/src/components/Search.tsx +151 -0
- package/src/components/SelectedBooksSection.tsx +80 -0
- package/src/components/SeriesCatalog.tsx +112 -0
- package/src/components/SeriesList.tsx +167 -0
- package/src/components/SeriesSidebar.tsx +132 -0
- package/src/components/SimpleLayoutHeader.tsx +38 -0
- package/src/components/Skeleton.tsx +131 -0
- package/src/components/TableOfContents.tsx +158 -0
- package/src/components/Tag.tsx +47 -0
- package/src/components/TagPageHeader.tsx +38 -0
- package/src/components/ThemeProvider.tsx +12 -0
- package/src/components/ThemeToggle.tsx +68 -0
- package/src/components/TranslatedText.tsx +13 -0
- package/src/fonts/Inter-Bold.woff2 +0 -0
- package/src/fonts/Inter-Regular.woff2 +0 -0
- package/src/fonts/LibreBaskerville-Bold.ttf +0 -0
- package/src/fonts/LibreBaskerville-Italic.ttf +0 -0
- package/src/fonts/LibreBaskerville-Regular.ttf +0 -0
- package/src/i18n/translations.ts +135 -0
- package/src/layouts/BookLayout.tsx +109 -0
- package/src/layouts/PostLayout.tsx +118 -0
- package/src/layouts/SimpleLayout.tsx +31 -0
- package/src/lib/i18n.ts +35 -0
- package/src/lib/markdown.test.ts +127 -0
- package/src/lib/markdown.ts +1067 -0
- package/src/lib/rehype-image-metadata.ts +54 -0
- package/src/lib/shuffle.ts +11 -0
- package/templates/default.mdx +13 -0
- package/tests/e2e/navigation.test.ts +51 -0
- package/tests/e2e/series-routes.test.ts +63 -0
- package/tests/e2e/smoke.test.ts +19 -0
- package/tests/integration/markdown-features.test.ts +54 -0
- package/tests/integration/posts.test.ts +57 -0
- package/tests/integration/reading-time-headings.test.ts +79 -0
- package/tests/integration/series-draft.test.ts +46 -0
- package/tests/integration/series.test.ts +79 -0
- package/tests/tooling/new-from-images.test.ts +173 -0
- package/tests/tooling/new-post.test.ts +72 -0
- package/tsconfig.json +34 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { describe, test, expect, afterAll } from "bun:test";
|
|
2
|
+
import { spawnSync } from "bun";
|
|
3
|
+
import fs from "fs";
|
|
4
|
+
import path from "path";
|
|
5
|
+
|
|
6
|
+
const SCRIPT_PATH = "scripts/new-from-images.ts";
|
|
7
|
+
const CONTENT_DIR = "content/posts";
|
|
8
|
+
|
|
9
|
+
describe("Tooling: New From Images Script", () => {
|
|
10
|
+
const createdDirs: string[] = [];
|
|
11
|
+
const tempDirs: string[] = [];
|
|
12
|
+
|
|
13
|
+
// Helper to create a temp directory with dummy image files
|
|
14
|
+
function createTempImageDir(
|
|
15
|
+
name: string,
|
|
16
|
+
files: string[]
|
|
17
|
+
): string {
|
|
18
|
+
const dir = path.join("tests", "tooling", `__temp_${name}`);
|
|
19
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
20
|
+
files.forEach((f) => {
|
|
21
|
+
fs.writeFileSync(path.join(dir, f), "dummy-image-content");
|
|
22
|
+
});
|
|
23
|
+
tempDirs.push(dir);
|
|
24
|
+
return dir;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
afterAll(() => {
|
|
28
|
+
// Cleanup created posts
|
|
29
|
+
createdDirs.forEach((dir) => {
|
|
30
|
+
if (fs.existsSync(dir)) fs.rmSync(dir, { recursive: true });
|
|
31
|
+
});
|
|
32
|
+
// Cleanup temp directories
|
|
33
|
+
tempDirs.forEach((dir) => {
|
|
34
|
+
if (fs.existsSync(dir)) fs.rmSync(dir, { recursive: true });
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
test("fails without arguments (non-zero exit)", () => {
|
|
39
|
+
const result = spawnSync(["bun", SCRIPT_PATH]);
|
|
40
|
+
expect(result.exitCode).not.toBe(0);
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
test("fails with nonexistent folder", () => {
|
|
44
|
+
const result = spawnSync(["bun", SCRIPT_PATH, "/nonexistent/folder/path"]);
|
|
45
|
+
expect(result.exitCode).not.toBe(0);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
test("fails with folder containing no images", () => {
|
|
49
|
+
const dir = createTempImageDir("no-images", [
|
|
50
|
+
"readme.txt",
|
|
51
|
+
"document.pdf",
|
|
52
|
+
]);
|
|
53
|
+
const result = spawnSync(["bun", SCRIPT_PATH, dir]);
|
|
54
|
+
expect(result.exitCode).not.toBe(0);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
test("creates post from folder with images", () => {
|
|
58
|
+
const dir = createTempImageDir("with-images", [
|
|
59
|
+
"photo1.jpg",
|
|
60
|
+
"photo2.png",
|
|
61
|
+
"photo3.webp",
|
|
62
|
+
]);
|
|
63
|
+
|
|
64
|
+
const result = spawnSync(["bun", SCRIPT_PATH, dir]);
|
|
65
|
+
expect(result.exitCode).toBe(0);
|
|
66
|
+
|
|
67
|
+
const date = new Date().toISOString().split("T")[0];
|
|
68
|
+
const slug = `__temp_with-images`
|
|
69
|
+
.toLowerCase()
|
|
70
|
+
.replace(/[^a-z0-9]+/g, "-")
|
|
71
|
+
.replace(/(^-|-$)+/g, "");
|
|
72
|
+
const dirName = `${date}-${slug}`;
|
|
73
|
+
const postDir = path.join(CONTENT_DIR, dirName);
|
|
74
|
+
createdDirs.push(postDir);
|
|
75
|
+
|
|
76
|
+
expect(fs.existsSync(postDir)).toBe(true);
|
|
77
|
+
|
|
78
|
+
const indexPath = path.join(postDir, "index.mdx");
|
|
79
|
+
expect(fs.existsSync(indexPath)).toBe(true);
|
|
80
|
+
|
|
81
|
+
const content = fs.readFileSync(indexPath, "utf-8");
|
|
82
|
+
// Check frontmatter
|
|
83
|
+
expect(content).toContain("title:");
|
|
84
|
+
expect(content).toContain("date:");
|
|
85
|
+
expect(content).toContain('category: "Gallery"');
|
|
86
|
+
// Check image markdown references
|
|
87
|
+
expect(content).toContain("![Image 1]");
|
|
88
|
+
expect(content).toContain("![Image 2]");
|
|
89
|
+
expect(content).toContain("![Image 3]");
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
test("respects --title flag", () => {
|
|
93
|
+
const dir = createTempImageDir("title-test", ["img.jpg"]);
|
|
94
|
+
const customTitle = "My Custom Gallery Title";
|
|
95
|
+
|
|
96
|
+
const result = spawnSync([
|
|
97
|
+
"bun",
|
|
98
|
+
SCRIPT_PATH,
|
|
99
|
+
dir,
|
|
100
|
+
"--title",
|
|
101
|
+
customTitle,
|
|
102
|
+
]);
|
|
103
|
+
expect(result.exitCode).toBe(0);
|
|
104
|
+
|
|
105
|
+
const date = new Date().toISOString().split("T")[0];
|
|
106
|
+
const slug = customTitle
|
|
107
|
+
.toLowerCase()
|
|
108
|
+
.replace(/[^a-z0-9]+/g, "-")
|
|
109
|
+
.replace(/(^-|-$)+/g, "");
|
|
110
|
+
const dirName = `${date}-${slug}`;
|
|
111
|
+
const postDir = path.join(CONTENT_DIR, dirName);
|
|
112
|
+
createdDirs.push(postDir);
|
|
113
|
+
|
|
114
|
+
const content = fs.readFileSync(path.join(postDir, "index.mdx"), "utf-8");
|
|
115
|
+
expect(content).toContain(`title: "${customTitle}"`);
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
test("filters non-image files (.txt, .pdf excluded)", () => {
|
|
119
|
+
const dir = createTempImageDir("filter-test", [
|
|
120
|
+
"photo.jpg",
|
|
121
|
+
"notes.txt",
|
|
122
|
+
"doc.pdf",
|
|
123
|
+
"image.png",
|
|
124
|
+
]);
|
|
125
|
+
|
|
126
|
+
const result = spawnSync(["bun", SCRIPT_PATH, dir]);
|
|
127
|
+
expect(result.exitCode).toBe(0);
|
|
128
|
+
|
|
129
|
+
const date = new Date().toISOString().split("T")[0];
|
|
130
|
+
const slug = "__temp_filter-test"
|
|
131
|
+
.toLowerCase()
|
|
132
|
+
.replace(/[^a-z0-9]+/g, "-")
|
|
133
|
+
.replace(/(^-|-$)+/g, "");
|
|
134
|
+
const dirName = `${date}-${slug}`;
|
|
135
|
+
const postDir = path.join(CONTENT_DIR, dirName);
|
|
136
|
+
createdDirs.push(postDir);
|
|
137
|
+
|
|
138
|
+
const content = fs.readFileSync(path.join(postDir, "index.mdx"), "utf-8");
|
|
139
|
+
// Should have exactly 2 image references (photo.jpg, image.png)
|
|
140
|
+
expect(content).toContain("![Image 1]");
|
|
141
|
+
expect(content).toContain("![Image 2]");
|
|
142
|
+
expect(content).not.toContain("notes.txt");
|
|
143
|
+
expect(content).not.toContain("doc.pdf");
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
test("all supported image extensions work", () => {
|
|
147
|
+
const dir = createTempImageDir("extensions-test", [
|
|
148
|
+
"a.jpg",
|
|
149
|
+
"b.jpeg",
|
|
150
|
+
"c.png",
|
|
151
|
+
"d.gif",
|
|
152
|
+
"e.webp",
|
|
153
|
+
"f.svg",
|
|
154
|
+
"g.avif",
|
|
155
|
+
]);
|
|
156
|
+
|
|
157
|
+
const result = spawnSync(["bun", SCRIPT_PATH, dir]);
|
|
158
|
+
expect(result.exitCode).toBe(0);
|
|
159
|
+
|
|
160
|
+
const date = new Date().toISOString().split("T")[0];
|
|
161
|
+
const slug = "__temp_extensions-test"
|
|
162
|
+
.toLowerCase()
|
|
163
|
+
.replace(/[^a-z0-9]+/g, "-")
|
|
164
|
+
.replace(/(^-|-$)+/g, "");
|
|
165
|
+
const dirName = `${date}-${slug}`;
|
|
166
|
+
const postDir = path.join(CONTENT_DIR, dirName);
|
|
167
|
+
createdDirs.push(postDir);
|
|
168
|
+
|
|
169
|
+
const content = fs.readFileSync(path.join(postDir, "index.mdx"), "utf-8");
|
|
170
|
+
// All 7 images should be referenced
|
|
171
|
+
expect(content).toContain("![Image 7]");
|
|
172
|
+
});
|
|
173
|
+
});
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { describe, test, expect, afterAll } from "bun:test";
|
|
2
|
+
import { spawnSync } from "bun";
|
|
3
|
+
import fs from "fs";
|
|
4
|
+
import path from "path";
|
|
5
|
+
|
|
6
|
+
const SCRIPT_PATH = "scripts/new-post.ts";
|
|
7
|
+
const CONTENT_DIR = "content/posts";
|
|
8
|
+
|
|
9
|
+
describe("Tooling: New Post Script", () => {
|
|
10
|
+
const createdFiles: string[] = [];
|
|
11
|
+
const createdDirs: string[] = [];
|
|
12
|
+
|
|
13
|
+
afterAll(() => {
|
|
14
|
+
// Cleanup
|
|
15
|
+
createdFiles.forEach(file => {
|
|
16
|
+
if (fs.existsSync(file)) fs.unlinkSync(file);
|
|
17
|
+
});
|
|
18
|
+
createdDirs.forEach(dir => {
|
|
19
|
+
if (fs.existsSync(dir)) fs.rmdirSync(dir, { recursive: true });
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
test("should create a standard post", () => {
|
|
24
|
+
const title = "Test Standard Post";
|
|
25
|
+
const result = spawnSync(["bun", SCRIPT_PATH, title]);
|
|
26
|
+
|
|
27
|
+
expect(result.exitCode).toBe(0);
|
|
28
|
+
|
|
29
|
+
const date = new Date().toISOString().split('T')[0];
|
|
30
|
+
const slug = "test-standard-post";
|
|
31
|
+
const filename = `${date}-${slug}.mdx`;
|
|
32
|
+
const filePath = path.join(CONTENT_DIR, filename);
|
|
33
|
+
|
|
34
|
+
expect(fs.existsSync(filePath)).toBe(true);
|
|
35
|
+
createdFiles.push(filePath);
|
|
36
|
+
|
|
37
|
+
const content = fs.readFileSync(filePath, "utf-8");
|
|
38
|
+
expect(content).toContain(`title: "${title}"`);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
test("should create a prefixed post", () => {
|
|
42
|
+
const title = "Test Prefixed Post";
|
|
43
|
+
const prefix = "weekly";
|
|
44
|
+
const result = spawnSync(["bun", SCRIPT_PATH, title, "--prefix", prefix]);
|
|
45
|
+
|
|
46
|
+
expect(result.exitCode).toBe(0);
|
|
47
|
+
|
|
48
|
+
const date = new Date().toISOString().split('T')[0];
|
|
49
|
+
const slug = "test-prefixed-post";
|
|
50
|
+
const filename = `${date}-${prefix}-${slug}.mdx`;
|
|
51
|
+
const filePath = path.join(CONTENT_DIR, filename);
|
|
52
|
+
|
|
53
|
+
expect(fs.existsSync(filePath)).toBe(true);
|
|
54
|
+
createdFiles.push(filePath);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
test("should create a folder post", () => {
|
|
58
|
+
const title = "Test Folder Post";
|
|
59
|
+
const result = spawnSync(["bun", SCRIPT_PATH, title, "--folder"]);
|
|
60
|
+
|
|
61
|
+
expect(result.exitCode).toBe(0);
|
|
62
|
+
|
|
63
|
+
const date = new Date().toISOString().split('T')[0];
|
|
64
|
+
const slug = "test-folder-post";
|
|
65
|
+
const dirName = `${date}-${slug}`;
|
|
66
|
+
const dirPath = path.join(CONTENT_DIR, dirName);
|
|
67
|
+
const filePath = path.join(dirPath, "index.mdx");
|
|
68
|
+
|
|
69
|
+
expect(fs.existsSync(filePath)).toBe(true);
|
|
70
|
+
createdDirs.push(dirPath); // Will remove dir recursively
|
|
71
|
+
});
|
|
72
|
+
});
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2017",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"module": "esnext",
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"jsx": "react-jsx",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": ["./src/*"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"include": [
|
|
26
|
+
"next-env.d.ts",
|
|
27
|
+
"**/*.ts",
|
|
28
|
+
"**/*.tsx",
|
|
29
|
+
".next/types/**/*.ts",
|
|
30
|
+
".next/dev/types/**/*.ts",
|
|
31
|
+
"**/*.mts"
|
|
32
|
+
],
|
|
33
|
+
"exclude": ["node_modules"]
|
|
34
|
+
}
|