diff --git a/package.json b/package.json index e4b70094d..d07cf5eb5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e86ba9145..93fa1740b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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 diff --git a/scripts/build-greet.js b/scripts/build-greet.js new file mode 100644 index 000000000..c66c8a5af --- /dev/null +++ b/scripts/build-greet.js @@ -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("");