Skip to content

Commit ac01db5

Browse files
committed
Merge branch 'main' into typespec-next
2 parents fc1ef93 + 20fc03c commit ac01db5

File tree

3,575 files changed

+348412
-180554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,575 files changed

+348412
-180554
lines changed

.github/CODEOWNERS

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@
134134
/specification/iothub/ @rkmanda
135135

136136
# PRLabel: %KeyVault
137-
/specification/keyvault/resource-manager/ @vickm @chen-karen @cheathamb36 @lgonsoulin
137+
/specification/keyvault/resource-manager/ @vickm @chen-karen @cheathamb36 @Azure/azure-sdk-write-keyvault
138138

139139
# PRLabel: %KeyVault
140-
/specification/keyvault/Security.*/ @vickm @chen-karen @cheathamb36 @lgonsoulin @heaths @chlowell
140+
/specification/keyvault/Security.*/ @vickm @chen-karen @cheathamb36 @Azure/azure-sdk-write-keyvault @heaths @chlowell
141141

142142
# PRLabel: %KeyVault
143-
/specification/keyvault/data-plane/ @vickm @chen-karen @cheathamb36 @lgonsoulin @heaths
143+
/specification/keyvault/data-plane/ @vickm @chen-karen @cheathamb36 @Azure/azure-sdk-write-keyvault @heaths
144144

145145
# PRLabel: %Logic App
146146
/specification/logic/ @pankajsn @tonytang-microsoft-com
@@ -292,4 +292,6 @@
292292

293293
## Copilot
294294
/.github/copilot-instructions.md @praveenkuttappan @maririos
295-
/.github/prompts/ @praveenkuttappan @maririos
295+
/.github/prompts/ @praveenkuttappan @maririos
296+
/.github/instructions/ @praveenkuttappan @maririos
297+
/.github/chatmodes/ @praveenkuttappan @maririos

.github/copilot-instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ from the list of paths. If user does not have a TypeSpec project, then prompt us
184184
- Confirm with the user if they want to change the repo owner or target branch, and prompt for new values if needed.
185185

186186
6. **Exclusions**:
187-
- Exclude changes in `.github` and `.vscode` folders from API spec and SDK pull requests.
187+
- Exclude changes to the `.gitignore` file and contents within the `.github` and `.vscode` folders from API spec and SDK pull requests.
188188

189189
7. **Working Branch Rule**:
190190
- Ensure the TypeSpec project repository and the current working repository are not on the `main` branch:
@@ -201,7 +201,7 @@ from the list of paths. If user does not have a TypeSpec project, then prompt us
201201
By following these rules, the SDK release process will remain clear, structured, and user-friendly.
202202

203203
## Steps to generate SDK from TypeSpec API specification
204-
Follow `/typespec-to-sdk` prompt to generate and release SDK from TypeSpec API specification. The process is divided into several steps, each with specific actions to ensure a smooth SDK generation and release process.
204+
Follow [typespec to sdk](.\prompts\typespec-to-sdk.prompt.md) to generate and release SDK from TypeSpec API specification. The process is divided into several steps, each with specific actions to ensure a smooth SDK generation and release process.
205205
Do not skip the step that choose SDK generation method to ensure the user selects the appropriate method for SDK generation, either locally or using the SDK generation pipeline. Do not repeat the steps.
206206

207207
1. **Identify TypeSpec Project**: Locate the TypeSpec project root path by checking for `tspconfig.yaml` or `main.tsp` files.
@@ -210,12 +210,12 @@ Do not skip the step that choose SDK generation method to ensure the user select
210210
4. **Review and Commit Changes**: Stage and commit TypeSpec modifications, ensuring the current branch is not "main". Do not create pull request yet.
211211
5. **Create Specification Pull Request**: Create a pull request for TypeSpec changes if not already created. This is required only if there are TypeSpec changes in current branch.
212212
6. **Choose SDK Generation Method**: Determine how to generate SDKs (locally or via pipeline). Only Python is supported for local SDK generation at this time.
213-
7. **Generate SDKs via Pipeline**: Generate SDKs using `/run-sdk-gen-pipeline` prompt, monitor the pipeline status and displaying generated SDK PR links.
213+
7. **Generate SDKs via Pipeline**: Generate SDKs using [run sdk gen pipeline](.\prompts\run-sdk-gen-pipeline.prompt.md), monitor the pipeline status and displaying generated SDK PR links.
214214
8. **Show generated SDK PR**: Display the generated SDK pull request links for review.
215-
9. **Create a release plan**: To create a release plan refer to #file:.\prompts\create-release-plan.prompt.md
215+
9. **Create a release plan**: To create a release plan refer to [create release plan](.\prompts\create-release-plan.prompt.md)
216216
10. **Prompt user to change spec pull request to ready for review from draft status**: Update spec pull request to change it to ready for review.
217217
11. **Release package**: Release the SDK package using `ReleaseSdkPackage` tool.
218218

219219

220220
## Release readiness of SDK and information about the release pipeline
221-
Run `/check-package-readiness` prompt to check the release readiness of an SDK package. This prompt will collect the required information from the user, execute the readiness check, and present the results.
221+
Run [check package readiness](.\prompts\check-package-readiness.prompt.md) to check the release readiness of an SDK package. This prompt will collect the required information from the user, execute the readiness check, and present the results.

.github/dependabot.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
version: 2
22
updates:
3-
# For monorepos, only the root folder should be listed (not the sub-folders).
4-
# We may also need to set "versioning-strategy" to "increase" rather than "increase-if-necessary",
5-
# to update both package.json and package-lock.json files. In our case, we don't really care
6-
# if the package.json files are updated or not, just that package-lock.json is update.
7-
# https://github.com/dependabot/dependabot-core/issues/4993#issuecomment-1289133027
83
- package-ecosystem: "npm"
94
directories:
105
- "/"
6+
- "/eng/tools"
7+
- "/eng/tools/**"
118
schedule:
129
interval: "daily"
1310
ignore:
@@ -41,8 +38,7 @@ updates:
4138
eslint:
4239
patterns:
4340
- "*eslint*"
44-
# I prefer "increase-if-necessary", but I believe we may need to use "increase" since we're a monorepo
45-
versioning-strategy: increase
41+
versioning-strategy: increase-if-necessary
4642
- package-ecosystem: "npm"
4743
directories:
4844
- "/.github"
@@ -59,9 +55,10 @@ updates:
5955
- dependency-name: "typescript"
6056
# Points to "github:actions/github-script" since package isn't published to npmjs
6157
- dependency-name: "@types/github-script"
58+
# Stay on ^7 until ^10 increases in adoption
59+
- dependency-name: "cross-env"
6260
groups:
6361
eslint:
6462
patterns:
6563
- "*eslint*"
66-
# I prefer "increase-if-necessary", but we should align with the root package.json
67-
versioning-strategy: increase
64+
versioning-strategy: increase-if-necessary

.github/eslint.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
import pluginJs from "@eslint/js";
1+
import eslint from "@eslint/js";
22
import globals from "globals";
3+
import tseslint from "typescript-eslint";
34

45
/** @type {import('eslint').Linter.Config[]} */
5-
export default [{ languageOptions: { globals: globals.node } }, pluginJs.configs.recommended];
6+
export default tseslint.config(eslint.configs.recommended, tseslint.configs.recommended, {
7+
languageOptions: { globals: globals.node },
8+
});

0 commit comments

Comments
 (0)