mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Package VS Code extensions (#16465)
* Package VS Code extensions * fixes * Add back in path * remove extra indents * Remove extra parens * try fix
This commit is contained in:
@@ -268,6 +268,13 @@ const externalExtensions = [
|
||||
'sql-migration'
|
||||
];
|
||||
|
||||
/**
|
||||
* Extensions that are built into ADS but should be packaged externally as well for VS Code.
|
||||
*/
|
||||
export const vscodeExternalExtensions = [
|
||||
'data-workspace'
|
||||
];
|
||||
|
||||
// extensions that require a rebuild since they have native parts
|
||||
const rebuildExtensions = [
|
||||
'big-data-cluster',
|
||||
@@ -425,7 +432,7 @@ export function packageExternalExtensionsStream(): NodeJS.ReadWriteStream {
|
||||
const extensionName = path.basename(extensionPath);
|
||||
return { name: extensionName, path: extensionPath };
|
||||
})
|
||||
.filter(({ name }) => externalExtensions.indexOf(name) >= 0);
|
||||
.filter(({ name }) => externalExtensions.indexOf(name) >= 0 || vscodeExternalExtensions.indexOf(name) >= 0);
|
||||
|
||||
const builtExtensions = extenalExtensionDescriptions.map(extension => {
|
||||
return fromLocal(extension.path, false)
|
||||
|
||||
Reference in New Issue
Block a user