From fecc5990d6b214b4338839002c7899484d044063 Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Thu, 18 Jul 2024 23:40:54 +0200 Subject: [PATCH] new version --- CHANGELOG.md | 7 +++++-- steps/success.ts | 40 +++++++++++++++++----------------------- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16eb004..535c6cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/). -## [0.2.5] - Unreleased +## [0.2.5] - 2024-07-18 ### Added - Support for themes from jsDelivr. +### Fixed +- Simplify the success screen. + ## [0.2.4] - 2024-06-14 ### Fixed - Upgrade Lume in an external import map file. @@ -101,7 +104,7 @@ First version [#1]: https://github.com/lumeland/init/issues/1 [#3]: https://github.com/lumeland/init/issues/3 -[0.2.5]: https://github.com/lumeland/init/compare/v0.2.4...HEAD +[0.2.5]: https://github.com/lumeland/init/compare/v0.2.4...v0.2.5 [0.2.4]: https://github.com/lumeland/init/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/lumeland/init/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/lumeland/init/compare/v0.2.1...v0.2.2 diff --git a/steps/success.ts b/steps/success.ts index 6a491d5..026d4dc 100644 --- a/steps/success.ts +++ b/steps/success.ts @@ -7,21 +7,22 @@ export default function () { return ({ path, deno, lume }: Init) => { const message = [ "", - "🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥", + "🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥", "", bold(" BENVIDO - WELCOME! 🎉🎉🎉"), "", - " Lume has configured successfully!", - "", - "🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥", + " Lume has been configured successfully!", + lume.theme ? ` Theme installed: ${lume.theme.name}\n` : "", + "🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥", "", ]; message.push(bold("Quick start:")); + message.push(""); if (path !== ".") { message.push( - ` ${brightGreen(`cd ${path}`)} to enter the project directory`, + ` ${brightGreen(`cd ${path}`)} to enter in the project directory`, ); } @@ -31,41 +32,34 @@ export default function () { if (deno.tasks?.cms) { message.push( - ` - Or run ${ - brightGreen("deno task cms") - } to start the server with the CMS`, + ` ${brightGreen("deno task cms")} to start the CMS`, ); } message.push(""); - message.push(` See ${gray("https://lume.land")} for online documentation`); + message.push(`See ${gray("https://lume.land")} for online documentation`); message.push( - ` See ${ + `See ${ gray("https://discord.gg/YbTmpACHWB") } to propose new ideas and get help at Discord`, ); message.push( - ` See ${ + `See ${ gray("https://github.com/lumeland/lume") } to view the source code and report issues`, ); - message.push( - ` See ${ - gray("https://opencollective.com/lume") - } to support Lume development`, - ); - if (lume.theme) { - message.push(""); - message.push(bold("Theme configured:")); - message.push(` ${brightGreen(lume.theme.name)}`); - message.push(` ${lume.theme.description}`); message.push( - ` See ${ + `See ${ gray(lume.theme.repo) - } to view the source code and report issues`, + } to view the theme source code and report issues`, ); } + message.push( + `See ${ + gray("https://opencollective.com/lume") + } to support Lume development`, + ); console.log(message.join("\n")); };