Skip to content

Commit

Permalink
Merge pull request #8 from PBillingsby/master
Browse files Browse the repository at this point in the history
update links and CLI prompt
  • Loading branch information
jamesrp13 authored Sep 3, 2024
2 parents d5840b5 + a21af9c commit 8d889d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
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

0 comments on commit 8d889d9

Please sign in to comment.