spine-framework 0.3.84 → 0.3.85
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.
|
@@ -157,8 +157,10 @@ export function registerInitCommands(program: Command) {
|
|
|
157
157
|
...pkgJson,
|
|
158
158
|
name: existing.name || pkgJson.name,
|
|
159
159
|
version: existing.version || pkgJson.version,
|
|
160
|
+
// spine template deps win over existing — ensures required tooling is present
|
|
160
161
|
dependencies: { ...existing.dependencies, ...pkgJson.dependencies },
|
|
161
|
-
|
|
162
|
+
// merge: template provides required devDeps, existing additions are preserved
|
|
163
|
+
devDependencies: { ...pkgJson.devDependencies, ...existing.devDependencies },
|
|
162
164
|
}
|
|
163
165
|
} catch {}
|
|
164
166
|
}
|
|
@@ -222,8 +224,9 @@ export function registerInitCommands(program: Command) {
|
|
|
222
224
|
console.log(`\n✅ Project initialized! (spine-framework@${pkgVersion})\n`)
|
|
223
225
|
console.log('Next steps:')
|
|
224
226
|
console.log(' 1. Edit .env with your Supabase credentials')
|
|
225
|
-
console.log(' 2. Run:
|
|
226
|
-
console.log(' 3. Run:
|
|
227
|
+
console.log(' 2. Run: npm install (installs vite, typescript, and other dev tools)')
|
|
228
|
+
console.log(' 3. Run: npx spine-framework migrate')
|
|
229
|
+
console.log(' 4. Run: npm run assemble && netlify dev')
|
|
227
230
|
console.log()
|
|
228
231
|
|
|
229
232
|
} catch (err: any) {
|