bump-cli 2.9.0-0 → 2.9.1
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/dist/commands/deploy.js +3 -3
- package/oclif.manifest.json +6 -4
- package/package.json +2 -2
package/dist/commands/deploy.js
CHANGED
|
@@ -16,13 +16,13 @@ export default class Deploy extends BaseCommand {
|
|
|
16
16
|
`Deploy a new version of ${chalk.underline('an existing documentation')}
|
|
17
17
|
|
|
18
18
|
${chalk.dim('$ bump deploy FILE --doc <your_doc_id_or_slug> --token <your_doc_token>')}
|
|
19
|
-
* Let's deploy
|
|
19
|
+
* Let's deploy on Bump.sh... done
|
|
20
20
|
* Your new documentation version will soon be ready
|
|
21
21
|
`,
|
|
22
22
|
`Deploy a new version of ${chalk.underline('an existing documentation attached to a hub')}
|
|
23
23
|
|
|
24
24
|
${chalk.dim('$ bump deploy FILE --doc <doc_slug> --hub <your_hub_id_or_slug> --token <your_doc_token>')}
|
|
25
|
-
* Let's deploy
|
|
25
|
+
* Let's deploy on Bump.sh... done
|
|
26
26
|
* Your new documentation version will soon be ready
|
|
27
27
|
`,
|
|
28
28
|
`Deploy a whole directory of ${chalk.underline('API definitions files to a hub')}
|
|
@@ -44,7 +44,7 @@ Let's deploy a new version to your my-jobs-service documentation on Bump.sh... d
|
|
|
44
44
|
`${chalk.underline('Validate a new documentation version')} before deploying it
|
|
45
45
|
|
|
46
46
|
${chalk.dim('$ bump deploy FILE --dry-run --doc <doc_slug> --token <your_doc_token>')}
|
|
47
|
-
* Let's validate
|
|
47
|
+
* Let's validate on Bump.sh... done
|
|
48
48
|
* Definition is valid
|
|
49
49
|
`,
|
|
50
50
|
];
|
package/oclif.manifest.json
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
},
|
|
12
12
|
"description": "Create a new version of your documentation from the given file or URL.",
|
|
13
13
|
"examples": [
|
|
14
|
-
"Deploy a new version of an existing documentation\n\n$ bump deploy FILE --doc <your_doc_id_or_slug> --token <your_doc_token>\n* Let's deploy
|
|
15
|
-
"Deploy a new version of an existing documentation attached to a hub\n\n$ bump deploy FILE --doc <doc_slug> --hub <your_hub_id_or_slug> --token <your_doc_token>\n* Let's deploy
|
|
14
|
+
"Deploy a new version of an existing documentation\n\n$ bump deploy FILE --doc <your_doc_id_or_slug> --token <your_doc_token>\n* Let's deploy on Bump.sh... done\n* Your new documentation version will soon be ready\n",
|
|
15
|
+
"Deploy a new version of an existing documentation attached to a hub\n\n$ bump deploy FILE --doc <doc_slug> --hub <your_hub_id_or_slug> --token <your_doc_token>\n* Let's deploy on Bump.sh... done\n* Your new documentation version will soon be ready\n",
|
|
16
16
|
"Deploy a whole directory of API definitions files to a hub\n\n$ bump deploy DIR --filename-pattern *-{slug}-api --hub <hub_slug> --token <hub_token>\nWe've found 2 valid API definitions to deploy\n└─ DIR\n └─ source-my-service-api.yml (OpenAPI spec version 3.1.0)\n └─ source-my-jobs-service-api.yml (AsyncAPI spec version 2.6.0)\n\nLet's deploy those documentations to your <hub_slug> hub on Bump.sh\n\n* Your new documentation version will soon be ready\nLet's deploy a new version to your my-service documentation on Bump.sh... done\n\n* Your new documentation version will soon be ready\nLet's deploy a new version to your my-jobs-service documentation on Bump.sh... done\n",
|
|
17
|
-
"Validate a new documentation version before deploying it\n\n$ bump deploy FILE --dry-run --doc <doc_slug> --token <your_doc_token>\n* Let's validate
|
|
17
|
+
"Validate a new documentation version before deploying it\n\n$ bump deploy FILE --dry-run --doc <doc_slug> --token <your_doc_token>\n* Let's validate on Bump.sh... done\n* Definition is valid\n"
|
|
18
18
|
],
|
|
19
19
|
"flags": {
|
|
20
20
|
"auto-create": {
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"description": "Documentation or Hub token. Can be provided via BUMP_TOKEN environment variable",
|
|
98
98
|
"name": "token",
|
|
99
99
|
"required": true,
|
|
100
|
+
"default": "99f52837852249b328c0a00249f846a3",
|
|
100
101
|
"hasDynamicHelp": false,
|
|
101
102
|
"multiple": false,
|
|
102
103
|
"type": "option"
|
|
@@ -190,6 +191,7 @@
|
|
|
190
191
|
"description": "Documentation or Hub token. Can be provided via BUMP_TOKEN environment variable",
|
|
191
192
|
"name": "token",
|
|
192
193
|
"required": false,
|
|
194
|
+
"default": "99f52837852249b328c0a00249f846a3",
|
|
193
195
|
"hasDynamicHelp": false,
|
|
194
196
|
"multiple": false,
|
|
195
197
|
"type": "option"
|
|
@@ -277,5 +279,5 @@
|
|
|
277
279
|
"strict": true
|
|
278
280
|
}
|
|
279
281
|
},
|
|
280
|
-
"version": "2.9.
|
|
282
|
+
"version": "2.9.1"
|
|
281
283
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bump-cli",
|
|
3
|
-
"description": "The Bump CLI is used to interact with your API documentation hosted on Bump by using the API of developers.bump.sh",
|
|
4
|
-
"version": "2.9.
|
|
3
|
+
"description": "The Bump CLI is used to interact with your API documentation hosted on Bump.sh by using the API of developers.bump.sh",
|
|
4
|
+
"version": "2.9.1",
|
|
5
5
|
"author": "Paul Bonaud <paulr@bump.sh>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"bump": "./bin/run.js"
|