Skip to content

Commit

Permalink
Final touch-ups
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Feb 22, 2024
1 parent 7cb6aff commit 347bd79
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 472 deletions.
430 changes: 1 addition & 429 deletions npm-shrinkwrap.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All notable changes to the Zowe CLI package will be documented in this file.

## Recent Changes

- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated additional dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- Enhancement: Added new `zowe zos-jobs search job` command, which allows the user to search spool files for a specified string or regular expresion.
- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)
- BugFix: Updated dependencies for technical currency. [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202402132108`

Expand Down
6 changes: 3 additions & 3 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Zowe core SDK package will be documented in this file

## Recent Changes

- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated additional dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)
- BugFix: Updated dependencies for technical currency. [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202401191954`

Expand Down
6 changes: 3 additions & 3 deletions packages/imperative/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ All notable changes to the Imperative package will be documented in this file.

## Recent Changes

- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated additional dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402221834`

- Enhancement: Added multiple APIs to the `ProfileInfo` class to help manage schemas between client applications. [#2012](https://github.com/zowe/zowe-cli/issues/2012)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)
- BugFix: Updated dependencies for technical currency. [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202402132108`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const updateAndGetRemovedTypes = (npmPackage: string): string[] => {
}

return typesToRemove;
}
};

/**
* @TODO - allow multiple packages to be uninstalled?
Expand Down
31 changes: 19 additions & 12 deletions packages/imperative/src/utilities/src/CliUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { CommandProfiles, ICommandOptionDefinition, ICommandPositionalDefinition
import { ICommandArguments } from "../../cmd/src/doc/args/ICommandArguments";
import { IProfile } from "../../profiles";
import { IPromptOptions } from "../../cmd/src/doc/response/api/handler/IPromptOptions";
import { read } from "read";

/**
* Cli Utils contains a set of static methods/helpers that are CLI related (forming options, censoring args, etc.)
Expand Down Expand Up @@ -484,24 +485,30 @@ export class CliUtils {
secToWait = maxSecToWait;
}

const { read } = require("read");
return read({
input: process.stdin,
output: process.stdout,
terminal: true,
prompt: message,
silent: opts?.hideText,
replace: opts?.maskChar,
timeout: secToWait ? (secToWait * 1000) : null // eslint-disable-line @typescript-eslint/no-magic-numbers
}).catch((err: any) => {
let response: string;
try {
response = await read({
input: process.stdin,
output: process.stdout,
terminal: true,
prompt: message,
silent: opts?.hideText,
replace: opts?.maskChar,
timeout: secToWait ? (secToWait * 1000) : null // eslint-disable-line @typescript-eslint/no-magic-numbers
});
if (opts?.hideText) {
process.stdout.write("\r\n");
}
} catch (err) {
if (err.message === "canceled") {
process.exit(2);

Check warning on line 504 in packages/imperative/src/utilities/src/CliUtils.ts

View check run for this annotation

Codecov / codecov/patch

packages/imperative/src/utilities/src/CliUtils.ts#L504

Added line #L504 was not covered by tests
} else if (err.message === "timed out") {
return "";
return null;
} else {
throw err;

Check warning on line 508 in packages/imperative/src/utilities/src/CliUtils.ts

View check run for this annotation

Codecov / codecov/patch

packages/imperative/src/utilities/src/CliUtils.ts#L506-L508

Added lines #L506 - L508 were not covered by tests
}
});
}
return response;
}

/**
Expand Down
6 changes: 3 additions & 3 deletions packages/provisioning/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Zowe provisioning SDK package will be documented in t

## Recent Changes

- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated additional dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)
- BugFix: Updated dependencies for technical currency. [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202311282012`

Expand Down
2 changes: 1 addition & 1 deletion packages/secrets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to the Zowe Secrets SDK package will be documented in this f

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency
- BugFix: Updated dependencies for technical currency. [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202311132045`

Expand Down
4 changes: 2 additions & 2 deletions packages/workflows/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS workflows SDK package will be documented in

## Recent Changes

- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202311132045`

Expand Down
4 changes: 2 additions & 2 deletions packages/zosconsole/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS console SDK package will be documented in t

## Recent Changes

- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202311132045`

Expand Down
6 changes: 3 additions & 3 deletions packages/zosfiles/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Zowe z/OS files SDK package will be documented in thi

## Recent Changes

- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated additional dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)
- BugFix: Updated dependencies for technical currency. [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202402132108`

Expand Down
4 changes: 2 additions & 2 deletions packages/zosjobs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS jobs SDK package will be documented in this

## Recent Changes

- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

Expand Down
4 changes: 2 additions & 2 deletions packages/zoslogs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS logs SDK package will be documented in this

## Recent Changes

- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202311132045`

Expand Down
4 changes: 2 additions & 2 deletions packages/zosmf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OSMF SDK package will be documented in this fi

## Recent Changes

- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402021649`

Expand Down
4 changes: 2 additions & 2 deletions packages/zostso/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS TSO SDK package will be documented in this

## Recent Changes

- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402021649`

Expand Down
4 changes: 2 additions & 2 deletions packages/zosuss/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS USS SDK package will be documented in this

## Recent Changes

- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated additional dependencies for technical currency. [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0. [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

Expand Down

0 comments on commit 347bd79

Please sign in to comment.