-
Notifications
You must be signed in to change notification settings - Fork 35
/
extension.bundle.ts
31 lines (28 loc) · 2.01 KB
/
extension.bundle.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/**
* This is the external face of extension.bundle.js, the main webpack bundle for the extension.
* Anything needing to be exposed outside of the extension sources must be exported from here, because
* everything else will be in private modules in extension.bundle.js.
*/
// Exports for tests
// The tests are not packaged with the webpack bundle and therefore only have access to code exported from this file.
//
// The tests should import '../extension.bundle'. At design-time they live in tests/ and so will pick up this file (extension.bundle.ts).
// At runtime the tests live in dist/tests and will therefore pick up the main webpack bundle at dist/extension.bundle.js.
export * from '@microsoft/vscode-azext-utils';
export * from './src/cli/SwaCliTaskProvider';
export { SwaTaskProvider } from './src/cli/SwaCliTaskProvider';
export { createFoldingRanges } from './src/commands/github/jobLogs/createFoldingRanges';
export { LogState, parseGitHubLog } from './src/commands/github/jobLogs/parseGitHubLog';
export { tryGetSelection } from './src/commands/openYAMLConfigFile';
export { StaticWebAppDebugProvider } from './src/debug/StaticWebAppDebugProvider';
export { DetectorResults, NodeDetector } from './src/detectors/node/NodeDetector';
export { NodeConstants } from './src/detectors/node/nodeConstants';
// Export activate/deactivate for main.js
export { activate, deactivate } from './src/extension';
export * from './src/extensionVariables';
export { BuildConfig } from './src/tree/WorkflowGroupTreeItem';
// NOTE: The auto-fix action "source.organizeImports" does weird things with this file, but there doesn't seem to be a way to disable it on a per-file basis so we'll just let it happen