@adobe/helix-onedrive-cli 1.9.3 → 1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,32 @@
1
+ ## [1.9.7](https://github.com/adobe/helix-onedrive-cli/compare/v1.9.6...v1.9.7) (2021-10-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/helix-shared-config to v1.4.2 ([183a3ce](https://github.com/adobe/helix-onedrive-cli/commit/183a3ce0c1f2c59d8efd2a5dcbb5bf67d5d1bdbf))
7
+
8
+ ## [1.9.6](https://github.com/adobe/helix-onedrive-cli/compare/v1.9.5...v1.9.6) (2021-10-08)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-onedrive-support to v6 ([#217](https://github.com/adobe/helix-onedrive-cli/issues/217)) ([416567c](https://github.com/adobe/helix-onedrive-cli/commit/416567c4a4306fad375289a75d3e079a29f34238))
14
+ * use new helix-onedrive-support and return value from uploadDriveItem ([#215](https://github.com/adobe/helix-onedrive-cli/issues/215)) ([87ee04a](https://github.com/adobe/helix-onedrive-cli/commit/87ee04a2aff31cfc1312ed3cac3b146860689779))
15
+
16
+ ## [1.9.5](https://github.com/adobe/helix-onedrive-cli/compare/v1.9.4...v1.9.5) (2021-10-08)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **deps:** update dependency @adobe/helix-onedrive-support to v5.2.2 ([c7b46bb](https://github.com/adobe/helix-onedrive-cli/commit/c7b46bb3cb7b1dd0df3a0e8ed16b1fc9a5b72cba))
22
+
23
+ ## [1.9.4](https://github.com/adobe/helix-onedrive-cli/compare/v1.9.3...v1.9.4) (2021-10-08)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **deps:** update dependency @adobe/helix-onedrive-support to v5.2.1 ([c6ea5e5](https://github.com/adobe/helix-onedrive-cli/commit/c6ea5e5faa4b4b347c38b150125575bdc23115e0))
29
+
1
30
  ## [1.9.3](https://github.com/adobe/helix-onedrive-cli/compare/v1.9.2...v1.9.3) (2021-10-02)
2
31
 
3
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-onedrive-cli",
3
- "version": "1.9.3",
3
+ "version": "1.9.7",
4
4
  "description": "Helix OneDrive CLI",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -26,8 +26,8 @@
26
26
  "homepage": "https://github.com/adobe/helix-onedrive-cli#readme",
27
27
  "dependencies": {
28
28
  "@adobe/helix-log": "5.0.5",
29
- "@adobe/helix-onedrive-support": "5.1.1",
30
- "@adobe/helix-shared-config": "1.3.2",
29
+ "@adobe/helix-onedrive-support": "6.0.0",
30
+ "@adobe/helix-shared-config": "1.4.2",
31
31
  "chalk": "4.1.2",
32
32
  "cookie-parser": "1.4.5",
33
33
  "dotenv": "10.0.0",
package/src/onedrive.js CHANGED
@@ -249,7 +249,9 @@ async function upload(args) {
249
249
  const od = await getOneDriveClient();
250
250
  info(chalk`uploading {yellow ${path.relative('.', src)}} to {yellow ${dst}}`);
251
251
  const buf = await fs.readFile(src);
252
- await od.uploadDriveItem(buf, driveItem, dst);
252
+ const item = await od.uploadDriveItem(buf, driveItem, dst);
253
+
254
+ process.stdout.write(chalk` {yellow ${item.id}} /${item.name}\n`);
253
255
  }
254
256
 
255
257
  async function createSubscription(args) {