Skip to content

Commit 879eb75

Browse files
committedJun 24, 2020
feat: auto_compose_version (acv) to specify compose manifest ver
1 parent fe12322 commit 879eb75

File tree

4 files changed

+1700
-1761
lines changed

4 files changed

+1700
-1761
lines changed
 

‎bin/cmds/test.js

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ exports.builder = (yargs) => (
3535
type: 'boolean',
3636
default: false,
3737
})
38+
.option('auto_compose_version', {
39+
type: 'string',
40+
default: '3',
41+
alias: 'acv',
42+
})
3843
.option('with_local_compose', {
3944
type: 'boolean',
4045
default: false,

‎bin/cmds/test_cmds/auto-compose.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.handler = (argv) => {
2626

2727
// Header of the file
2828
const compose = {};
29-
compose.version = '3';
29+
compose.version = argv.acv;
3030
compose.networks = {};
3131
compose.services = {};
3232

‎package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -19,44 +19,44 @@
1919
"access": "public"
2020
},
2121
"engine": {
22-
"node": ">= 10.15.0"
22+
"node": ">= 12.15.0"
2323
},
2424
"devDependencies": {
25-
"@babel/cli": "^7.8.4",
26-
"@babel/core": "^7.9.0",
27-
"@babel/plugin-proposal-class-properties": "^7.8.3",
28-
"@babel/plugin-transform-strict-mode": "^7.8.3",
29-
"codecov": "^3.6.5",
25+
"@babel/cli": "^7.10.3",
26+
"@babel/core": "^7.10.3",
27+
"@babel/plugin-proposal-class-properties": "^7.10.1",
28+
"@babel/plugin-transform-strict-mode": "^7.10.1",
29+
"codecov": "^3.7.0",
3030
"cross-env": "^7.0.2",
31-
"eslint": "^6.8.0",
32-
"eslint-config-makeomatic": "^4.0.0",
33-
"eslint-plugin-import": "^2.20.1",
31+
"eslint": "^7.3.1",
32+
"eslint-config-makeomatic": "^5.0.2",
33+
"eslint-plugin-import": "^2.21.2",
3434
"eslint-plugin-promise": "^4.2.1",
35-
"eslint-plugin-unicorn": "^17.2.0",
36-
"jest": "^25.1.0",
35+
"eslint-plugin-unicorn": "^20.1.0",
36+
"jest": "^26.1.0",
3737
"tempy": "^0.5.0"
3838
},
3939
"dependencies": {
40-
"@commitlint/cli": "^8.3.5",
40+
"@commitlint/cli": "^9.0.1",
4141
"bluebird": "^3.7.2",
42-
"chrome-launcher": "^0.13.0",
42+
"chrome-launcher": "^0.13.3",
4343
"chrome-remote-interface": "^0.28.1",
4444
"death": "^1.1.0",
4545
"find-up": "^4.1.0",
4646
"glob": "^7.1.6",
4747
"husky": "^4.2.3",
4848
"hyperid": "^2.0.3",
4949
"is": "^3.2.1",
50-
"js-yaml": "^3.13.1",
50+
"js-yaml": "^3.14.0",
5151
"lodash.get": "^4.4.2",
5252
"lodash.merge": "^4.6.2",
5353
"lodash.set": "^4.3.2",
54-
"ms-conf": "^6.0.1",
54+
"ms-conf": "^7.0.0",
5555
"npm-path": "^2.0.4",
56-
"pino": "^5.17.0",
56+
"pino": "^6.3.2",
5757
"read-pkg": "^5.2.0",
5858
"rimraf": "^3.0.2",
59-
"semantic-release": "17.0.4",
59+
"semantic-release": "17.1.0",
6060
"shelljs": "^0.8.3",
6161
"strip-final-newline": "^2.0.0",
6262
"yargs": "^15.3.1"

‎yarn.lock

+1,677-1,743
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.