-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Management Plane API Switch #1121
Changes from 3 commits
94cad7b
a3837a9
57b2e66
abea391
5be9bce
52c1fc2
d32ff45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -905,22 +905,25 @@ | |
"webpack-cli": "^3.1.2" | ||
}, | ||
"dependencies": { | ||
"@azure/arm-cosmosdb": "^3.0.0", | ||
"@azure/ms-rest-azure-js": "^1.3.5", | ||
"@azure/ms-rest-browserauth": "^0.1.4", | ||
"@azure/ms-rest-js": "^1.8.7", | ||
"@azure/ms-rest-nodeauth": "^2.0.0", | ||
"antlr4ts": "^0.4.1-alpha.0", | ||
"azure-arm-cosmosdb": "^1.1.2", | ||
"azure-arm-resource": "^3.0.0-preview", | ||
"d3": "^3.0.0", | ||
"documentdb": "^1.14.2", | ||
"event-stream": "3.3.4", | ||
"fs-extra": "^4.0.2", | ||
"gremlin": "^2.6.0", | ||
"html-to-text": "^4.0.0", | ||
"mongodb": "^2.2.25", | ||
"mongodb-extended-json": "^1.10.0", | ||
"ms-rest": "^2.2.1", | ||
"node-uuid": "1.4.8", | ||
"socket.io": "^1.7.3", | ||
"socket.io-client": "^1.7.3", | ||
"underscore": "^1.8.3", | ||
"vscode-azureextensionui": "^0.24.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is out of date - merge with master |
||
"vscode-azureextensionui": "^0.26.0", | ||
"vscode-json-languageservice": "^3.0.8", | ||
"vscode-languageclient": "^4.4.0", | ||
"vscode-languageserver": "^4.4.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
import { DatabaseAccount } from 'azure-arm-cosmosdb/lib/models'; | ||
import { DatabaseAccount } from '@azure/arm-cosmosdb/esm/models'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please switch these to use the
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a newer preference? This has been how it's used everywhere. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean it's not super new, but yeah it changed sometime after we originally created the extensions. For example the original app service extension referenced v1.0.0-preview of "azure-arm-website" which didn't even have the models object: Now we're on a much later version that does: Functions is already moved over: https://github.com/microsoft/vscode-azurefunctions/blob/795ab870b56e133e2c360b3bf08df9419b792d4a/src/tree/FunctionsTreeItem.ts#L6 There's a tslint rule here that we can eventually turn on: https://palantir.github.io/tslint/rules/no-submodule-imports/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the heads up. I turned on the rule, it looks like there are other places where the rule is broken. Leaving those at the moment. |
||
import { DatabaseMeta, DocumentClient, FeedOptions, QueryIterator } from 'documentdb'; | ||
import * as path from 'path'; | ||
import * as vscode from 'vscode'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the node modules that you're not using