create-nextjs-cms 0.5.24 ā 0.5.26
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 +11 -0
- package/package.json +2 -2
- package/templates/default/package.json +4 -5
package/dist/index.js
CHANGED
|
@@ -371,6 +371,17 @@ async function createNextjsCms() {
|
|
|
371
371
|
console.error(' Please run "pnpm install", "npm install", "yarn install", or "bun install" manually.');
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
+
// Run CMS setup
|
|
375
|
+
console.log('š§ Running CMS setup...');
|
|
376
|
+
try {
|
|
377
|
+
execSync('pnpm next-cms-kit:dev setup', { stdio: 'inherit' });
|
|
378
|
+
console.log('ā
CMS setup completed successfully!');
|
|
379
|
+
}
|
|
380
|
+
catch (error) {
|
|
381
|
+
console.warn('ā ļø CMS setup failed. You may need to run it manually:');
|
|
382
|
+
console.warn(' pnpm next-cms-kit:dev setup');
|
|
383
|
+
console.warn(` Error: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
384
|
+
}
|
|
374
385
|
console.log('\nš Your NextJS CMS project has been created successfully!');
|
|
375
386
|
console.log('\nNext steps:');
|
|
376
387
|
console.log(` cd ${options.projectName}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nextjs-cms",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-nextjs-cms": "./dist/index.js"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"chalk": "^5.4.1",
|
|
14
14
|
"commander": "^14.0.2",
|
|
15
|
-
"fs-extra": "^11.3.
|
|
15
|
+
"fs-extra": "^11.3.3",
|
|
16
16
|
"glob": "^11.0.3",
|
|
17
17
|
"js-yaml": "^4.1.1",
|
|
18
18
|
"prompts": "^2.4.2"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"nanoid": "^5.1.2",
|
|
71
71
|
"next": "^15.5.5",
|
|
72
72
|
"next-themes": "^0.4.6",
|
|
73
|
-
"nextjs-cms": "0.5.
|
|
73
|
+
"nextjs-cms": "0.5.25",
|
|
74
74
|
"plaiceholder": "^3.0.0",
|
|
75
75
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
76
76
|
"qrcode": "^1.5.4",
|
|
@@ -91,7 +91,6 @@
|
|
|
91
91
|
"zod": "4.1.12"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@lzcms/prettier-config": "workspace:*",
|
|
95
94
|
"@tailwindcss/postcss": "^4.1.18",
|
|
96
95
|
"@types/lodash-es": "^4.17.12",
|
|
97
96
|
"@types/node": "22.13.8",
|
|
@@ -103,11 +102,11 @@
|
|
|
103
102
|
"eslint-config-next": "^15.3.0",
|
|
104
103
|
"eslint-config-prettier": "^10.0.1",
|
|
105
104
|
"eslint-plugin-prettier": "^5.2.3",
|
|
106
|
-
"
|
|
105
|
+
"fs-extra": "^11.3.3",
|
|
106
|
+
"nextjs-cms-kit": "0.5.25",
|
|
107
107
|
"postcss": "^8.5.1",
|
|
108
108
|
"prettier": "3.5.0",
|
|
109
109
|
"tailwindcss": "^4.1.18",
|
|
110
110
|
"typescript": "^5.7.3"
|
|
111
|
-
}
|
|
112
|
-
"prettier": "@lzcms/prettier-config"
|
|
111
|
+
}
|
|
113
112
|
}
|