create-nextblock 0.8.5 → 0.8.7
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/bin/create-nextblock.js
CHANGED
|
@@ -1934,10 +1934,17 @@ function buildNextConfigContent(editorUtilNames) {
|
|
|
1934
1934
|
' remotePatterns: getRemotePatterns(),',
|
|
1935
1935
|
' },',
|
|
1936
1936
|
' experimental: {',
|
|
1937
|
-
|
|
1937
|
+
// NOTE: optimizeCss is intentionally omitted — Next implements it via require("critters"),
|
|
1938
|
+
// which the generated project does not install (it ships beasties). Leaving it on caused
|
|
1939
|
+
// "Cannot find module 'critters'" at dev/build time.
|
|
1938
1940
|
" cssChunking: 'strict',",
|
|
1939
1941
|
' },',
|
|
1940
|
-
|
|
1942
|
+
// Transpile ALL @nextblock-cms packages so Next applies React Server Component layer
|
|
1943
|
+
// semantics to them (the react-server condition for 'server-only', 'use client'/'use
|
|
1944
|
+
// server' directives). Without db/sdk/ecommerce here, db/server's `import 'server-only'`
|
|
1945
|
+
// throws even from a Server Component, because Next treats the prebuilt package as an
|
|
1946
|
+
// external and skips the server-layer processing the monorepo gets for free from source.
|
|
1947
|
+
" transpilePackages: ['@nextblock-cms/utils', '@nextblock-cms/ui', '@nextblock-cms/editor', '@nextblock-cms/db', '@nextblock-cms/sdk', '@nextblock-cms/ecommerce'],",
|
|
1941
1948
|
' webpack: (config, { isServer }) => {',
|
|
1942
1949
|
' config.resolve = config.resolve || {};',
|
|
1943
1950
|
' config.resolve.alias = {',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextblock-cms/template",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "next dev",
|
|
@@ -11,13 +11,16 @@
|
|
|
11
11
|
"configure:supabase-auth": "node tools/configure-supabase-auth.js"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
+
"@ai-sdk/openai-compatible": "^2.0.42",
|
|
14
15
|
"@aws-sdk/client-s3": "^3.1039.0",
|
|
15
16
|
"@aws-sdk/s3-request-presigner": "^3.1039.0",
|
|
16
17
|
"@dnd-kit/core": "^6.3.1",
|
|
17
18
|
"@dnd-kit/sortable": "^10.0.0",
|
|
18
19
|
"@dnd-kit/utilities": "^3.2.2",
|
|
19
20
|
"@hookform/resolvers": "^5.2.2",
|
|
21
|
+
"@next/third-parties": "^16.2.7",
|
|
20
22
|
"@nextblock-cms/db": "workspace:*",
|
|
23
|
+
"@nextblock-cms/ecommerce": "npm:@nextblock-cms/ecom@latest",
|
|
21
24
|
"@nextblock-cms/editor": "workspace:*",
|
|
22
25
|
"@nextblock-cms/sdk": "workspace:*",
|
|
23
26
|
"@nextblock-cms/ui": "workspace:*",
|
|
@@ -25,13 +28,18 @@
|
|
|
25
28
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
26
29
|
"@supabase/ssr": "^0.10.2",
|
|
27
30
|
"@supabase/supabase-js": "^2.105.1",
|
|
31
|
+
"@tiptap/core": "^3.22.5",
|
|
28
32
|
"@tiptap/react": "^3.22.5",
|
|
29
33
|
"@vercel/analytics": "^1.6.1",
|
|
34
|
+
"@vercel/speed-insights": "^1.3.1",
|
|
35
|
+
"@vercel/toolbar": "^0.2.6",
|
|
36
|
+
"ai": "^6.0.170",
|
|
30
37
|
"beasties": "^0.4.2",
|
|
31
38
|
"clsx": "^2.1.1",
|
|
32
39
|
"date-fns": "^4.1.0",
|
|
33
40
|
"dotenv": "^17.4.2",
|
|
34
41
|
"fast-json-patch": "^3.1.1",
|
|
42
|
+
"fflate": "^0.8.2",
|
|
35
43
|
"html-react-parser": "^5.2.17",
|
|
36
44
|
"js-cookie": "^3.0.5",
|
|
37
45
|
"katex": "^0.16.45",
|
|
@@ -40,11 +48,14 @@
|
|
|
40
48
|
"next": "16.2.7",
|
|
41
49
|
"next-themes": "^0.4.6",
|
|
42
50
|
"nodemailer": "^8.0.10",
|
|
51
|
+
"papaparse": "^5.5.3",
|
|
43
52
|
"plaiceholder": "^3.0.0",
|
|
53
|
+
"postgres": "^3.4.9",
|
|
44
54
|
"react": "^19.2.5",
|
|
45
55
|
"react-dom": "^19.2.5",
|
|
46
56
|
"react-hook-form": "^7.74.0",
|
|
47
57
|
"react-hot-toast": "^2.6.0",
|
|
58
|
+
"server-only": "^0.0.1",
|
|
48
59
|
"sharp": "^0.34.5",
|
|
49
60
|
"sonner": "^2.0.7",
|
|
50
61
|
"tailwind-merge": "^3.5.0",
|