navy 6.0.0-alpha.1 → 6.0.0

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.
@@ -17,7 +17,7 @@ var _execAsync = require("../../util/exec-async");
17
17
 
18
18
  async function cwdHasValidDockerComposeConfig() {
19
19
  try {
20
- await (0, _execAsync.execAsync)('docker-compose', ['config'], null, {
20
+ await (0, _execAsync.execAsync)('docker compose', ['config'], null, {
21
21
  maxBuffer: Infinity,
22
22
  cwd: process.cwd()
23
23
  });
package/lib/http-proxy.js CHANGED
@@ -76,12 +76,12 @@ async function reconfigureHTTPProxy(opts = {}) {
76
76
  // proxy needs to be recreated to detect changes (deletes) in /etc/nginx/certs
77
77
  if (_fs.default.existsSync(navyInternalYamlFile)) {
78
78
  (0, _driverLogging.log)('Restarting HTTP proxy...');
79
- await (0, _execAsync.execAsync)('docker-compose', ['-f', navyInternalYamlFile, '-p', 'navyinternal', 'rm', '-s', '-f', 'nginx-proxy']);
79
+ await (0, _execAsync.execAsync)('docker compose', ['-f', navyInternalYamlFile, '-p', 'navyinternal', 'rm', '-s', '-f', 'nginx-proxy']);
80
80
  }
81
81
  }
82
82
 
83
83
  if (!opts.navies) opts.navies = await (0, _navy.getLaunchedNavyNames)();
84
84
  await updateComposeConfig(opts.navies);
85
85
  (0, _driverLogging.log)('Configuring HTTP proxy...');
86
- await (0, _execAsync.execAsync)('docker-compose', ['-f', navyInternalYamlFile, '-p', 'navyinternal', 'up', '-d']);
86
+ await (0, _execAsync.execAsync)('docker compose', ['-f', navyInternalYamlFile, '-p', 'navyinternal', 'up', '-d']);
87
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "navy",
3
- "version": "6.0.0-alpha.1",
3
+ "version": "6.0.0",
4
4
  "description": "Quick and powerful development environments using Docker and Docker Compose",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",