ultimate-jekyll-manager 0.0.111 → 0.0.113

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.
@@ -13,10 +13,8 @@ export default (Manager) => {
13
13
  setupBillingToggle();
14
14
  setupPlanButtons();
15
15
 
16
- // Setup promo countdown
17
- setTimeout(() => {
18
- setupPromoCountdown();
19
- }, 1000);
16
+ // Setup promo countdown (wait until mouse is not over nav)
17
+ waitForNavUnhover();
20
18
 
21
19
  // Resolve after initialization
22
20
  return resolve();
@@ -253,6 +251,31 @@ function trackEnterpriseContact() {
253
251
  });
254
252
  }
255
253
 
254
+ function waitForNavUnhover() {
255
+ function checkAndRun() {
256
+ const $nav = document.querySelector('nav');
257
+
258
+ if (!$nav) {
259
+ // If no nav element found, just run immediately
260
+ setupPromoCountdown();
261
+ return;
262
+ }
263
+
264
+ const isHovering = $nav.matches(':hover');
265
+
266
+ if (isHovering) {
267
+ // Mouse is over nav, restart timer
268
+ setTimeout(checkAndRun, 1000);
269
+ } else {
270
+ // Mouse is not over nav, safe to run
271
+ setupPromoCountdown();
272
+ }
273
+ }
274
+
275
+ // Always wait 1 second first, then check
276
+ setTimeout(checkAndRun, 1000);
277
+ }
278
+
256
279
  function setupPromoCountdown() {
257
280
  const $countdownEl = document.getElementById('pricing-promo-countdown');
258
281
  const $promoTextEl = document.getElementById('pricing-promo-text');
@@ -68,12 +68,14 @@
68
68
  .form-control,
69
69
  .form-select {
70
70
  border-radius: $classy-radius-lg;
71
- border: 1px solid rgba(0, 0, 0, 0.1);
71
+ border: 1px solid var(--bs-border-color);
72
+ background-color: var(--bs-body-bg);
72
73
  transition: all 0.2s ease;
73
-
74
+
74
75
  &:focus {
75
76
  border-color: $primary;
76
77
  box-shadow: 0 0 0 0.25rem rgba($primary, 0.25);
78
+ background-color: var(--bs-body-bg);
77
79
  }
78
80
  }
79
81
 
@@ -412,6 +412,9 @@ async function fetchFirebaseAuth() {
412
412
  r = file.replace(r);
413
413
  }
414
414
 
415
+ // Log success for this file
416
+ logger.log(`Fetched: ${file.remote}`);
417
+
415
418
  // Write to file
416
419
  jetpack.write(finalPath,
417
420
  '---\n'
@@ -421,14 +424,43 @@ async function fetchFirebaseAuth() {
421
424
  + r
422
425
  )
423
426
  })
427
+ .catch((error) => {
428
+ // Only log the filename that failed, not the error content
429
+ logger.error(`❌ Failed to fetch: ${file.remote}`);
430
+ logger.error(` URL: ${url}`);
431
+
432
+ // Check if it's a specific type of error (not HTML response)
433
+ // Use regex to check case-insensitive for HTML content
434
+ const htmlPattern = /<!doctype|<html|<head|<body/i;
435
+ if (error.message && !htmlPattern.test(error.message)) {
436
+ logger.error(` Error: ${error.message}`);
437
+ }
438
+
439
+ // Re-throw to make Promise.all fail
440
+ throw new Error(`Failed to fetch Firebase auth file: ${file.remote}`);
441
+ })
424
442
  );
425
443
  });
426
444
 
427
- // Await all promises
428
- await Promise.all(promises);
429
-
430
445
  // Log
431
- logger.log('Fetched firebase-auth files');
446
+ logger.log('Fetching firebase-auth files...');
447
+
448
+ try {
449
+ // Await all promises
450
+ await Promise.all(promises);
451
+
452
+ // Log success
453
+ logger.log('✅ Fetched firebase-auth files');
454
+ } catch (error) {
455
+ // Check if we should skip Firebase auth errors
456
+ if (process.env.UJ_SKIP_FIREBASE_AUTH_ERRORS === 'true') {
457
+ logger.warn('⚠️ Failed to fetch some Firebase auth files, but continuing due to UJ_SKIP_FIREBASE_AUTH_ERRORS=true');
458
+ return;
459
+ }
460
+
461
+ // Error already logged above, just throw to stop execution
462
+ throw new Error('Failed to fetch one or more Firebase auth files. Please check your Firebase project configuration.');
463
+ }
432
464
  }
433
465
 
