create-payload-app
Advanced tools
Comparing version 0.3.18-beta.0 to 0.3.18-beta.1
@@ -70,5 +70,11 @@ "use strict"; | ||
function successMessage(projectDir, packageManager) { | ||
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((0, terminal_link_1.default)('Getting Started', 'https://payloadcms.com/docs/getting-started/what-is-payload'), "\n - ").concat((0, terminal_link_1.default)('Configuration', 'https://payloadcms.com/docs/configuration/overview'), "\n\n"); | ||
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"); | ||
} | ||
exports.successMessage = successMessage; | ||
// Create terminalLink with fallback for unsupported terminals | ||
function createTerminalLink(text, url) { | ||
return (0, terminal_link_1.default)(text, url, { | ||
fallback: function (text, url) { return "".concat(text, ": ").concat(url); }, | ||
}); | ||
} | ||
var templateObject_1, templateObject_2; |
@@ -39,3 +39,3 @@ { | ||
}, | ||
"version": "0.3.18-beta.0", | ||
"version": "0.3.18-beta.1", | ||
"devDependencies": { | ||
@@ -42,0 +42,0 @@ "@types/command-exists": "^1.2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93766
2013