added start message for dev server

This commit is contained in:
Anirban Kar 2024-12-13 00:13:11 +05:30
parent cf21dde102
commit 539389e2e8
2 changed files with 12 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"scripts": {
"deploy": "npm run build && wrangler pages deploy",
"build": "remix vite:build",
"dev": "remix vite:dev",
"dev": "node pre-start.cjs; remix vite:dev",
"test": "vitest --run",
"test:watch": "vitest",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
@ -131,4 +131,4 @@
"@typescript-eslint/utils": "^8.0.0-alpha.30"
},
"packageManager": "pnpm@9.4.0"
}
}

10
pre-start.cjs Normal file
View 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('★═══════════════════════════════════════★');