Skip to content

Migrate @azure-rest packages to config folder structure (Group 1/3)#38426

Draft
deyaaeldeen wants to merge 6 commits intomainfrom
config-folders-group3
Draft

Migrate @azure-rest packages to config folder structure (Group 1/3)#38426
deyaaeldeen wants to merge 6 commits intomainfrom
config-folders-group3

Conversation

@deyaaeldeen
Copy link
Copy Markdown
Member

Summary

Properly migrate 20 @azure-rest packages to the config folder pattern used by communication/identity/keyvault libs.

Changes Per Package

  • Create config/ folder with tsconfig files extending eng/tsconfigs/
  • Update tsconfig.json to reference ./config/ paths
  • Update warp.config.yml with explicit target tsconfig paths
  • Remove old root-level tsconfig.src.json, tsconfig.test.json, etc.

Packages Migrated (20)

  • @azure-rest/agrifood-farming
  • @azure-rest/ai-document-intelligence
  • @azure-rest/ai-document-translator
  • @azure-rest/ai-inference
  • @azure-rest/ai-translation-document
  • @azure-rest/ai-vision-image-analysis
  • @azure-rest/arm-containerservice
  • @azure-rest/developer-devcenter
  • @azure-rest/health-deidentification
  • @azure-rest/load-testing
  • @azure-rest/maps-render
  • @azure-rest/maps-route
  • @azure-rest/maps-search
  • @azure-rest/onlineexperimentation
  • @azure-rest/purview-datamap
  • @azure-rest/purview-scanning
  • @azure-rest/purview-sharing
  • @azure-rest/purview-workflow
  • @azure-tests/perf-ai-text-analytics
  • @azure-tools/test-credential

Part of config folder migration effort (Group 1 of 3).

@deyaaeldeen deyaaeldeen force-pushed the config-folders-group3 branch 3 times, most recently from 3e277e9 to d0e4e80 Compare May 6, 2026 01:33
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@deyaaeldeen deyaaeldeen force-pushed the config-folders-group3 branch from d0e4e80 to b9d6fcc Compare May 6, 2026 01:42
Deyaaeldeen Almahallawi and others added 5 commits May 6, 2026 02:23
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
AsyncDisposable doesn't exist in browser/react-native environments.
Add platform-specific type stubs that export never for non-Node environments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix warp.config.yml to use array format with 'name:' keys (not object format)
- Fix models.ts import order (import before use)
- Fix utils.ts Symbol.asyncDispose for browser compatibility
- Fix types.ts to use globalThis.AsyncDisposable

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
These packages are already properly migrated on main:
- sdk/core/core-lro
- sdk/core/core-sse
- sdk/keyvault/keyvault-common
- sdk/keyvault/keyvault-keys
- sdk/keyvault/keyvault-secrets

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Client packages need tsconfig.samples.json at the root for build:samples script.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant