@@ -51,14 +51,14 @@ async function main() {
5151 name : 'cloudName' ,
5252 message : 'Cloudinary Cloud Name:' ,
5353 description : chalk . gray (
54- 'Your cloud name is shown in your dashboard: https://console.cloudinary.com'
54+ 'Your cloud name is shown in your dashboard: https://console.cloudinary.com/app/home/dashboard '
5555 ) ,
5656 validate : ( input ) => {
5757 if ( ! input . trim ( ) ) {
5858 return chalk . yellow (
5959 'Cloud name is required.\n' +
6060 ' → Sign up: https://cloudinary.com/users/register/free\n' +
61- ' → Find your cloud name: https://console.cloudinary.com'
61+ ' → Find your cloud name: https://console.cloudinary.com/app/home/dashboard '
6262 ) ;
6363 }
6464 if ( ! isValidCloudName ( input ) ) {
@@ -70,8 +70,12 @@ async function main() {
7070 {
7171 type : 'confirm' ,
7272 name : 'hasUploadPreset' ,
73- message : 'Do you have an unsigned upload preset?' ,
73+ message : 'Do you have an unsigned upload preset? (Required for uploads, optional for transformations) ' ,
7474 default : false ,
75+ description : chalk . gray (
76+ 'Upload presets enable client-side uploads. You can set one up later at:\n' +
77+ 'https://console.cloudinary.com/app/settings/upload/presets'
78+ ) ,
7579 } ,
7680 {
7781 type : 'input' ,
@@ -232,8 +236,11 @@ async function main() {
232236 console . log ( chalk . green ( '✅ Project created successfully!\n' ) ) ;
233237
234238 if ( ! answers . hasUploadPreset ) {
235- console . log ( chalk . yellow ( '📝 To create an upload preset:' ) ) ;
236- console . log ( chalk . cyan ( ' 1. Go to https://cloudinary.com/console/settings/upload/presets' ) ) ;
239+ console . log ( chalk . yellow ( '\n📝 Note: Upload preset not configured' ) ) ;
240+ console . log ( chalk . gray ( ' • Transformations will work with sample images' ) ) ;
241+ console . log ( chalk . gray ( ' • Uploads require an unsigned upload preset' ) ) ;
242+ console . log ( chalk . cyan ( '\n To enable uploads:' ) ) ;
243+ console . log ( chalk . cyan ( ' 1. Go to https://console.cloudinary.com/app/settings/upload/presets' ) ) ;
237244 console . log ( chalk . cyan ( ' 2. Click "Add upload preset"' ) ) ;
238245 console . log ( chalk . cyan ( ' 3. Set it to "Unsigned" mode' ) ) ;
239246 console . log ( chalk . cyan ( ' 4. Add the preset name to your .env file\n' ) ) ;
0 commit comments