create-nextjs-cms 0.7.0 → 0.7.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextjs-cms",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,11 +1,11 @@
1
1
  import dynamic from 'next/dynamic'
2
2
 
3
- export const pluginNamesMap: Record<string, string> = {
4
- 'cpanel-dashboard': '@nextjscms/plugins/cpanel-dashboard/server',
5
- 'cpanel-emails': '@nextjscms/plugins/cpanel-emails/server',
6
- 'google-analytics': '@nextjscms/plugins/google-analytics/server',
7
- // A workaround to avoid importing error if no plugins are installed
8
- blank: 'nextjs-cms/plugins/blank-component',
3
+ export const pluginNamesMap: Record<string, string> = {
4
+ 'cpanel-dashboard': '@nextjscms/plugin-cpanel-dashboard/server',
5
+ 'cpanel-emails': '@nextjscms/plugin-cpanel-emails/server',
6
+ 'google-analytics': '@nextjscms/plugin-google-analytics/server',
7
+ // A workaround to avoid importing error if no plugins are installed
8
+ blank: 'nextjs-cms/plugins/blank-component',
9
9
  }
10
10
 
11
11
  export const getPluginServerComponent = async (registryName: string, componentName: string | undefined) => {
@@ -1,7 +1,4 @@
1
- import type { CMSConfig } from 'nextjs-cms/core/config'
2
- import en from 'nextjs-cms/translations/base/en'
3
- import ar from '@nextjscms/translations/ar'
4
- import process from 'process'
1
+ import type { CMSConfig } from 'nextjs-cms/core/config'
5
2
  import { resolve } from 'path'
6
3
 
7
4
  export const config: CMSConfig = {
@@ -44,9 +41,6 @@ export const config: CMSConfig = {
44
41
  columns: 'camelCase',
45
42
  },
46
43
  },
47
- },
48
- i18n: {
49
- supportedLanguages: { ar, en },
50
- fallbackLanguage: 'en',
44
+ },
51
45
  },
52
46
  }
@@ -19,9 +19,7 @@
19
19
  "@formkit/auto-animate": "^0.9.0",
20
20
  "@hookform/resolvers": "^5.2.2",
21
21
  "@next/env": "16.1.1",
22
- "@nextjscms/plugins/cpanel-dashboard": "workspace:*",
23
- "@nextjscms/plugins/cpanel-emails": "workspace:*",
24
- "@nextjscms/plugins/google-analytics": "workspace:*",
22
+ "@nextjscms/translations": "workspace:*",
25
23
  "@radix-ui/react-accordion": "^1.2.3",
26
24
  "@radix-ui/react-alert-dialog": "^1.1.15",
27
25
  "@radix-ui/react-aspect-ratio": "^1.1.2",
@@ -68,7 +66,7 @@
68
66
  "nanoid": "^5.1.2",
69
67
  "next": "16.1.1",
70
68
  "next-themes": "^0.4.6",
71
- "nextjs-cms": "0.7.0",
69
+ "nextjs-cms": "0.7.1",
72
70
  "plaiceholder": "^3.0.0",
73
71
  "prettier-plugin-tailwindcss": "^0.7.2",
74
72
  "qrcode": "^1.5.4",