create-puck-app 0.19.4-canary.a062f526 → 0.19.4-canary.a884c672
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +12 -0
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17,6 +17,11 @@ const packageJson = JSON.parse(
|
|
17
17
|
fs.readFileSync(path.join(__dirname, "./package.json"))
|
18
18
|
);
|
19
19
|
|
20
|
+
const ansiColors = {
|
21
|
+
reset: "\x1b[0m",
|
22
|
+
cyan: "\x1b[36m",
|
23
|
+
};
|
24
|
+
|
20
25
|
// Lifted from https://github.com/vercel/next.js/blob/c2d7bbd1b82c71808b99e9a7944fb16717a581db/packages/create-next-app/helpers/get-pkg-manager.ts
|
21
26
|
function getPkgManager() {
|
22
27
|
// eslint-disable-next-line turbo/no-undeclared-env-vars
|
@@ -192,5 +197,12 @@ program
|
|
192
197
|
console.log("Failed to commit git changes");
|
193
198
|
}
|
194
199
|
}
|
200
|
+
|
201
|
+
console.log("\nDone! Now run:\n");
|
202
|
+
console.log(` cd ${appName}`);
|
203
|
+
console.log(` ${packageManager} run dev\n`);
|
204
|
+
console.log(
|
205
|
+
`⭐ Don't forget to star Puck on Github: ${ansiColors.cyan}https://github.com/puckeditor/puck${ansiColors.reset}`
|
206
|
+
);
|
195
207
|
})
|
196
208
|
.parse(process.argv);
|
package/package.json
CHANGED