@windrun-huaiin/diaomao 11.1.1 → 11.2.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.
@@ -0,0 +1,32 @@
1
+ import nextConfig from "eslint-config-next";
2
+ import unusedImports from "eslint-plugin-unused-imports";
3
+
4
+ const config = [
5
+ ...nextConfig,
6
+ {
7
+ plugins: {
8
+ "unused-imports": unusedImports,
9
+ },
10
+ ignores: [
11
+ ".source/source.config.mjs",
12
+ // 其他文件或模式
13
+ ],
14
+ rules: {
15
+ // 关闭原生规则,启用 unused-imports 插件
16
+ "no-unused-vars": "off",
17
+ "@typescript-eslint/no-unused-vars": "off",
18
+ "unused-imports/no-unused-imports": "error",
19
+ "unused-imports/no-unused-vars": [
20
+ "error",
21
+ {
22
+ vars: "all",
23
+ varsIgnorePattern: "^_",
24
+ args: "after-used",
25
+ argsIgnorePattern: "^_",
26
+ },
27
+ ],
28
+ },
29
+ },
30
+ ];
31
+
32
+ export default config;
package/messages/en.json CHANGED
@@ -259,7 +259,7 @@
259
259
  "description": "Swipe through the built-in UI language: gradient CTAs, pill billing toggles, credit buckets, and docs hero visuals.",
260
260
  "button": {
261
261
  "title": "Preview the template",
262
- "href": "https://preview.reve.art/",
262
+ "href": "https://newspaper-template.org/",
263
263
  "align": "center"
264
264
  },
265
265
  "defaultImgUrl": "https://r2.d8ger.com/default.webp",
@@ -360,7 +360,7 @@
360
360
  "description1": "One template. Every hard part solved.",
361
361
  "description2": "Stripe, credits, auth— all production-ready out of the box.",
362
362
  "button": "Get Diaomao Now →",
363
- "url": "https://preview.reve.art/"
363
+ "url": "https://newspaper-template.org/"
364
364
  },
365
365
  "languageDetection": {
366
366
  "title": "Language Detection",
@@ -377,11 +377,15 @@
377
377
  "sitemap": "Sitemap",
378
378
  "contactUs": "Contact Us",
379
379
  "email": "xyb5to0zcy@gmail.com",
380
+ "clickToCopyText": "Click to copy",
381
+ "copiedText": "Copied!",
380
382
  "thanks": "Thanks to"
381
383
  },
382
384
  "clerk": {
383
385
  "signIn": "Sign In",
384
- "signUp": "Sign Up"
386
+ "signUp": "Sign Up",
387
+ "signUpBonus": "+2",
388
+ "signUpBonusTooltip": "Sign up and get 2 free credits!"
385
389
  },
386
390
  "linkPreview": {
387
391
  "blog": "Blog",
package/messages/zh.json CHANGED
@@ -243,7 +243,7 @@
243
243
  "description": "一眼看懂内置的 UI 语言:渐变 CTA、计费胶囊、积分桶与文档英雄区。",
244
244
  "button": {
245
245
  "title": "预览模板",
246
- "href": "https://preview.reve.art/",
246
+ "href": "https://newspaper-template.org/",
247
247
  "align": "center"
248
248
  },
249
249
  "defaultImgUrl": "https://r2.d8ger.com/default.webp",
@@ -344,7 +344,7 @@
344
344
  "description1": "一套模板搞定定价、积分、文档、导航与 Stripe。",
345
345
  "description2": "渐变、可访问性、移动体验都已调好。",
346
346
  "button": "立即开始",
347
- "url": "https://preview.reve.art/"
347
+ "url": "https://newspaper-template.org/"
348
348
  },
349
349
  "languageDetection": {
350
350
  "title": "语言切换",
@@ -361,11 +361,15 @@
361
361
  "sitemap": "站点地图",
362
362
  "contactUs": "联系我们",
363
363
  "email": "xyb5to0zcy@gmail.com",
364
+ "clickToCopyText": "点击复制",
365
+ "copiedText": "已复制!",
364
366
  "thanks": "特别感谢"
365
367
  },
366
368
  "clerk": {
367
369
  "signIn": "登录",
368
- "signUp": "注册"
370
+ "signUp": "注册",
371
+ "signUpBonus": "+2",
372
+ "signUpBonusTooltip": "注册就送2个积分!"
369
373
  },
