Skip to content

Conversation

@pontemonti
Copy link
Contributor

ts-node does not appear to be maintained; the suggested replacement is tsx where there is still active development. This PR replaces ts-node with tsx.

  • Added Product Requirements Document for replacing ts-node with tsx.
  • Updated pnpm workspace catalog to include tsx and remove ts-node.
  • Modified basic-agent-sdk-sample and openai-agent-auto-instrument-sample to use tsx for development scripts.
  • Updated package.json files to reflect changes in devDependencies from ts-node to tsx.
  • Ensured nodemon integration works with tsx.

…kspace

- Added Product Requirements Document for replacing ts-node with tsx.
- Updated pnpm workspace catalog to include tsx and remove ts-node.
- Modified basic-agent-sdk-sample and openai-agent-auto-instrument-sample to use tsx for development scripts.
- Updated package.json files to reflect changes in devDependencies from ts-node to tsx.
- Ensured nodemon integration works with tsx.
@pontemonti pontemonti requested a review from a team as a code owner January 23, 2026 02:05
Copilot AI review requested due to automatic review settings January 23, 2026 02:05
Copy link
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 migrates the test/sample packages from ts-node to tsx for TypeScript execution in development workflows, and updates the pnpm workspace catalog/lockfile accordingly.

Changes:

  • Replaced ts-node with tsx in sample dev / test:setup scripts (including nodemon integration).
  • Updated pnpm workspace catalog to add tsx and remove ts-node, regenerating pnpm-lock.yaml.
  • Added PRD documentation and an implementation task list for the migration.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tests-agent/openai-agent-auto-instrument-sample/package.json Switches dev and test:setup scripts to tsx; updates devDependency to tsx.
tests-agent/basic-agent-sdk-sample/package.json Switches dev script to tsx; replaces ts-node devDependency with tsx.
pnpm-workspace.yaml Updates workspace catalog to include tsx instead of ts-node.
pnpm-lock.yaml Reflects catalog change and adds tsx dependency graph entries.
docs/prd/replace-ts-node-with-tsx.md Adds PRD describing the motivation, scope, and verification plan for the migration.
docs/prd/replace-ts-node-with-tsx-tasks.md Adds a task checklist for executing and verifying the migration.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 23, 2026 02:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
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

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 23, 2026 02:28
pontemonti and others added 4 commits January 22, 2026 18:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
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

Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 23, 2026 02:36
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
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

Copilot reviewed 5 out of 6 changed files in this pull request and generated 7 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 23, 2026 02:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pontemonti and others added 2 commits January 22, 2026 18:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pontemonti and others added 3 commits January 22, 2026 18:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
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

Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@pontemonti pontemonti enabled auto-merge (squash) January 23, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants