Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions build/NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="NuGetPackages" />
</config>
<packageSources>
<!-- Limit to one feed per 1ES guidance -->
<clear />
<add key="VS-CoreXtFeeds" value="https://pkgs.dev.azure.com/devdiv/_packaging/VS-CoreXtFeeds/nuget/v3/index.json" protocolVersion="3" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use a internal feed for nuget packages related to signing

</packageSources>
</configuration>
5 changes: 5 additions & 0 deletions build/azure-devdiv-pipeline.pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ extends:
checkLatest: true
displayName: Select Node 22 LTS

- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'DevDiv/debugpy'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use 'debugpy' feed for python


- task: UsePythonVersion@0
inputs:
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9
Expand Down
2 changes: 2 additions & 0 deletions build/templates/sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ steps:
displayName: Restore signing packages
inputs:
command: restore
feedsToUse: config
restoreSolution: '$(Build.SourcesDirectory)/packages.config'
restoreDirectory: '$(Build.SourcesDirectory)/packages'
nugetConfigPath: '$(Build.SourcesDirectory)/build/NuGet.config'

- powershell: |
New-Item -ItemType Directory -Path "$(Build.StagingDirectory)\drop" -Force | Out-Null; Copy-Item "$(Build.SourcesDirectory)\$(VsixName)" "$(Build.StagingDirectory)\drop\$(VsixName)" -Force; if (!(Test-Path "$(Build.StagingDirectory)\drop\$(VsixName)")) { Write-Error 'VSIX copy failed'; exit 1 }; Get-Item "$(Build.StagingDirectory)\drop\$(VsixName)" | Format-Table Name,Length,LastWriteTime -AutoSize
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"scripts": {
"compile": "webpack",
"compile-tests": "tsc -p . --outDir out",
"format-check": "prettier --check 'src/**/*.ts' 'build/**/*.yml' '.github/**/*.yml'",
"fix-format": "prettier --write 'src/**/*.ts' 'build/**/*.yml' '.github/**/*.yml'",
"format-check": "prettier --check \"src/**/*.ts\" \"build/**/*.yml\" \".github/**/*.yml\"",
"fix-format": "prettier --write \"src/**/*.ts\" \"build/**/*.yml\" \".github/**/*.yml\"",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change quotes to better work for both linux and windows

"lint": "eslint src --ext ts",
"package": "webpack --mode production --devtool hidden-source-map",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
Expand Down
Loading