-
Notifications
You must be signed in to change notification settings - Fork 6
feat: replace ts-node with tsx in sample packages and update pnpm workspace #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…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.
There was a problem hiding this 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-nodewithtsxin sampledev/test:setupscripts (including nodemon integration). - Updated pnpm workspace catalog to add
tsxand removets-node, regeneratingpnpm-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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this 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>
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>
There was a problem hiding this 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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this 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>
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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this 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
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.