create-message-kit 1.0.12 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +17 -17
- package/package.json +1 -1
package/index.js
CHANGED
@@ -163,8 +163,7 @@ function logNextSteps(name, pkgManager) {
|
|
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,36 +224,37 @@ 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 the [MessageKit](https://messagekit.ephemerahq.com/)
|
229
228
|
|
230
229
|
## Setup
|
231
230
|
|
232
231
|
Follow these steps to set up and run the project:
|
233
232
|
|
234
233
|
1. **Navigate to the project directory:**
|
235
|
-
\`\`\`sh
|
236
|
-
cd ./${projectName}
|
237
|
-
\`\`\`
|
238
234
|
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
\`\`\`
|
235
|
+
\`\`\`sh
|
236
|
+
cd ./${projectName}
|
237
|
+
\`\`\`
|
243
238
|
|
244
|
-
|
245
|
-
\`\`\`sh
|
246
|
-
${packageManager === "npm" ? "npm run" : packageManager} dev
|
247
|
-
\`\`\`
|
239
|
+
2. **Set up your environment variables:**
|
248
240
|
|
241
|
+
\`\`\`sh
|
242
|
+
${envExampleContent}
|
243
|
+
\`\`\`
|
249
244
|
|
250
|
-
|
245
|
+
3. **Install dependencies:**
|
251
246
|
|
252
|
-
|
247
|
+
\`\`\`sh
|
248
|
+
${packageManager} install
|
249
|
+
\`\`\`
|
250
|
+
|
251
|
+
4. **Run the project:**
|
253
252
|
|
254
253
|
\`\`\`sh
|
255
|
-
${
|
254
|
+
${packageManager === "npm" ? "npm run" : packageManager} dev
|
256
255
|
\`\`\`
|
257
256
|
|
257
|
+
5. Enjoy!
|
258
258
|
---
|
259
259
|
Made with ❤️ by [Ephemera](https://ephemerahq.com)
|
260
260
|
`;
|