@wocker/core 1.0.26-beta.1 → 1.0.26-beta.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.
@@ -6,12 +6,15 @@ export declare class Project {
6
6
  name: string;
7
7
  type: ProjectType;
8
8
  path: string;
9
+ cmd?: string[];
9
10
  imageName?: string;
10
11
  dockerfile?: string;
11
12
  composefile?: string;
12
13
  preset?: string;
13
14
  presetMode?: "global" | "project";
14
- scripts?: string[];
15
+ scripts?: {
16
+ [script: string]: string;
17
+ };
15
18
  services: {
16
19
  [name: string]: ServiceProperties;
17
20
  };
@@ -267,6 +267,7 @@ class Project {
267
267
  composefile: this.composefile,
268
268
  preset: this.preset,
269
269
  presetMode: this.presetMode,
270
+ cmd: this.cmd,
270
271
  scripts: this.scripts,
271
272
  services: Object.keys(this.services).length > 0 ? this.services : undefined,
272
273
  buildArgs: Object.keys(this.buildArgs).length > 0 ? this.buildArgs : undefined,
@@ -10,7 +10,10 @@ export type ProjectV1 = {
10
10
  composefile?: string;
11
11
  preset?: string;
12
12
  presetMode?: "global" | "project";
13
- scripts?: string[];
13
+ cmd?: string[];
14
+ scripts?: {
15
+ [script: string]: string;
16
+ };
14
17
  services?: {
15
18
  [service: string]: ServiceProperties;
16
19
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
3
  "type": "commonjs",
4
- "version": "1.0.26-beta.1",
4
+ "version": "1.0.26-beta.2",
5
5
  "author": "Kris Papercut <krispcut@gmail.com>",
6
6
  "description": "Core of the Wocker",
7
7
  "license": "MIT",