@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.
- package/bin/create-acorn.mjs +4 -1
- 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
|
|
|
@@ -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', '
|
|
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