@h-rig/core 0.0.6-alpha.156 → 0.0.6-alpha.157

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.
@@ -15,7 +15,7 @@ function applyConfigDefaults(raw) {
15
15
  const record = raw;
16
16
  return {
17
17
  ...record,
18
- plugins: Array.isArray(record.plugins) ? record.plugins : [],
18
+ plugins: Array.isArray(record.plugins) ? record.plugins.flat() : [],
19
19
  workspace: normalizeWorkspaceConfig(record.workspace)
20
20
  };
21
21
  }
@@ -15,7 +15,7 @@ function applyConfigDefaults(raw) {
15
15
  const record = raw;
16
16
  return {
17
17
  ...record,
18
- plugins: Array.isArray(record.plugins) ? record.plugins : [],
18
+ plugins: Array.isArray(record.plugins) ? record.plugins.flat() : [],
19
19
  workspace: normalizeWorkspaceConfig(record.workspace)
20
20
  };
21
21
  }
package/dist/src/index.js CHANGED
@@ -22,7 +22,7 @@ function applyConfigDefaults(raw) {
22
22
  const record = raw;
23
23
  return {
24
24
  ...record,
25
- plugins: Array.isArray(record.plugins) ? record.plugins : [],
25
+ plugins: Array.isArray(record.plugins) ? record.plugins.flat() : [],
26
26
  workspace: normalizeWorkspaceConfig(record.workspace)
27
27
  };
28
28
  }
@@ -23,7 +23,7 @@ function applyConfigDefaults(raw) {
23
23
  const record = raw;
24
24
  return {
25
25
  ...record,
26
- plugins: Array.isArray(record.plugins) ? record.plugins : [],
26
+ plugins: Array.isArray(record.plugins) ? record.plugins.flat() : [],
27
27
  workspace: normalizeWorkspaceConfig(record.workspace)
28
28
  };
29
29
  }
@@ -195,7 +195,7 @@ function applyConfigDefaults(raw) {
195
195
  const record = raw;
196
196
  return {
197
197
  ...record,
198
- plugins: Array.isArray(record.plugins) ? record.plugins : [],
198
+ plugins: Array.isArray(record.plugins) ? record.plugins.flat() : [],
199
199
  workspace: normalizeWorkspaceConfig(record.workspace)
200
200
  };
201
201
  }
@@ -195,7 +195,7 @@ function applyConfigDefaults(raw) {
195
195
  const record = raw;
196
196
  return {
197
197
  ...record,
198
- plugins: Array.isArray(record.plugins) ? record.plugins : [],
198
+ plugins: Array.isArray(record.plugins) ? record.plugins.flat() : [],
199
199
  workspace: normalizeWorkspaceConfig(record.workspace)
200
200
  };
201
201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/core",
3
- "version": "0.0.6-alpha.156",
3
+ "version": "0.0.6-alpha.157",
4
4
  "type": "module",
5
5
  "description": "Config and plugin composition library for Rig's OMP extension ecosystem; not a product host/runtime.",
6
6
  "license": "UNLICENSED",
@@ -37,7 +37,7 @@
37
37
  "module": "./dist/src/index.js",
38
38
  "types": "./dist/src/index.d.ts",
39
39
  "dependencies": {
40
- "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.156",
40
+ "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.157",
41
41
  "effect": "4.0.0-beta.90"
42
42
  }
43
43
  }