@adobe/helix-config 5.9.1 → 5.9.3

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/.nycrc.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "text"
5
5
  ],
6
6
  "check-coverage": true,
7
- "lines": 100,
8
- "branches": 100,
9
- "statements": 100
7
+ "lines": 99,
8
+ "branches": 99,
9
+ "statements": 99
10
10
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.9.3](https://github.com/adobe/helix-config/compare/v5.9.2...v5.9.3) (2026-03-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * read helix-config from main ([#360](https://github.com/adobe/helix-config/issues/360)) ([0f976ae](https://github.com/adobe/helix-config/commit/0f976aedd9ea70facc09268e2293caefe32a059a))
7
+
8
+ ## [5.9.2](https://github.com/adobe/helix-config/compare/v5.9.1...v5.9.2) (2026-02-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * load default profile for helix4 ([#357](https://github.com/adobe/helix-config/issues/357)) ([25ad079](https://github.com/adobe/helix-config/commit/25ad07978e8a1e328e19dc964fb97b087ea9b910))
14
+
1
15
  ## [5.9.1](https://github.com/adobe/helix-config/compare/v5.9.0...v5.9.1) (2026-01-07)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "5.9.1",
3
+ "version": "5.9.3",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -35,11 +35,11 @@
35
35
  "reporter-options": "configFile=.mocha-multi.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@adobe/eslint-config-helix": "3.0.15",
39
- "@eslint/config-helpers": "0.5.0",
38
+ "@adobe/eslint-config-helix": "3.0.21",
39
+ "@eslint/config-helpers": "0.5.2",
40
40
  "@semantic-release/changelog": "6.0.3",
41
41
  "@semantic-release/git": "10.0.1",
42
- "@semantic-release/npm": "13.1.3",
42
+ "@semantic-release/npm": "13.1.4",
43
43
  "c8": "10.1.3",
44
44
  "eslint": "9.4.0",
45
45
  "husky": "9.1.7",
@@ -48,7 +48,7 @@
48
48
  "mocha": "11.7.5",
49
49
  "mocha-multi-reporters": "1.5.1",
50
50
  "mocha-suppress-logs": "0.6.0",
51
- "semantic-release": "25.0.2"
51
+ "semantic-release": "25.0.3"
52
52
  },
53
53
  "lint-staged": {
54
54
  "*.js": "eslint",
@@ -26,7 +26,7 @@ const HELIX_CODE_BUS = 'helix-code-bus';
26
26
  * @returns {Promise<ConfigObject|null>} the helix-config or {@code null} if optional and not found.
27
27
  */
28
28
  async function fetchHelixConfig(ctx, rso) {
29
- const key = `${rso.org}/${rso.site}/${rso.ref}/helix-config.json`;
29
+ const key = `${rso.org}/${rso.site}/main/helix-config.json`;
30
30
  const res = await ctx.loader.getObject(HELIX_CODE_BUS, key);
31
31
  if (!res.body) {
32
32
  return null;
@@ -194,6 +194,8 @@ export async function resolveLegacyConfig(ctx, rso, scope) {
194
194
  config.robots = await fetchRobotsTxt(ctx, rso.org, rso.site);
195
195
  if (!config.robots.txt) {
196
196
  delete config.robots;
197
+ } else {
198
+ cfg.updateLastModified(config.robots);
197
199
  }
198
200
  }
199
201
  if ((scope === SCOPE_ADMIN || scope === SCOPE_RAW) && configAllPreview?.config?.data?.metadata) {
@@ -25,6 +25,7 @@ const ROOT_PROPERTIES = {
25
25
  code: { atomic: true },
26
26
  folders: {},
27
27
  headers: { isModifier: true },
28
+ head: {},
28
29
  cdn: {},
29
30
  access: {},
30
31
  sidekick: {},
@@ -304,8 +304,8 @@ async function resolveConfig(ctx, rso, scope) {
304
304
  if (config) {
305
305
  ctx.timer?.update('profile');
306
306
  const profile = await loadProfile(ctx, rso, 'default');
307
- config.data.tokens = profile?.data.tokens || {};
308
- config.data.secrets = profile?.data.secrets || {};
307
+ config.merge(profile);
308
+ config.data.legacy = true;
309
309
  }
310
310
  return config;
311
311
  }