@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.
- package/bin/create-acorn.mjs +3 -0
- package/package.json +1 -1
package/bin/create-acorn.mjs
CHANGED
|
@@ -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