@constructive-io/graphql-env 2.8.8 → 2.8.10
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/README.md +0 -1
- package/esm/merge.js +4 -2
- package/merge.js +3 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -117,7 +117,6 @@ Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
|
117
117
|
* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **🏷️ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
118
118
|
* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
119
119
|
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
120
|
-
* [pg-ast](https://www.npmjs.com/package/pg-ast): **🔍 Low-level AST tools** and transformations for Postgres query structures.
|
|
121
120
|
|
|
122
121
|
### 🚀 API & Dev Tools
|
|
123
122
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/graphql-env",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.10",
|
|
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.
|
|
33
|
-
"@pgpmjs/env": "^2.8.
|
|
32
|
+
"@constructive-io/graphql-types": "^2.12.7",
|
|
33
|
+
"@pgpmjs/env": "^2.8.10",
|
|
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": "
|
|
47
|
+
"gitHead": "6e76a6344e93683031fd48c21f30829f12f10dd8"
|
|
48
48
|
}
|