Skip to content

feat(core/core-paging): migrate to #platform/* imports#38204

Merged
deyaaeldeen merged 2 commits intomainfrom
platform-imports/core-paging
Apr 24, 2026
Merged

feat(core/core-paging): migrate to #platform/* imports#38204
deyaaeldeen merged 2 commits intomainfrom
platform-imports/core-paging

Conversation

@deyaaeldeen
Copy link
Copy Markdown
Member

@deyaaeldeen deyaaeldeen commented Apr 18, 2026

Migrate @azure/core-paging build config to per-platform tsconfigs under config/, update eslint and vitest configs. No source changes — this package has no platform-specific code.

@deyaaeldeen deyaaeldeen force-pushed the platform-imports/core-paging branch 5 times, most recently from f2c495b to c2c8802 Compare April 18, 2026 18:12
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@deyaaeldeen deyaaeldeen force-pushed the platform-imports/core-paging branch from c2c8802 to ddcc5cf Compare April 20, 2026 16:17
@deyaaeldeen deyaaeldeen marked this pull request as ready for review April 20, 2026 19:21
@deyaaeldeen deyaaeldeen requested a review from a team as a code owner April 20, 2026 19:21
Copilot AI review requested due to automatic review settings April 20, 2026 19:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates @azure/core-paging’s build and tooling configuration to align with the repo’s per-platform #platform/*-style setup by moving to per-platform tsconfigs under config/ and wiring them into warp, Vitest, and ESLint.

Changes:

  • Add per-platform warp targets pointing at ./config/tsconfig.src.*.json.
  • Replace root-level tsconfig files with config/-scoped tsconfigs and update solution references.
  • Align Vitest browser config with the shared eng/vitestconfigs/browser.config.ts and update scripts accordingly.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/core/core-paging/warp.config.yml Adds explicit browser/react-native/esm/cjs targets using config/ tsconfigs.
sdk/core/core-paging/vitest.browser.config.ts Switches to shared eng browser Vitest config export.
sdk/core/core-paging/tsconfig.test.node.json Removes old root-level node test tsconfig (migrated to config/).
sdk/core/core-paging/tsconfig.test.json Removes old umbrella test references tsconfig (now handled via config/ refs).
sdk/core/core-paging/tsconfig.src.json Removes old src tsconfig (replaced by per-platform configs in config/).
sdk/core/core-paging/tsconfig.snippets.json Removes old snippets tsconfig (migrated to config/).
sdk/core/core-paging/tsconfig.samples.json Removes old samples tsconfig (migrated to config/).
sdk/core/core-paging/tsconfig.json Updates project references to the new per-platform config/ tsconfigs.
sdk/core/core-paging/tsconfig.browser.config.json Removes old browser config tsconfig (migrated to config/).
sdk/core/core-paging/package.json Updates build:samples path and adjusts test scripts to run typecheck + Vitest.
sdk/core/core-paging/eslint.config.mjs Adds flat ESLint config using config/tsconfig.lint.json for typed linting.
sdk/core/core-paging/config/tsconfig.test.react-native.json Adds RN test tsconfig extending shared eng template with local path mappings.
sdk/core/core-paging/config/tsconfig.test.browser.json Adds browser test tsconfig extending shared eng template with local path mappings.
sdk/core/core-paging/config/tsconfig.src.react-native.json Adds RN src tsconfig extending shared eng template.
sdk/core/core-paging/config/tsconfig.src.browser.json Adds browser src tsconfig extending shared eng template.

Copy link
Copy Markdown
Member

@jeremymeng jeremymeng left a comment

Choose a reason for hiding this comment

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

I wonder whether we'd want do do anything differently/any room for improvement for platform-agnostic package like this

@deyaaeldeen deyaaeldeen merged commit 3ea7fdd into main Apr 24, 2026
32 checks passed
@deyaaeldeen deyaaeldeen deleted the platform-imports/core-paging branch April 24, 2026 22:17
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.

3 participants