Skip to content

Commit

Permalink
add complete list of bootstrap extensions and make shiny server only
Browse files Browse the repository at this point in the history
  • Loading branch information
melissa-barca committed Feb 25, 2025
1 parent a875515 commit 42b71a0
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 44 deletions.
13 changes: 7 additions & 6 deletions build/lib/bootstrapExtensions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions build/lib/bootstrapExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ export function getBootstrapExtensions(): Promise<void> {
const controlState = control[extension.name] || 'marketplace';
control[extension.name] = controlState;

// Discard extensions intended for the web. The 'type' field isn't a
// formal part of the extension definition but a custom field we use to
// filter out web-only extensions (i.e. Posit Workbench)
// @ts-ignore
if (extension.type === 'reh-web') {
continue;
}

streams.push(syncExtension(extension, controlState));
}

Expand Down
4 changes: 2 additions & 2 deletions build/secrets/.secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
"filename": "product.json",
"hashed_secret": "4762b62a1d96fce4a3071114c8e0223be11d1fda",
"is_verified": false,
"line_number": 202,
"line_number": 95,
"is_secret": false
}
],
Expand Down Expand Up @@ -1951,5 +1951,5 @@
}
]
},
"generated_at": "2025-02-19T20:56:35Z"
"generated_at": "2025-02-25T15:07:15Z"
}
72 changes: 36 additions & 36 deletions product.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,30 @@
}
},
{
"name": "ms-toolsai.jupyter-keymap",
"version": "1.1.2",
"repo": "https://github.com/Microsoft/vscode-jupyter-keymap",
"name": "rstudio.rstudio-workbench",
"version": "1.5.28",
"positUrl": "https://cdn.posit.co/pwb-components/extension",
"type": "reh-web",
"sha256": "a1052e6cf884977b68883950360d29b394acdbdd2a84f0b17a7cc9887436918f",
"metadata": {
"id": "9f6dc8db-620c-4844-b8c5-e74914f1be27",
"publisherDisplayName": "Posit Software, PBC"
}
}
],
"bootstrapExtensions": [
{
"name": "ms-python.black-formatter",
"version": "2024.2.0",
"repo": "https://github.com/microsoft/vscode-black-formatter",
"metadata": {
"id": "859e640c-c157-47da-8699-9080b81c8371",
"publisherId": {
"publisherId": "ac8eb7c9-3e59-4b39-8040-f0484d8170ce",
"publisherName": "ms-toolsai",
"displayName": "Jupyter Keymap",
"publisherId": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8",
"publisherName": "ms-python",
"displayName": "Black Formatter",
"flags": "verified"
},
"publisherDisplayName": "ms-toolsai"
"publisherDisplayName": "ms-python"
}
},
{
Expand All @@ -117,6 +129,21 @@
"publisherDisplayName": "ms-toolsai"
}
},
{
"name": "ms-toolsai.jupyter-keymap",
"version": "1.1.2",
"repo": "https://github.com/Microsoft/vscode-jupyter-keymap",
"metadata": {
"id": "9f6dc8db-620c-4844-b8c5-e74914f1be27",
"publisherId": {
"publisherId": "ac8eb7c9-3e59-4b39-8040-f0484d8170ce",
"publisherName": "ms-toolsai",
"displayName": "Jupyter Keymap",
"flags": "verified"
},
"publisherDisplayName": "ms-toolsai"
}
},
{
"name": "ms-toolsai.vscode-jupyter-slideshow",
"version": "0.1.6",
Expand Down Expand Up @@ -177,7 +204,6 @@
"publisherDisplayName": "ms-pyright"
}
},

{
"name": "ms-python.debugpy",
"version": "2024.8.0",
Expand All @@ -194,33 +220,6 @@
"multiPlatformServiceUrl": "https://open-vsx.org/api"
}
},
{
"name": "rstudio.rstudio-workbench",
"version": "1.5.28",
"positUrl": "https://cdn.posit.co/pwb-components/extension",
"type": "reh-web",
"sha256": "a1052e6cf884977b68883950360d29b394acdbdd2a84f0b17a7cc9887436918f",
"metadata": {
"publisherDisplayName": "Posit Software, PBC"
}
}
],
"bootstrapExtensions": [
{
"name": "ms-python.black-formatter",
"version": "2024.2.0",
"repo": "https://github.com/microsoft/vscode-black-formatter",
"metadata": {
"id": "859e640c-c157-47da-8699-9080b81c8371",
"publisherId": {
"publisherId": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8",
"publisherName": "ms-python",
"displayName": "Black Formatter",
"flags": "verified"
},
"publisherDisplayName": "ms-python"
}
},
{
"name": "posit.publisher",
"version": "1.10.0",
Expand All @@ -237,6 +236,7 @@
"name": "posit.shiny",
"version": "1.1.2",
"repo": "http://github.com/posit-dev/shiny-vscode",
"type": "reh-web",
"metadata": {
"id": "f1b3b3b4-3b3b-4b3b-8b3b-3b3b3b3b3b3b",
"publisherId": "090804ff-7eb2-4fbd-bb61-583e34f2b070",
Expand Down

0 comments on commit 42b71a0

Please sign in to comment.