@majordigital/create-acorn 1.0.6 → 1.0.8

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.
@@ -97,6 +97,9 @@ async function scaffoldNextApp() {
97
97
  console.log('Next.js project scaffolded successfully.');
98
98
  console.log('');
99
99
 
100
+ // Add .npmrc with legacy-peer-deps so all npm installs (including Slice Machine) work with React 19
101
+ writeFileSync(join(process.cwd(), '.npmrc'), 'legacy-peer-deps=true\n');
102
+
100
103
  // Remove postcss config generated by create-next-app (not needed with Tailwind v4)
101
104
  try { rmSync(join(process.cwd(), 'postcss.config.mjs')); } catch {}
102
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majordigital/create-acorn",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Interactive scaffold for Acorn with Storyblok/Prismic/DatoCMS, TypeScript, and Tailwind.",
5
5
  "bin": {
6
6
  "create-acorn": "bin/create-acorn.mjs",