ultimate-jekyll-manager 0.0.121 → 0.0.123
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/TODO.md
CHANGED
|
@@ -105,6 +105,11 @@ FINISH redirec.js in UJ
|
|
|
105
105
|
* Also, there are residual notifications/subscriptions/all/{token} that need to be MIGRATED to the new format
|
|
106
106
|
* EX: https://console.firebase.google.com/project/replyify-app/firestore/databases/-default-/data/~2Fnotifications~2Fsubscriptions~2Fall~2FczUMa9wW0n3FnjpKCL5Wet:APA91bFD9YpwBqtn0i6qVabxiNl1uqIl3Ka1ObNM9CWT5NjzjnlTnyCA7e0G3Y3GGzIEcJUPoDLnGBRP3xBob99EiWItKtOuWP3Sqb906zBYJGFENIyQOJIUw43tizN5lCSq6ICgVJsZ
|
|
107
107
|
|
|
108
|
+
# BEM API
|
|
109
|
+
* Many places still use "payload.data.authenticationToken", we need to migrate to the "Bearer *" format (since WM sends that now)
|
|
110
|
+
* Honestly, the whole API auth system needs to be rethought and redone: /Users/ian/Developer/Repositories/ITW-Creative-Works/backend-manager/src/manager/functions/core/actions/api
|
|
111
|
+
* Write tests and then refactor the whole thing
|
|
112
|
+
* Had an idea to make backend-manager tetss for lots of stuff? where were the notes for that?
|
|
108
113
|
|
|
109
114
|
FIX THE settings like
|
|
110
115
|
* layout.settings.manager-configuration
|
|
@@ -57,7 +57,8 @@ function setupResetApiKeyForm() {
|
|
|
57
57
|
|
|
58
58
|
formManager.on('submit', async () => {
|
|
59
59
|
// 1ms wait for dialog to appear properly
|
|
60
|
-
await new Promise(resolve => setTimeout(resolve, 1));
|
|
60
|
+
// await new Promise(resolve => setTimeout(resolve, 1));
|
|
61
|
+
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
61
62
|
|
|
62
63
|
// Show confirmation dialog
|
|
63
64
|
if (!confirm('Are you sure you want to reset your API key? This will invalidate your current key and any applications using it will stop working.')) {
|
package/dist/gulp/tasks/audit.js
CHANGED
|
@@ -362,12 +362,36 @@ function format(messages) {
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
// Lighthouse audit functionality
|
|
365
|
+
// ⚠️⚠️⚠️ LIGHTHOUSE BREAKS WEB-MANAGER @SENTRY/CORE VERSION CONFLICTS
|
|
366
|
+
// So we lazy-load it only when needed
|
|
365
367
|
async function runLighthouseAudit() {
|
|
366
368
|
logger.log('📊 Starting Lighthouse audit...');
|
|
367
369
|
|
|
368
370
|
// Lazy load Lighthouse dependencies (only when actually running audit)
|
|
371
|
+
// Lighthouse is not bundled to avoid @sentry/core version conflicts with web-manager
|
|
369
372
|
chromeLauncher = require('chrome-launcher');
|
|
370
|
-
|
|
373
|
+
try {
|
|
374
|
+
lighthouse = require('lighthouse').default || require('lighthouse');
|
|
375
|
+
} catch (e) {
|
|
376
|
+
// Lighthouse not installed - try to install it temporarily via npx
|
|
377
|
+
logger.log('📦 Lighthouse not found, installing temporarily...');
|
|
378
|
+
try {
|
|
379
|
+
// Use execSync to install lighthouse in node_modules temporarily
|
|
380
|
+
const { execSync } = require('child_process');
|
|
381
|
+
execSync('npm install --no-save lighthouse', {
|
|
382
|
+
cwd: rootPathProject,
|
|
383
|
+
stdio: 'inherit'
|
|
384
|
+
});
|
|
385
|
+
// Try requiring again after install
|
|
386
|
+
const lighthousePath = path.join(rootPathProject, 'node_modules', 'lighthouse');
|
|
387
|
+
lighthouse = require(lighthousePath).default || require(lighthousePath);
|
|
388
|
+
logger.log('✅ Lighthouse installed temporarily');
|
|
389
|
+
} catch (installError) {
|
|
390
|
+
logger.error('❌ Failed to install Lighthouse. Install it globally:');
|
|
391
|
+
logger.error(' npm install -g lighthouse');
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
371
395
|
|
|
372
396
|
let serverStarted = false;
|
|
373
397
|
let auditUrl = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultimate-jekyll-manager",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.123",
|
|
4
4
|
"description": "Ultimate Jekyll dependency manager",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"noteDeps": {
|
|
58
58
|
"browser-sync": "2.23.7 (6-22-2023): Hard lock because every version after uses socket.io@4.7.0 which uses engine.io@6.5.0 which is incompatible with node 10.15.1 due to TextDecoder() in build process",
|
|
59
59
|
"sharp": "0.23.1 (sometime before 2021ish): Hard lock because later versions had issues. Possibly solved in higher node versions",
|
|
60
|
-
"
|
|
60
|
+
"lighthouse": "Removed from deps to avoid @sentry/core version conflicts with web-manager. Install globally: npm i -g lighthouse"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@babel/core": "^7.28.5",
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"js-yaml": "^3.14.2",
|
|
89
89
|
"json5": "^2.2.3",
|
|
90
90
|
"libsodium-wrappers": "^0.7.15",
|
|
91
|
-
"lighthouse": "^12.2.1",
|
|
92
91
|
"lodash": "^4.17.21",
|
|
93
92
|
"minimatch": "^10.1.1",
|
|
94
93
|
"node-powertools": "^2.3.2",
|
|
@@ -109,8 +108,5 @@
|
|
|
109
108
|
},
|
|
110
109
|
"devDependencies": {
|
|
111
110
|
"prepare-package": "^1.2.5"
|
|
112
|
-
},
|
|
113
|
-
"overrides": {
|
|
114
|
-
"@sentry/core": ">=10.0.0"
|
|
115
111
|
}
|
|
116
112
|
}
|