434
466
  function logVersionCheck(name, installedVersion, latestVersion, isUpToDate) {
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ class Manager {
102
102
  // Wait for all modules to load
103
103
  await Promise.all(modulePromises);
104
104
 
105
- // Execute page modules
105
+ // Execute page-specific modules
106
106
  for (const mod of modules) {
107
107
  // Skip if module wasn't found
108
108
  if (!mod?.default) {
@@ -112,12 +112,12 @@ class Manager {
112
112
  // Execute the module function
113
113
  try {
114
114
  /* @dev-only:start */
115
- console.log(`Page module #${mod.tag} loaded (${pageModulePathFull})`);
115
+ console.log(`Page-specific module loaded: #${mod.tag}/${pageModulePathFull}`);
116
116
  /* @dev-only:end */
117
117
 
118
118
  await mod.default(this, options);
119
119
  } catch (e) {
120
- console.error(`Page module #${mod.tag} error (${pageModulePathFull})`, e);
120
+ console.error(`Page-specific module error: #${mod.tag}/${pageModulePathFull}`, e);
121
121
  break; // Stop execution if any module fails
122
122
  }
123
123
  }
@@ -254,3 +254,59 @@
254
254
  [debug] [2025-11-04T23:58:14.977Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
255
255
  [debug] [2025-11-04T23:58:14.978Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
256
256
  [debug] [2025-11-04T23:58:14.978Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
257
+ [debug] [2025-11-05T08:27:02.602Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
258
+ [debug] [2025-11-05T08:27:02.602Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
259
+ [debug] [2025-11-05T08:27:02.604Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
260
+ [debug] [2025-11-05T08:27:02.604Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
261
+ [debug] [2025-11-05T08:27:02.604Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
262
+ [debug] [2025-11-05T08:27:02.617Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
263
+ [debug] [2025-11-05T08:27:02.617Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
264
+ [debug] [2025-11-05T08:27:02.604Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
265
+ [debug] [2025-11-05T08:27:02.604Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
266
+ [debug] [2025-11-05T08:27:02.604Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
267
+ [debug] [2025-11-05T08:27:02.618Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
268
+ [debug] [2025-11-05T08:27:02.618Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
269
+ [debug] [2025-11-05T08:27:02.793Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
270
+ [debug] [2025-11-05T08:27:02.794Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
271
+ [debug] [2025-11-05T08:27:02.796Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
272
+ [debug] [2025-11-05T08:27:02.796Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
273
+ [debug] [2025-11-05T08:27:02.798Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
274
+ [debug] [2025-11-05T08:27:02.798Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
275
+ [debug] [2025-11-05T08:27:02.799Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
276
+ [debug] [2025-11-05T08:27:02.799Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
277
+ [debug] [2025-11-05T08:27:02.800Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
278
+ [debug] [2025-11-05T08:27:02.801Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
279
+ [debug] [2025-11-05T08:27:02.801Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
280
+ [debug] [2025-11-05T08:27:02.801Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
281
+ [debug] [2025-11-05T08:27:02.804Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
282
+ [debug] [2025-11-05T08:27:02.804Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
283
+ [debug] [2025-11-05T08:27:02.805Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
284
+ [debug] [2025-11-05T08:27:02.805Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
285
+ [debug] [2025-11-05T08:28:28.151Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
286
+ [debug] [2025-11-05T08:28:28.152Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
287
+ [debug] [2025-11-05T08:28:28.153Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
288
+ [debug] [2025-11-05T08:28:28.154Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
289
+ [debug] [2025-11-05T08:28:28.154Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
290
+ [debug] [2025-11-05T08:28:28.165Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
291
+ [debug] [2025-11-05T08:28:28.165Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
292
+ [debug] [2025-11-05T08:28:28.154Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
293
+ [debug] [2025-11-05T08:28:28.154Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
294
+ [debug] [2025-11-05T08:28:28.154Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
295
+ [debug] [2025-11-05T08:28:28.166Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
296
+ [debug] [2025-11-05T08:28:28.167Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
297
+ [debug] [2025-11-05T08:28:28.288Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
298
+ [debug] [2025-11-05T08:28:28.288Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
299
+ [debug] [2025-11-05T08:28:28.288Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
300
+ [debug] [2025-11-05T08:28:28.289Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
301
+ [debug] [2025-11-05T08:28:28.290Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
302
+ [debug] [2025-11-05T08:28:28.290Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
303
+ [debug] [2025-11-05T08:28:28.290Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
304
+ [debug] [2025-11-05T08:28:28.291Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
305
+ [debug] [2025-11-05T08:28:28.291Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
306
+ [debug] [2025-11-05T08:28:28.290Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
307
+ [debug] [2025-11-05T08:28:28.291Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
308
+ [debug] [2025-11-05T08:28:28.291Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
309
+ [debug] [2025-11-05T08:28:28.292Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
310
+ [debug] [2025-11-05T08:28:28.292Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
311
+ [debug] [2025-11-05T08:28:28.293Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
312
+ [debug] [2025-11-05T08:28:28.293Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "0.0.111",
3
+ "version": "0.0.113",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -1,7 +0,0 @@
1
- ---
2
- ### ALL PAGES ###
3
- layout: blueprint/about
4
- permalink: /about
5
-
6
- ### REGULAR PAGES ###
7
- ---
@@ -1,7 +0,0 @@
1
- ---
2
- ### ALL PAGES ###
3
- layout: blueprint/pricing
4
- permalink: /pricing
5
-
6
- ### REGULAR PAGES ###
7
- ---