@windrun-huaiin/diaomao 13.2.1 → 14.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.
- package/.env.local.txt +6 -4
- package/dev-scripts.config.json +78 -0
- package/package.json +11 -9
- package/src/app/[locale]/(home)/page.tsx +0 -1
- package/src/mdx/blog/index.mdx +1 -1
- package/src/mdx/blog/ioc.mdx +1 -1
package/.env.local.txt
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# website homepage url
|
|
2
2
|
NEXT_PUBLIC_BASE_URL=http://localhost:3000
|
|
3
3
|
|
|
4
|
+
# your project github url
|
|
4
5
|
NEXT_PUBLIC_GITHUB=https://github.com/caofanCPU/diaomao/
|
|
5
6
|
NEXT_PUBLIC_GITHUB_BASE_URL=https://github.com/caofanCPU/diaomao/main
|
|
6
7
|
NEXT_PUBLIC_STYLE_CDN_PROXY_URL=YOURS-
|
|
7
8
|
|
|
9
|
+
## https://supabase.com/docs/guides/database/connecting-to-postgres
|
|
8
10
|
## 直连模式supabase只支持ipv6;事务模式又不支持Prisma的预处理语句;所以必须降级为会话模式
|
|
9
11
|
## Project View -> Connect -> 查看连接方式以及限制
|
|
10
12
|
# DATABASE_URL="postgresql://用户名.项目ID:[YOUR-PASSWORD]@服务厂商域名.pooler.supabase.com:5432/postgres?sslmode=require&schema=diaomao"
|
|
@@ -16,7 +18,6 @@ DATABASE_URL="postgresql://postgres:PASSWORD@localhost:5432/postgres?schema=diao
|
|
|
16
18
|
|
|
17
19
|
# Website uniform style
|
|
18
20
|
NEXT_PUBLIC_STYLE_ICON_COLOR=text-purple-500
|
|
19
|
-
NEXT_PUBLIC_STYLE_SVG_ICON_COLOR=#AC62FD
|
|
20
21
|
NEXT_PUBLIC_STYLE_SVG_ICON_SIZE=18
|
|
21
22
|
|
|
22
23
|
NEXT_PUBLIC_STYLE_SHOW_BANNER=true
|
|
@@ -31,11 +32,12 @@ NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=
|
|
|
31
32
|
# MicrosoftID TODO
|
|
32
33
|
NEXT_PUBLIC_MICROSOFT_CLARITY_ID=
|
|
33
34
|
|
|
34
|
-
# Only-Use-In-Server, !!DO NOT USE IN CLIENT!!
|
|
35
|
-
CLERK_DEBUG=false
|
|
36
35
|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=YOURS-
|
|
36
|
+
|
|
37
|
+
# Only-Use-In-Server, !!DO NOT USE IN CLIENT!!
|
|
37
38
|
CLERK_SECRET_KEY=YOURS-
|
|
38
39
|
CLERK_WEBHOOK_SECRET=YOURS-
|
|
40
|
+
CLERK_DEBUG=false
|
|
39
41
|
|
|
40
42
|
# sign-in url
|
|
41
43
|
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
|
package/dev-scripts.config.json
CHANGED
|
@@ -19,6 +19,84 @@
|
|
|
19
19
|
"logDir": "logs",
|
|
20
20
|
"verbose": false
|
|
21
21
|
},
|
|
22
|
+
"diaomaoUpdate": {
|
|
23
|
+
"sourceUrl": "https://raw.githubusercontent.com/caofanCPU/next-ai-build/main/pnpm-workspace.yaml",
|
|
24
|
+
"allowedPackages": [
|
|
25
|
+
"@changesets/cli",
|
|
26
|
+
"@clerk/localizations",
|
|
27
|
+
"@clerk/nextjs",
|
|
28
|
+
"@clerk/shared",
|
|
29
|
+
"@clerk/themes",
|
|
30
|
+
"@fingerprintjs/fingerprintjs",
|
|
31
|
+
"@hookform/resolvers",
|
|
32
|
+
"@prisma/client",
|
|
33
|
+
"@radix-ui/react-alert-dialog",
|
|
34
|
+
"@radix-ui/react-dropdown-menu",
|
|
35
|
+
"@radix-ui/react-label",
|
|
36
|
+
"@radix-ui/react-slot",
|
|
37
|
+
"@tailwindcss/cli",
|
|
38
|
+
"@tailwindcss/postcss",
|
|
39
|
+
"@tailwindcss/typography",
|
|
40
|
+
"@types/hast",
|
|
41
|
+
"@types/mdx",
|
|
42
|
+
"@types/node",
|
|
43
|
+
"@types/nprogress",
|
|
44
|
+
"@types/react",
|
|
45
|
+
"@types/react-dom",
|
|
46
|
+
"@typescript-eslint/parser",
|
|
47
|
+
"@windrun-huaiin/backend-core",
|
|
48
|
+
"@windrun-huaiin/base-ui",
|
|
49
|
+
"@windrun-huaiin/dev-scripts",
|
|
50
|
+
"@windrun-huaiin/lib",
|
|
51
|
+
"@windrun-huaiin/third-ui",
|
|
52
|
+
"autoprefixer",
|
|
53
|
+
"baseline-browser-mapping",
|
|
54
|
+
"class-variance-authority",
|
|
55
|
+
"clsx",
|
|
56
|
+
"date-fns",
|
|
57
|
+
"eslint",
|
|
58
|
+
"eslint-config-next",
|
|
59
|
+
"eslint-plugin-unused-imports",
|
|
60
|
+
"fast-glob",
|
|
61
|
+
"fumadocs-core",
|
|
62
|
+
"fumadocs-docgen",
|
|
63
|
+
"fumadocs-mdx",
|
|
64
|
+
"fumadocs-typescript",
|
|
65
|
+
"fumadocs-ui",
|
|
66
|
+
"katex",
|
|
67
|
+
"lucide-react",
|
|
68
|
+
"mermaid",
|
|
69
|
+
"next",
|
|
70
|
+
"next-intl",
|
|
71
|
+
"next-themes",
|
|
72
|
+
"nprogress",
|
|
73
|
+
"postcss",
|
|
74
|
+
"prisma",
|
|
75
|
+
"react",
|
|
76
|
+
"react-dom",
|
|
77
|
+
"react-medium-image-zoom",
|
|
78
|
+
"rehype-katex",
|
|
79
|
+
"remark",
|
|
80
|
+
"remark-frontmatter",
|
|
81
|
+
"remark-gfm",
|
|
82
|
+
"remark-math",
|
|
83
|
+
"remark-mdx",
|
|
84
|
+
"shiki",
|
|
85
|
+
"stripe",
|
|
86
|
+
"svix",
|
|
87
|
+
"swiper",
|
|
88
|
+
"tailwind-merge",
|
|
89
|
+
"tailwindcss",
|
|
90
|
+
"tailwindcss-animate",
|
|
91
|
+
"ts-morph",
|
|
92
|
+
"ts-node",
|
|
93
|
+
"typescript",
|
|
94
|
+
"unist-util-visit",
|
|
95
|
+
"uuid",
|
|
96
|
+
"zod"
|
|
97
|
+
],
|
|
98
|
+
"compactLog": true
|
|
99
|
+
},
|
|
22
100
|
"architectureConfig": {
|
|
23
101
|
".": "Diaomao Project"
|
|
24
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windrun-huaiin/diaomao",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"react"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@clerk/localizations": "^
|
|
19
|
-
"@clerk/nextjs": "^
|
|
18
|
+
"@clerk/localizations": "^4.2.2",
|
|
19
|
+
"@clerk/nextjs": "^7.0.5",
|
|
20
20
|
"@clerk/themes": "^2.4.57",
|
|
21
|
-
"@clerk/
|
|
21
|
+
"@clerk/shared": "^4.3.1",
|
|
22
22
|
"@fingerprintjs/fingerprintjs": "^5.1.0",
|
|
23
23
|
"@hookform/resolvers": "^5.2.2",
|
|
24
24
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@radix-ui/react-slot": "^1.2.4",
|
|
28
28
|
"@tailwindcss/typography": "^0.5.19",
|
|
29
29
|
"@types/mdx": "^2.0.13",
|
|
30
|
-
"@windrun-huaiin/backend-core": "
|
|
31
|
-
"@windrun-huaiin/base-ui": "
|
|
32
|
-
"@windrun-huaiin/lib": "^
|
|
33
|
-
"@windrun-huaiin/third-ui": "
|
|
30
|
+
"@windrun-huaiin/backend-core": "14.1.0",
|
|
31
|
+
"@windrun-huaiin/base-ui": "14.0.2",
|
|
32
|
+
"@windrun-huaiin/lib": "^14.0.0",
|
|
33
|
+
"@windrun-huaiin/third-ui": "14.0.1",
|
|
34
34
|
"autoprefixer": "^10.4.27",
|
|
35
35
|
"class-variance-authority": "^0.7.1",
|
|
36
36
|
"clsx": "^2.1.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@types/react": "^19.2.14",
|
|
76
76
|
"@types/react-dom": "^19.2.3",
|
|
77
77
|
"@typescript-eslint/parser": "^8.56.1",
|
|
78
|
-
"@windrun-huaiin/dev-scripts": "^
|
|
78
|
+
"@windrun-huaiin/dev-scripts": "^14.1.2",
|
|
79
79
|
"baseline-browser-mapping": "^2.10.0",
|
|
80
80
|
"eslint": "^9.39.1",
|
|
81
81
|
"eslint-config-next": "^16.1.6",
|
|
@@ -124,6 +124,8 @@
|
|
|
124
124
|
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
125
125
|
"deep-clean": "dev-scripts deep-clean",
|
|
126
126
|
"d8": "pnpm run deep-clean",
|
|
127
|
+
"diaomao-help": "dev-scripts -h",
|
|
128
|
+
"diaomao-update": "dev-scripts diaomao-update -v",
|
|
127
129
|
"easy-changeset": "dev-scripts easy-changeset",
|
|
128
130
|
"dj": "pnpm run easy-changeset && pnpm changeset status",
|
|
129
131
|
"djv": "pnpm changeset version",
|
package/src/mdx/blog/index.mdx
CHANGED