bump-cli 2.9.6 → 2.9.7
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/core/diff.js +2 -2
- package/dist/definition.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/core/diff.js
CHANGED
|
@@ -109,9 +109,9 @@ export class Diff {
|
|
|
109
109
|
if (!documentation || !token) {
|
|
110
110
|
throw new Error('Please login to bump (with documentation & token) when using a single file argument');
|
|
111
111
|
}
|
|
112
|
-
diffVersion = await this.createVersion(file1, documentation, token, hub, branch);
|
|
112
|
+
diffVersion = await this.createVersion(file1, documentation, token, hub, branch, undefined, overlays);
|
|
113
113
|
if (file2) {
|
|
114
|
-
diffVersion = await this.createVersion(file2, documentation, token, hub, branch, diffVersion && diffVersion.id);
|
|
114
|
+
diffVersion = await this.createVersion(file2, documentation, token, hub, branch, diffVersion && diffVersion.id, overlays);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
if (diffVersion) {
|
package/dist/definition.js
CHANGED
|
@@ -138,6 +138,7 @@ class API {
|
|
|
138
138
|
// Alternatively we can apply all overlays in parallel
|
|
139
139
|
// https://stackoverflow.com/questions/48957022/unexpected-await-inside-a-loop-no-await-in-loop
|
|
140
140
|
for (const overlayFile of overlays) {
|
|
141
|
+
debug('bump-cli:definition')(`Applying overlay (${overlayFile}) to definition (location: ${this.location})`);
|
|
141
142
|
await this.applyOverlay(overlayFile);
|
|
142
143
|
}
|
|
143
144
|
/* eslint-enable no-await-in-loop */
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bump-cli",
|
|
3
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.
|
|
4
|
+
"version": "2.9.7",
|
|
5
5
|
"author": "Paul Bonaud <paulr@bump.sh>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"bump": "./bin/run.js"
|