mirror of
https://github.com/VSCodium/vscodium.git
synced 2025-12-12 20:36:03 +01:00
feat: add extensionsEnabledWithApiProposalVersion to product.json (#2598)
This commit is contained in:
@@ -31,9 +31,9 @@ if [[ ! -d "${DIRECTORY}" ]]; then
|
||||
fi
|
||||
|
||||
APIS=$( jq -r '.extensionEnabledApiProposals' "${DIRECTORY}/resources/app/product.json" )
|
||||
|
||||
APIS=$( echo "${APIS}" | jq '. += {"jeanp413.open-remote-ssh": ["resolvers", "tunnels", "terminalDataWriteEvent", "contribRemoteHelp", "contribViewsRemote"]}' )
|
||||
APIS=$( echo "${APIS}" | jq '. += {"jeanp413.open-remote-wsl": ["resolvers", "contribRemoteHelp", "contribViewsRemote"]}' )
|
||||
echo "$( jq --argjson v "${APIS}" 'setpath(["extensionEnabledApiProposals"]; $v)' product.json )" > product.json
|
||||
|
||||
jsonTmp=$( jq --argjson v "${APIS}" 'setpath(["extensionEnabledApiProposals"]; $v)' product.json )
|
||||
echo "${jsonTmp}" > product.json && unset jsonTmp
|
||||
APIS=$( jq -r '.extensionsEnabledWithApiProposalVersion' "${DIRECTORY}/resources/app/product.json" )
|
||||
echo "$( jq --argjson v "${APIS}" 'setpath(["extensionsEnabledWithApiProposalVersion"]; $v)' product.json )" > product.json
|
||||
|
||||
@@ -46,6 +46,12 @@
|
||||
"extensionAllowedBadgeProvidersRegex": [
|
||||
"^https:\\/\\/github\\.com\\/[^/]+\\/[^/]+\\/(actions\\/)?workflows\\/.*badge\\.svg"
|
||||
],
|
||||
"extensionsEnabledWithApiProposalVersion": [
|
||||
"GitHub.copilot-chat",
|
||||
"ms-vscode.vscode-commander",
|
||||
"ms-vscode.vscode-copilot-vision",
|
||||
"GitHub.vscode-pull-request-github"
|
||||
],
|
||||
"extensionEnabledApiProposals": {
|
||||
"ms-azuretools.vscode-containers": [
|
||||
"authenticationChallenges"
|
||||
|
||||
Reference in New Issue
Block a user