directus-template-cli 0.7.0-beta.12 → 0.7.0-beta.13

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.
@@ -89,7 +89,7 @@ async function checkDocker() {
89
89
  }
90
90
  }
91
91
  /**
92
- * Start Docker containers using docker-compose
92
+ * Start Docker containers using docker compose
93
93
  * @param {string} cwd - The current working directory
94
94
  * @returns {Promise<void>} - Returns nothing
95
95
  */
@@ -99,7 +99,7 @@ async function startContainers(cwd) {
99
99
  await checkRequiredPorts();
100
100
  const s = spinner();
101
101
  s.start('Starting Docker containers');
102
- return execa('docker compose', ['up', '-d'], {
102
+ return execa('docker', ['compose', 'up', '-d'], {
103
103
  cwd,
104
104
  }).then(() => {
105
105
  s.stop('Docker containers running!');
@@ -115,13 +115,13 @@ async function startContainers(cwd) {
115
115
  }
116
116
  }
117
117
  /**
118
- * Stop Docker containers
118
+ * Stop Docker containers using docker compose
119
119
  * @param {string} cwd - The current working directory
120
120
  * @returns {Promise<void>} - Returns nothing
121
121
  */
122
122
  async function stopContainers(cwd) {
123
123
  try {
124
- return execa('docker compose', ['down'], {
124
+ return execa('docker', ['compose', 'down'], {
125
125
  cwd,
126
126
  }).then(() => { });
127
127
  }
@@ -378,5 +378,5 @@
378
378
  ]
379
379
  }
380
380
  },
381
- "version": "0.7.0-beta.12"
381
+ "version": "0.7.0-beta.13"
382
382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directus-template-cli",
3
- "version": "0.7.0-beta.12",
3
+ "version": "0.7.0-beta.13",
4
4
  "description": "CLI Utility for applying templates to a Directus instance.",
5
5
  "author": "bryantgillespie @bryantgillespie",
6
6
  "type": "module",