bertui 0.2.8 → 0.2.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/build.js +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bertui",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Lightning-fast React dev server powered by Bun and Elysia",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/src/build.js CHANGED
@@ -98,6 +98,14 @@ export async function buildProduction(options = {}) {
98
98
  size: `${(o.size / 1024).toFixed(2)} KB`
99
99
  })));
100
100
 
101
+ // Show deployment instructions
102
+ logger.bigLog('READY TO DEPLOY', { color: 'green' });
103
+ console.log('\nšŸ“¤ Deploy your app:\n');
104
+ console.log(' Vercel: bunx vercel');
105
+ console.log(' Netlify: bunx netlify deploy');
106
+ console.log('\nšŸ” Preview locally:\n');
107
+ console.log(' bun run preview\n');
108
+
101
109
  } catch (error) {
102
110
  logger.error(`Build failed: ${error.message}`);
103
111
  if (error.stack) {
@@ -456,4 +464,4 @@ async function generateProductionHTML(root, outDir, buildResult) {
456
464
 
457
465
  await Bun.write(join(outDir, 'index.html'), html);
458
466
  logger.success('Generated index.html');
459
- }
467
+ }