@gurulu/cli 0.3.1 → 0.3.2

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.
@@ -103,10 +103,10 @@ function detectPackageManager(repoRoot) {
103
103
  }
104
104
  function packageInstallArgs(pm) {
105
105
  if (pm === 'pnpm')
106
- return ['add', '@gurulu/tracker-web'];
106
+ return ['add', '@gurulu/web'];
107
107
  if (pm === 'yarn')
108
- return ['add', '@gurulu/tracker-web'];
109
- return ['install', '@gurulu/tracker-web'];
108
+ return ['add', '@gurulu/web'];
109
+ return ['install', '@gurulu/web'];
110
110
  }
111
111
  function mergeEnvFile(repoRoot, framework, vars) {
112
112
  const isNext = framework.startsWith('nextjs') || framework === 'nextjs';
@@ -412,10 +412,10 @@ async function runInstallFlow(args, deps, scriptsDir) {
412
412
  const pm = detectPackageManager(repoRoot);
413
413
  summary.packageManager = pm;
414
414
  if (args.skipNpm || args.dryRun) {
415
- log(deps, 'info', `Skipping package install (${pm} add @gurulu/tracker-web)`);
415
+ log(deps, 'info', `Skipping package install (${pm} add @gurulu/web)`);
416
416
  }
417
417
  else {
418
- log(deps, 'step', `Installing @gurulu/tracker-web with ${(0, ui_1.bold)(pm)}...`);
418
+ log(deps, 'step', `Installing @gurulu/web with ${(0, ui_1.bold)(pm)}...`);
419
419
  const pmRes = await deps.runCmd(pm, packageInstallArgs(pm), { cwd: repoRoot });
420
420
  if (pmRes.code !== 0) {
421
421
  const msg = `${pm} install failed (exit ${pmRes.code}): ${pmRes.stderr.trim()}`;
@@ -424,7 +424,7 @@ async function runInstallFlow(args, deps, scriptsDir) {
424
424
  }
425
425
  else {
426
426
  summary.packageInstalled = true;
427
- log(deps, 'success', '@gurulu/tracker-web installed.');
427
+ log(deps, 'success', '@gurulu/web installed.');
428
428
  }
429
429
  }
430
430
  // ---- 6. .env merge ---------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gurulu/cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Gurulu.io CLI — setup analytics in seconds",
5
5
  "bin": {
6
6
  "gurulu": "bin/gurulu.js"