@constructive-io/graphql-env 2.8.9 → 2.8.11

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/esm/merge.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import deepmerge from 'deepmerge';
2
2
  import { constructiveGraphqlDefaults } from '@constructive-io/graphql-types';
3
- import { getEnvOptions as getPgpmEnvOptions, loadConfigSync } from '@pgpmjs/env';
3
+ import { getEnvOptions as getPgpmEnvOptions, loadConfigSync, mergeArraysUnique } from '@pgpmjs/env';
4
4
  import { getGraphQLEnvVars } from './env';
5
5
  /**
6
6
  * Get Constructive environment options by merging:
@@ -34,7 +34,9 @@ export const getEnvOptions = (overrides = {}, cwd = process.cwd()) => {
34
34
  },
35
35
  graphqlEnvOptions,
36
36
  overrides
37
- ]);
37
+ ], {
38
+ arrayMerge: mergeArraysUnique
39
+ });
38
40
  };
39
41
  /**
40
42
  * Alias - same as getEnvOptions
package/merge.js CHANGED
@@ -40,7 +40,9 @@ const getEnvOptions = (overrides = {}, cwd = process.cwd()) => {
40
40
  },
41
41
  graphqlEnvOptions,
42
42
  overrides
43
- ]);
43
+ ], {
44
+ arrayMerge: env_1.mergeArraysUnique
45
+ });
44
46
  };
45
47
  exports.getEnvOptions = getEnvOptions;
46
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-env",
3
- "version": "2.8.9",
3
+ "version": "2.8.11",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive environment configuration with GraphQL/Graphile support",
6
6
  "main": "index.js",
@@ -29,8 +29,8 @@
29
29
  "test:watch": "jest --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@constructive-io/graphql-types": "^2.12.7",
33
- "@pgpmjs/env": "^2.8.9",
32
+ "@constructive-io/graphql-types": "^2.12.8",
33
+ "@pgpmjs/env": "^2.8.11",
34
34
  "deepmerge": "^4.3.1"
35
35
  },
36
36
  "keywords": [
@@ -44,5 +44,5 @@
44
44
  "devDependencies": {
45
45
  "makage": "^0.1.9"
46
46
  },
47
- "gitHead": "f6cb102f2d19174b4f54ed2ba0c02308b1325830"
47
+ "gitHead": "c2e68f9808a87e3231d9b9af5e706bef5dbd2af8"
48
48
  }