diff --git a/build/lib/extensions.ts b/build/lib/extensions.ts index 80ca127b34..6a55bec013 100644 --- a/build/lib/extensions.ts +++ b/build/lib/extensions.ts @@ -245,6 +245,7 @@ const externalExtensions = [ 'admin-tool-ext-win', 'agent', 'arc', + 'azdata', 'import', 'profiler', 'admin-pack', diff --git a/extensions/azdata/.gitignore b/extensions/azdata/.gitignore new file mode 100644 index 0000000000..dfacd4d5b4 --- /dev/null +++ b/extensions/azdata/.gitignore @@ -0,0 +1 @@ +*.vsix \ No newline at end of file diff --git a/extensions/azdata/.vscodeignore b/extensions/azdata/.vscodeignore new file mode 100644 index 0000000000..770c782593 --- /dev/null +++ b/extensions/azdata/.vscodeignore @@ -0,0 +1,9 @@ +.gitignore +src/** +out/** +extension.webpack.config.js +tsconfig.json +yarn.lock +coverConfig.json +*.vsix +coverage diff --git a/extensions/azdata/README.md b/extensions/azdata/README.md new file mode 100644 index 0000000000..fa5ce12f07 --- /dev/null +++ b/extensions/azdata/README.md @@ -0,0 +1,21 @@ +# Microsoft azdata Extension for Azure Data Studio + +Welcome to Microsoft azdata for Azure Data Studio! + +## Overview + +This extension adds support for azdata within Azure Data Studio. + +## Code of Conduct + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +## Privacy Statement + +The [Microsoft Enterprise and Developer Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement) describes the privacy statement of this software. + +## License + +Copyright (c) Microsoft Corporation. All rights reserved. + +Licensed under the [Source EULA](https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt). diff --git a/extensions/azdata/extension.webpack.config.js b/extensions/azdata/extension.webpack.config.js new file mode 100644 index 0000000000..35b95ccffc --- /dev/null +++ b/extensions/azdata/extension.webpack.config.js @@ -0,0 +1,17 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the Source EULA. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +//@ts-check + +'use strict'; + +const withDefaults = require('../shared.webpack.config'); + +module.exports = withDefaults({ + context: __dirname, + entry: { + extension: './src/extension.ts' + } +}); diff --git a/extensions/azdata/images/extension.png b/extensions/azdata/images/extension.png new file mode 100644 index 0000000000..32aa11618b Binary files /dev/null and b/extensions/azdata/images/extension.png differ diff --git a/extensions/azdata/package.json b/extensions/azdata/package.json new file mode 100644 index 0000000000..9773add935 --- /dev/null +++ b/extensions/azdata/package.json @@ -0,0 +1,28 @@ +{ + "name": "azdata", + "displayName": "%azdata.displayName%", + "description": "%azdata.description%", + "version": "0.1.0", + "publisher": "Microsoft", + "preview": true, + "license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt", + "icon": "images/extension.png", + "engines": { + "vscode": "*", + "azdata": ">=1.20.0" + }, + "activationEvents": [ + "*" + ], + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/azuredatastudio.git" + }, + "main": "./out/extension", + "dependencies": { + "vscode-nls": "^4.1.2" + }, + "devDependencies": { + "@types/node": "^12.11.7" + } +} diff --git a/extensions/azdata/package.nls.json b/extensions/azdata/package.nls.json new file mode 100644 index 0000000000..9dff8dc8d9 --- /dev/null +++ b/extensions/azdata/package.nls.json @@ -0,0 +1,4 @@ +{ + "azdata.displayName": "azdata", + "azdata.description": "Support for azdata" +} diff --git a/extensions/azdata/src/extension.ts b/extensions/azdata/src/extension.ts new file mode 100644 index 0000000000..4761058f92 --- /dev/null +++ b/extensions/azdata/src/extension.ts @@ -0,0 +1,10 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the Source EULA. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +export async function activate(): Promise { +} + +export function deactivate(): void { +} diff --git a/extensions/azdata/src/typings/refs.d.ts b/extensions/azdata/src/typings/refs.d.ts new file mode 100644 index 0000000000..dad0d96412 --- /dev/null +++ b/extensions/azdata/src/typings/refs.d.ts @@ -0,0 +1,8 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the Source EULA. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +/// +/// +/// diff --git a/extensions/azdata/tsconfig.json b/extensions/azdata/tsconfig.json new file mode 100644 index 0000000000..2c6d7abf5b --- /dev/null +++ b/extensions/azdata/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../shared.tsconfig.json", + "compileOnSave": true, + "compilerOptions": { + "outDir": "./out", + "lib": [ + "es6", + "es2015.promise" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/extensions/azdata/yarn.lock b/extensions/azdata/yarn.lock new file mode 100644 index 0000000000..aab592a5e0 --- /dev/null +++ b/extensions/azdata/yarn.lock @@ -0,0 +1,13 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@types/node@^12.11.7": + version "12.12.48" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.48.tgz#4135f064eeed9fcfb4756deea5ba2caa11603391" + integrity sha512-m3Nmo/YaDUfYzdCQlxjF5pIy7TNyDTAJhIa//xtHcF0dlgYIBKULKnmloCPtByDxtZXrWV8Pge1AKT6/lRvVWg== + +vscode-nls@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/vscode-nls/-/vscode-nls-4.1.2.tgz#ca8bf8bb82a0987b32801f9fddfdd2fb9fd3c167" + integrity sha512-7bOHxPsfyuCqmP+hZXscLhiHwe7CSuFE4hyhbs22xPIhQ4jv99FcR4eBzfYYVLP356HNFpdvz63FFb/xw6T4Iw==