Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 665c4ad

Browse files
Merge pull request #44 from amclin/fix/rename
fix: rename npm package so yarn create works
2 parents 4f556b0 + a60ee84 commit 665c4ad

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![npm version](https://badge.fury.io/js/amclin-create-react-app.svg)](https://www.npmjs.com/amclin-create-react-app) [![Build Status](https://travis-ci.org/amclin/react-project-boilerplate.svg?branch=master)](https://travis-ci.org/amclin/react-project-boilerplate)
1+
[![npm version](https://badge.fury.io/js/create-amclin-nextjs-app.svg)](https://www.npmjs.com/create-amclin-nextjs-app) [![Build Status](https://travis-ci.org/amclin/react-project-boilerplate.svg?branch=master)](https://travis-ci.org/amclin/react-project-boilerplate)
22

33
![Branch Code Coverage](./coverage/badge-branches.svg) ![Functions Code Coverage](./coverage/badge-functions.svg) ![Lines Code Coverage](./coverage/badge-lines.svg) ![Statements Code Coverage](./coverage/badge-statements.svg)
44

@@ -13,7 +13,7 @@ This package includes the global command for creating new React projects incorpo
1313

1414
### The Easy Way
1515

16-
1. Run `npx amclin-create-react-app`
16+
1. Run `npx create-amclin-nextjs-app` or `yarn create amclin-nextjs-app`
1717
2. Create a new empty repo in GitHub with the same project name
1818
3. Push the new local commits up the new remote repo
1919

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,18 @@ async function notifyUpdate() {
101101
const isYarn = shouldUseYarn()
102102

103103
log()
104-
log(chalk.yellow.bold('A new version of `amclin-create-react-app` is available!'))
104+
log(chalk.yellow.bold('A new version of `create-amclin-nextjs-app` is available!'))
105105
log(`
106106
You can update by running:
107107
${chalk.cyan(
108108
isYarn
109-
? 'yarn global add amclin-create-react-app'
110-
: 'npm i -g amclin-create-react-app'
109+
? 'yarn global add create-amclin-nextjs-app'
110+
: 'npm i -g create-amclin-nextjs-app'
111111
)}
112112
`)
113113
log()
114114
log(`But an even better option is to globally uninstall and in the future run:`)
115-
log(chalk.cyan()` npx amclin-create-react-app`)
115+
log(chalk.cyan()` npx create-amclin-nextjs-app`)
116116
log(`That way you'll always have the latest.`)
117117
}
118118
} catch (e) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "amclin-create-react-app",
2+
"name": "create-amclin-nextjs-app",
33
"version": "2.8.0",
44
"description": "Boilerplate repo for React apps with CICD pipelines, best practices, and code governance",
55
"repository": {

0 commit comments

Comments
 (0)