@adobe/helix-config-storage 2.14.1 → 3.0.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 +12 -0
- package/package.json +4 -4
- package/src/config-store.js +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [3.0.0](https://github.com/adobe/helix-config-storage/compare/v2.14.1...v3.0.0) (2026-05-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-shared-storage to v2 ([#256](https://github.com/adobe/helix-config-storage/issues/256)) ([1715421](https://github.com/adobe/helix-config-storage/commit/17154216f8efc468a54842ce02097e67a2578145))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **deps:** needs adobe/helix-shared-storage v2
|
|
12
|
+
|
|
1
13
|
## [2.14.1](https://github.com/adobe/helix-config-storage/compare/v2.14.0...v2.14.1) (2026-04-28)
|
|
2
14
|
|
|
3
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config-storage",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Helix Config Storage",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"eslint": "9.4.0",
|
|
47
47
|
"husky": "9.1.7",
|
|
48
48
|
"json-schema-to-typescript": "15.0.4",
|
|
49
|
-
"junit-report-builder": "5.1.
|
|
49
|
+
"junit-report-builder": "5.1.2",
|
|
50
50
|
"lint-staged": "16.4.0",
|
|
51
51
|
"mocha": "11.7.5",
|
|
52
52
|
"mocha-multi-reporters": "1.5.1",
|
|
53
53
|
"mocha-suppress-logs": "0.6.0",
|
|
54
|
-
"nock": "14.0.
|
|
54
|
+
"nock": "14.0.13",
|
|
55
55
|
"semantic-release": "25.0.3",
|
|
56
56
|
"xml2js": "0.6.2"
|
|
57
57
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@adobe/helix-shared-config": "^11.1.4",
|
|
65
65
|
"@adobe/helix-shared-git": "^3.0.18",
|
|
66
66
|
"@adobe/helix-shared-process-queue": "3.1.9",
|
|
67
|
-
"@adobe/helix-shared-storage": "^
|
|
67
|
+
"@adobe/helix-shared-storage": "^2.0.0",
|
|
68
68
|
"@adobe/helix-shared-string": "^2.1.0",
|
|
69
69
|
"@adobe/helix-shared-utils": "^3.0.2",
|
|
70
70
|
"ajv": "8.18.0",
|
package/src/config-store.js
CHANGED
|
@@ -210,12 +210,11 @@ export class ConfigStore {
|
|
|
210
210
|
async #list(ctx) {
|
|
211
211
|
const storage = HelixStorage.fromContext(ctx).configBus();
|
|
212
212
|
const key = `orgs/${this.org}/${this.type}/`;
|
|
213
|
-
const list = await storage.list(key, true);
|
|
214
|
-
let entries = list.map((entry) => {
|
|
215
|
-
const
|
|
216
|
-
if (
|
|
217
|
-
const
|
|
218
|
-
const name = fileName.substring(0, fileName.length - 5);
|
|
213
|
+
const list = await storage.list(key, { shallow: true });
|
|
214
|
+
let entries = list.objects.map((entry) => {
|
|
215
|
+
const entryName = entry.name;
|
|
216
|
+
if (entryName.endsWith('.json')) {
|
|
217
|
+
const name = entryName.substring(0, entryName.length - 5);
|
|
219
218
|
return {
|
|
220
219
|
path: this.formatSitePath(name),
|
|
221
220
|
name,
|