@adobe/helix-config 5.3.4 → 5.4.0
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 +14 -0
- package/package.json +2 -2
- package/src/config-merge.js +1 -0
- package/src/config-view.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [5.4.0](https://github.com/adobe/helix-config/compare/v5.3.5...v5.4.0) (2025-05-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* aggregate org apiKeys into site config ([#275](https://github.com/adobe/helix-config/issues/275)) ([436a8b8](https://github.com/adobe/helix-config/commit/436a8b81914c216052470d8fbd1169d7a4eea5b8))
|
|
7
|
+
|
|
8
|
+
## [5.3.5](https://github.com/adobe/helix-config/compare/v5.3.4...v5.3.5) (2025-05-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* include apiKeys profile aggregation ([#274](https://github.com/adobe/helix-config/issues/274)) ([a288ec1](https://github.com/adobe/helix-config/commit/a288ec1a6cb689680e9b96ecbd9f8928e2b18b35))
|
|
14
|
+
|
|
1
15
|
## [5.3.4](https://github.com/adobe/helix-config/compare/v5.3.3...v5.3.4) (2025-05-11)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"eslint": "8.57.1",
|
|
44
44
|
"husky": "9.1.7",
|
|
45
45
|
"junit-report-builder": "5.1.1",
|
|
46
|
-
"lint-staged": "
|
|
46
|
+
"lint-staged": "16.0.0",
|
|
47
47
|
"mocha": "11.2.2",
|
|
48
48
|
"mocha-multi-reporters": "1.5.1",
|
|
49
49
|
"mocha-suppress-logs": "0.5.1",
|
package/src/config-merge.js
CHANGED
package/src/config-view.js
CHANGED
|
@@ -510,6 +510,12 @@ export async function getConfigResponse(ctx, opts) {
|
|
|
510
510
|
config.access.admin = computeSiteAdminRoles(admin, orgConfig, config.groups);
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
+
if (opts.scope === SCOPE_ADMIN || opts.scope === SCOPE_RAW) {
|
|
514
|
+
const merged = { ...config.apiKeys, ...orgConfig?.apiKeys };
|
|
515
|
+
if (Object.keys(merged).length) {
|
|
516
|
+
config.apiKeys = merged;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
513
519
|
|
|
514
520
|
// todo: improve
|
|
515
521
|
siteConfig.updateLastModified(config.head);
|