Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Jul 18, 2024
1 parent c60cb39 commit fecc599
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
40 changes: 17 additions & 23 deletions steps/success.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
);
}

Expand All @@ -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"));
};
Expand Down

0 comments on commit fecc599

Please sign in to comment.