dokku-compose 0.6.7 → 0.6.8

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -711,13 +711,10 @@ var NetworkProps = {
711
711
 
712
712
  // src/modules/plugins.ts
713
713
  async function ensurePlugins(ctx, plugins) {
714
- const listOutput = await ctx.query("plugin:list");
715
- const installedNames = new Set(
716
- listOutput.split("\n").map((line) => line.trim().split(/\s+/)[0]).filter(Boolean)
717
- );
718
714
  for (const [name, config] of Object.entries(plugins)) {
719
715
  logAction("plugins", `Installing ${name}`);
720
- if (installedNames.has(name)) {
716
+ const installed = await ctx.check("plugin:installed", name);
717
+ if (installed) {
721
718
  logSkip();
722
719
  continue;
723
720
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dokku-compose",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Docker Compose for Dokku — declare your entire server in a single YAML file.",
5
5
  "main": "dist/index.js",
6
6
  "exports": "./dist/index.js",