Upgrade to TypeScript ~6.0.3 #19

Merged
amoussa1229 merged 2 commits from feature/typescript-6-upgrade into main 2026-05-06 23:25:15 +00:00
amoussa1229 commented 2026-05-06 23:14:00 +00:00 (Migrated from github.com)

Summary

  • Bumps typescript from ~5.7.2 to ~6.0.3
  • Adds "types": ["node"] to tsconfig.json — required by TS 6 to resolve Node globals (path, __dirname)
  • Uses tilde pin since TS doesn't follow semver

Supersedes Dependabot PR #8.

Test plan

  • tsc --noEmit passes cleanly
## Summary - Bumps `typescript` from ~5.7.2 to ~6.0.3 - Adds `"types": ["node"]` to `tsconfig.json` — required by TS 6 to resolve Node globals (`path`, `__dirname`) - Uses tilde pin since TS doesn't follow semver Supersedes Dependabot PR #8. ## Test plan - [x] `tsc --noEmit` passes cleanly
cursor[bot] commented 2026-05-06 23:14:06 +00:00 (Migrated from github.com)

PR Summary

Low Risk
Low risk: dependency/config-only change, but TypeScript 6 may surface new typechecking or build-time incompatibilities in CI/CDK synth steps.

Overview
Upgrades the project’s TypeScript toolchain from ~5.7.x to ~6.0.3 (including lockfile updates).

Updates tsconfig.json to explicitly include Node typings via "types": ["node"] to keep Node globals/modules resolving correctly under TS6.

Reviewed by Cursor Bugbot for commit f27bb1acdf. Bugbot is set up for automated code reviews on this repo. Configure here.

## PR Summary <!-- CURSOR_SUMMARY --> **Low Risk** Low risk: dependency/config-only change, but TypeScript 6 may surface new typechecking or build-time incompatibilities in CI/CDK synth steps. **Overview** Upgrades the project’s TypeScript toolchain from `~5.7.x` to `~6.0.3` (including lockfile updates). Updates `tsconfig.json` to explicitly include Node typings via `"types": ["node"]` to keep Node globals/modules resolving correctly under TS6. <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit f27bb1acdfa857ac1712ce857b372fdadd4dfb83. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
cursor[bot] (Migrated from github.com) reviewed 2026-05-06 23:18:44 +00:00
cursor[bot] (Migrated from github.com) left a comment

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c4c7d423b9. Configure here.

<!-- BUGBOT_REVIEW --> Cursor Bugbot has reviewed your changes and found 1 potential issue. <!-- BUGBOT_FIX_ALL --> <a href="https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTplNWU2NzY0Ni1lMWFhLTQ0MWYtYmQ0NS0xMDZiMGFmM2JhNzAiLCJlbmNyeXB0aW9uS2V5IjoiaFVFQXFIU1NhdlJGT05FM3RMVFdNRHcxNFJNVXJEb3JqdmN3OGZiNU9TbyIsImJyYW5jaCI6ImZlYXR1cmUvdHlwZXNjcmlwdC02LXVwZ3JhZGUiLCJyZXBvT3duZXIiOiJTZWEtSGF2ZW4tSW5kdXN0cmllcyIsInJlcG9OYW1lIjoiZXhlYy1haWRlIn0sImlhdCI6MTc3ODEwOTUyMywiZXhwIjoxNzgwNzAxNTIzfQ.gW8O8NX9XRA4-2mtb4v3K7qXUV0QsRUeYaajO2WbAEMhvztuE0CKf0rf5D1eRnPF0jhy1iFHvSyDOEW4YpoGJvxG01a4rpaoytFZcI0wk0tIksvMWis5QGR7J6k_v0fbzPjEqpxTgFUqvOOYzKc0SIMwJM3B_gbTuD-dBP1bI2V61ViqXfJa3qoLvwJzFrr726BwC3Ig7QhV4cC6-V-wNZzBXA5WqAGjkyVooqXk9OOf77RBor-gTSBrtn9mO49AknvMDGNSc4LA2BcVR2N6CD07WnS0AwVDi1v-vDKPEXRk12DjmDcNW377UpDZNzlngoi3yDhjRMqJiJ48cqqKVw" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-cursor-light.png"><img alt="Fix All in Cursor" width="115" height="28" src="https://cursor.com/assets/images/fix-in-cursor-dark.png"></picture></a> <!-- /BUGBOT_FIX_ALL --> <!-- BUGBOT_AUTOFIX_REVIEW_FOOTNOTE_BEGIN --> <sup>❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot).</sup> <!-- BUGBOT_AUTOFIX_REVIEW_FOOTNOTE_END --> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c4c7d423b9805be79b3ee9870511f6792015f050. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
cursor[bot] (Migrated from github.com) commented 2026-05-06 23:18:44 +00:00

Lockfile incorrectly marks direct dependencies as peer-only

Medium Severity

aws-cdk-lib and constructs are direct production dependencies in package.json, but the regenerated package-lock.json incorrectly marks them with "peer": true. This is a known npm bug where packages satisfying both a direct dependency and another package's peer dependency get flagged as peer-only. Running npm ci --omit=peer would skip these production dependencies entirely. Regenerating the lockfile with npm ≥ 11.6.3 (which fixed this bug) would resolve the issue.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c4c7d423b9. Configure here.