370
374
  "linkPreview": {
371
375
  "blog": "博客",
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/diaomao",
3
- "version": "11.1.1",
3
+ "version": "11.2.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
+ "type": "module",
8
9
  "keywords": [
9
10
  "fumadocs",
10
11
  "clerk",
@@ -26,10 +27,10 @@
26
27
  "@radix-ui/react-slot": "^1.2.4",
27
28
  "@tailwindcss/typography": "^0.5.19",
28
29
  "@types/mdx": "^2.0.13",
29
- "@windrun-huaiin/backend-core": "^11.0.2",
30
+ "@windrun-huaiin/backend-core": "^11.0.3",
30
31
  "@windrun-huaiin/base-ui": "^11.0.1",
31
32
  "@windrun-huaiin/lib": "^11.0.1",
32
- "@windrun-huaiin/third-ui": "^11.0.1",
33
+ "@windrun-huaiin/third-ui": "^11.1.0",
33
34
  "autoprefixer": "^10.4.22",
34
35
  "class-variance-authority": "^0.7.1",
35
36
  "clsx": "^2.1.1",
@@ -55,7 +56,7 @@
55
56
  "remark-math": "^6.0.0",
56
57
  "remark-mdx": "^3.1.1",
57
58
  "shiki": "^3.15.0",
58
- "stripe": "19.3.0",
59
+ "stripe": "20.0.0",
59
60
  "svix": "^1.81.0",
60
61
  "swiper": "^12.0.3",
61
62
  "tailwind-merge": "^3.4.0",
@@ -99,7 +100,7 @@
99
100
  ".gitignore",
100
101
  "messages",
101
102
  ".env.local.txt",
102
- ".eslintrc.json",
103
+ "eslint.config.js",
103
104
  "components.json",
104
105
  "dev-scripts.config.json",
105
106
  "LICENSE",
@@ -120,7 +121,8 @@
120
121
  "build:dev": "pnpm generate-blog-index && prisma generate && next build",
121
122
  "build:prod": "prisma generate && next build",
122
123
  "start": "next start",
123
- "lint": "next lint",
124
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
125
+ "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
124
126
  "deep-clean": "dev-scripts deep-clean",
125
127
  "d8": "pnpm run deep-clean",
126
128
  "easy-changeset": "dev-scripts easy-changeset",
@@ -51,7 +51,7 @@ export default async function Layout({
51
51
  >
52
52
  {children}
53
53
  </CustomHomeLayout>
54
- </FingerprintProvider>
54
+ </FingerprintProvider>
55
55
  );
56
56
  }
57
57
 
@@ -3,12 +3,11 @@ import { appConfig } from '@/lib/appConfig';
3
3
  import { SiteIcon } from '@/lib/site-config';
4
4
  import { globalLucideIcons as icons } from '@windrun-huaiin/base-ui/components/server';
5
5
  import { ClerkUser } from '@windrun-huaiin/third-ui/clerk/server';
6
- import { type LinkItemType } from 'fumadocs-ui/layouts/docs';
7
6
  import { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
8
7
  import { getTranslations } from 'next-intl/server';
9
8
  import { CreditPopover } from '@/components/credit-popover';
9
+ import { ExtendedLinkItem, HomeTitle } from '@windrun-huaiin/third-ui/fuma/base';
10
10
 
11
- type ExtendedLinkItem = LinkItemType & { mobilePinned?: boolean };
12
11
  // home page normal menu
13
12
  export async function homeNavLinks(locale: string): Promise<ExtendedLinkItem[]> {
14
13
  const t1 = await getTranslations({ locale: locale, namespace: 'linkPreview' });
@@ -54,9 +53,9 @@ export async function baseOptions(locale: string): Promise<BaseLayoutProps> {
54
53
  title: (
55
54
  <>
56
55
  <SiteIcon />
57
- <span className="font-medium in-[.uwu]:hidden in-[header]:text-[15px]">
56
+ <HomeTitle>
58
57
  {t('title')}
59
- </span>
58
+ </HomeTitle>
60
59
  </>
61
60
  ),
62
61
  transparentMode: 'none',
@@ -1,4 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
1
+
2
2
 
3
3
  import { type NextRequest, NextResponse } from 'next/server';
4
4
 
@@ -1,4 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
1
+
2
2
 
3
3
  import { type NextRequest, NextResponse } from 'next/server';
4
4
 
@@ -1,5 +1,4 @@
1
- /* eslint-disable react/no-unescaped-entities */
2
- import Image from "next/image"
1
+ import Image from "next/image"
3
2
  import { getTranslations } from 'next-intl/server'
4
3
  import { globalLucideIcons as icons} from '@windrun-huaiin/base-ui/components/server'
5
4
  import { GradientButton } from "@windrun-huaiin/third-ui/fuma/mdx"
@@ -19,7 +18,7 @@ export async function Hero({ locale }: { locale: string }) {
19
18
  </p>
20
19
  <GradientButton
21
20
  title={t('button')}
22
- href="https://preview.reve.art/"
21
+ href="https://newspaper-template.org/"
23
22
  align="center"
24
23
  className="md:w-full"
25
24
  />
@@ -119,7 +119,7 @@ export function getMDXComponents(
119
119
  );
120
120
  },
121
121
  // global image zoom
122
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
122
+
123
123
  img: (props) => <ImageZoom {...(props as any)} />,
124
124
  // global Mermaid component
125
125
  Mermaid: (props) => (
@@ -2,12 +2,15 @@
2
2
  title: Blog
3
3
  description: Articles and thoughts about various topics.
4
4
  icon: Rss
5
- date: 2025-12-13
5
+ date: 2025-12-21
6
6
  ---
7
7
 
8
8
  ## Past List
9
9
 
10
10
  <Cards>
11
+ <ZiaCard icon={<Gift />} href="blog/nextjs-architecture" title="About Project Structure">
12
+ 2025-12-21
13
+ </ZiaCard>
11
14
  <ZiaCard href="blog/async-architecture" title="异步处理架构升级方案">
12
15
  2025-08-02
13
16
  </ZiaCard>
@@ -1,13 +1,16 @@
1
1
  ---
2
2
  title: Monthly Summary
3
3
  description: Index and Summary
4
- date: 2025-12-13
4
+ date: 2025-12-21
5
5
  ---
6
6
 
7
7
 
8
8
  ## Overview
9
9
  <Files>
10
- <ZiaFolder name="2025-08(1)" defaultOpen>
10
+ <ZiaFolder name="2025-12(1)" defaultOpen>
11
+ <ZiaFile name="2025-12-21(About Project Structure)" href="./nextjs-architecture" />
12
+ </ZiaFolder>
13
+ <ZiaFolder name="2025-08(1)">
11
14
  <ZiaFile name="2025-08-02(异步处理架构升级方案)" href="./async-architecture" />
12
15
  </ZiaFolder>
13
16
  </Files>
@@ -0,0 +1,187 @@
1
+ ---
2
+ title: About Project Structure
3
+ description: Show all source code directories and files
4
+ icon: Gift
5
+ date: 2025-12-21
6
+ ---
7
+
8
+ ## Quick Started
9
+
10
+ <Files>
11
+ <ZiaFolder name="ROOT" anotion="Diaomao Project" defaultOpen>
12
+ <ZiaFolder name=".changeset" anotion="" defaultOpen>
13
+ <ZiaFile name="config.json" anotion="" href="" />
14
+ <ZiaFile name="d8-template.mdx" anotion="" href="" />
15
+ <ZiaFile name="README.md" anotion="项目说明文档" href="" />
16
+ </ZiaFolder>
17
+ <ZiaFile name=".env.local" anotion="本地环境变量配置" href="" />
18
+ <ZiaFile name=".env.local.txt" anotion="config example" href="" />
19
+ <ZiaFile name=".gitignore" anotion="Git忽略文件配置" href="" />
20
+ <ZiaFolder name=".source" anotion="Fuma数据源Build产物" defaultOpen>
21
+ <ZiaFile name="index.ts" anotion="" href="" />
22
+ <ZiaFile name="source.config.mjs" anotion="" href="" />
23
+ </ZiaFolder>
24
+ <ZiaFile name="CHANGELOG.md" anotion="变更记录" href="" />
25
+ <ZiaFile name="components.json" anotion="组件依赖清单" href="" />
26
+ <ZiaFolder name="database" anotion="数据库SQL" defaultOpen>
27
+ <ZiaFile name="create.sql" anotion="" href="" />
28
+ <ZiaFile name="init-schema.sql" anotion="" href="" />
29
+ </ZiaFolder>
30
+ <ZiaFile name="dev-scripts.config.json" anotion="dev-scripts脚本工具配置" href="" />
31
+ <ZiaFolder name="docs" anotion="项目设计文档" defaultOpen>
32
+ <ZiaFolder name="design" anotion="" defaultOpen>
33
+ <ZiaFile name="backend-core-integrate.md" anotion="" href="" />
34
+ <ZiaFile name="codex-money.md" anotion="" href="" />
35
+ <ZiaFile name="credit-overview.md" anotion="" href="" />
36
+ <ZiaFile name="db-model.md" anotion="" href="" />
37
+ <ZiaFile name="fingerprint-context.md" anotion="" href="" />
38
+ <ZiaFile name="header-menu-config.md" anotion="" href="" />
39
+ <ZiaFile name="rich-text.md" anotion="" href="" />
40
+ <ZiaFile name="state-flow.md" anotion="" href="" />
41
+ <ZiaFile name="stripe-integrate.md" anotion="" href="" />
42
+ <ZiaFile name="UI.md" anotion="" href="" />
43
+ <ZiaFile name="user-integrate.md" anotion="" href="" />
44
+ </ZiaFolder>
45
+ <ZiaFile name="WHO-AM-I.md" anotion="网站设计白皮书" href="" />
46
+ </ZiaFolder>
47
+ <ZiaFile name="eslint.config.js" anotion="代码语法检查配置" href="" />
48
+ <ZiaFile name="LICENSE" anotion="开源许可证" href="" />
49
+ <ZiaFolder name="messages" anotion="翻译目录" defaultOpen>
50
+ <ZiaFile name="en.json" anotion="" href="" />
51
+ <ZiaFile name="zh.json" anotion="" href="" />
52
+ </ZiaFolder>
53
+ <ZiaFile name="next-env.d.ts" anotion="Next.js环境类型声明" href="" />
54
+ <ZiaFile name="next.config.ts" anotion="Next.js项目配置" href="" />
55
+ <ZiaFile name="package.json" anotion="项目依赖与脚本" href="" />
56
+ <ZiaFolder name="patches" anotion="补丁包" defaultOpen>
57
+ <ZiaFile name="fumadocs-core@16.0.9.patch" anotion="fumadocs-core版本16.0.9补丁" href="" />
58
+ <ZiaFile name="fumadocs-ui@16.0.9.patch" anotion="fumadocs-ui版本16.0.9补丁" href="" />
59
+ </ZiaFolder>
60
+ <ZiaFile name="postcss.config.mjs" anotion="PostCSS 配置" href="" />
61
+ <ZiaFolder name="prisma" anotion="Prisma ORM框架" defaultOpen>
62
+ <ZiaFile name="schema.prisma" anotion="Prisma数据库模型定义" href="" />
63
+ </ZiaFolder>
64
+ <ZiaFile name="README.md" anotion="项目说明文档" href="" />
65
+ <ZiaFile name="source.config.ts" anotion="Fuma数据源扫描配置" href="" />
66
+ <ZiaFolder name="src" anotion="源码目录" defaultOpen>
67
+ <ZiaFolder name="app" anotion="Next.js 应用主入口目录" defaultOpen>
68
+ <ZiaFolder name="[locale]" anotion="Nextjs i18n路由目录" defaultOpen>
69
+ <ZiaFolder name="(clerk)" anotion="Clerk认证" defaultOpen>
70
+ <ZiaFile name="layout.tsx" anotion="布局" href="" />
71
+ <ZiaFolder name="sign-in" anotion="登录" defaultOpen>
72
+ <ZiaFolder name="[[...sign-in]]" anotion="" defaultOpen>
73
+ <ZiaFile name="page.tsx" anotion="" href="" />
74
+ </ZiaFolder>
75
+ </ZiaFolder>
76
+ <ZiaFolder name="sign-up" anotion="注册" defaultOpen>
77
+ <ZiaFolder name="[[...sign-up]]" anotion="" defaultOpen>
78
+ <ZiaFile name="page.tsx" anotion="" href="" />
79
+ </ZiaFolder>
80
+ </ZiaFolder>
81
+ <ZiaFolder name="waitlist" anotion="白名单" defaultOpen>
82
+ <ZiaFolder name="[[...waitlist]]" anotion="" defaultOpen>
83
+ <ZiaFile name="page.tsx" anotion="" href="" />
84
+ </ZiaFolder>
85
+ </ZiaFolder>
86
+ </ZiaFolder>
87
+ <ZiaFolder name="(home)" anotion="首页" defaultOpen>
88
+ <ZiaFolder name="[...catchAll]" anotion="全局404页面" defaultOpen>
89
+ <ZiaFile name="page.tsx" anotion="" href="" />
90
+ </ZiaFolder>
91
+ <ZiaFolder name="blog" anotion="博客" defaultOpen>
92
+ <ZiaFolder name="[[...slug]]" anotion="" defaultOpen>
93
+ <ZiaFile name="page.tsx" anotion="" href="" />
94
+ </ZiaFolder>
95
+ <ZiaFile name="layout.tsx" anotion="布局" href="" />
96
+ </ZiaFolder>
97
+ <ZiaFile name="layout.tsx" anotion="布局" href="" />
98
+ <ZiaFolder name="legal" anotion="法律" defaultOpen>
99
+ <ZiaFolder name="[[...slug]]" anotion="" defaultOpen>
100
+ <ZiaFile name="page.tsx" anotion="" href="" />
101
+ </ZiaFolder>
102
+ <ZiaFile name="layout.tsx" anotion="布局" href="" />
103
+ </ZiaFolder>
104
+ <ZiaFile name="page.tsx" anotion="" href="" />
105
+ <ZiaFolder name="pricing" anotion="价格" defaultOpen>
106
+ <ZiaFile name="page.tsx" anotion="" href="" />
107
+ </ZiaFolder>
108
+ </ZiaFolder>
109
+ <ZiaFile name="globals.css" anotion="全局样式" href="" />
110
+ <ZiaFile name="layout.config.tsx" anotion="布局配置" href="" />
111
+ <ZiaFile name="layout.tsx" anotion="布局" href="" />
112
+ <ZiaFile name="loading.tsx" anotion="全局加载组件" href="" />
113
+ </ZiaFolder>
114
+ <ZiaFolder name="api" anotion="API接口" defaultOpen>
115
+ <ZiaFolder name="blog" anotion="博客" defaultOpen>
116
+ <ZiaFolder name="llm-content" anotion="FumaMDX复制接口" defaultOpen>
117
+ <ZiaFile name="route.ts" anotion="" href="" />
118
+ </ZiaFolder>
119
+ </ZiaFolder>
120
+ <ZiaFolder name="legal" anotion="法律" defaultOpen>
121
+ <ZiaFolder name="llm-content" anotion="FumaMDX复制接口" defaultOpen>
122
+ <ZiaFile name="route.ts" anotion="" href="" />
123
+ </ZiaFolder>
124
+ </ZiaFolder>
125
+ <ZiaFolder name="stripe" anotion="Stripe对接" defaultOpen>
126
+ <ZiaFolder name="checkout" anotion="创建订单API" defaultOpen>
127
+ <ZiaFile name="route.ts" anotion="" href="" />
128
+ </ZiaFolder>
129
+ <ZiaFolder name="customer-portal" anotion="客户门户API" defaultOpen>
130
+ <ZiaFile name="route.ts" anotion="" href="" />
131
+ </ZiaFolder>
132
+ </ZiaFolder>
133
+ <ZiaFolder name="user" anotion="用户系统" defaultOpen>
134
+ <ZiaFolder name="anonymous" anotion="匿名用户API" defaultOpen>
135
+ <ZiaFolder name="init" anotion="" defaultOpen>
136
+ <ZiaFile name="route.ts" anotion="" href="" />
137
+ </ZiaFolder>
138
+ </ZiaFolder>
139
+ </ZiaFolder>
140
+ <ZiaFolder name="webhook" anotion="回调处理" defaultOpen>
141
+ <ZiaFolder name="clerk" anotion="Clerk回调" defaultOpen>
142
+ <ZiaFolder name="user" anotion="" defaultOpen>
143
+ <ZiaFile name="route.ts" anotion="" href="" />
144
+ </ZiaFolder>
145
+ </ZiaFolder>
146
+ <ZiaFolder name="stripe" anotion="Stripe回调" defaultOpen>
147
+ <ZiaFile name="route.ts" anotion="" href="" />
148
+ </ZiaFolder>
149
+ </ZiaFolder>
150
+ </ZiaFolder>
151
+ <ZiaFile name="robots.ts" anotion="robots.txt生成脚本" href="" />
152
+ <ZiaFile name="sitemap.ts" anotion="网站地图" href="" />
153
+ </ZiaFolder>
154
+ <ZiaFolder name="components" anotion="页面组件" defaultOpen>
155
+ <ZiaFile name="credit-popover.tsx" anotion="积分组件" href="" />
156
+ <ZiaFile name="hero.tsx" anotion="首页大字组件" href="" />
157
+ <ZiaFile name="mdx-components.tsx" anotion="FumaMDX组件库(自定义)" href="" />
158
+ </ZiaFolder>
159
+ <ZiaFile name="i18n.ts" anotion="多语言配置" href="" />
160
+ <ZiaFolder name="lib" anotion="工具包" defaultOpen>
161
+ <ZiaFile name="appConfig.ts" anotion="应用全局配置" href="" />
162
+ <ZiaFile name="fonts.ts" anotion="" href="网站字体" />
163
+ <ZiaFile name="site-config.ts" anotion="网站图标配置" href="" />
164
+ <ZiaFile name="source-blog.ts" anotion="" href="博客MDX资源定义" />
165
+ <ZiaFile name="source-legal.ts" anotion="" href="法律MDX资源定义" />
166
+ </ZiaFolder>
167
+ <ZiaFolder name="mdx" anotion="FumaMDX文档" defaultOpen>
168
+ <ZiaFolder name="blog" anotion="博客" defaultOpen>
169
+ <ZiaFile name="async-architecture.mdx" anotion="" href="" />
170
+ <ZiaFile name="index.mdx" anotion="" href="" />
171
+ <ZiaFile name="ioc.mdx" anotion="月度/统计" href="" />
172
+ <ZiaFile name="meta.json" anotion="FumaMDX元数据" href="" />
173
+ </ZiaFolder>
174
+ <ZiaFolder name="legal" anotion="法律" defaultOpen>
175
+ <ZiaFile name="index.mdx" anotion="" href="" />
176
+ <ZiaFile name="meta.json" anotion="FumaMDX元数据" href="" />
177
+ <ZiaFile name="privacy.mdx" anotion="" href="" />
178
+ <ZiaFile name="terms.mdx" anotion="" href="" />
179
+ </ZiaFolder>
180
+ </ZiaFolder>
181
+ <ZiaFile name="proxy.ts" anotion="中间件" href="" />
182
+ </ZiaFolder>
183
+ <ZiaFile name="tsconfig.json" anotion="TypeScript配置" href="" />
184
+ <ZiaFile name="tsconfig.node.json" anotion="Node.js相关TypeScript 配置" href="" />
185
+ <ZiaFile name="tsconfig.tsbuildinfo" anotion="" href="" />
186
+ </ZiaFolder>
187
+ </Files>
package/src/proxy.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Fix BigInt serialization issue globally
2
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2
+
3
3
  (BigInt.prototype as any).toJSON = function () {
4
4
  return this.toString();
5
5
  };
package/tsconfig.json CHANGED
@@ -33,7 +33,7 @@
33
33
  }
34
34
  },
35
35
  "include": [
36
- "apps/zhengchengyan/next-env.d.ts",
36
+ "next-env.d.ts",
37
37
  "**/*.ts",
38
38
  "**/*.tsx",
39
39
  ".next/types/**/*.ts",
package/.eslintrc.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "extends": [
3
- "next/core-web-vitals",
4
- "eslint:recommended",
5
- "plugin:@typescript-eslint/recommended"
6
- ],
7
- "parser": "@typescript-eslint/parser",
8
- "plugins": [
9
- "@typescript-eslint",
10
- "unused-imports"
11
- ],
12
- "rules": {
13
- "no-unused-vars": "off",
14
- "@typescript-eslint/no-unused-vars": "off",
15
- "unused-imports/no-unused-imports": "error",
16
- "unused-imports/no-unused-vars": [
17
- "error",
18
- {
19
- "vars": "all",
20
- "varsIgnorePattern": "^_",
21
- "args": "after-used",
22
- "argsIgnorePattern": "^_"
23
- }
24
- ]
25
- }
26
- }