UNPKG

@aurodesignsystem/webcorestylesheets

Version:
31 lines (25 loc) 1.27 kB
'use strict'; import chalk from 'chalk'; import { createRequire } from 'node:module'; const require = createRequire(import.meta.url); const pjson = require('../package.json'); console.log(chalk.hex('#f26135')(` _______ __ __ __ | __|.---.-.--.--. | |--.-----.| | |.-----. |__ || _ | | | | | -__|| | || _ | |_______||___._|___ | |__|__|_____||__|__||_____| |_____| __ _______ __ | |_.-----. | _ |.--.--.----.-----.| | | _| _ | | || | | _| _ ||__| |____|_____| |___|___||_____|__| |_____||__| `) + chalk.hex('#f26135')(` ╭ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ──────────────────────────────╮ Thanks for installing the latest version of `) + chalk.hex('#ffd200').bold(`WC Stylesheets v${pjson.version}.`) + chalk.hex('#f26135')(` Requires Design Tokens ${pjson.peerDependencies["@aurodesignsystem/design-tokens"]} npm i @aurodesignsystem/design-tokens@latest ╰─────────────────────────────── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯ `));