From 405b12d6ddc46272230425e2fa0b4cc443f67549 Mon Sep 17 00:00:00 2001 From: Patrick Hupe Date: Fri, 16 Dec 2022 10:41:27 +0100 Subject: [PATCH 1/3] chore(deps): updated dependencies to aio-lib-cloudmanager and aio-lib-core-networking. fixes #662 chore(deps): also updated dependencies to all other aio libraries docs(test): added details for test execution (debug log output breaks test) BREAKING CHANGE: Using new major versions of aio libraries --- e2e/e2e.js | 4 +++- package.json | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/e2e/e2e.js b/e2e/e2e.js index e6346b77..3b1eeea0 100644 --- a/e2e/e2e.js +++ b/e2e/e2e.js @@ -1,5 +1,5 @@ /* -Copyright 2019 Adobe. All rights reserved. +Copyright 2022 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @@ -66,6 +66,8 @@ test('plugin-cloudmanager help test', async () => { console.log(chalk.green(` - done for ${chalk.bold(name)}`)) }) +/* Side condition: debug log output must not be enabled (DEBUG=* or LOG_LEVEL=debug), + or else the result in result.stdout is not valid JSON and cannot be parsed (line: JSON.parse...) */ test('plugin-cloudmanager list-programs', async () => { await bootstrapAuthContext() const packagejson = JSON.parse(fs.readFileSync('package.json').toString()) diff --git a/package.json b/package.json index c80d0eb2..3a521498 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,12 @@ "author": "Adobe Inc.", "bugs": "https://github.com/adobe/aio-cli-plugin-cloudmanager/issues", "dependencies": { - "@adobe/aio-lib-cloudmanager": "^2.0.0", - "@adobe/aio-lib-core-config": "^2.0.0", - "@adobe/aio-lib-core-errors": "^3.0.1", - "@adobe/aio-lib-core-logging": "^1.2.0", - "@adobe/aio-lib-core-networking": "^2.0.0", - "@adobe/aio-lib-ims": "^5.0.0", + "@adobe/aio-lib-cloudmanager": "^3.0.0", + "@adobe/aio-lib-core-config": "^3.0.0", + "@adobe/aio-lib-core-errors": "^3.1.1", + "@adobe/aio-lib-core-logging": "^2.0.0", + "@adobe/aio-lib-core-networking": "^3.0.0", + "@adobe/aio-lib-ims": "^6.0.1", "@oclif/command": "^1.6.1", "@oclif/config": "^1.15.1", "@oclif/parser": "^3.8.5", From 0256ff6e15285a17749553777ee7a0834c5477a8 Mon Sep 17 00:00:00 2001 From: Patrick Hupe Date: Fri, 16 Dec 2022 14:17:36 +0100 Subject: [PATCH 2/3] docs: updated docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc253ab5..e4c160de 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@