docker-composer 4.1.1 → 4.1.3
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.
- package/README.md +3 -2
- package/ReleaseNotes.md +7 -0
- package/compile-ts-types.js +10 -0
- package/index.d.ts +27 -15
- package/package.json +6 -15
package/README.md
CHANGED
|
@@ -14,8 +14,9 @@ Docker Compose Reference is [HERE](https://docs.docker.com/compose/compose-file/
|
|
|
14
14
|
|
|
15
15
|
### Changes of the Latest Release
|
|
16
16
|
|
|
17
|
-
## Version 4.1.
|
|
18
|
-
-
|
|
17
|
+
## Version 4.1.3 (22.12.2022)
|
|
18
|
+
- Remove gulp
|
|
19
|
+
- Update dependencies
|
|
19
20
|
|
|
20
21
|
You can find all Release Notes [HERE](https://github.com/tudvari/docker-composer/blob/master/ReleaseNotes.md).
|
|
21
22
|
|
package/ReleaseNotes.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
1
8
|
export type DefinitionsDeployment = {
|
|
2
9
|
mode?: string;
|
|
3
10
|
replicas?: number;
|
|
@@ -22,7 +29,17 @@ export type DefinitionsDeployment = {
|
|
|
22
29
|
placement?: {
|
|
23
30
|
constraints?: string[];
|
|
24
31
|
};
|
|
25
|
-
} &
|
|
32
|
+
} & Deployment;
|
|
33
|
+
export type Labels =
|
|
34
|
+
| {
|
|
35
|
+
/**
|
|
36
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
37
|
+
* via the `patternProperty` ".+".
|
|
38
|
+
*/
|
|
39
|
+
[k: string]: string;
|
|
40
|
+
}
|
|
41
|
+
| string[];
|
|
42
|
+
export type Deployment = {
|
|
26
43
|
mode?: string;
|
|
27
44
|
replicas?: number;
|
|
28
45
|
labels?: Labels;
|
|
@@ -46,16 +63,7 @@ export type DefinitionsDeployment = {
|
|
|
46
63
|
placement?: {
|
|
47
64
|
constraints?: string[];
|
|
48
65
|
};
|
|
49
|
-
} | null
|
|
50
|
-
export type Labels =
|
|
51
|
-
| {
|
|
52
|
-
/**
|
|
53
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
54
|
-
* via the `patternProperty` ".+".
|
|
55
|
-
*/
|
|
56
|
-
[k: string]: string;
|
|
57
|
-
}
|
|
58
|
-
| string[];
|
|
66
|
+
} | null;
|
|
59
67
|
export type ListOrDict =
|
|
60
68
|
| {
|
|
61
69
|
/**
|
|
@@ -73,6 +81,7 @@ export type StringOrList = string | ListOfStrings;
|
|
|
73
81
|
*/
|
|
74
82
|
export type DefinitionsNetwork = {
|
|
75
83
|
driver?: string;
|
|
84
|
+
name?: string;
|
|
76
85
|
driver_opts?: {
|
|
77
86
|
/**
|
|
78
87
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
@@ -93,8 +102,10 @@ export type DefinitionsNetwork = {
|
|
|
93
102
|
};
|
|
94
103
|
internal?: boolean;
|
|
95
104
|
labels?: Labels;
|
|
96
|
-
} &
|
|
105
|
+
} & Network;
|
|
106
|
+
export type Network = {
|
|
97
107
|
driver?: string;
|
|
108
|
+
name?: string;
|
|
98
109
|
driver_opts?: {
|
|
99
110
|
/**
|
|
100
111
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
@@ -115,7 +126,7 @@ export type DefinitionsNetwork = {
|
|
|
115
126
|
};
|
|
116
127
|
internal?: boolean;
|
|
117
128
|
labels?: Labels;
|
|
118
|
-
} | null
|
|
129
|
+
} | null;
|
|
119
130
|
/**
|
|
120
131
|
* This interface was referenced by `PropertiesVolumes`'s JSON-Schema definition
|
|
121
132
|
* via the `patternProperty` "^[a-zA-Z0-9._-]+$".
|
|
@@ -135,7 +146,8 @@ export type DefinitionsVolume = {
|
|
|
135
146
|
name?: string;
|
|
136
147
|
};
|
|
137
148
|
labels?: Labels;
|
|
138
|
-
} &
|
|
149
|
+
} & Volume;
|
|
150
|
+
export type Volume = {
|
|
139
151
|
driver?: string;
|
|
140
152
|
driver_opts?: {
|
|
141
153
|
/**
|
|
@@ -150,7 +162,7 @@ export type DefinitionsVolume = {
|
|
|
150
162
|
name?: string;
|
|
151
163
|
};
|
|
152
164
|
labels?: Labels;
|
|
153
|
-
} | null
|
|
165
|
+
} | null;
|
|
154
166
|
|
|
155
167
|
export interface ConfigSchemaV30Json {
|
|
156
168
|
version: string;
|
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docker-composer",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "NodeJS module for generating docker-compose.yml from a json document.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "./node_modules/mocha/bin/mocha *Test.js",
|
|
7
|
+
"test": "./node_modules/mocha/bin/mocha.js *Test.js",
|
|
8
8
|
"coverage": "nyc npm run test",
|
|
9
|
-
"generate-ts-types": "
|
|
9
|
+
"generate-ts-types": "node compile-ts-types.js"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
|
-
"gulp",
|
|
13
12
|
"docker",
|
|
14
13
|
"compose",
|
|
15
14
|
"docker-compose.yml"
|
|
@@ -35,19 +34,11 @@
|
|
|
35
34
|
"jsonschema": "^1.4.0"
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
|
-
"
|
|
39
|
-
"atob": ">=2.1.2",
|
|
40
|
-
"copy-props": "^3.0.1",
|
|
41
|
-
"eslint": "8.11.0",
|
|
42
|
-
"glob-parent": "6.0.2",
|
|
43
|
-
"gulp": "^4.0.2",
|
|
44
|
-
"gulp-cli": "^2.3.0",
|
|
37
|
+
"eslint": "8.30.0",
|
|
45
38
|
"js-yaml": "^4.0.0",
|
|
46
|
-
"json-schema-to-typescript": "^
|
|
47
|
-
"
|
|
48
|
-
"mocha": "9.2.2",
|
|
39
|
+
"json-schema-to-typescript": "^11.0.0",
|
|
40
|
+
"mocha": "10.2.0",
|
|
49
41
|
"nyc": "^15.1.0",
|
|
50
|
-
"set-value": "^4.0.1",
|
|
51
42
|
"should": "13.2.3"
|
|
52
43
|
},
|
|
53
44
|
"nyc": {
|