create-tosijs-platform-app 1.0.1 โ†’ 1.0.4

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.
@@ -316,8 +316,9 @@ async function main() {
316
316
 
317
317
  console.log('๐Ÿงน Cleaning up...')
318
318
  fs.rmSync(path.join(projectPath, '.git'), { recursive: true })
319
- if (fs.existsSync(path.join(projectPath, 'bin'))) {
320
- fs.rmSync(path.join(projectPath, 'bin'), { recursive: true })
319
+ // Remove create-script directory (utility scripts are in scripts/)
320
+ if (fs.existsSync(path.join(projectPath, 'create-script'))) {
321
+ fs.rmSync(path.join(projectPath, 'create-script'), { recursive: true })
321
322
  }
322
323
 
323
324
  // Configure initial_state: update owner role with admin email
@@ -632,7 +633,12 @@ setup()
632
633
  }
633
634
  console.log('\nโ”'.repeat(60))
634
635
 
635
- console.log('\n๐Ÿ“‹ Next Steps:\n')
636
+ console.log('\n๐Ÿš€ To deploy your site:\n')
637
+ console.log(` cd ${projectName}`)
638
+ console.log(` bun initial-deploy`)
639
+ console.log('\nโ”'.repeat(60))
640
+
641
+ console.log('\n๐Ÿ“‹ Detailed Steps:\n')
636
642
 
637
643
  if (hasBlazePlan === false) {
638
644
  console.log('โš ๏ธ FIRST: Upgrade to Blaze Plan (REQUIRED)')
@@ -671,21 +677,21 @@ setup()
671
677
  console.log(` โ€ข โš ๏ธ UPGRADE TO BLAZE PLAN (required for Cloud Functions)`)
672
678
  }
673
679
 
674
- console.log(`\n3. Deploy Cloud Functions:`)
680
+ console.log(
681
+ `\n3. Run initial deployment (builds, deploys, and seeds database):`
682
+ )
675
683
  console.log(` cd ${projectName}`)
676
- console.log(` bun deploy-functions`)
684
+ console.log(` bun initial-deploy`)
677
685
 
678
- console.log(`\n4. Deploy Hosting:`)
679
- console.log(` bun deploy-hosting`)
686
+ console.log(`\n4. Run setup to grant yourself owner access:`)
687
+ console.log(` node setup.js`)
680
688
 
681
689
  console.log(`\n5. Visit your site and sign in with ${adminEmail}`)
682
690
  console.log(` https://${firebaseProjectId}.web.app`)
683
691
 
684
- console.log(`\n6. Run setup to grant admin access:`)
685
- console.log(` node setup.js`)
686
-
687
- console.log(`\n7. Start local development:`)
688
- console.log(` bun start`)
692
+ console.log(`\n6. Start local development:`)
693
+ console.log(` bun start # Uses production Firebase`)
694
+ console.log(` bun start-emulated # Uses local emulators`)
689
695
  console.log(` Visit https://localhost:8020`)
690
696
 
691
697
  console.log('\nโ”'.repeat(60))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tosijs-platform-app",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "Create a full-stack web app with tosijs (front-end) and Firebase (back-end)",
5
5
  "type": "module",
6
6
  "bin": {