added start message for dev server
Browse files- package.json +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('β
ββββββββββββββββββββββββββββββββββββββββ
');
|