Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update links and CLI prompt #8

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
> A tool for quickly scaffolding an app with Magic baked-in!

<p align="center">
<a href="https://github.com/magiclabs/create-magic-app/blob/master/LICENSE">License</a> ·
<a href="https://github.com/magiclabs/create-magic-app/blob/master/CONTRIBUTING.md">Contributing Guide</a>
<a href="https://github.com/magiclabs/make-magic-app/blob/master/LICENSE">License</a> ·
<a href="https://github.com/magiclabs/make-magic-app/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 🚀 Usage
Expand Down
8 changes: 4 additions & 4 deletions core/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const ConsoleMessages = {
},

gitHubIssuesLink: () => {
const msg = chalk`For feedback/questions/issues, please use {rgb(0,255,255) https://github.com/magiclabs/create-magic-app/issues/new/choose}`;
const msg = chalk`For feedback/questions/issues, please use {rgb(0,255,255) https://github.com/magiclabs/make-magic-app/issues/new/choose}`;
return msg;
},
};
Expand All @@ -70,9 +70,9 @@ async function sayHello() {
const latestVersion = await getLatestMakeMagicVersion();
if (currentVersion !== latestVersion) {
console.log(
chalk`{rgb(92,101,246) A new version of {bold make-magic} is available! {rgb(0,255,255) ${currentVersion}} → {rgb(0,255,255) ${latestVersion}}}`,
chalk`{rgb(92,101,246) A new version of {bold make-magic-app} is available! {rgb(0,255,255) ${currentVersion}} → {rgb(0,255,255) ${latestVersion}}}`,
);
console.log(chalk`{rgb(92,101,246) Run {rgb(0,255,255) npm i -g make-magic} to update!}\n\n`);
console.log(chalk`{rgb(92,101,246) Run {rgb(0,255,255) npm i -g make-magic-app} to update!}\n\n`);
} else {
console.log(chalk`\n {dim v${getMakeMagicVersion()}}\n\n`);
}
Expand Down Expand Up @@ -149,7 +149,7 @@ function getMakeMagicVersion() {
}

async function getLatestMakeMagicVersion() {
const latest = await got.get('https://registry.npmjs.org/make-magic/latest');
const latest = await got.get('https://registry.npmjs.org/make-magic-app/latest');

return JSON.parse(latest.body).version;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Header = () => {
</div>
</div>
<DevLinks />
<p className="text-sm font-semibold text-white">Take a look at our <a href="https://github.com/magiclabs/create-magic-app/blob/master/scaffolds/nextjs-dedicated-wallet/template/README.md" target='_blank' className="cursor-pointer text-[#6851ff]">developer guide</a> to learn more about this template</p>
<p className="text-sm font-semibold text-white">Take a look at our <a href="https://github.com/magiclabs/make-magic-app/blob/master/scaffolds/nextjs-dedicated-wallet/template/README.md" target='_blank' className="cursor-pointer text-[#6851ff]">developer guide</a> to learn more about this template</p>
</div>
);
};
Expand Down
Loading