### Lockfile incorrectly marks direct dependencies as peer-only **Medium Severity** <!-- DESCRIPTION START --> `aws-cdk-lib` and `constructs` are direct production `dependencies` in `package.json`, but the regenerated `package-lock.json` incorrectly marks them with `"peer": true`. This is a known npm bug where packages satisfying both a direct dependency and another package's peer dependency get flagged as peer-only. Running `npm ci --omit=peer` would skip these production dependencies entirely. Regenerating the lockfile with npm ≥ 11.6.3 (which fixed this bug) would resolve the issue. <!-- DESCRIPTION END --> <!-- BUGBOT_BUG_ID: 4c21bbcd-a516-48e4-8737-cb51387a676c --> <!-- LOCATIONS START package-lock.json#L228-L229 package-lock.json#L588-L590 LOCATIONS END --> <details> <summary>Additional Locations (1)</summary> - [`package-lock.json#L588-L590`](https://github.com/Sea-Haven-Industries/exec-aide/blob/c4c7d423b9805be79b3ee9870511f6792015f050/package-lock.json#L588-L590) </details> <div><a href="https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmNhODM2YWIyLTFmMDAtNDM0My1iMWE3LTA1MjBlZmJkMzg1YiIsImVuY3J5cHRpb25LZXkiOiJ3XzlOLUhxazJZMWMtMzhCQ1V5UHFkV0FrZ1oya0FaMEE4cU05aXJuZHpnIiwiYnJhbmNoIjoiZmVhdHVyZS90eXBlc2NyaXB0LTYtdXBncmFkZSIsInJlcG9Pd25lciI6IlNlYS1IYXZlbi1JbmR1c3RyaWVzIiwicmVwb05hbWUiOiJleGVjLWFpZGUifSwiaWF0IjoxNzc4MTA5NTIzLCJleHAiOjE3ODA3MDE1MjN9.hS5Gyb31DngvbuuOSquoINo4p6Ua4mnVXlvIkhhtvfX1xnvSJPxRK3I9c_N9ikvlmb8hKTVte5NYk96VqiWEldsqzMAkKvfFb4CXjRRsM9AYFaphvSk1zluFmNJn0VSIaS4f3VfdthreVhOmnMxA9gzD3P60HEyIghW3rsbHhtjwMzJ5GMRIPpstxD3EvbPcvP5t3XyIGFtNhNbK1CJWXrBV8Zd3FMtX8kOvZxzwnkiigQUhk_s7tgcaoqpLGTQnEu1DP41COc2Gk0VbhlSA5RFXENDVJ5StZhhfnm9jdu4eRY81xKapys65Edqt8n3oZqN8tUww-VotMawZtaplzw" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-cursor-light.png"><img alt="Fix in Cursor" width="115" height="28" src="https://cursor.com/assets/images/fix-in-cursor-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/agents?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmNhODM2YWIyLTFmMDAtNDM0My1iMWE3LTA1MjBlZmJkMzg1YiIsImVuY3J5cHRpb25LZXkiOiJ3XzlOLUhxazJZMWMtMzhCQ1V5UHFkV0FrZ1oya0FaMEE4cU05aXJuZHpnIiwiYnJhbmNoIjoiZmVhdHVyZS90eXBlc2NyaXB0LTYtdXBncmFkZSIsInJlcG9Pd25lciI6IlNlYS1IYXZlbi1JbmR1c3RyaWVzIiwicmVwb05hbWUiOiJleGVjLWFpZGUiLCJwck51bWJlciI6MTksImNvbW1pdFNoYSI6ImM0YzdkNDIzYjk4MDViZTc5YjNlZTk4NzA1MTFmNjc5MjAxNWYwNTAiLCJwcm92aWRlciI6ImdpdGh1YiJ9LCJpYXQiOjE3NzgxMDk1MjMsImV4cCI6MTc4MDcwMTUyM30.jfimgHW67HFjJZgobm8mdS0FhR8CeToDunek5QODBjfKsGeqfbcMWhSBKFSyGuEXf0SqvkvM52KSiF-B29b5kZQAxIPH4wa_XluZnnW53RJTuApQuMT7Y6pAhPwhc7q3GIEraQqAjZwvBBkSABDfuN_63E_llJZ5GKYxyFuIgwGeU58ibqdaBvvxiJPLv1sW9aN41djNDLhNtgiA1WG0zzeD5yDF_gnPqR1H8NhzUiqXkLcK9um0HaQh5cr2L59haVS2eYgMqkmzYABp62Hi5BA_l3oEL4NhJd9NleUkSrGDketFyh2sFRLxfQ1AG5vmXfvFbkCY_KcqG2Z0lOKNow" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-web-light.png"><img alt="Fix in Web" width="99" height="28" src="https://cursor.com/assets/images/fix-in-web-dark.png"></picture></a></div> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c4c7d423b9805be79b3ee9870511f6792015f050. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
This repo is archived. You cannot comment on pull requests.
No description provided.