mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 20.1.1 to 21.0.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v20.1.1...v21.0.0) --- updated-dependencies: - dependency-name: "@octokit/rest" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
165 lines
6 KiB
JSON
165 lines
6 KiB
JSON
{
|
||
"name": "compose",
|
||
"displayName": "Compose",
|
||
"description": "Install Compose binary to work with Podman",
|
||
"version": "1.12.0-next",
|
||
"icon": "icon.png",
|
||
"publisher": "podman-desktop",
|
||
"license": "Apache-2.0",
|
||
"engines": {
|
||
"podman-desktop": "^0.0.1"
|
||
},
|
||
"main": "./dist/extension.js",
|
||
"contributes": {
|
||
"commands": [
|
||
{
|
||
"command": "compose.install",
|
||
"title": "Compose: Install..."
|
||
},
|
||
{
|
||
"command": "compose.checks",
|
||
"title": "Compose: Checks..."
|
||
},
|
||
{
|
||
"command": "compose.onboarding.checkDownloadedCommand",
|
||
"title": "Compose: Check Compose Downloaded"
|
||
},
|
||
{
|
||
"command": "compose.onboarding.downloadCommand",
|
||
"title": "Compose: Download Compose"
|
||
}
|
||
],
|
||
"onboarding": {
|
||
"title": "Compose Setup",
|
||
"enablement": "!compose.isComposeInstalledSystemWide",
|
||
"steps": [
|
||
{
|
||
"id": "checkDownloadedCommand",
|
||
"label": "Check Compose",
|
||
"title": "Checking for Compose installation",
|
||
"command": "compose.onboarding.checkDownloadedCommand",
|
||
"completionEvents": [
|
||
"onCommand:compose.onboarding.checkDownloadedCommand"
|
||
]
|
||
},
|
||
{
|
||
"id": "welcomeDownloadView",
|
||
"label": "Compose Download",
|
||
"title": "Compose download",
|
||
"when": "!compose.isComposeInstalledSystemWide && onboardingContext:composeIsNotDownloaded",
|
||
"content": [
|
||
[
|
||
{
|
||
"value": "Podman Desktop provides optional command line support for Compose files with Podman."
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"value": "> ℹ️ **Note:** If you would like to use `docker compose up` or `docker-compose` with Podman, [enable Docker Compatibility](/preferences/default/preferences.podman-desktop.podman).",
|
||
"highlight": true
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"value": "Compose will be downloaded in the next step (Version ${onboardingContext:composeDownloadVersion}). :link[Want to download a different version?]{command=compose.onboarding.promptUserForVersion}",
|
||
"when": "!onboardingContext:composeShowCustomDownloadDialog"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"id": "downloadCommand",
|
||
"title": "Downloading Compose ${onboardingContext:composeDownloadVersion}",
|
||
"description": "Downloading the binary.\n\nOnce downloaded, the next step will install Compose system-wide.",
|
||
"when": "!compose.isComposeInstalledSystemWide && onboardingContext:composeIsNotDownloaded",
|
||
"command": "compose.onboarding.downloadCommand",
|
||
"completionEvents": [
|
||
"onCommand:compose.onboarding.downloadCommand"
|
||
]
|
||
},
|
||
{
|
||
"id": "downloadFailure",
|
||
"title": "Failed downloading Compose",
|
||
"when": "!compose.isComposeInstalledSystemWide && onboardingContext:composeIsNotDownloaded",
|
||
"state": "failed"
|
||
},
|
||
{
|
||
"id": "downloadSuccessfulView",
|
||
"title": "Compose successfully Downloaded",
|
||
"when": "!compose.isComposeInstalledSystemWide && !onboardingContext:composeIsNotDownloaded",
|
||
"content": [
|
||
[
|
||
{
|
||
"value": "Compose has been successfully downloaded! In order for `podman compose` (podman CLI v4.7.0+) to work correctly, it is required for Compose to be installed system-wide for `podman` to access the binary.\n\nThe next step will install Compose system-wide. **You will be prompted for system privileges when enabling this.**"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"id": "installSystemWideCommand",
|
||
"title": "Install Compose",
|
||
"description": "Installing the binary system-wide.\n\n You may be prompted for elevated system privileges.",
|
||
"when": "!compose.isComposeInstalledSystemWide && !compose.isComposeInstalledSystemWide",
|
||
"command": "compose.onboarding.installSystemWideCommand",
|
||
"completionEvents": [
|
||
"onCommand:compose.onboarding.installSystemWideCommand"
|
||
]
|
||
},
|
||
{
|
||
"id": "installSystemWideFailure",
|
||
"title": "Failed installing Compose",
|
||
"when": "!compose.isComposeInstalledSystemWide && !compose.isComposeInstalledSystemWide",
|
||
"state": "failed"
|
||
},
|
||
{
|
||
"id": "installSystemWideSuccess",
|
||
"title": "Compose installed",
|
||
"when": "compose.isComposeInstalledSystemWide",
|
||
"state": "completed",
|
||
"content": [
|
||
[
|
||
{
|
||
"value": "#### How to use Compose\nRun `podman compose up` (podman CLI v4.7.0+) or `docker-compose` in a directory with a `compose.yaml`. Podman Desktop will automatically detect the Compose deployment and show it in the container list.'\n\n`$ podman compose up`",
|
||
"highlight": true
|
||
}
|
||
]
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"configuration": {
|
||
"title": "Compose",
|
||
"properties": {
|
||
"compose.binary.installComposeSystemWide": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"scope": [
|
||
"DEFAULT",
|
||
"Onboarding"
|
||
],
|
||
"hidden": true,
|
||
"description": "Install system-wide instead of just your user directory, so compose can be accessed on the command line. Note: You may be prompted for elevated system privileges when enabling this."
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"scripts": {
|
||
"build": "vite build && node ./scripts/build.js",
|
||
"test": "vitest run --coverage",
|
||
"test:watch": "vitest watch --coverage",
|
||
"watch": "vite build --watch"
|
||
},
|
||
"dependencies": {
|
||
"@octokit/rest": "^21.0.0",
|
||
"mustache": "^4.2.0",
|
||
"shell-path": "^3.0.0"
|
||
},
|
||
"devDependencies": {
|
||
"@podman-desktop/api": "^0.0.1",
|
||
"@types/mustache": "^4.2.5",
|
||
"adm-zip": "^0.5.14",
|
||
"mkdirp": "^3.0.1",
|
||
"vite": "^5.3.1",
|
||
"vitest": "^1.6.0"
|
||
}
|
||
}
|