create-payload-app 0.3.18-beta.0 → 0.3.18-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/utils/messages.js +7 -1
- package/package.json +1 -1
package/dist/utils/messages.js
CHANGED
@@ -67,7 +67,13 @@ function helpMessage() {
|
|
67
67
|
}
|
68
68
|
exports.helpMessage = helpMessage;
|
69
69
|
function successMessage(projectDir, packageManager) {
|
70
|
-
return "\n ".concat(header('Launch Application:'), "\n\n - cd ").concat(projectDir, "\n - ").concat(packageManager === 'yarn' ? 'yarn' : 'npm run', " dev\n\n ").concat(header('Documentation:'), "\n\n - ").concat((
|
70
|
+
return "\n ".concat(header('Launch Application:'), "\n\n - cd ").concat(projectDir, "\n - ").concat(packageManager === 'yarn' ? 'yarn' : 'npm run', " dev\n\n ").concat(header('Documentation:'), "\n\n - ").concat(createTerminalLink('Getting Started', 'https://payloadcms.com/docs/getting-started/what-is-payload'), "\n - ").concat(createTerminalLink('Configuration', 'https://payloadcms.com/docs/configuration/overview'), "\n\n");
|
71
71
|
}
|
72
72
|
exports.successMessage = successMessage;
|
73
|
+
// Create terminalLink with fallback for unsupported terminals
|
74
|
+
function createTerminalLink(text, url) {
|
75
|
+
return (0, terminal_link_1.default)(text, url, {
|
76
|
+
fallback: function (text, url) { return "".concat(text, ": ").concat(url); },
|
77
|
+
});
|
78
|
+
}
|
73
79
|
var templateObject_1, templateObject_2;
|