create-message-kit 1.0.13 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5 -6
- package/package.json +1 -1
package/index.js
CHANGED
@@ -47,7 +47,7 @@ program
|
|
47
47
|
createReadme(destDir, templateType, displayName, pkgManager);
|
48
48
|
|
49
49
|
// Log next steps
|
50
|
-
logNextSteps(displayName
|
50
|
+
logNextSteps(displayName);
|
51
51
|
|
52
52
|
outro(pc.red("Made with ❤️ by Ephemera"));
|
53
53
|
});
|
@@ -159,12 +159,11 @@ function updatePackageJson(destDir, name) {
|
|
159
159
|
fs.writeJsonSync(resolve(destDir, "package.json"), pkgJson, { spaces: 2 });
|
160
160
|
}
|
161
161
|
|
162
|
-
function logNextSteps(name
|
162
|
+
function logNextSteps(name) {
|
163
163
|
log.message("Next steps:");
|
164
164
|
log.step(`1. ${pc.red(`cd ./${name}`)} - Navigate to project`);
|
165
165
|
log.step(`2. ${pc.red(`code .`)} - Open with your favorite editor`);
|
166
|
-
log.step(`3. ${pc.
|
167
|
-
log.step(`4. ${pc.red(`${pkgManager} dev`)} - Build and start project`);
|
166
|
+
log.step(`3. ${pc.green("Start building!")}`);
|
168
167
|
}
|
169
168
|
function createGitignore(destDir) {
|
170
169
|
const gitignoreContent = `
|
@@ -225,7 +224,7 @@ function createReadme(destDir, templateType, projectName, packageManager) {
|
|
225
224
|
|
226
225
|
const readmeContent = `# ${projectName}
|
227
226
|
|
228
|
-
This project is
|
227
|
+
This project is powered by [MessageKit](https://messagekit.ephemerahq.com/)
|
229
228
|
|
230
229
|
## Setup
|
231
230
|
|
@@ -257,7 +256,7 @@ ${packageManager === "npm" ? "npm run" : packageManager} dev
|
|
257
256
|
|
258
257
|
5. Enjoy!
|
259
258
|
---
|
260
|
-
Made with ❤️ by [
|
259
|
+
Made with ❤️ by [XMTP](https://xmtp.org)
|
261
260
|
`;
|
262
261
|
|
263
262
|
fs.writeFileSync(resolve(destDir, "README.md"), readmeContent.trim());
|