create-nextjs-cms 0.6.9 → 0.7.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/dist/index.js CHANGED
@@ -54,7 +54,7 @@ async function createNextjsCms() {
54
54
  }
55
55
  else {
56
56
  logger.message(`${preferredPM} install`);
57
- logger.message(`${preferredPM} nextjs-cms-kit --dev setup`);
57
+ logger.message(`${preferredPM} nextjs-cms --dev setup`);
58
58
  logger.message(`${preferredPM} dev`);
59
59
  }
60
60
  console.log('\n');
@@ -5,7 +5,7 @@ import * as p from '@clack/prompts';
5
5
  const runCmsSetupCommand = async ({ preferredPM, projectDir, }) => {
6
6
  // For all package managers, use inherit for stdout/stderr to avoid hanging issues
7
7
  // The command will show its own output and the spinner will just indicate progress
8
- await execWithoutSpinner(preferredPM, ['nextjs-cms-kit', '--dev', 'setup'], {
8
+ await execWithoutSpinner(preferredPM, ['nextjs-cms', '--dev', 'setup'], {
9
9
  cwd: projectDir,
10
10
  stdout: 'inherit',
11
11
  stderr: 'inherit',
@@ -19,7 +19,7 @@ export const runCmsSetup = async ({ dir, preferredPM }) => {
19
19
  }
20
20
  catch (error) {
21
21
  logger.error('⚠️ CMS setup failed. You may need to run it manually:');
22
- logger.warn(`${preferredPM} nextjs-cms-kit --dev setup`);
22
+ logger.warn(`${preferredPM} nextjs-cms --dev setup`);
23
23
  logger.error(` Error: ${error instanceof Error ? error.message : 'Unknown error'}`);
24
24
  throw error;
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextjs-cms",
3
- "version": "0.6.9",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,9 +1,9 @@
1
1
  import dynamic from 'next/dynamic'
2
2
 
3
3
  export const pluginNamesMap: Record<string, string> = {
4
- 'cpanel-dashboard': '@nextjs-cms-plugins/cpanel-dashboard/server',
5
- 'cpanel-emails': '@nextjs-cms-plugins/cpanel-emails/server',
6
- 'google-analytics': '@nextjs-cms-plugins/google-analytics/server',
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
7
  // A workaround to avoid importing error if no plugins are installed
8
8
  blank: 'nextjs-cms/plugins/blank-component',
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import type { CMSConfig } from 'nextjs-cms/core/config'
2
- import en from 'nextjs-cms/translations/dictionaries/en'
3
- import ar from 'nextjs-cms/translations/dictionaries/ar'
2
+ import en from 'nextjs-cms/translations/base/en'
3
+ import ar from '@nextjscms/translations/ar'
4
4
  import process from 'process'
5
5
  import { resolve } from 'path'
6
6
 
@@ -19,6 +19,9 @@
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
25
  "@radix-ui/react-accordion": "^1.2.3",
23
26
  "@radix-ui/react-alert-dialog": "^1.1.15",
24
27
  "@radix-ui/react-aspect-ratio": "^1.1.2",
@@ -65,7 +68,7 @@
65
68
  "nanoid": "^5.1.2",
66
69
  "next": "16.1.1",
67
70
  "next-themes": "^0.4.6",
68
- "nextjs-cms": "0.6.9",
71
+ "nextjs-cms": "0.7.0",
69
72
  "plaiceholder": "^3.0.0",
70
73
  "prettier-plugin-tailwindcss": "^0.7.2",
71
74
  "qrcode": "^1.5.4",
@@ -99,7 +102,6 @@
99
102
  "eslint-config-prettier": "^10.0.1",
100
103
  "eslint-plugin-prettier": "^5.2.3",
101
104
  "fs-extra": "^11.3.3",
102
- "nextjs-cms-kit": "0.6.9",
103
105
  "postcss": "^8.5.1",
104
106
  "prettier": "3.5.0",
105
107
  "raw-loader": "^4.0.2",