-
Notifications
You must be signed in to change notification settings - Fork 94
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
Update utils #2512
Update utils #2512
Conversation
package.json
Outdated
@@ -772,13 +772,13 @@ | |||
}, | |||
"devDependencies": { | |||
"@microsoft/eslint-config-azuretools": "^0.1.0", | |||
"@microsoft/vscode-azext-dev": "^0.1.3", | |||
"@microsoft/vscode-azext-dev": "^1.0.4", |
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.
Why not just go directly to 2.0.0 of all these packages?
src/commands/registerCommands.ts
Outdated
registerSiteCommand('appService.Redeploy', unwrapArgs(redeployDeployment)); | ||
registerSiteCommand('appService.viewDeploymentLogs', unwrapArgs(viewDeploymentLogs)); | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
//@ts-ignore |
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.
If I recall correctly, I think that what you're ignoring here is fixed by Alex's PR.
Was the ts error related to the arguments not matching the command callback or something?
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.
Yup Alex had recommended just ignoring the error with a ts-ignore since I guess he was working on that PR, but I can remove those once the changes are in.
Fixup the CI errors and then this is good to go. |
Maybe try updating the CI to use Node 16. |
.azure-pipelines/common/build.yml
Outdated
- task: NodeTool@0 | ||
displayName: 'Use Node 14.x' | ||
inputs: | ||
versionSpec: 14.x | ||
- task: NodeTool@0 | ||
displayName: "Use Node 16.x" | ||
inputs: | ||
versionSpec: 16.x | ||
|
||
- task: Npm@1 | ||
displayName: 'npm ci' | ||
inputs: | ||
command: ci | ||
- task: Npm@1 | ||
displayName: "npm ci" | ||
inputs: | ||
command: ci | ||
|
||
- task: Npm@1 | ||
displayName: 'Build' | ||
inputs: | ||
command: custom | ||
customCommand: run build |
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.
It's really small, but can you revert the inadvertent changes here. Mostly to preserve the git blame for this file.
Update needed in order to add support for service connector.
Includes code changes to fix errors that came with updating the package. Also had to update vscode and vscode-azext-dev versions in order to fix all issues.