@hed-hog/cli 0.0.93 → 0.0.94

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/cli",
3
- "version": "0.0.93",
3
+ "version": "0.0.94",
4
4
  "description": "HedHog CLI tool",
5
5
  "author": "HedHog",
6
6
  "private": false,
@@ -1279,15 +1279,15 @@ CMD ["sh", "-c", "${startCmd}"]
1279
1279
  {
1280
1280
  type: 'input',
1281
1281
  name: 'frontendUrls',
1282
- message: 'Enter FRONTEND_URLS for frontend runtime (optional, comma-separated if needed):',
1282
+ message: 'Enter FRONTEND_URL for API runtime (optional):',
1283
1283
  default: (answers) => answers.domain ? `https://${String(answers.domain).trim()}` : '',
1284
1284
  filter: (input) => String(input || '').trim(),
1285
- when: (answers) => (answers.apps || []).includes('admin'),
1285
+ when: (answers) => (answers.apps || []).includes('api'),
1286
1286
  },
1287
1287
  {
1288
1288
  type: 'input',
1289
1289
  name: 'apiDomain',
1290
- message: 'Enter the API external URL (used for ADMIN_API_BASE_URL):',
1290
+ message: 'Enter the API URL for admin runtime (used for NEXT_PUBLIC_API_BASE_URL and INTERNAL_API_URL):',
1291
1291
  default: (answers) => {
1292
1292
  const domain = String(answers.domain || '').trim();
1293
1293
  const appName = String(answers.appName || '').trim();
@@ -1300,13 +1300,12 @@ CMD ["sh", "-c", "${startCmd}"]
1300
1300
  },
1301
1301
  filter: (input) => String(input || '').trim(),
1302
1302
  validate: (input) => String(input || '').trim().length > 0 || 'API domain is required',
1303
- when: (answers) => (answers.apps || []).includes('admin') &&
1304
- String(answers.domain || '').trim().length > 0,
1303
+ when: (answers) => (answers.apps || []).includes('admin'),
1305
1304
  },
1306
1305
  {
1307
1306
  type: 'input',
1308
1307
  name: 'jwtExpiresIn',
1309
- message: 'JWT token expiry for API (API_JWT_EXPIRES_IN):',
1308
+ message: 'JWT token expiry for API (JWT_EXPIRES_IN):',
1310
1309
  default: '7d',
1311
1310
  filter: (input) => String(input || '').trim(),
1312
1311
  validate: (input) => String(input || '').trim().length > 0 || 'JWT expiry is required',
@@ -1699,7 +1698,7 @@ temp
1699
1698
  console.log(chalk.white('Domain: ') + chalk.cyan(config.domain));
1700
1699
  }
1701
1700
  if (config.frontendUrls) {
1702
- console.log(chalk.white('Frontend URLs: ') + chalk.cyan(config.frontendUrls));
1701
+ console.log(chalk.white('Frontend URL: ') + chalk.cyan(config.frontendUrls));
1703
1702
  }
1704
1703
  console.log(chalk.white('Apps: ') + chalk.cyan(config.apps.join(', ')));
1705
1704
  console.log(chalk.white('Replicas: ') +