mirror of
https://github.com/stackblitz/bolt.new
synced 2025-03-12 14:58:30 +00:00
Merge pull request #668 from thecodacus/terminal-start-log-for-dev-server
added start message for dev server
This commit is contained in:
commit
e7859a34ae
@ -8,7 +8,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": "npm run build && wrangler pages deploy",
|
"deploy": "npm run build && wrangler pages deploy",
|
||||||
"build": "remix vite:build",
|
"build": "remix vite:build",
|
||||||
"dev": "remix vite:dev",
|
"dev": "node pre-start.cjs; remix vite:dev",
|
||||||
"test": "vitest --run",
|
"test": "vitest --run",
|
||||||
"test:watch": "vitest",
|
"test:watch": "vitest",
|
||||||
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
|
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
|
||||||
|
10
pre-start.cjs
Normal file
10
pre-start.cjs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
const { commit } = require('./app/commit.json');
|
||||||
|
|
||||||
|
console.log(`
|
||||||
|
★═══════════════════════════════════════★
|
||||||
|
B O L T . D I Y
|
||||||
|
⚡️ Welcome ⚡️
|
||||||
|
★═══════════════════════════════════════★
|
||||||
|
`);
|
||||||
|
console.log('📍 Current Commit Version:', commit);
|
||||||
|
console.log('★═══════════════════════════════════════★');
|
Loading…
Reference in New Issue
Block a user