From 4d3d986cfb7af803c212b0207fe8e49b8746a914 Mon Sep 17 00:00:00 2001 From: frye-t Date: Fri, 26 Apr 2024 12:56:31 -0400 Subject: [PATCH] Fixed package.nls.json error --- package.nls.json | 427 ++++------------------------------------------- 1 file changed, 35 insertions(+), 392 deletions(-) diff --git a/package.nls.json b/package.nls.json index c96a06d1..426b804f 100644 --- a/package.nls.json +++ b/package.nls.json @@ -1,394 +1,37 @@ { - "name": "zenml-vscode", - "publisher": "ZenML", - "displayName": "ZenML Studio", - "description": "Integrates ZenML directly into VS Code, enhancing machine learning workflow with support for pipelines, stacks, and server management.", - "version": "0.0.4", - "icon": "resources/extension-logo.png", - "preview": true, - "license": "Apache-2.0", - "categories": [ - "Machine Learning", - "Visualization" - ], - "repository": { - "type": "git", - "url": "https://github.com/zenml-io/vscode-zenml" - }, - "keywords": [ - "zenml", - "ml", - "machine learning", - "mlops", - "stack management", - "pipeline management", - "development tools" - ], - "engines": { - "vscode": "^1.86.0" - }, - "activationEvents": [ - "onStartupFinished", - "onLanguage:python", - "workspaceContains:*.py" - ], - "extensionDependencies": [ - "ms-python.python" - ], - "capabilities": { - "virtualWorkspaces": { - "supported": false, - "description": "Virtual Workspaces are not supported with ." - } - }, - "main": "./dist/extension.js", - "serverInfo": { - "name": "ZenML", - "module": "zenml-python" - }, - "scripts": { - "vscode:prepublish": "npm run package", - "compile": "webpack", - "watch": "webpack --watch", - "package": "webpack --mode production --devtool source-map --config ./webpack.config.js", - "compile-tests": "tsc -p . --outDir out", - "watch-tests": "tsc -p . -w --outDir out", - "pretest": "npm run compile-tests && npm run compile && npm run lint", - "format": "prettier --ignore-path .gitignore --write \"**/*.+(ts|json)\"", - "lint": "eslint src --ext ts", - "test": "vscode-test", - "vsce-package": "vsce package -o zenml.vsix" - }, - "contributes": { - "configuration": { - "title": "ZenML", - "properties": { - "zenml-python.args": { - "default": [], - "description": "Arguments passed in. Each argument is a separate item in the array.", - "items": { - "type": "string" - }, - "scope": "resource", - "type": "array" - }, - "zenml-python.path": { - "default": [], - "scope": "resource", - "items": { - "type": "string" - }, - "type": "array" - }, - "zenml-python.importStrategy": { - "default": "useBundled", - "enum": [ - "useBundled", - "fromEnvironment" - ], - "enumDescriptions": [ - "Always use the bundled version of ``.", - "Use `` from environment, fallback to bundled version only if `` not available in the environment." - ], - "scope": "window", - "type": "string" - }, - "zenml-python.interpreter": { - "default": [], - "description": "When set to a path to python executable, extension will use that to launch the server and any subprocess.", - "scope": "resource", - "items": { - "type": "string" - }, - "type": "array" - }, - "zenml-python.showNotifications": { - "default": "off", - "description": "Controls when notifications are shown by this extension.", - "enum": [ - "off", - "onError", - "onWarning", - "always" - ], - "enumDescriptions": [ - "All notifications are turned off, any errors or warning are still available in the logs.", - "Notifications are shown only in the case of an error.", - "Notifications are shown for errors and warnings.", - "Notifications are show for anything that the server chooses to show." - ], - "scope": "machine", - "type": "string" - }, - "zenml.serverUrl": { - "type": "string", - "default": "", - "description": "ZenML Server URL" - }, - "zenml.accessToken": { - "type": "string", - "default": "", - "description": "Access token for the ZenML server" - }, - "zenml.activeStackId": { - "type": "string", - "default": "", - "description": "Active stack id for the ZenML server" - } - } - }, - "commands": [ - { - "command": "zenml.promptForInterpreter", - "title": "Select Python Interpreter", - "category": "ZenML" - }, - { - "command": "zenml-python.restart", - "title": "Restart LSP Server", - "category": "ZenML" - }, - { - "command": "zenml.connectServer", - "title": "Connect", - "category": "ZenML Server" - }, - { - "command": "zenml.disconnectServer", - "title": "Disconnect", - "category": "ZenML Server" - }, - { - "command": "zenml.refreshServerStatus", - "title": "Refresh Server Status", - "icon": "$(refresh)", - "category": "ZenML Server" - }, - { - "command": "zenml.setStackItemsPerPage", - "title": "Set Stacks Per Page", - "icon": "$(layers)", - "category": "ZenML Stacks" - }, - { - "command": "zenml.refreshStackView", - "title": "Refresh Stack View", - "icon": "$(refresh)", - "category": "ZenML Stacks" - }, - { - "command": "zenml.getActiveStack", - "title": "Get Active Stack", - "category": "ZenML Stacks" - }, - { - "command": "zenml.renameStack", - "title": "Rename Stack", - "icon": "$(edit)", - "category": "ZenML Stacks" - }, - { - "command": "zenml.setActiveStack", - "title": "Set Active Stack", - "icon": "$(check)", - "category": "ZenML Stacks" - }, - { - "command": "zenml.copyStack", - "title": "Copy Stack", - "icon": "$(copy)", - "category": "ZenML" - }, - { - "command": "zenml.goToStackUrl", - "title": "Go to URL", - "icon": "$(globe)", - "category": "ZenML" - }, - { - "command": "zenml.setPipelineRunsPerPage", - "title": "Set Runs Per Page", - "icon": "$(layers)", - "category": "ZenML Pipeline Runs" - }, - { - "command": "zenml.refreshPipelineView", - "title": "Refresh Pipeline View", - "icon": "$(refresh)", - "category": "ZenML Pipeline Runs" - }, - { - "command": "zenml.deletePipelineRun", - "title": "Delete Pipeline Run", - "icon": "$(trash)", - "category": "ZenML Pipeline Runs" - }, - { - "command": "zenml.goToPipelineUrl", - "title": "Go to URL", - "icon": "$(globe)", - "category": "ZenML Pipeline Runs" - }, - { - "command": "zenml.refreshEnvironmentView", - "title": "Refresh Environment View", - "icon": "$(refresh)", - "category": "ZenML Environment" - }, - { - "command": "zenml.setPythonInterpreter", - "title": "Switch Python Interpreter", - "icon": "$(arrow-swap)", - "category": "ZenML Environment" - }, - { - "command": "zenml.restartLspServer", - "title": "Restart LSP Server", - "icon": "$(debug-restart)", - "category": "ZenML Environment" - } - ], - "viewsContainers": { - "activitybar": [ - { - "id": "zenml", - "title": "ZenML", - "icon": "resources/logo.png" - } - ] - }, - "views": { - "zenml": [ - { - "id": "zenmlServerView", - "name": "Server", - "icon": "$(vm)" - }, - { - "id": "zenmlStackView", - "name": "Stacks", - "icon": "$(layers)" - }, - { - "id": "zenmlPipelineView", - "name": "Pipeline Runs", - "icon": "$(beaker)" - }, - { - "id": "zenmlEnvironmentView", - "name": "Environment", - "icon": "$(server-environment)" - } - ] - }, - "menus": { - "view/title": [ - { - "when": "serverCommandsRegistered && view == zenmlServerView", - "command": "zenml.connectServer", - "group": "navigation" - }, - { - "when": "serverCommandsRegistered && view == zenmlServerView", - "command": "zenml.disconnectServer", - "group": "navigation" - }, - { - "when": "serverCommandsRegistered && view == zenmlServerView", - "command": "zenml.refreshServerStatus", - "group": "navigation" - }, - { - "when": "stackCommandsRegistered && view == zenmlStackView", - "command": "zenml.setStackItemsPerPage", - "group": "navigation@1" - }, - { - "when": "stackCommandsRegistered && view == zenmlStackView", - "command": "zenml.refreshStackView", - "group": "navigation@2" - }, - { - "when": "pipelineCommandsRegistered && view == zenmlPipelineView", - "command": "zenml.setPipelineRunsPerPage", - "group": "navigation@1" - }, - { - "when": "pipelineCommandsRegistered && view == zenmlPipelineView", - "command": "zenml.refreshPipelineView", - "group": "navigation@2" - }, - { - "when": "environmentCommandsRegistered && view == zenmlEnvironmentView", - "command": "zenml.restartLspServer", - "group": "navigation" - } - ], - "view/item/context": [ - { - "when": "stackCommandsRegistered && view == zenmlStackView && viewItem == stack", - "command": "zenml.setActiveStack", - "group": "inline@1" - }, - { - "when": "stackCommandsRegistered && view == zenmlStackView && viewItem == stack", - "command": "zenml.renameStack", - "group": "inline@2" - }, - { - "when": "stackCommandsRegistered && view == zenmlStackView && viewItem == stack", - "command": "zenml.copyStack", - "group": "inline@3" - }, - { - "when": "stackCommandsRegistered && view == zenmlStackView && viewItem == stack", - "command": "zenml.goToStackUrl", - "group": "inline@4" - }, - { - "when": "pipelineCommandsRegistered && view == zenmlPipelineView && viewItem == pipelineRun", - "command": "zenml.deletePipelineRun", - "group": "inline@1" - }, - { - "when": "pipelineCommandsRegistered && view == zenmlPipelineView && viewItem == pipelineRun", - "command": "zenml.goToPipelineUrl", - "group": "inline@2" - }, - { - "when": "environmentCommandsRegistered && view == zenmlEnvironmentView && viewItem == interpreter", - "command": "zenml.setPythonInterpreter", - "group": "inline" - } - ] - } - }, - "devDependencies": { - "@types/fs-extra": "^11.0.4", - "@types/mocha": "^10.0.6", - "@types/node": "^18.19.18", - "@types/sinon": "^17.0.3", - "@types/vscode": "^1.86.0", - "@types/webpack": "^5.28.5", - "@typescript-eslint/eslint-plugin": "^6.19.1", - "@typescript-eslint/parser": "^6.19.1", - "@vscode/test-cli": "^0.0.4", - "@vscode/test-electron": "^2.3.9", - "@vscode/vsce": "^2.24.0", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "prettier": "^3.2.5", - "sinon": "^17.0.1", - "ts-loader": "^9.5.1", - "ts-node": "^10.9.2", - "typescript": "^5.3.3", - "webpack": "^5.90.0", - "webpack-cli": "^5.1.4" - }, - "dependencies": { - "@vscode/python-extension": "^1.0.5", - "axios": "^1.6.7", - "fs-extra": "^11.2.0", - "vscode-languageclient": "^9.0.1" - } + "extension.description": "Integrates ZenML directly into VS Code, enhancing machine learning workflow with support for pipelines, stacks, and server management.", + "command.promptForInterpreter": "Prompt to select a Python interpreter from the command palette in VSCode.", + "command.connectServer": "Establishes a connection to a specified ZenML server.", + "command.disconnectServer": "Disconnects from the currently connected ZenML server.", + "command.refreshServerStatus": "Refreshes the status of the ZenML server to reflect the current state.", + "command.refreshStackView": "Refreshes the stack view to display the latest information about ZenML stacks.", + "command.setStackItemsPerPage": "Sets the number of stacks to display per page in the stack view.", + "command.nextStackPage": "Navigates to the next page of stacks in the stack view.", + "command.previousStackPage": "Navigates to the previous page of stacks in the stack view.", + "command.getActiveStack": "Retrieves the currently active stack in ZenML.", + "command.renameStack": "Renames a specified ZenML stack.", + "command.setActiveStack": "Sets a specified stack as the active ZenML stack.", + "command.copyStack": "Creates a copy of a specified ZenML stack.", + "command.goToStackUrl": "Opens the URL of the specific ZenML stack in the Dashboard", + "command.refreshPipelineView": "Refreshes the pipeline view to display the latest information on ZenML pipeline runs.", + "command.setPipelineRunsPerPage": "Sets the number of pipeline runs to display per page in the pipeline view.", + "command.nextPipelineRunsPage": "Navigates to the next page of pipeline runs in the pipeline view.", + "command.previousPipelineRunsPage": "Navigates to the previous page of pipeline runs in the pipeline view.", + "command.deletePipelineRun": "Deletes a specified ZenML pipeline run.", + "command.goToPipelineUrl": "Opens the URL of the specific ZenML pipeline in the Dashboard", + "command.setPythonInterpreter": "Sets the Python interpreter for ZenML-related tasks within the VS Code environment.", + "command.refreshEnvironmentView": "Updates the Environment View with the latest ZenML configuration and system information.", + "command.restartLspServer": "Restarts the Language Server to ensure the latest configurations are used.", + "settings.args.description": "Specify arguments to pass to the ZenML CLI. Provide each argument as a separate item in the array.", + "settings.path.description": "Defines the path to the ZenML CLI. If left as an empty array, the default system path will be used.", + "settings.importStrategy.description": "Determines which ZenML CLI to use. Options include using a bundled version (`useBundled`) or attempting to use the CLI installed in the current Python environment (`fromEnvironment`).", + "settings.showNotifications.description": "Controls when notifications are shown by this extension.", + "settings.showNotifications.off.description": "All notifications are turned off, any errors or warnings when formatting Python files are still available in the logs.", + "settings.showNotifications.onError.description": "Notifications are shown only in the case of an error when formatting Python files.", + "settings.showNotifications.onWarning.description": "Notifications are shown for any errors and warnings when formatting Python files.", + "settings.showNotifications.always.description": "Notifications are show for anything that the server chooses to show when formatting Python files.", + "settings.interpreter.description": "Sets the path to the Python interpreter used by ZenML. This is used for launching the server and subprocesses. Leave empty to use the default interpreter.", + "settings.serverUrl.description": "URL to connect to the ZenML server.", + "settings.accessToken.description": "Access token required for authenticating with the ZenML server (not necessary currently).", + "settings.activeStackId.description": "Identifier for the currently active stack in ZenML. This is used to specify which stack is being used for operations." }