Skip to content

Commit

Permalink
This should help with merge conflicts between next and `update-next…
Browse files Browse the repository at this point in the history
…-2.14`

Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 committed Feb 9, 2024
1 parent cef104a commit 879181d
Show file tree
Hide file tree
Showing 123 changed files with 5,044 additions and 5,459 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/*

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
name: Process Label Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Process Label Action
uses: hramos/respond-to-issue-based-on-label@v2
uses: dessant/label-actions@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: '.github/label-actions.yml'
github-token: ${{ secrets.GITHUB_TOKEN }}
config-path: '.github/label-actions.yml'
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ github.ref }}

- name: Use Node.js LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: '18.x'

- name: Install pnpm and Lerna
run: npm install -g pnpm lerna@6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
any-of-issue-labels: "needs more info, pending closure"
close-issue-message: >
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/zowe-explorer-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -50,32 +50,33 @@ jobs:
NODE_OPTIONS: --max_old_space_size=4096

- name: Upload test results
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
with:
name: zowe-explorer-results
path: packages/zowe-explorer/results/

- name: Upload API test results
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
with:
name: zowe-explorer-api-results
path: packages/zowe-explorer-api/results/

- name: Upload Results to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
env_vars: OS,NODE
token: ${{ secrets.CODECOV_TOKEN }}

- name: Package VSIX
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
run: pnpm package
working-directory: packages/zowe-explorer

- name: Archive VSIX artifact
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: actions/upload-artifact@v4
with:
name: zowe-explorer-vsix
path: dist/*.vsix
16 changes: 8 additions & 8 deletions .github/workflows/zowe-explorer-ftp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -50,27 +50,27 @@ jobs:
NODE_OPTIONS: --max_old_space_size=4096

- name: Upload test results
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
with:
name: zowe-explorer-ftp-extension-results
path: packages/zowe-explorer-ftp-extension/results/

# Run codecov upload for only one run
# - name: Upload Results to Codecov
# if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
# if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
# uses: codecov/codecov-action@v3
# with:
# env_vars: OS,NODE

- name: Package VSIX
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
run: pnpm package
working-directory: packages/zowe-explorer-ftp-extension

- name: Archive VSIX artifact
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: actions/upload-artifact@v4
with:
name: zowe-explorer-ftp-extension-vsix
path: dist/*.vsix
4 changes: 2 additions & 2 deletions .github/workflows/zowe-explorer-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
44 changes: 44 additions & 0 deletions docs/early-access/v3/Extenders.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,50 @@
- `ZoweVsCodeExtension.promptCredentials` removed in favor of `ZoweVsCodeExtension.updateCredentials`.
- Changed ZoweExplorerExtender.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument
- Changed IApiExplorerExtenders.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument
- Changed `ICommon`, `IMvs`, `IUss`, `IJes` interfaces to be grouped in `MainframeInteraction` namespace.
- Renamed `WebviewOptions` interface to `GuiWebviewOptions` and moved to `GuiOptions` namespace.
- Moved `GuiMessageOptions` interface to `GuiOptions` namespace.
- Moved all types to the `Types` interface, these types include:
- IZoweNodeType
- IZoweUSSNodeType
- `NodeInteraction` renamed to `ZoweNodeInteraction`
- IApiRegisterClient
- WebviewUris
- FileAttributes
- PollRequest
- DatasetStats
- KeytarModule
- DataSetAllocTemplate
- Appender
- LogJsConfig
- Moved `MessageSeverity` enum to it's own class.
- Moved `IUrlValidator`, `IProfileValidation`, `IValidationSetting`, `ValidProfileEnum` and `EvenTypes` to `Validation` namespace.
- Moved `getZoweDir` and `getFullPath` to `FileManagement` class.
- Renamed `IUrlValidator` to `IValidationUrl`.
- Renamed `IProfileValidation` to `IValidationProfile`.
- Renamed `ValidProfileEnum` to `ValidationType`.
- Wrapped `ZosmfApiCommon`, `ZosmfUssApi`, `ZosmfMvsApi`, `ZosmfJesApi` and `ZosmfCommandApi` inside `ZoweExplorerZosmf` namespace.
- Renamed `ZosmfApiCommon` to `CommonApi`.
- Renamed `ZosmfUssApi` to `UssApi`.
- Renamed `ZosmfMvsApi` to `MvsApi`.
- Renamed `ZosmfJesApi` to `JesApi`.
- Renamed `ZosmfCommandApi` to `CommandApi`.
- Renamed `ZoweExplorerTreeApi` to `IZoweExplorerTreeApi`.
- Moved `NodeAction` enum to its own class `ZoweTreeNodeActions`.
- Renamed `NodeAction` enum to `ZoweTreeNodeActions`.
- Wrapped all content sorting related content to be contained in `Sorting` namespace, such as:
- DataSetSortOpts
- SortDirection
- DatasetFilterOpts
- DatasetFilter
- NodeSort
- JobSortOpts
- Renamed `files` class to `FileManagement`.
- Renamed `IPromptCredentials` into `PromptCredentials`.
- Wrapped `IPromptCredentialsCommonOptions`, `IPromptCredentialsOptions` and `IPromptUserPassOptions` in `PromptCredentialsOptions` namespace.
- Renamed `IPromptCredentialsCommonOptions` to `CommonOptions`.
- Renamed `IPromptcredentialsOptions` to `ComplexOptions`.
- Renamed `IPromptUserPassOptions` to `UserPassOptions`.

## New APIs Added

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.0-next.202401241448",
"version": "3.0.0-next.202402071248",
"command": {
"version": {
"forcePublish": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"ts-jest": "^29.0.3",
"ts-loader": "^8.2.0",
"ts-node": "^9.1.1",
"typescript": "^4.5.3",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-zowe-explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-zowe-explorer",
"version": "3.0.0-next.202401241448",
"version": "3.0.0-next.202402071248",
"description": "Custom ESLint Rules for ZOWE Explorer",
"keywords": [
"eslint",
Expand Down
8 changes: 8 additions & 0 deletions packages/zowe-explorer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t
- `IZoweUSSTreeNode.setBinary()` -> `IZoweUSSTreeNode.setEncoding()`
- **Breaking:** Removed `ZoweTreeNode.binary`, `ZoweTreeNode.binaryFiles`, and `ZoweTreeNode.shortLabel`. These properties are not applicable for all tree nodes and should be defined in subclasses of `ZoweTreeNode` if necessary.

## `3.0.0-next.202402071248`

### New features and enhancements

- Grouped common methods into singleton classes [#2109](https://github.com/zowe/vscode-extension-for-zowe/issues/2109)

### Bug fixes

## `3.0.0-next.202401241448`

### New features and enhancements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import { Gui, IZoweTree, IZoweTreeNode } from "../../../src/";

import * as vscode from "vscode";
import { DOUBLE_CLICK_SPEED_MS } from "../../../src/globals";
import { Constants } from "../../../src/globals";
jest.mock("vscode");

function createGlobalMocks() {
Expand Down Expand Up @@ -198,10 +198,10 @@ describe("Gui.utils - unit tests", () => {
};

it("returns false when the second click event is after the DOUBLE_CLICK_SPEED_MS window", () => {
testDoubleClickEvent(DOUBLE_CLICK_SPEED_MS * 4, false);
testDoubleClickEvent(Constants.DOUBLE_CLICK_SPEED_MS * 4, false);
});

it("returns true when the second click event is within the DOUBLE_CLICK_SPEED_MS window", () => {
testDoubleClickEvent(DOUBLE_CLICK_SPEED_MS / 8, true);
testDoubleClickEvent(Constants.DOUBLE_CLICK_SPEED_MS / 8, true);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

import { imperative } from "@zowe/cli";
import { IZoweLogger, MessageSeverity } from "../../../src/logger/IZoweLogger";
import { MessageSeverity, IZoweLogger } from "../../../src/logger";
import * as loggerConfig from "../../../src/log4jsconfig.json";

jest.mock("fs");
Expand Down
Loading

0 comments on commit 879181d

Please sign in to comment.