Skip to content

Commit

Permalink
[python] add script to version (#5890)
Browse files Browse the repository at this point in the history
Co-authored-by: iscai-msft <[email protected]>
  • Loading branch information
iscai-msft and iscai-msft authored Feb 7, 2025
1 parent ccb5c4f commit 1940924
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
7 changes: 0 additions & 7 deletions .chronus/changes/python-bump-2025-1-6-10-8-5.md

This file was deleted.

3 changes: 2 additions & 1 deletion packages/http-client-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"ci": "npm run test:emitter && npm run ci:generator --",
"ci:generator": "tsx ./eng/scripts/ci/run-ci.ts",
"test:generator": "tsx ./eng/scripts/ci/run-ci.ts --command=test",
"test:emitter": "vitest run -c ./emitter/vitest.config.ts"
"test:emitter": "vitest run -c ./emitter/vitest.config.ts",
"change:version": "pnpm chronus version --ignore-policies --only @typespec/http-client-python"
},
"files": [
"dist/**",
Expand Down
28 changes: 10 additions & 18 deletions packages/typespec-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,16 @@
"menus": {
"explorer/context": [
{
"command": "typespec.importFromOpenApi3",
"group": "typespec@1"
"command": "typespec.generateCode",
"when": "explorerResourceIsFolder || resourceLangId == typespec",
"group": "code_generation"
}
],
"editor/context": [
{
"command": "typespec.generateCode",
"when": "resourceLangId == typespec",
"group": "code_generation"
}
]
},
Expand Down Expand Up @@ -170,22 +178,6 @@
"category": "TypeSpec"
}
],
"menus": {
"explorer/context": [
{
"command": "typespec.generateCode",
"when": "explorerResourceIsFolder || resourceLangId == typespec",
"group": "code_generation"
}
],
"editor/context": [
{
"command": "typespec.generateCode",
"when": "resourceLangId == typespec",
"group": "code_generation"
}
]
},
"semanticTokenScopes": [
{
"scopes": {
Expand Down

0 comments on commit 1940924

Please sign in to comment.