browser-extension-manager 1.1.0 → 1.1.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.
- package/CHANGELOG.md +16 -1
- package/dist/background.js +0 -2
- package/dist/config/page-template.html +6 -3
- package/dist/defaults/src/assets/css/bundles/.gitkeep +0 -0
- package/dist/gulp/tasks/package.js +19 -27
- package/dist/gulp/tasks/webpack.js +6 -3
- package/firebase-debug.log +56 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,7 +15,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
|
-
## [1.1.
|
|
18
|
+
## [1.1.1] - 2025-11-13
|
|
19
|
+
### Changed
|
|
20
|
+
- Simplified build.js configuration generation by removing webManager config overrides
|
|
21
|
+
- Improved theme JS file watching in webpack config
|
|
22
|
+
- Updated Firebase dependencies to latest versions (firebase 12.6.0)
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- Cache busting support for CSS/JS includes in page template (?cb={{ cacheBust }})
|
|
26
|
+
- build.js script loading to page template for runtime configuration
|
|
27
|
+
- web-manager watch path for improved development workflow
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- Removed verbose logging in background.js initialization
|
|
31
|
+
- Browser caching issues during development with cache-busted resource URLs
|
|
32
|
+
|
|
33
|
+
## [1.1.0] - 2025-11-13
|
|
19
34
|
### BREAKING
|
|
20
35
|
- Complete CSS architecture overhaul - projects using old structure will need migration
|
|
21
36
|
- Removed static Bootstrap CSS files in favor of SCSS source compilation
|
package/dist/background.js
CHANGED
|
@@ -7,15 +7,18 @@
|
|
|
7
7
|
<title>{{ page.title }}</title>
|
|
8
8
|
|
|
9
9
|
<!-- Main CSS (includes Font Awesome) -->
|
|
10
|
-
<link href="/assets/css/main.bundle.css" rel="stylesheet">
|
|
10
|
+
<link href="/assets/css/main.bundle.css?cb={{ cacheBust }}" rel="stylesheet">
|
|
11
11
|
|
|
12
12
|
<!-- Component-specific CSS -->
|
|
13
|
-
<link href="/assets/css/components/{{ page.name }}.bundle.css" rel="stylesheet">
|
|
13
|
+
<link href="/assets/css/components/{{ page.name }}.bundle.css?cb={{ cacheBust }}" rel="stylesheet">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
16
|
{{ content }}
|
|
17
17
|
|
|
18
|
+
<!-- Build -->
|
|
19
|
+
<script src="/build.js?cb={{ cacheBust }}"></script>
|
|
20
|
+
|
|
18
21
|
<!-- Main JS -->
|
|
19
|
-
<script src="/assets/js/components/{{ page.name }}.bundle.js"></script>
|
|
22
|
+
<script src="/assets/js/components/{{ page.name }}.bundle.js?cb={{ cacheBust }}"></script>
|
|
20
23
|
</body>
|
|
21
24
|
</html>
|
|
File without changes
|
|
@@ -51,9 +51,6 @@ async function generateBuildJs(outputDir) {
|
|
|
51
51
|
const manifestPath = path.join('dist', 'manifest.json');
|
|
52
52
|
const manifest = JSON5.parse(jetpack.read(manifestPath));
|
|
53
53
|
|
|
54
|
-
// Get web-manager config from project config
|
|
55
|
-
const webManagerConfig = config.webManager || {};
|
|
56
|
-
|
|
57
54
|
// Build config object matching web-manager's expected structure
|
|
58
55
|
const buildConfig = {
|
|
59
56
|
timestamp: new Date().toISOString(),
|
|
@@ -70,15 +67,7 @@ async function generateBuildJs(outputDir) {
|
|
|
70
67
|
buildTime: Date.now(),
|
|
71
68
|
|
|
72
69
|
// Brand configuration (from browser-extension-manager.json or manifest)
|
|
73
|
-
brand: {
|
|
74
|
-
id: config.app?.id || manifest.app?.id || 'extension',
|
|
75
|
-
name: config.brand?.name || manifest.brand?.name || 'Extension',
|
|
76
|
-
url: config.brand?.url || manifest.brand?.url || '',
|
|
77
|
-
email: config.brand?.email || manifest.brand?.email || '',
|
|
78
|
-
brandmark: config.brand?.brandmark || '',
|
|
79
|
-
wordmark: config.brand?.wordmark || '',
|
|
80
|
-
combomark: config.brand?.combomark || '',
|
|
81
|
-
},
|
|
70
|
+
brand: config.brand || {},
|
|
82
71
|
|
|
83
72
|
// BEM-specific config
|
|
84
73
|
bem: {
|
|
@@ -88,29 +77,32 @@ async function generateBuildJs(outputDir) {
|
|
|
88
77
|
},
|
|
89
78
|
|
|
90
79
|
// Web-manager features (matching expected structure)
|
|
91
|
-
auth:
|
|
80
|
+
auth: { enabled: true, config: {} },
|
|
92
81
|
|
|
93
82
|
firebase: {
|
|
94
83
|
app: {
|
|
95
|
-
enabled: !!(config.firebaseConfig?.apiKey
|
|
96
|
-
config: config.firebaseConfig ||
|
|
84
|
+
enabled: !!(config.firebaseConfig?.apiKey),
|
|
85
|
+
config: config.firebaseConfig || {},
|
|
97
86
|
},
|
|
98
|
-
appCheck:
|
|
87
|
+
appCheck: { enabled: false, config: {} },
|
|
99
88
|
},
|
|
100
89
|
|
|
101
|
-
cookieConsent:
|
|
102
|
-
chatsy:
|
|
103
|
-
sentry:
|
|
104
|
-
enabled: !!config.sentry?.dsn,
|
|
90
|
+
cookieConsent: { enabled: true, config: {} },
|
|
91
|
+
chatsy: { enabled: true, config: {} },
|
|
92
|
+
sentry: {
|
|
93
|
+
enabled: !!(config.sentry?.dsn),
|
|
105
94
|
config: config.sentry || {}
|
|
106
95
|
},
|
|
107
|
-
exitPopup:
|
|
108
|
-
lazyLoading:
|
|
109
|
-
socialSharing:
|
|
110
|
-
pushNotifications:
|
|
111
|
-
validRedirectHosts:
|
|
112
|
-
refreshNewVersion:
|
|
113
|
-
serviceWorker:
|
|
96
|
+
exitPopup: { enabled: false, config: {} },
|
|
97
|
+
lazyLoading: { enabled: true, config: {} },
|
|
98
|
+
socialSharing: { enabled: false, config: {} },
|
|
99
|
+
pushNotifications: { enabled: false, config: {} },
|
|
100
|
+
validRedirectHosts: ['itwcreativeworks.com'],
|
|
101
|
+
refreshNewVersion: { enabled: true, config: {} },
|
|
102
|
+
serviceWorker: { enabled: false, config: {} },
|
|
103
|
+
|
|
104
|
+
// Analytics
|
|
105
|
+
google_analytics: config.google_analytics || {},
|
|
114
106
|
|
|
115
107
|
// Theme config
|
|
116
108
|
theme: config.theme || {},
|
|
@@ -44,6 +44,10 @@ const watchInput = [
|
|
|
44
44
|
// Core JS - watch for changes but don't compile as entry points
|
|
45
45
|
`${rootPathPackage}/dist/assets/js/**/*.js`,
|
|
46
46
|
|
|
47
|
+
// Theme js - watch for changes but don't compile as entry points
|
|
48
|
+
`${rootPathPackage}/dist/assets/themes/**/*.js`,
|
|
49
|
+
'src/assets/themes/**/*.js',
|
|
50
|
+
|
|
47
51
|
// Component files - watch for changes to trigger recompile
|
|
48
52
|
`${rootPathPackage}/src/popup.js`,
|
|
49
53
|
`${rootPathPackage}/src/options.js`,
|
|
@@ -51,9 +55,8 @@ const watchInput = [
|
|
|
51
55
|
`${rootPathPackage}/src/sidepanel.js`,
|
|
52
56
|
`${rootPathPackage}/src/index.js`,
|
|
53
57
|
|
|
54
|
-
//
|
|
55
|
-
`${rootPathPackage}/
|
|
56
|
-
'src/assets/themes/**/*.js',
|
|
58
|
+
// So we can watch for changes while we're developing web-manager
|
|
59
|
+
`${rootPathPackage}/../web-manager/src`,
|
|
57
60
|
];
|
|
58
61
|
|
|
59
62
|
const delay = 250;
|
package/firebase-debug.log
CHANGED
|
@@ -320,3 +320,59 @@
|
|
|
320
320
|
[debug] [2025-11-14T03:24:36.859Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
321
321
|
[debug] [2025-11-14T03:24:36.860Z] > 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"]
|
|
322
322
|
[debug] [2025-11-14T03:24:36.860Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
323
|
+
[debug] [2025-11-14T03:59:17.559Z] > 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"]
|
|
324
|
+
[debug] [2025-11-14T03:59:17.567Z] > 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"]
|
|
325
|
+
[debug] [2025-11-14T03:59:17.562Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
326
|
+
[debug] [2025-11-14T03:59:17.562Z] > 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"]
|
|
327
|
+
[debug] [2025-11-14T03:59:17.562Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
328
|
+
[debug] [2025-11-14T03:59:17.570Z] > 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"]
|
|
329
|
+
[debug] [2025-11-14T03:59:17.571Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
330
|
+
[debug] [2025-11-14T03:59:17.569Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
331
|
+
[debug] [2025-11-14T03:59:17.569Z] > 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"]
|
|
332
|
+
[debug] [2025-11-14T03:59:17.569Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
333
|
+
[debug] [2025-11-14T03:59:17.577Z] > 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"]
|
|
334
|
+
[debug] [2025-11-14T03:59:17.578Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
335
|
+
[debug] [2025-11-14T03:59:17.637Z] > 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"]
|
|
336
|
+
[debug] [2025-11-14T03:59:17.639Z] > 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"]
|
|
337
|
+
[debug] [2025-11-14T03:59:17.638Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
338
|
+
[debug] [2025-11-14T03:59:17.638Z] > 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"]
|
|
339
|
+
[debug] [2025-11-14T03:59:17.639Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
340
|
+
[debug] [2025-11-14T03:59:17.640Z] > 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"]
|
|
341
|
+
[debug] [2025-11-14T03:59:17.640Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
342
|
+
[debug] [2025-11-14T03:59:17.641Z] > 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"]
|
|
343
|
+
[debug] [2025-11-14T03:59:17.641Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
344
|
+
[debug] [2025-11-14T03:59:17.639Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
345
|
+
[debug] [2025-11-14T03:59:17.640Z] > 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"]
|
|
346
|
+
[debug] [2025-11-14T03:59:17.640Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
347
|
+
[debug] [2025-11-14T03:59:17.642Z] > 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"]
|
|
348
|
+
[debug] [2025-11-14T03:59:17.642Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
349
|
+
[debug] [2025-11-14T03:59:17.643Z] > 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"]
|
|
350
|
+
[debug] [2025-11-14T03:59:17.643Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
351
|
+
[debug] [2025-11-14T04:28:29.783Z] > 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"]
|
|
352
|
+
[debug] [2025-11-14T04:28:29.788Z] > 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"]
|
|
353
|
+
[debug] [2025-11-14T04:28:29.785Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
354
|
+
[debug] [2025-11-14T04:28:29.785Z] > 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"]
|
|
355
|
+
[debug] [2025-11-14T04:28:29.785Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
356
|
+
[debug] [2025-11-14T04:28:29.795Z] > 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"]
|
|
357
|
+
[debug] [2025-11-14T04:28:29.795Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
358
|
+
[debug] [2025-11-14T04:28:29.790Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
359
|
+
[debug] [2025-11-14T04:28:29.790Z] > 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"]
|
|
360
|
+
[debug] [2025-11-14T04:28:29.790Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
361
|
+
[debug] [2025-11-14T04:28:29.802Z] > 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"]
|
|
362
|
+
[debug] [2025-11-14T04:28:29.802Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
363
|
+
[debug] [2025-11-14T04:28:29.862Z] > 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"]
|
|
364
|
+
[debug] [2025-11-14T04:28:29.864Z] > 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"]
|
|
365
|
+
[debug] [2025-11-14T04:28:29.862Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
366
|
+
[debug] [2025-11-14T04:28:29.863Z] > 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"]
|
|
367
|
+
[debug] [2025-11-14T04:28:29.863Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
368
|
+
[debug] [2025-11-14T04:28:29.864Z] > 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"]
|
|
369
|
+
[debug] [2025-11-14T04:28:29.864Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
370
|
+
[debug] [2025-11-14T04:28:29.865Z] > 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"]
|
|
371
|
+
[debug] [2025-11-14T04:28:29.865Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
372
|
+
[debug] [2025-11-14T04:28:29.864Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
373
|
+
[debug] [2025-11-14T04:28:29.865Z] > 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"]
|
|
374
|
+
[debug] [2025-11-14T04:28:29.865Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
375
|
+
[debug] [2025-11-14T04:28:29.866Z] > 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"]
|
|
376
|
+
[debug] [2025-11-14T04:28:29.866Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
377
|
+
[debug] [2025-11-14T04:28:29.867Z] > 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"]
|
|
378
|
+
[debug] [2025-11-14T04:28:29.867Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|