codacus commited on
Commit
539389e
Β·
1 Parent(s): cf21dde

added start message for dev server

Browse files
Files changed (2) hide show
  1. package.json +2 -2
  2. pre-start.cjs +10 -0
package.json CHANGED
@@ -8,7 +8,7 @@
8
  "scripts": {
9
  "deploy": "npm run build && wrangler pages deploy",
10
  "build": "remix vite:build",
11
- "dev": "remix vite:dev",
12
  "test": "vitest --run",
13
  "test:watch": "vitest",
14
  "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
@@ -131,4 +131,4 @@
131
  "@typescript-eslint/utils": "^8.0.0-alpha.30"
132
  },
133
  "packageManager": "[email protected]"
134
- }
 
8
  "scripts": {
9
  "deploy": "npm run build && wrangler pages deploy",
10
  "build": "remix vite:build",
11
+ "dev": "node pre-start.cjs; remix vite:dev",
12
  "test": "vitest --run",
13
  "test:watch": "vitest",
14
  "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
 
131
  "@typescript-eslint/utils": "^8.0.0-alpha.30"
132
  },
133
  "packageManager": "[email protected]"
134
+ }
pre-start.cjs ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ const { commit } = require('./app/commit.json');
2
+
3
+ console.log(`
4
+ β˜…β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β˜…
5
+ B O L T . D I Y
6
+ ⚑️ Welcome ⚑️
7
+ β˜…β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β˜…
8
+ `);
9
+ console.log('πŸ“ Current Commit Version:', commit);
10
+ console.log('β˜…β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β˜…');