@majordigital/create-acorn 1.0.7 → 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
 
@@ -123,7 +126,7 @@ async function scaffoldNextApp() {
123
126
  console.log('');
124
127
 
125
128
  console.log('Installing Biome for linting...');
126
- await runCommand('npm', ['install', '--save-dev', '--save-exact', '--legacy-peer-deps', '@biomejs/biome']);
129
+ await runCommand('npm', ['install', '--save-dev', '--save-exact', '@biomejs/biome']);
127
130
  await runCommand('npx', ['@biomejs/biome', 'init']);
128
131
  console.log('');
129
132
  console.log('Biome configured successfully.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majordigital/create-acorn",
3
- "version": "1.0.7",
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",