build: build greeting
This commit is contained in:
parent
9d161d9021
commit
3ea701afdc
@ -10,7 +10,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"rebuild": "pnpm run clean && pnpm -r run build && pnpm run gulp",
|
||||
"build": "pnpm -r run build && pnpm run gulp",
|
||||
"build": "pnpm node ./scripts/build-greet.js && pnpm -r run build && pnpm run gulp",
|
||||
"start": "pnpm --filter backend run start",
|
||||
"start:test": "pnpm --filter backend run start:test",
|
||||
"init": "pnpm run migrate",
|
||||
@ -46,6 +46,7 @@
|
||||
"devDependencies": {
|
||||
"@types/gulp": "4.0.10",
|
||||
"@types/gulp-rename": "2.0.1",
|
||||
"chalk": "5.2.0",
|
||||
"cross-env": "7.0.3",
|
||||
"cypress": "10.11.0",
|
||||
"execa": "5.1.1",
|
||||
|
@ -36,6 +36,9 @@ importers:
|
||||
'@types/gulp-rename':
|
||||
specifier: 2.0.1
|
||||
version: 2.0.1
|
||||
chalk:
|
||||
specifier: 5.2.0
|
||||
version: 5.2.0
|
||||
cross-env:
|
||||
specifier: 7.0.3
|
||||
version: 7.0.3
|
||||
|
23
scripts/build-greet.js
Normal file
23
scripts/build-greet.js
Normal file
@ -0,0 +1,23 @@
|
||||
import chalk from "chalk";
|
||||
|
||||
const themeColor = chalk.hex("#31748f");
|
||||
console.log(themeColor(" ___ _ _ "));
|
||||
console.log(themeColor(" / __\\__ _| | ___| | _____ _ _ "));
|
||||
console.log(themeColor(" / / / _` | |/ __| |/ / _ | | |"));
|
||||
console.log(themeColor("/ /__| (_| | | (__| < __/ |_| |"));
|
||||
console.log(themeColor("\\____/\\__,_|_|\\___|_|\\_\\___|\\__, |"));
|
||||
console.log(themeColor(" (___/ "));
|
||||
|
||||
console.log(
|
||||
" Currently building Calckey!",
|
||||
);
|
||||
console.log(
|
||||
chalk.rgb(
|
||||
255,
|
||||
136,
|
||||
0,
|
||||
)(
|
||||
" Hang on for a moment, as this may take a while",
|
||||
),
|
||||
);
|
||||
console.log("");
|
Loading…
Reference in New Issue
Block a user