Skip to content

Upgrade TypeScript 5.9.3 → 6.0.2#881

Merged
pethers merged 5 commits intomainfrom
copilot/upgrade-typescript-to-6-0-2
Mar 31, 2026
Merged

Upgrade TypeScript 5.9.3 → 6.0.2#881
pethers merged 5 commits intomainfrom
copilot/upgrade-typescript-to-6-0-2

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

TypeScript 6.0.2 upgrade with TS6 breaking change fixes and documentation alignment across release drafter, end-of-life strategy, architecture docs, and flowcharts.

TS6 breaking change fixes (tsconfig.json)

  • ignoreDeprecations: "6.0"moduleResolution: "node" and baseUrl are deprecated in TS6 (removed in TS7)
  • "types": ["node"] — TS6 no longer auto-includes @types/node with node10 resolution, causing Cannot find name 'fs'/'path'/'process' across all source files
{
  "compilerOptions": {
    "ignoreDeprecations": "6.0",
    // ...existing options...
    "types": ["node"]
  }
}

Documentation updates

  • .github/release-drafter.yml — Built With: 5.9.x → 6.0.x
  • ARCHITECTURE.md — Technology stack table and version matrix
  • End-of-Life-Strategy.md + docs/api/media/ copy — Lifecycle entries, Gantt timeline, succession planning; also fixed stale release cadence ("~6-month" → "~12-month major cycles")
  • FLOWCHART.md — Replaced EP MCP Server TypeScript version label with npm package name (european-parliament-mcp-server (npm)) since this repo only consumes the server as a dependency
  • docs/api/documents/ARCHITECTURE.html — Generated HTML version refs

Reference

Migration pattern follows Hack23/game#539, adapted for this project's Node.js-only (non-bundler) tsconfig.

@github-actions github-actions bot added documentation Documentation updates infrastructure CI/CD and build infrastructure config Configuration changes dependencies Dependency updates javascript JavaScript dependencies labels Mar 31, 2026
Copilot AI changed the title [WIP] Upgrade TypeScript to version 6.0.2 and update related documentation Upgrade TypeScript 5.9.3 → 6.0.2 Mar 31, 2026
Copilot AI requested a review from pethers March 31, 2026 12:32
@pethers pethers marked this pull request as ready for review March 31, 2026 12:45
@pethers pethers requested a review from Copilot March 31, 2026 12:45
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

Upgrades the repository’s TypeScript toolchain from 5.9.3 to 6.0.2, adds TS6-specific tsconfig adjustments to keep builds clean, and aligns version references across architecture/EOL/release documentation.

Changes:

  • Bump typescript dependency to 6.0.2 (and lockfile update).
  • Update tsconfig.json for TS6 (ignoreDeprecations: "6.0" and explicit Node typings).
  • Refresh TypeScript version references across flowcharts, architecture docs, EOL strategy, and release drafter template.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Adds TS6 compatibility options (ignoreDeprecations, types: ["node"]).
package.json Bumps typescript devDependency to 6.0.2.
package-lock.json Locks TypeScript to 6.0.2 (resolved + integrity updated).
FLOWCHART.md Updates MCP server layer diagram label to TypeScript 6.0.
End-of-Life-Strategy.md Updates TypeScript lifecycle/version references (mindmap/table/gantt).
docs/api/media/End-of-Life-Strategy.md Mirrors the EOL strategy updates in the docs copy.
docs/api/documents/ARCHITECTURE.html Updates generated architecture HTML references to TS 6.x / 6.0.x.
ARCHITECTURE.md Updates stack/version-matrix references from TS 5.x/5.9.x to 6.x/6.0.x.
.github/release-drafter.yml Updates “Built With” TypeScript version to 6.0.x.

FLOWCHART.md Outdated

subgraph "MCP Server Layer"
MCPServer[⚙️ EP MCP Server<br/>TypeScript 5.7<br/>Node.js 25]
MCPServer[⚙️ EP MCP Server<br/>TypeScript 6.0<br/>Node.js 25]
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

The flowchart node labels the EP MCP Server as “TypeScript 6.0”. Since this repo only consumes the server as an npm package (european-parliament-mcp-server), the server’s internal compiler version is hard to assert and can easily drift. Consider replacing this with the package version (e.g. european-parliament-mcp-server@1.1.20) or removing the TypeScript version from the diagram.

Suggested change
MCPServer[⚙️ EP MCP Server<br/>TypeScript 6.0<br/>Node.js 25]
MCPServer[⚙️ EP MCP Server<br/>european-parliament-mcp-server (npm)<br/>Node.js 25]

Copilot uses AI. Check for mistakes.
@pethers
Copy link
Copy Markdown
Member

pethers commented Mar 31, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 31, 2026

@copilot apply changes based on the comments in this thread

Applied the reviewer's suggestion in da8f128 — replaced the TypeScript version label with the npm package name (european-parliament-mcp-server (npm)) since this repo only consumes the server as a dependency and can't assert its internal compiler version.

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

Copilot reviewed 7 out of 9 changed files in this pull request and generated no new comments.

@pethers pethers merged commit f86626a into main Mar 31, 2026
19 checks passed
@pethers pethers deleted the copilot/upgrade-typescript-to-6-0-2 branch March 31, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration changes dependencies Dependency updates documentation Documentation updates infrastructure CI/CD and build infrastructure javascript JavaScript dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants