@commercetools-frontend/application-config 21.0.1 → 21.1.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.
@@ -108,7 +108,7 @@ var loadJsModule = function loadJsModule(filePath) {
108
108
  // The "required module output" is then written into `stdout` and parsed
109
109
  // as JSON.
110
110
 
111
- var output = child_process.execFileSync(path__default["default"].join(packageRootPath, 'scripts/load-js-module.js'), [filePath], {
111
+ var output = child_process.execFileSync('node', [path__default["default"].join(packageRootPath, 'scripts/load-js-module.js'), filePath], {
112
112
  encoding: 'utf8'
113
113
  });
114
114
  return JSON.parse(output);
@@ -108,7 +108,7 @@ var loadJsModule = function loadJsModule(filePath) {
108
108
  // The "required module output" is then written into `stdout` and parsed
109
109
  // as JSON.
110
110
 
111
- var output = child_process.execFileSync(path__default["default"].join(packageRootPath, 'scripts/load-js-module.js'), [filePath], {
111
+ var output = child_process.execFileSync('node', [path__default["default"].join(packageRootPath, 'scripts/load-js-module.js'), filePath], {
112
112
  encoding: 'utf8'
113
113
  });
114
114
  return JSON.parse(output);
@@ -80,7 +80,7 @@ var loadJsModule = function loadJsModule(filePath) {
80
80
  // The "required module output" is then written into `stdout` and parsed
81
81
  // as JSON.
82
82
 
83
- var output = execFileSync(path.join(packageRootPath, 'scripts/load-js-module.js'), [filePath], {
83
+ var output = execFileSync('node', [path.join(packageRootPath, 'scripts/load-js-module.js'), filePath], {
84
84
  encoding: 'utf8'
85
85
  });
86
86
  return JSON.parse(output);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-config",
3
- "version": "21.0.1",
3
+ "version": "21.1.2",
4
4
  "description": "Configuration utilities for building Custom Applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env node
2
-
3
1
  /**
4
2
  * This script file is used to load and parse a JS module in a child process,
5
3
  * to isolate the Babel configuration from the main program and avoid causing