@graphcommerce/next-config 4.30.0 → 4.30.2

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.
@@ -48,7 +48,7 @@ function extendConfig(nextConfig, modules) {
48
48
  }
49
49
  function withGraphCommerce(conf = {}) {
50
50
  const { packages = [] } = conf;
51
- const dependencies = [...(0, resolveDependenciesSync_1.resolveDependenciesSync)().keys()];
51
+ const dependencies = [...(0, resolveDependenciesSync_1.resolveDependenciesSync)().keys()].slice(1);
52
52
  const modules = [...dependencies, ...packages];
53
53
  return (config) => extendConfig((0, next_transpile_modules_1.default)(modules)(config), modules);
54
54
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-config",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.30.0",
5
+ "version": "4.30.2",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",
8
8
  "typings": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "prepack": "yarn build"
14
14
  },
15
15
  "dependencies": {
16
- "@graphcommerce/cli": "4.30.0",
16
+ "@graphcommerce/cli": "4.30.2",
17
17
  "@lingui/loader": "^3.14.0",
18
18
  "js-yaml-loader": "^1.2.2",
19
19
  "next-transpile-modules": "^9.0.0",
@@ -58,7 +58,7 @@ export function withGraphCommerce(
58
58
  conf: GraphCommerceConfig = {},
59
59
  ): (config: NextConfig) => NextConfig {
60
60
  const { packages = [] } = conf
61
- const dependencies = [...resolveDependenciesSync().keys()]
61
+ const dependencies = [...resolveDependenciesSync().keys()].slice(1)
62
62
 
63
63
  const modules = [...dependencies, ...packages]
64
64
  return (config) => extendConfig(withTranspileModules(modules)(config), modules)