From 0793f741f849163c0b719f45f2c2dafbf8c8c9fb Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Thu, 3 Oct 2024 09:59:26 -0400 Subject: [PATCH] Change ZE API to dev dep for menu-item-sample Signed-off-by: Timothy Johnson --- vscode-extension-samples/menu-item-sample/package.json | 5 ++--- vscode-extension-samples/menu-item-sample/src/extension.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/vscode-extension-samples/menu-item-sample/package.json b/vscode-extension-samples/menu-item-sample/package.json index 512151c..4d2aec4 100644 --- a/vscode-extension-samples/menu-item-sample/package.json +++ b/vscode-extension-samples/menu-item-sample/package.json @@ -45,14 +45,13 @@ "lint": "eslint \"src/**/*.ts\"", "watch": "tsc -watch -p ./" }, - "dependencies": { - "@zowe/zowe-explorer-api": "^3.0.0" - }, + "dependencies": {}, "devDependencies": { "@types/node": "^18.19.14", "@types/vscode": "^1.53.2", "@typescript-eslint/eslint-plugin": "^5.42.0", "@typescript-eslint/parser": "^5.42.0", + "@zowe/zowe-explorer-api": "^3.0.0", "eslint": "^8.26.0", "typescript": "^5.1.3" } diff --git a/vscode-extension-samples/menu-item-sample/src/extension.ts b/vscode-extension-samples/menu-item-sample/src/extension.ts index 795622f..b94a4b2 100644 --- a/vscode-extension-samples/menu-item-sample/src/extension.ts +++ b/vscode-extension-samples/menu-item-sample/src/extension.ts @@ -1,7 +1,7 @@ // The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below import * as vscode from "vscode"; -import { IZoweTreeNode } from "@zowe/zowe-explorer-api"; +import type { IZoweTreeNode } from "@zowe/zowe-explorer-api"; // This method is called when your extension is activated // Your extension is activated the very first time the command is executed