powerplatform-vscode/package.json

1138 строки
41 KiB
JSON

{
"name": "powerplatform-vscode",
"displayName": "Power Platform Tools",
"description": "Tooling to create Power Platform solutions & packages, manage Power Platform environments and edit Power Apps Portals",
"version": "1.0.1-dev",
"enabledApiProposals": [
"fileSearchProvider",
"textSearchProvider"
],
"scripts": {
"clean": "scorch",
"build": "node node_modules/gulp/bin/gulp.js",
"test": "node node_modules/gulp/bin/gulp.js test",
"ci": "node node_modules/gulp/bin/gulp.js ci",
"dist": "node node_modules/gulp/bin/gulp.js dist",
"translations-export": "node node_modules/gulp/bin/gulp.js translationsExport",
"translations-import": "node node_modules/gulp/bin/gulp.js translationsImport",
"set-git-authn": "node node_modules/gulp/bin/gulp.js setGitAuthN",
"increment-version-npm": "npm --no-git-tag-version version %VSIX_VERSION%",
"increment-version": "node node_modules/release-it/bin/release-it --increment patch --ci -VV",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. .",
"compile-tests": "node node_modules/gulp/bin/gulp.js compileIntegrationTests",
"test-integration": "node node_modules/gulp/bin/gulp.js testInt",
"test-web-integration": "node node_modules/gulp/bin/gulp.js testWebInt",
"test-desktop-int": "node node_modules/gulp/bin/gulp.js testDesktopInt",
"coverage": "nyc npm run test"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": "true",
"include": [
"**/*.ts"
],
"exclude": [
"**/*.test.ts"
],
"reporter": [
"html",
"lcov",
"text",
"text-summary"
],
"report-dir": "coverage"
},
"author": "PowerApps-ISV-Tools",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/microsoft/powerplatform-vscode/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/powerplatform-vscode"
},
"bugs": {
"url": "https://github.com/microsoft/powerplatform-vscode/issues",
"email": "PPTools@microsoft.com"
},
"engines": {
"vscode": "^1.91.0",
"npm": ">=8.3.0"
},
"extensionKind": [
"workspace"
],
"publisher": "microsoft-IsvExpTools",
"main": "./dist/extension",
"l10n": "./l10n",
"browser": "./dist/web/extension.js",
"categories": [
"Snippets",
"Other"
],
"keywords": [
"Power Platform"
],
"icon": "src/client/assets/icon.png",
"badges": [
{
"description": "Pull Request",
"url": "https://github.com/microsoft/powerplatform-vscode/workflows/PullRequest/badge.svg",
"href": "https://github.com/microsoft/powerplatform-vscode/actions?query=workflow%3APullRequest"
},
{
"description": "Official Build",
"url": "https://dev.azure.com/dynamicscrm/OneCRM/_apis/build/status/DPX-Tools/powerplatform-vscode%20Official%20Build?branchName=release/stable",
"href": "https://dev.azure.com/dynamicscrm/OneCRM/_build/latest?definitionId=12152"
}
],
"activationEvents": [
"onCommand:pacCLI.openDocumentation",
"onCommand:microsoft-powerapps-portals.webExtension.init",
"onCommand:powerplatform-walkthrough.overview-learn-more",
"onCommand:powerplatform-walkthrough.fileSystem-documentation",
"onCommand:powerplatform-walkthrough.fileSystem-open-folder",
"onCommand:powerplatform-walkthrough.saveConflict-learn-more",
"onCommand:powerplatform-walkthrough.saveConflict-start-folder",
"onCommand:powerplatform-walkthrough.advancedCapabilities-learn-more",
"onCommand:powerplatform-walkthrough.advancedCapabilities-start-coding",
"onStartupFinished",
"workspaceContains:**/**.portalconfig",
"onDebug",
"onFileSystem:powerplatform-vfs"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Workspace trust is needed to configure and debug projects"
},
"virtualWorkspaces": {
"supported": "limited",
"description": "PAC CLI is not supported in VS Code for the Web"
}
},
"contributes": {
"chatParticipants": [
{
"id": "powerpages",
"name": "powerpages",
"fullName": "Copilot for Power Pages",
"description": "Copilot for Power Pages",
"isSticky": true
}
],
"problemMatchers": [
{
"name": "pcf-scripts-build",
"label": "PCF Scripts Build problems",
"owner": "typescript",
"source": "ts",
"applyTo": "allDocuments",
"fileLocation": "absolute",
"severity": "error",
"pattern": [
{
"regexp": "\\[tsl\\] (ERROR|WARNING) in (.*)?\\((\\d+),(\\d+)\\)",
"severity": 1,
"file": 2,
"line": 3,
"column": 4
},
{
"regexp": "\\s*TS(\\d+):\\s*(.*)$",
"code": 1,
"message": 2
}
],
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(\\[Webpack stats\\])|(\\[build\\] [Ii]nitializing)"
},
"endsPattern": {
"regexp": "[Cc]ompiled (.*?successfully|with .*?(error|warning))|[Cc]ompil(ation|er) .*?finished"
}
}
}
],
"viewsWelcome": [
{
"view": "pacCLI.authPanel",
"contents": "%pacCLI.authPanel.welcome.whenInteractiveSupported%",
"when": "!virtualWorkspace && pacCLI.authPanel.interactiveLoginSupported"
},
{
"view": "pacCLI.authPanel",
"contents": "%pacCLI.authPanel.welcome.whenInteractiveNotSupported%",
"when": "!virtualWorkspace && !pacCLI.authPanel.interactiveLoginSupported"
}
],
"commands": [
{
"command": "powerpages.collaboration.openTeamsChat",
"title": "Open Teams Chat",
"icon": {
"light": "src/web/client/assets/microsoftTeamsIcon/light/microsoftTeams.svg",
"dark": "src/web/client/assets/microsoftTeamsIcon/dark/microsoftTeams.svg"
}
},
{
"command": "powerpages.collaboration.openMail",
"title": "Open Mail",
"icon": "$(mail)"
},
{
"command": "powerpages.powerPagesFileExplorer.powerPagesRuntimePreview",
"title": "Preview site",
"when": "never"
},
{
"command": "powerpages.powerPagesFileExplorer.backToStudio",
"title": "Open in Power Pages",
"when": "never"
},
{
"command": "extension.createChatView",
"title": "Create Chat View"
},
{
"command": "pacCLI.openDocumentation",
"category": "Power Platform CLI",
"title": "%pacCLI.openDocumentation.title%"
},
{
"command": "pacCLI.openPacLab",
"category": "Power Platform CLI",
"title": "%pacCLI.openPacLab.title%"
},
{
"command": "pacCLI.pacHelp",
"category": "Power Platform CLI",
"title": "%pacCLI.pacHelp.title%"
},
{
"command": "pacCLI.pacAuthHelp",
"category": "Power Platform CLI",
"title": "%pacCLI.pacAuthHelp.title%"
},
{
"command": "pacCLI.pacPackageHelp",
"category": "Power Platform CLI",
"title": "%pacCLI.pacPackageHelp.title%"
},
{
"command": "pacCLI.pacPcfHelp",
"category": "Power Platform CLI",
"title": "%pacCLI.pacPcfHelp.title%"
},
{
"command": "pacCLI.pacSolutionHelp",
"category": "Power Platform CLI",
"title": "%pacCLI.pacSolutionHelp.title%"
},
{
"command": "pacCLI.disableTelemetry",
"category": "Power Platform CLI",
"title": "%pacCLI.disableTelemetry.title%"
},
{
"command": "pacCLI.enableTelemetry",
"category": "Power Platform CLI",
"title": "%pacCLI.enableTelemetry.title%"
},
{
"command": "pacCLI.authPanel.clearAuthProfile",
"category": "Power Platform CLI",
"title": "%pacCLI.authPanel.clearAuthProfile.title%",
"icon": "$(clear-all)"
},
{
"command": "pacCLI.authPanel.refresh",
"title": "%pacCLI.authPanel.refresh.title%",
"icon": "$(refresh)"
},
{
"command": "pacCLI.authPanel.newAuthProfile",
"category": "Power Platform CLI",
"title": "%pacCLI.authPanel.newDataverseAuthProfile.title%",
"icon": "$(add)"
},
{
"command": "pacCLI.authPanel.selectAuthProfile",
"title": "%pacCLI.authPanel.selectAuthProfile.title%",
"icon": "$(star-empty)"
},
{
"command": "pacCLI.authPanel.deleteAuthProfile",
"title": "%pacCLI.authPanel.deleteAuthProfile.title%",
"icon": "$(trash)"
},
{
"command": "pacCLI.authPanel.nameAuthProfile",
"title": "%pacCLI.authPanel.nameAuthProfile.title%"
},
{
"command": "pacCLI.authPanel.navigateToResource",
"title": "%pacCLI.authPanel.navigateToResource.title%"
},
{
"command": "pacCLI.authPanel.copyUser",
"title": "%pacCLI.authPanel.copyUser.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.selectEnvironment",
"title": "%pacCLI.envAndSolutionsPanel.selectEnvironment.title%",
"icon": "$(star-empty)"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyFriendlyName",
"title": "%pacCLI.envAndSolutionsPanel.copyFriendlyName.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyUniqueName",
"title": "%pacCLI.envAndSolutionsPanel.copyUniqueName.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyVersionNumber",
"title": "%pacCLI.envAndSolutionsPanel.copyVersionNumber.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.refresh",
"title": "%pacCLI.envAndSolutionsPanel.refresh.title%",
"icon": "$(refresh)"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyDisplayName",
"title": "%pacCLI.envAndSolutionsPanel.copyDisplayName.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyEnvironmentId",
"title": "%pacCLI.envAndSolutionsPanel.copyEnvironmentId.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyEnvironmentUrl",
"title": "%pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title%"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyOrganizationId",
"title": "%pacCLI.envAndSolutionsPanel.copyOrganizationId.title%"
},
{
"command": "microsoft-powerapps-portals.preview-show",
"title": "%microsoft-powerapps-portals.preview-show.title%",
"icon": {
"dark": "./src/client/editor_menu_icons/dark/portal_webpage_preview.svg",
"light": "./src/client/editor_menu_icons/light/portal_webpage_preview.svg"
}
},
{
"command": "microsoft-powerapps-portals.webExtension.init",
"title": "%microsoft-powerapps-portals.webExtension.init.title%"
},
{
"command": "microsoft-powerapps-portals.webpage",
"category": "Powerpages",
"title": "New Webpage"
},
{
"command": "microsoft-powerapps-portals.webfile",
"category": "Powerpages",
"title": "New Assets (Web files)"
},
{
"command": "microsoft-powerapps-portals.webtemplate",
"category": "Powerpages",
"title": "New Web Template"
},
{
"command": "microsoft-powerapps-portals.contentsnippet",
"category": "Powerpages",
"title": "New Content Snippet"
},
{
"command": "microsoft-powerapps-portals.pagetemplate",
"category": "Powerpages",
"title": "New Page Template"
},
{
"command": "microsoft-powerapps-portals.bootstrap-diff",
"category": "Powerpages",
"title": "Bootstrap Diff"
},
{
"command": "powerpages.copilot.clearConversation",
"category": "Copilot In Power Pages",
"title": "%powerpages.copilotPanel.clearConversation.title%",
"icon": "$(clear-all)"
},
{
"command": "powerpages.copilot.explain",
"category": "Copilot In Power Pages",
"title": "Explain"
},
{
"command": "powerPlatform.previewCurrentActiveUsers",
"title": "Current Active Users",
"icon": "$(person)"
}
],
"configuration": {
"tile": "Power Platform",
"properties": {
"powerPlatform.generatorInstalled": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether the generator installation is complete."
},
"powerPlatform.experimental.copilotEnabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether the Power Platform Copilot is enabled."
},
"powerPlatform.auth.cloud": {
"type": "string",
"default": "Public",
"enum": [
"Public",
"USGov",
"USGovHigh",
"USGovDoD",
"China"
],
"description": "%powerPlatform.auth.cloud.description%"
},
"powerPlatform.experimental.auth.testCloudOverride": {
"type": "string",
"default": null,
"markdownDescription": "%powerPlatform.experimental.auth.testCloudOverride.description%"
},
"powerPlatform.experimental.disableActivityBarPanels": {
"type": "boolean",
"default": false,
"markdownDescription": "Disable the PowerPlatform activity bar panels"
},
"powerPlatform.experimental.enablePcfDebuggingFeatures": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable debugger features for PCF controls"
},
"powerPlatform.experimental.port": {
"type": "number",
"default": 9222,
"markdownDescription": "The port on which to search for remote debuggable instances. You can leave that value as it is in most cases. The default value is `9222`."
},
"powerPlatform.experimental.defaultUrl": {
"type": "string",
"default": "",
"format": "uri",
"markdownDescription": "The URL to your PowerApps instance where the PCF control is located. This value overrides `url` set in the launch.json file."
},
"powerPlatform.experimental.userDataDir": {
"type": "string",
"default": "",
"markdownDescription": "By default, Microsoft Edge is launched with a separate user profile in a temp folder. Use this option to override the path. This setting will be ignored if `#powerapps-pcf-debugger.useDefaultUserDataProfile#` is `true`."
},
"powerPlatform.experimental.useDefaultUserDataProfile": {
"type": "boolean",
"markdownDescription": "Set this property to true to use your default browser user profile for debugging. Otherwise, a temporary user profile will be created or the path specified in `#powerapps-pcf-debugger.userDataDir#` will be used.",
"default": false
},
"powerPlatform.experimental.webRoot": {
"type": "string",
"markdownDescription": "The absolute path to the webserver root. Used to resolve paths like `/app.js` to files on disk. This setting supports `${workspaceFolder}` as a placeholder. This value overrides `webRoot` set in the launch.json file.",
"default": ""
},
"powerPlatform.experimental.appId": {
"type": "string",
"markdownDescription": "The model driven application id which is used to host the PCF control. Only required for full screen controls. This value overrides `appId` set in the launch.json file.",
"default": "00000000-0000-0000-0000-000000000000"
},
"powerPlatform.experimental.browserArgs": {
"type": "array",
"description": "Launch Microsoft Edge with specified args. (requires relaunching Visual Studio Code)",
"items": {
"type": "string"
},
"default": []
},
"powerPlatform.experimental.browserFlavor": {
"type": "string",
"enum": [
"Default",
"Stable",
"Beta",
"Dev",
"Canary"
],
"enumDescriptions": [
"PowerPlatform PCF Debugger for VS Code will try to open the Microsoft Edge flavors in the following order: Stable, Beta, Dev and Canary",
"PowerPlatform PCF Debugger for VS Code will use Microsoft Edge Stable version",
"PowerPlatform PCF Debugger for VS Code will use Microsoft Edge Beta version",
"PowerPlatform PCF Debugger for VS Code will use Microsoft Edge Dev version",
"PowerPlatform PCF Debugger for VS Code will use Microsoft Edge Canary version"
]
},
"powerPlatform.experimental.enableVersionControl": {
"type": "boolean",
"markdownDescription": "Enable version control on file save (Web extension only)",
"default": true
},
"powerPlatform.experimental.enableMultiFileFeature": {
"type": "boolean",
"markdownDescription": "Enable multiple file view in Visual Studio Code (Web extension only)",
"default": true
},
"powerPlatform.experimental.enableWebCopilot": {
"type": "boolean",
"markdownDescription": "Enable copilot in Visual Studio Code (Web extension)",
"default": true
},
"powerPlatform.experimental.enableCoPresenceFeature": {
"type": "boolean",
"markdownDescription": "Enable co-presence in Visual Studio Code (Web extension only)",
"default": true
},
"powerPlatform.experimental.enableTelemetry": {
"type": "boolean",
"markdownDescription": "Enable custom telemetry for Power Pages",
"default": true,
"tags": [
"telemetry",
"usesOnlineServices"
]
}
}
},
"debuggers": [
{
"type": "powerplatform-vscode.debug",
"label": "Debugger for PCF controls",
"configurationSnippets": [
{
"label": "Debug PCF Control",
"description": "Debug a single PCF control",
"body": {
"type": "powerplatform-vscode.debug",
"request": "launch",
"name": "Launch a PCF control in Microsoft Edge and attach debugger.",
"url": "https://YOUR_ORG.crm.dynamics.com",
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"",
"renderFullScreen": true,
"controlName": "publisher.MyControl",
"file": "${workspaceFolder}/out/bundle.js",
"useDefaultUserDataProfile": false
}
}
],
"configurationAttributes": {
"launch": {
"properties": {
"url": {
"type": "string",
"description": "Absolute uri to launch. To enable automatic control navigation this value should be the form that the control is rendered on.",
"default": "https://YOUR_ORG.crm.dynamics.com"
},
"file": {
"type": "string",
"description": "Relative path of the bundle file to debug",
"default": "${workspaceFolder}/out/bundle.js"
},
"port": {
"type": "number",
"default": 9222,
"description": "The port on which to search for remote debuggable instances"
},
"userDataDir": {
"type": [
"string",
"boolean"
],
"description": "By default, Microsoft Edge is launched with a separate user profile in a temp folder. Use this option to override the path. You can also set to false to launch with your default user profile instead.",
"default": true
},
"useDefaultUserDataProfile": {
"type": "boolean",
"description": "Set this property to true to use your default browser user profile for debugging. Otherwise, a temporary user profile will be created or the path specified in 'User Data Dir' will be used.",
"default": false
},
"webRoot": {
"type": "string",
"description": "The absolute path to the webserver root. Used to resolve paths like `/app.js` to files on disk",
"default": "${workspaceFolder}"
},
"renderFullScreen": {
"type": "boolean",
"description": "Should we render the control in full screen? This only works if the control does not depend on any entity record context.",
"default": false
},
"controlName": {
"type": "string",
"description": "This value is only required if renderFullScreen is true. The logical name of your PCF control. The logical name is defined as `<publisherPrefix>_<namespace>.<controlName>`. Namespace and controlName are defined in the ControlManifest.xml. Dataverse will display the logical name of your control when looking at the control in the solution. Example: Control Name 'MyCustomControl'. Publisher Name: 'm365'. Namespace: 'Workflows'. -> Logical Name: 'm365_Workflows.MyCustomControl'",
"default": "m365_Workflows.MyControl"
},
"tabName": {
"type": "string",
"description": "This value is not required if renderFullScreen is true. The name of the tab that hosts the control. If this is specified, the browser will try to navigate to the tab to load the control.",
"default": "MyControl Tab"
},
"appId": {
"type": "string",
"description": "This value is not required if renderFullScreen is true. The model driven application id which is used to host the PCF control.",
"default": "00000000-0000-0000-0000-000000000000"
},
"powerapps-pcf-debugger.browserFlavor": {
"type": "string",
"enum": [
"Default",
"Stable",
"Beta",
"Dev",
"Canary"
],
"enumDescriptions": [
"Power Platform debugger will try to open the Microsoft Edge flavors in the following order: Stable, Beta, Dev and Canary",
"Power Platform debugger will use Microsoft Edge Stable version",
"Power Platform debugger will use Microsoft Edge Beta version",
"Power Platform debugger will use Microsoft Edge Dev version",
"Power Platform debugger will use Microsoft Edge Canary version"
]
}
}
}
}
}
],
"snippets": [
{
"language": "html",
"path": "./src/client/snippets/paportal-liquid.code-snippets"
}
],
"iconThemes": [
{
"id": "portals_icon",
"label": "PowerApps Portals Icons (Visual Studio Code)",
"path": "./src/client/portal_fileicons/portals-icon-theme.json"
}
],
"menus": {
"editor/context": [
{
"submenu": "microsoft-powerapps-portals.powerpages-copilot",
"group": "0_powerpages-copilot",
"when": "(powerpages.copilot.isVisible) && ((!virtualWorkspace && powerpages.websiteYmlExists && config.powerPlatform.experimental.copilotEnabled) || (isWeb && config.powerPlatform.experimental.enableWebCopilot))"
}
],
"microsoft-powerapps-portals.powerpages-copilot": [
{
"command": "powerpages.copilot.explain",
"group": "0_powerpages-copilot@1"
}
],
"explorer/context": [
{
"submenu": "microsoft-powerapps-portals.powerpages",
"group": "1_powerpages",
"when": "!virtualWorkspace && powerpages.websiteYmlExists"
}
],
"microsoft-powerapps-portals.powerpages": [
{
"command": "microsoft-powerapps-portals.webpage",
"group": "1_powerpages@1"
},
{
"command": "microsoft-powerapps-portals.webfile",
"group": "1_powerpages@5"
},
{
"command": "microsoft-powerapps-portals.webtemplate",
"group": "1_powerpages@3"
},
{
"command": "microsoft-powerapps-portals.contentsnippet",
"group": "1_powerpages@4"
},
{
"command": "microsoft-powerapps-portals.pagetemplate",
"group": "1_powerpages@2"
}
],
"editor/title": [
{
"when": "resourceLangId == html && !virtualWorkspace",
"command": "microsoft-powerapps-portals.preview-show",
"alt": "microsoft-powerapps-portals.preview-show",
"group": "navigation"
},
{
"command": "powerPlatform.previewCurrentActiveUsers",
"alt": "current active users",
"group": "navigation",
"when": "isWeb && virtualWorkspace"
}
],
"commandPalette": [
{
"command": "microsoft-powerapps-portals.webExtension.init",
"when": "never"
},
{
"command": "microsoft-powerapps-portals.preview-show",
"when": "never"
},
{
"command": "pacCLI.authPanel.refresh",
"when": "never"
},
{
"command": "pacCLI.authPanel.newAuthProfile",
"when": "pacCLI.authPanel.interactiveLoginSupported"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyFriendlyName",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyUniqueName",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyVersionNumber",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.refresh",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyDisplayName",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyEnvironmentId",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyEnvironmentUrl",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyOrganizationId",
"when": "never"
},
{
"command": "pacCLI.envAndSolutionsPanel.selectEnvironment",
"when": "never"
},
{
"command": "pacCLI.authPanel.selectAuthProfile",
"when": "never"
},
{
"command": "pacCLI.authPanel.deleteAuthProfile",
"when": "never"
},
{
"command": "pacCLI.authPanel.nameAuthProfile",
"when": "never"
},
{
"command": "pacCLI.authPanel.navigateToResource",
"when": "never"
},
{
"command": "pacCLI.authPanel.copyUser",
"when": "never"
},
{
"command": "pacCLI.openDocumentation",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.openPacLab",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.pacHelp",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.pacAuthHelp",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.pacPackageHelp",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.pacPcfHelp",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.pacSolutionHelp",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.disableTelemetry",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.enableTelemetry",
"when": "!virtualWorkspace"
},
{
"command": "pacCLI.authPanel.clearAuthProfile",
"when": "!virtualWorkspace"
},
{
"command": "powerpages.copilot.clearConversation",
"when": "never"
},
{
"command": "powerpages.copilot.explain",
"when": "never"
},
{
"command": "microsoft-powerapps-portals.webpage",
"when": "config.powerPlatform.generatorInstalled"
},
{
"command": "microsoft-powerapps-portals.webfile",
"when": "config.powerPlatform.generatorInstalled"
},
{
"command": "microsoft-powerapps-portals.webtemplate",
"when": "config.powerPlatform.generatorInstalled"
},
{
"command": "microsoft-powerapps-portals.contentsnippet",
"when": "config.powerPlatform.generatorInstalled"
},
{
"command": "microsoft-powerapps-portals.pagetemplate",
"when": "config.powerPlatform.generatorInstalled"
}
],
"view/title": [
{
"command": "pacCLI.authPanel.newAuthProfile",
"when": "!virtualWorkspace && view == pacCLI.authPanel && pacCLI.authPanel.interactiveLoginSupported",
"group": "navigation@0"
},
{
"command": "pacCLI.authPanel.refresh",
"when": "!virtualWorkspace && view == pacCLI.authPanel",
"group": "navigation@1"
},
{
"command": "pacCLI.authPanel.clearAuthProfile",
"when": "!virtualWorkspace && view == pacCLI.authPanel",
"group": "navigation@2"
},
{
"command": "pacCLI.envAndSolutionsPanel.refresh",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel",
"group": "navigation"
},
{
"command": "powerpages.copilot.clearConversation",
"when": "view == powerpages.copilot",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "pacCLI.authPanel.deleteAuthProfile",
"when": "!virtualWorkspace && view == pacCLI.authPanel",
"group": "inline"
},
{
"command": "pacCLI.authPanel.selectAuthProfile",
"when": "!virtualWorkspace && view == pacCLI.authPanel",
"group": "inline"
},
{
"command": "pacCLI.authPanel.nameAuthProfile",
"when": "!virtualWorkspace && view == pacCLI.authPanel"
},
{
"command": "pacCLI.authPanel.navigateToResource",
"when": "!virtualWorkspace && view == pacCLI.authPanel && viewItem == DATAVERSE"
},
{
"command": "pacCLI.authPanel.copyUser",
"when": "!virtualWorkspace && view == pacCLI.authPanel"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyFriendlyName",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == SOLUTION"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyUniqueName",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == SOLUTION"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyVersionNumber",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == SOLUTION"
},
{
"command": "pacCLI.envAndSolutionsPanel.selectEnvironment",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == ENVIRONMENT",
"group": "inline"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyDisplayName",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == ENVIRONMENT",
"group": "displayName@0"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyEnvironmentId",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == ENVIRONMENT",
"group": "environment"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyEnvironmentUrl",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == ENVIRONMENT",
"group": "environment"
},
{
"command": "pacCLI.envAndSolutionsPanel.copyOrganizationId",
"when": "!virtualWorkspace && view == pacCLI.envAndSolutionsPanel && viewItem == ENVIRONMENT"
},
{
"command": "powerpages.collaboration.openTeamsChat",
"group": "inline",
"when": "viewItem == userNode"
},
{
"command": "powerpages.collaboration.openMail",
"group": "inline",
"when": "viewItem == userNode"
}
]
},
"submenus": [
{
"id": "microsoft-powerapps-portals.powerpages",
"label": "Power Pages"
},
{
"id": "microsoft-powerapps-portals.powerpages-copilot",
"label": "Copilot In Power Pages"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "power-platform-activitybar",
"title": "%power-platform-activitybar.title%",
"icon": "resources/powerplatform-activitybar-icon.svg"
}
]
},
"views": {
"power-platform-activitybar": [
{
"id": "pacCLI.authPanel",
"name": "%pacCLI.authPanel.title%",
"when": "!virtualWorkspace && !config.powerPlatform.experimental.disableActivityBarPanels"
},
{
"id": "pacCLI.envAndSolutionsPanel",
"name": "%pacCLI.envAndSolutionsPanel.title%",
"when": "!virtualWorkspace && !config.powerPlatform.experimental.disableActivityBarPanels"
},
{
"type": "webview",
"id": "powerpages.copilot",
"name": "%powerpages.copilotPanel.title%",
"initialSize": 6,
"visibility": "visible",
"when": "(!virtualWorkspace && powerpages.websiteYmlExists && config.powerPlatform.experimental.copilotEnabled) || (isWeb && config.powerPlatform.experimental.enableWebCopilot)"
}
],
"explorer": [
{
"id": "powerpages.powerPagesFileExplorer",
"name": "%microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title%",
"when": "isWeb && virtualWorkspace",
"icon": "./src/web/client/assets/powerPages.svg",
"contextualTitle": "%microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title%",
"visibility": "visible"
},
{
"id": "powerpages.collaborationView",
"name": "People On The Site",
"when": "isWeb && virtualWorkspace",
"contextualTitle": "People On The Site",
"visibility": "visible"
}
]
},
"walkthroughs": [
{
"id": "PowerPage-gettingStarted-multiFile",
"title": "%microsoft-powerapps-portals.walkthrough.title%",
"description": "%microsoft-powerapps-portals.walkthrough.description%",
"when": "isWeb && virtualWorkspace",
"steps": [
{
"id": "overview",
"title": "%microsoft-powerapps-portals.walkthrough.overview.title%",
"description": "%microsoft-powerapps-portals.walkthrough.overview.description%",
"media": {
"svg": "./src/web/client/assets/overview.svg",
"altText": "%microsoft-powerapps-portals.walkthrough.overview.title%"
},
"completionEvents": [
"onCommand:powerplatform-walkthrough.overview-learn-more"
]
},
{
"id": "fileSystem",
"title": "%microsoft-powerapps-portals.walkthrough.fileSystem.title%",
"description": "%microsoft-powerapps-portals.walkthrough.fileSystem.description%",
"media": {
"svg": "./src/web/client/assets/fileSystem.svg",
"altText": "%microsoft-powerapps-portals.walkthrough.fileSystem.title%"
},
"completionEvents": [
"onCommand:powerplatform-walkthrough.fileSystem-open-folder"
]
},
{
"id": "saveConflict",
"title": "%microsoft-powerapps-portals.walkthrough.saveConflict.title%",
"description": "%microsoft-powerapps-portals.walkthrough.saveConflict.description%",
"media": {
"svg": "./src/web/client/assets/saveConflict.svg",
"altText": "%microsoft-powerapps-portals.walkthrough.saveConflict.title%"
},
"completionEvents": [
"onCommand:powerplatform-walkthrough.saveConflict-start-coding"
]
},
{
"id": "advancedCapabilities",
"title": "%microsoft-powerapps-portals.walkthrough.advancedCapabilities.title%",
"description": "%microsoft-powerapps-portals.walkthrough.advancedCapabilities.description%",
"media": {
"svg": "./src/web/client/assets/advancedCapabilities.svg",
"altText": "%microsoft-powerapps-portals.walkthrough.advancedCapabilities.title%"
},
"completionEvents": [
"onCommand:powerplatform-walkthrough.advancedCapabilities-start-coding"
]
}
]
}
]
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@microsoft/1ds-core-js": "4.0.5",
"@microsoft/1ds-post-js": "4.0.5",
"@types/chai": "^4.2.14",
"@types/command-exists": "^1.2.0",
"@types/debug": "^4.1.9",
"@types/fs-extra": "^9.0.11",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/node-fetch": "^2.6.2",
"@types/puppeteer-core": "^5.4.0",
"@types/recursive-readdir": "^2.2.1",
"@types/sinon": "^10.0.12",
"@types/unzip-stream": "^0.3.0",
"@types/uuid": "^8.3.0",
"@types/vscode": "^1.91.0",
"@types/vscode-webview": "^1.57.1",
"@types/webpack": "^5.28.0",
"@types/webpack-env": "^1.17.0",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"@vscode/l10n-dev": "^0.0.35",
"@vscode/test-electron": "^2.3.8",
"@vscode/test-web": "^0.0.50",
"@vscode/vsce": "^2.19.0",
"assert": "^2.0.0",
"chai": "^4.3.6",
"constants-browserify": "^1.0.0",
"eslint": "^8.11.0",
"eslint-plugin-header": "^3.1.1",
"fancy-log": "^1.3.3",
"fs-extra": "^9.0.1",
"get-func-name": "^2.0.2",
"gulp-eslint": "^6.0.0",
"gulp-filter": "^7.0.0",
"gulp-mocha": "^8.0.0",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^6.0.0-alpha.1",
"jwt-decode": "2.2.0",
"mocha": "^9.2.2",
"moment": "^2.29.4",
"nanoid": "^3.1.31",
"node-fetch": "^2.6.7",
"nyc": "^15.1.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"ps-list": "^7.2.0",
"release-it": "^16.2.1",
"sinon": "^14.0.0",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"webpack": "^5.94.0",
"webpack-cli": "^4.7.0",
"webpack-stream": "^7.0.0",
"yargs": "^16.2.0"
},
"dependencies": {
"@fluidframework/azure-client": "^1.2.0",
"@microsoft/1ds-core-js": "4.0.5",
"@microsoft/1ds-post-js": "4.0.5",
"@microsoft/generator-powerpages": "1.21.19",
"@types/jwt-decode": "2.2.0",
"@types/node-fetch": "^2.6.2",
"@vscode/extension-telemetry": "^0.6.2",
"@xmldom/xmldom": "^0.8.10",
"cockatiel": "^3.1.1",
"command-exists": "^1.2.9",
"find-process": "^1.4.7",
"fluid-framework": "^1.4.0",
"glob": "^7.1.7",
"gpt-tokenizer": "^2.1.1",
"gulp": "^5.0.0",
"https-browserify": "^1.0.0",
"liquidjs": "^10.2.0",
"n-readlines": "^1.0.1",
"puppeteer-core": "^22.12.1",
"recursive-readdir": "^2.2.3",
"stream-http": "^3.2.0",
"tty-browserify": "^0.0.1",
"unzip-stream": "^0.3.2",
"uuid": "^8.3.2",
"vscode-languageclient": "^7.0.0",
"vscode-languageserver": "^7.0.0",
"vscode-languageserver-textdocument": "^1.0.1",
"worker-loader": "^3.0.8",
"yaml": "^2.2.2"
},
"__metadata": {
"id": "b8680bb6-eaa9-481a-ae0b-83574fa58620",
"publisherDisplayName": "Microsoft",
"publisherId": "b0208c9d-08ff-4cfb-93f7-f64e487561a6",
"isPreReleaseVersion": false
},
"optionalDependencies": {
"bufferutil": "^4.0.6",
"utf-8-validate": "^5.0.9"
}
}